/[gentoo-x86]/net-misc/dhcdbd/dhcdbd-3.0.ebuild
Gentoo

Contents of /net-misc/dhcdbd/dhcdbd-3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Sep 17 04:27:24 2011 UTC (8 years, 2 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Drop obsolete package.

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcdbd/dhcdbd-3.0.ebuild,v 1.6 2009/02/25 20:55:25 rbu Exp $
4
5 inherit eutils
6
7 DESCRIPTION="DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS, stores and presents DHCP options."
8 HOMEPAGE="http://people.redhat.com/dcantrel/dhcdbd"
9 HOMEPAGE="http://dcantrel.fedorapeople.org/dhcdbd"
10 SRC_URI="http://dcantrel.fedorapeople.org/dhcdbd/${P}.tar.bz2"
11
12 LICENSE="public-domain"
13 SLOT="0"
14 KEYWORDS="amd64 ppc ~ppc64 x86"
15 IUSE="debug"
16
17 DEPEND="sys-apps/dbus
18 >=net-misc/dhcp-3.0.3-r7"
19 RDEPEND=${DEPEND}
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 epatch "${FILESDIR}"/${PN}-2.5-fixes.patch
25 # Create a pidfile immediately after daemonizing so we're more robust
26 # with baselayout-2.
27 epatch "${FILESDIR}"/${PN}-3.0-daemon.patch
28 # We don't and won't have dbus snapshots in the tree
29 epatch "${FILESDIR}"/${PN}-3.0-dbus.patch
30 }
31
32 src_install() {
33 make DESTDIR="${D}" install || die "make install failed"
34 dodoc README include/dhcp_options.h
35 newinitd "${FILESDIR}"/dhcdbd.init dhcdbd
36 newconfd "${FILESDIR}"/dhcdbd.confd dhcdbd
37 }
38
39 pkg_postinst() {
40 einfo "dhcdbd is used by NetworkManager in order to use it"
41 einfo "you can add it to runlevels by writing on your terminal"
42 einfo "rc-update add dhcdbd default"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20