summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-08-29 10:06:42 +0000
committerAlex Alexander <wired@gentoo.org>2010-08-29 10:06:42 +0000
commit37784cbf939bf4d19b10cad0245fba74cdc967b5 (patch)
tree7ac372b4b8d793b69a967d36c4088deb5b9d5ddb /net-misc/dhcpv6
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-37784cbf939bf4d19b10cad0245fba74cdc967b5.tar.gz
gentoo-2-37784cbf939bf4d19b10cad0245fba74cdc967b5.tar.bz2
gentoo-2-37784cbf939bf4d19b10cad0245fba74cdc967b5.zip
fixed bugs #278458, #297281 and #303525
(Portage version: 2.2_rc71_p3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dhcpv6')
-rw-r--r--net-misc/dhcpv6/ChangeLog7
-rw-r--r--net-misc/dhcpv6/dhcpv6-1.2.0-r1.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/net-misc/dhcpv6/ChangeLog b/net-misc/dhcpv6/ChangeLog
index 6a17f4263e37..ba552c7120af 100644
--- a/net-misc/dhcpv6/ChangeLog
+++ b/net-misc/dhcpv6/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/dhcpv6
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/ChangeLog,v 1.26 2010/08/08 15:07:05 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/ChangeLog,v 1.27 2010/08/29 10:06:42 wired Exp $
+
+*dhcpv6-1.2.0-r1 (29 Aug 2010)
+
+ 29 Aug 2010; Alex Alexander <wired@gentoo.org> +dhcpv6-1.2.0-r1.ebuild:
+ fixed bugs #278458, #297281 and #303525
08 Aug 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/net-misc/dhcpv6/dhcpv6-1.2.0-r1.ebuild b/net-misc/dhcpv6/dhcpv6-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..e19d8b69bddf
--- /dev/null
+++ b/net-misc/dhcpv6/dhcpv6-1.2.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpv6/dhcpv6-1.2.0-r1.ebuild,v 1.1 2010/08/29 10:06:42 wired Exp $
+
+EAPI=3
+
+inherit flag-o-matic
+
+DESCRIPTION="Server and client for DHCPv6"
+HOMEPAGE="https://fedorahosted.org/dhcpv6/"
+SRC_URI="https://fedorahosted.org/releases/d/h/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="static"
+
+DEPEND=">=dev-libs/libnl-1.1"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ use static && append-ldflags -static
+ econf "--localstatedir=/var" || die
+}
+
+mkd() {
+ local x=$1 X=$2 i=$3
+ sed \
+ -e "s:6x:6${x}:g" \
+ -e "s:6X:6${X}:g" \
+ "${FILESDIR}"/dhcp6x.${i}d.in > dhcp6${x}.${i}d
+ new${i}d dhcp6${x}.${i}d dhcp6${x}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc AUTHORS ChangeLog README TODO RFC*
+ dodir /var/lib/dhcpv6
+ dodir /var/run/dhcpv6
+
+ rm -rf "${D}"/etc/{rc.d,sysconfig}
+ mkd s S init
+ mkd s S conf
+ mkd r R init
+ mkd r R conf
+}