summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-21 17:34:40 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-21 17:34:40 +0000
commit03d2fe6484666080165e9d2c65ef238b95cffabf (patch)
tree2ee8903a8426d269cf88d487657a819376623bbe /net-misc/dhcpv6
parentgcc2 fix (diff)
downloadhistorical-03d2fe6484666080165e9d2c65ef238b95cffabf.tar.gz
historical-03d2fe6484666080165e9d2c65ef238b95cffabf.tar.bz2
historical-03d2fe6484666080165e9d2c65ef238b95cffabf.zip
add static support #29264
Diffstat (limited to 'net-misc/dhcpv6')
-rw-r--r--net-misc/dhcpv6/ChangeLog9
-rw-r--r--net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild18
2 files changed, 19 insertions, 8 deletions
diff --git a/net-misc/dhcpv6/ChangeLog b/net-misc/dhcpv6/ChangeLog
index dcc581034395..404a8add0568 100644
--- a/net-misc/dhcpv6/ChangeLog
+++ b/net-misc/dhcpv6/ChangeLog
@@ -1,13 +1,16 @@
# ChangeLog for net-misc/dhcpv6
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/ChangeLog,v 1.8 2003/08/07 21:35:12 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/ChangeLog,v 1.9 2003/09/21 17:34:40 vapier Exp $
+
+*dhcpv6-0.85-r1 (05 Aug 2003)
+
+ 21 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add static support #29264.
07 Aug 2003; Peter Johanson <latexer@gentoo.org> files/patch-iaid-dhcp6-0.85:
Removed and added back in the patch as a binary file, so it doesn't update
the $Id: field and break the patch. grr.
-*dhcpv6-0.85-r1 (05 Aug 2003)
-
05 Aug 2003; Peter Johanson <latexer@gentoo.org> dhcpv6-0.85-r1.ebuild,
files/patch-iaid-dhcp6-0.85:
New revision including a patch to fix iaid signed/unsigned issue
diff --git a/net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild b/net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild
index d9b6830869f4..a1afc4f47c4c 100644
--- a/net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild
+++ b/net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild
@@ -1,18 +1,19 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild,v 1.2 2003/09/05 22:01:48 msterret Exp $
-
-DESCRIPTION="Server and client for DHCPv6"
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/dhcpv6-0.85-r1.ebuild,v 1.3 2003/09/21 17:34:40 vapier Exp $
MY_P=${P/dhcpv6/dhcp6}
+DESCRIPTION="Server and client for DHCPv6"
HOMEPAGE="http://www.sourceforge.net/projects/dhcp6/"
SRC_URI="mirror://sourceforge/dhcpv6/${MY_P}.tgz"
+
LICENSE="GPL-2"
SLOT="0"
-
KEYWORDS="~x86"
-IUSE=""
+IUSE="static"
+
DEPEND=""
+
S=${WORKDIR}/${MY_P}
src_unpack() {
@@ -21,6 +22,12 @@ src_unpack() {
epatch ${FILESDIR}/patch-iaid-dhcp6-${PV}
}
+src_compile() {
+ econf || die
+ use static && export LDFLAGS="${LDFLAGS} -static"
+ emake || die
+}
+
src_install() {
einstall || die
dodoc Install ReadMe docs/draft-ietf-dhc-dhcpv6-28.txt \
@@ -33,6 +40,7 @@ src_install() {
exeinto /etc/init.d
newexe ${FILESDIR}/dhcp6s.rc dhcp6s
}
+
pkg_postinst() {
einfo "Sample dhcp6c.conf and dhcp6s.conf files are in"
einfo "/usr/share/doc/${P}/"