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

Contents of /net-misc/dhcdbd/dhcdbd-1.14-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 14 16:53:56 2007 UTC (12 years, 7 months ago) by steev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
New upstream release, version 2.7, tested locally with no issues. Fixes bug#178523.  Thanks to Davide Pesavento <davidespa@gmail.com> for reporting.
(Portage version: 2.1.2.7)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcdbd/dhcdbd-1.14-r1.ebuild,v 1.3 2007/01/14 11:08:45 corsair 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/~jvdias/dhcdbd"
9 SRC_URI="http://people.redhat.com/~jvdias/dhcdbd/${P}.tar.gz"
10
11 LICENSE="public-domain"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
14 IUSE="debug"
15
16 DEPEND="sys-apps/dbus
17 >=net-misc/dhcp-3.0.3-r7"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 epatch ${FILESDIR}/${PN}-1.14-fix_dhclientconf.patch
23 epatch ${FILESDIR}/${PN}-1.14-dbus_close.patch
24 # This doesn't truely enable debugging, it simply allows us to see
25 # more info about state changes, hopefully.
26 use debug && epatch "${FILESDIR}/${PN}-1.14-enable_debug.patch"
27 }
28 src_install() {
29 make DESTDIR=${D} install || die "make install failed"
30 dodoc README dhcp_options.h
31 newinitd ${FILESDIR}/dhcdbd.init dhcdbd
32 newconfd ${FILESDIR}/dhcdbd.confd dhcdbd
33 }
34
35 pkg_postinst() {
36 einfo "dhcddb is used by NetworkManager in order to use it"
37 einfo "you can add it to runlevels by writing on your terminal"
38 einfo "rc-update add dhcdbd default"
39 }

  ViewVC Help
Powered by ViewVC 1.1.20