summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-09-05 01:12:54 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-09-05 01:12:54 +0000
commit8fb1efa904dce60b306156c116ddd6931767eb0a (patch)
tree247111259ae7e33bbf4434334270912d110e6b05 /net-misc/dhcpcd
parentMarking netpbm-10.46.00 ppc64 for bug 277184 (diff)
downloadhistorical-8fb1efa904dce60b306156c116ddd6931767eb0a.tar.gz
historical-8fb1efa904dce60b306156c116ddd6931767eb0a.tar.bz2
historical-8fb1efa904dce60b306156c116ddd6931767eb0a.zip
Version bump, bug 283714. I'll be maintaining this now
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r--net-misc/dhcpcd/ChangeLog8
-rw-r--r--net-misc/dhcpcd/Manifest6
-rw-r--r--net-misc/dhcpcd/dhcpcd-5.1.0.ebuild83
-rw-r--r--net-misc/dhcpcd/metadata.xml6
4 files changed, 96 insertions, 7 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index 1892f4c74491..9269690b4733 100644
--- a/net-misc/dhcpcd/ChangeLog
+++ b/net-misc/dhcpcd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.256 2009/07/31 17:01:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.257 2009/09/05 01:12:54 darkside Exp $
+
+*dhcpcd-5.1.0 (05 Sep 2009)
+
+ 05 Sep 2009; Jeremy Olexa <darkside@gentoo.org> +dhcpcd-5.1.0.ebuild,
+ metadata.xml:
+ Version bump, bug 283714. I'll be maintaining this now
31 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> dhcpcd-4.0.7.ebuild,
dhcpcd-4.0.13.ebuild, dhcpcd-5.0.4.ebuild, dhcpcd-5.0.5.ebuild,
diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index 88e7adb8a287..093970048ab2 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -4,10 +4,12 @@ DIST dhcpcd-4.0.7.tar.bz2 52724 RMD160 4ca55916c9c3023c70312f0cde18c022313d6a35
DIST dhcpcd-5.0.4.tar.bz2 62058 RMD160 fca6257b30c4c12811ca204bf9e7fe186335928b SHA1 ce958f071b5a2267149e56882a984fb1d2810803 SHA256 af75575f2369ee0c95ae2bbd9711682a37cd57fc85dadaafee1f8092159a3473
DIST dhcpcd-5.0.5.tar.bz2 62063 RMD160 e47dd9da4c42d6fd99cf3dd9a301220197ae4b73 SHA1 c40d6f987bbf3c42c3cdbd1e6c1bece68ad2e741 SHA256 62099fc0f6aa1db6554f1d9454e0d22f86a179baacff42f7e949944ef44adbc9
DIST dhcpcd-5.0.6.tar.bz2 62535 RMD160 75ab9fb07ad09bb10f14ef5218da3ea95cceed4a SHA1 2539dfc157f3c897959ca16a4a9eabdfa4599657 SHA256 051c905aa6036e15432fa790b17b411f3cae380840f3ad2d0d03f4f466f81e61
+DIST dhcpcd-5.1.0.tar.bz2 63589 RMD160 d22e3d4b8f4d16b9cb0a7743a63cbb3057ac17d1 SHA1 4c5c729e1e8fb7ca5fa8a0ab336d9adcbca5c40f SHA256 bb761bc9eefa7f528fd74d9a10518ebd5f99c18fc2b0a98196c8cd106eb9188b
EBUILD dhcpcd-4.0.13.ebuild 2801 RMD160 72e5fafca539465767da2e45eb561d6e682210f9 SHA1 d01f26974096f6bde0ba7d88a68c4395ddcaed71 SHA256 a0481f0affe87ab79b03d9e76961fb9ecfc77e3f191408832d6fd11c8c35ec0c
EBUILD dhcpcd-4.0.7.ebuild 2801 RMD160 528a1d33c21b4b8f955f838ce1b6c649d2333a0f SHA1 ff9adf79b34698a05c2907dd23e22fb33a04b946 SHA256 eb90479dfd1042c05d7c252acee706d8b5da3031965f352adfe450b65ed05e7e
EBUILD dhcpcd-5.0.4.ebuild 2770 RMD160 9e0e09c86dc6d3ab4ff1f1504e8f71c7dd1b6bd4 SHA1 fdf2b8075930d969054aead9418d005982f6df5e SHA256 e66e05f91342ff1bab9ecccb2657fe8e87760806c8bfb94d1e2449356ba57814
EBUILD dhcpcd-5.0.5.ebuild 2770 RMD160 eb046b02f731731bc2f379e3c0725f19e4588847 SHA1 29ca204cfccae99d30f738d7b90b59a77b8167ea SHA256 360c50efa52c6606a0fe0de0835ef47ea92f2b6391d7a125b5e1d100b4fae9fb
EBUILD dhcpcd-5.0.6.ebuild 2770 RMD160 5f5e06305ddff40413311ac041e2fd7b7ffdd4a5 SHA1 faacb61e8f93c141d29b83901ee2b584d3f9f020 SHA256 a168ca3b2180f3a3501a9f3e315a3449992160a2a547fb3d179275b985369003
-MISC ChangeLog 36282 RMD160 af485ca604e5e6cc6aada5ddf773bbc532f2eecf SHA1 b49a85a5591615727f76329b977f6f80830d0e07 SHA256 84aa11d7951a1e3d4404b4cb09581143357fe9fcc9f84f4fb01fd636ab6f5c63
-MISC metadata.xml 535 RMD160 ac8783989581ae63d6f0c5d620f3bd13302f728c SHA1 4e309b28dd5110febef02e2208e295a7211fd089 SHA256 b7460648e716d933c13d87bea855c8052ee31602f1a4b4363d8cd882725e932a
+EBUILD dhcpcd-5.1.0.ebuild 2604 RMD160 9d8e25b3e360abc3a308faf3ad60ddd96f00c124 SHA1 025b9c67018584d46e18c2047788f9c0fe882dd9 SHA256 2f426703656c076a46723a682547773974fff40857e24109fc07bf11ed0ecfea
+MISC ChangeLog 36456 RMD160 2290e3bf433723015f592d152ab72439560c074d SHA1 6d6e4360d599f9719a6165d100bd5239cc05a800 SHA256 d8d88fc28c391880038fb262fae73b338fc5c02e688430e66be16db0eeba68f6
+MISC metadata.xml 357 RMD160 b4bef9d1c14522e2223ba92804cc04329cca999f SHA1 15bce697e4cf7a4bdc0f6b44046bc800818c4d29 SHA256 ac2928e35bee8f52aea5b76ee307794a5c134bba68793b7b37400907a41a5881
diff --git a/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild b/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild
new file mode 100644
index 000000000000..9058708a0d5c
--- /dev/null
+++ b/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild,v 1.1 2009/09/05 01:12:54 darkside Exp $
+
+EAPI=1
+
+inherit eutils
+
+MY_P="${P/_alpha/-alpha}"
+MY_P="${MY_P/_beta/-beta}"
+MY_P="${MY_P/_rc/-rc}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
+HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
+SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
+LICENSE="BSD-2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+
+SLOT="0"
+IUSE="+zeroconf"
+
+DEPEND=""
+PROVIDE="virtual/dhcpc"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if ! use zeroconf; then
+ elog "Disabling zeroconf support"
+ {
+ echo
+ echo "# dhcpcd ebuild requested no zeroconf"
+ echo "noipv4ll"
+ } >> dhcpcd.conf
+ fi
+}
+
+src_compile() {
+ local hooks="--with-hook=ntp.conf"
+ use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
+ econf --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd ${hooks}
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+}
+
+pkg_postinst() {
+ # Upgrade the duid file to the new format if needed
+ local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
+ local new_duid="${ROOT}"/etc/dhcpcd.duid
+ if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
+ sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
+ fi
+
+ # Move the duid to /etc, a more sensible location
+ if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
+ cp -p "${old_duid}" "${new_duid}"
+ fi
+
+ if use zeroconf; then
+ elog "You have installed dhcpcd with zeroconf support."
+ elog "This means that it will always obtain an IP address even if no"
+ elog "DHCP server can be contacted, which will break any existing"
+ elog "failover support you may have configured in your net configuration."
+ elog "This behaviour can be controlled with the -L flag."
+ elog "See the dhcpcd man page for more details."
+ fi
+
+ elog
+ elog "Users transfering from 4.0 series should pay attention to removal"
+ elog "of compat useflag. This changes behavior of dhcp in wide manner:"
+ elog "dhcpcd no longer sends a default ClientID for ethernet interfaces."
+ elog "This is so we can re-use the address the kernel DHCP client found."
+ elog "To retain the old behaviour of sending a default ClientID based on the"
+ elog "hardware address for interface, simply add the keyword clientid"
+ elog "to dhcpcd.conf or use commandline parameter -I ''"
+}
diff --git a/net-misc/dhcpcd/metadata.xml b/net-misc/dhcpcd/metadata.xml
index c5759fb04c27..3fffe0a52b2c 100644
--- a/net-misc/dhcpcd/metadata.xml
+++ b/net-misc/dhcpcd/metadata.xml
@@ -3,11 +3,9 @@
<pkgmetadata>
<herd>base-system</herd>
<maintainer>
- <email>welp@gentoo.org</email>
- <name>Peter Weller</name>
+ <email>darkside@gentoo.org</email>
+ <name>Jeremy Olexa</name>
</maintainer>
- <longdescription>A fully featured, yet light weight RFC2131 compliant DHCP client</longdescription>
- <longdescription lang="ja">DHCP クライアントです。</longdescription>
<use>
<flag name="compat">Enable commandline compability with dhcpcd-3.x</flag>
</use>