summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 05:04:33 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 05:04:33 +0000
commit0e43936e530ef76ef3fdd62c87812ddb531bdc46 (patch)
treed6c4b25bf9b3039e758ea9bf7aacb23b15f39fdf /net-misc/dibbler
parentDrop pedantic crap #240912 by Diego E. Pettenò and cleanup ebuild. (diff)
downloadgentoo-2-0e43936e530ef76ef3fdd62c87812ddb531bdc46.tar.gz
gentoo-2-0e43936e530ef76ef3fdd62c87812ddb531bdc46.tar.bz2
gentoo-2-0e43936e530ef76ef3fdd62c87812ddb531bdc46.zip
Cleanup ebuild and fix building with newer glibc #240916 by Diego E. Pettenò.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'net-misc/dibbler')
-rw-r--r--net-misc/dibbler/ChangeLog8
-rw-r--r--net-misc/dibbler/dibbler-0.6.1.ebuild38
2 files changed, 23 insertions, 23 deletions
diff --git a/net-misc/dibbler/ChangeLog b/net-misc/dibbler/ChangeLog
index aaa63d628944..58af14522335 100644
--- a/net-misc/dibbler/ChangeLog
+++ b/net-misc/dibbler/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/dibbler
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/ChangeLog,v 1.5 2007/09/26 12:56:55 gmsoft Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/ChangeLog,v 1.6 2009/01/14 05:04:33 vapier Exp $
+
+ 14 Jan 2009; Mike Frysinger <vapier@gentoo.org> dibbler-0.6.1.ebuild:
+ Cleanup ebuild and fix building with newer glibc #240916 by Diego E.
+ Pettenò.
*dibbler-0.6.1 (26 Sep 2007)
diff --git a/net-misc/dibbler/dibbler-0.6.1.ebuild b/net-misc/dibbler/dibbler-0.6.1.ebuild
index a6392cf409c2..6daa9aeddfe2 100644
--- a/net-misc/dibbler/dibbler-0.6.1.ebuild
+++ b/net-misc/dibbler/dibbler-0.6.1.ebuild
@@ -1,50 +1,46 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-0.6.1.ebuild,v 1.2 2007/09/28 07:20:59 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dibbler/dibbler-0.6.1.ebuild,v 1.3 2009/01/14 05:04:33 vapier Exp $
-inherit eutils
+inherit flag-o-matic
DESCRIPTION="Portable DHCPv6 implementation (server, client and relay)"
HOMEPAGE="http://klub.com.pl/dhcpv6/"
-
SRC_URI="http://klub.com.pl/dhcpv6/dibbler/${P}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~hppa ~amd64 ~mips"
+KEYWORDS="~amd64 ~hppa ~mips ~x86"
IUSE="doc"
-DEPEND=""
-DIBBLER_DOCDIR=${S}/doc
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^COPTS/s:$: $(CPPFLAGS):' \
+ Makefile.inc || die
+ append-cppflags -D_GNU_SOURCE #240916
+}
src_compile() {
emake -j1 || die "Compilation failed"
}
src_install() {
- dosbin dibbler-server
- dosbin dibbler-client
- dosbin dibbler-relay
- doman doc/man/dibbler-server.8 doc/man/dibbler-client.8 \
- doc/man/dibbler-relay.8
+ dosbin dibbler-{client,relay,server} || die
+ doman doc/man/dibbler-{client,relay,server}.8
dodoc CHANGELOG RELNOTES
insinto /etc/dibbler
doins *.conf
dodir /var/lib/dibbler
- use doc && dodoc ${DIBBLER_DOCDIR}/dibbler-user.pdf \
- ${DIBBLER_DOCDIR}/dibbler-devel.pdf
+ doinitd "${FILESDIR}"/dibbler-{client,relay,server}
- insinto /etc/init.d
- doins ${FILESDIR}/dibbler-server ${FILESDIR}/dibbler-client \
- ${FILESDIR}/dibbler-relay
- fperms 755 /etc/init.d/dibbler-server
- fperms 755 /etc/init.d/dibbler-client
- fperms 755 /etc/init.d/dibbler-relay
+ use doc && dodoc doc/dibbler-{devel,user}.pdf
}
pkg_postinst() {
- einfo "Make sure that you modify client.conf, server.conf and/or relay.conf "
+ einfo "Make sure that you modify client.conf, server.conf and/or relay.conf"
einfo "to suit your needs. They are stored in /etc/dibbler."
}