diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-01-28 08:45:19 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-01-28 08:45:19 +0000 |
commit | adca427dac7d5f8e2ae01bb89670ae1625acaa11 (patch) | |
tree | 42fbb170e4d935a0e542090df4ce520fa9830565 /net-misc/dhcpcd | |
parent | Bump to final release for OpenOffice.org 3.0.1 (diff) | |
download | historical-adca427dac7d5f8e2ae01bb89670ae1625acaa11.tar.gz historical-adca427dac7d5f8e2ae01bb89670ae1625acaa11.tar.bz2 historical-adca427dac7d5f8e2ae01bb89670ae1625acaa11.zip |
Version bump
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 6 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-4.0.8.ebuild | 95 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-4.99.12.ebuild | 87 |
4 files changed, 195 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 675077a07f50..f94cf43a8944 100644 --- a/net-misc/dhcpcd/ChangeLog +++ b/net-misc/dhcpcd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/dhcpcd # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.234 2009/01/23 17:10:10 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.235 2009/01/28 08:45:19 armin76 Exp $ + +*dhcpcd-4.99.12 (28 Jan 2009) +*dhcpcd-4.0.8 (28 Jan 2009) + + 28 Jan 2009; Raúl Porcel <armin76@gentoo.org> +dhcpcd-4.0.8.ebuild, + +dhcpcd-4.99.12.ebuild: + Version bump 23 Jan 2009; Brent Baude <ranger@gentoo.org> ChangeLog: stable ppc, bug 254812 diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index aace2cd339de..3cfe7aea71a4 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -11,6 +11,8 @@ DIST dhcpcd-4.0.4.tar.bz2 51949 RMD160 02e521b60ee375df94adb8e147a447eb965fab4f DIST dhcpcd-4.0.5.tar.bz2 52226 RMD160 f3a8211bf4d6c72aa69b89b0bb5ce79974174a40 SHA1 46cfbd025b3374e8a39e18513658861fef2b617b SHA256 2741fe78fa49106065d753537e3d2b9fd544beb402fbac9da0514efcd643d93c DIST dhcpcd-4.0.6.tar.bz2 52502 RMD160 88319e8691979417a74ba505e72ac06b0780fdbc SHA1 c9327d00cd0614a8ca26f0f240ea8a892569436a SHA256 dc1b7704b2a91a667ff18a8dd8a66bdcc70474d56989ff44618a5a07a2e8041f DIST dhcpcd-4.0.7.tar.bz2 52724 RMD160 4ca55916c9c3023c70312f0cde18c022313d6a35 SHA1 949be0a4d4dbb087cc53f5f8dc26515ef9f9dd0b SHA256 9f7941f87d55f3c70c828f0d31a78da34c0c8ed9867953eab3b1e7b601ce7fef +DIST dhcpcd-4.0.8.tar.bz2 52681 RMD160 8b57aeebd0738a3c364b417231633a3fba6e4cd0 SHA1 c6218bc9ce1d3cd951ee120b6d37512743ed0689 SHA256 17835040d387733c1cd53fb1bdda22222db5cb983f0045edf4605a1e0fd22546 +DIST dhcpcd-4.99.12.tar.bz2 58962 RMD160 0cbae72303d10ec53a5e7702303e32ecba0e87e9 SHA1 a004cc76f2f0a22baa8b147db34165bc8ec6f655 SHA256 452bd91943d69340a16ce212532ac70f527f1d9088efdce330089571f439d2d7 DIST dhcpcd-4.99.5.tar.bz2 56334 RMD160 e4be4ca9739647c67fe1916ccee2379739e648e9 SHA1 6cfa2d9d1eb33c204e35217652d831af9d8ac8e0 SHA256 d37be98e3eb24505fb4fc8f50666693a11ac0299114d16f422e18948592f11e0 DIST dhcpcd-4.99.6.tar.bz2 56612 RMD160 5a18b5b05ad72bde8ae3446c0c97881a0172cc53 SHA1 97255f180f25cfbe36b5db326aa5fe8ae0244b12 SHA256 838ba12d1099e96653fa7bfad276bb3b99925d1d4c97c983406d5b1eb93f1c19 EBUILD dhcpcd-3.0.16-r1.ebuild 1006 RMD160 4771c5c4be944e73ca715c7c5b8bd00d367f66da SHA1 a4b0290f15b9b2e15142adcec59e23a553f65620 SHA256 25102aebcdd1ac140632d2d6e5f7dda5931d72f64b3794d628bc3feec4432b3c @@ -24,7 +26,9 @@ EBUILD dhcpcd-4.0.4.ebuild 2362 RMD160 a6e91f4d1d15a3670b004f76085008c52c454d41 EBUILD dhcpcd-4.0.5.ebuild 2760 RMD160 40ed46dc008973db7bb5994498dcfbb89cbc22de SHA1 ecaf30c4b148d248fd9fee6d44724498de69ac3f SHA256 5b18d8ef4b07d825803be93756c3b8c68e3ffafe583c383e247574f9498c8d90 EBUILD dhcpcd-4.0.6.ebuild 2809 RMD160 59430e026b8943200e06332dcf6c18764b1034f2 SHA1 d755c0cb815e08b8fbaf71b2ed066cd9cda4da75 SHA256 bd3a7e710bac6852a846b3ac83a2a1c8ca9d32c12fd506fb8f3e99b47011733b EBUILD dhcpcd-4.0.7.ebuild 2801 RMD160 e231fa8ae7aa755eef50a515da16599acb106133 SHA1 8a0fb63662875a65a10a4751766fd82f751e0279 SHA256 12d91b96c88cab78bbc43fcc3a0af0b76e4d14937d14ee29f86a7d04c508b9ea +EBUILD dhcpcd-4.0.8.ebuild 2808 RMD160 8fe176c377c0f18f6da585d6302987a9301d082b SHA1 b710df71f85a297ccedd7bdd84a37026f98f995e SHA256 fb38e0ab489fc62b64309280eee1ee254c5b543d41d7739cec46cfa2bb6ec24c +EBUILD dhcpcd-4.99.12.ebuild 2726 RMD160 594c94663f1bc14930bf37dc6a4b6fd171c210c8 SHA1 3fb8d85832539adad5d6d128698e7dd0a5eb764d SHA256 7dcff9ea040d0d459894e26c27028efb764b98e146cd1aa4fe7e13a3770b01eb EBUILD dhcpcd-4.99.5.ebuild 2677 RMD160 fc3da836d93c97129a9d4e7b1acf978f82dd2cfc SHA1 9df6266f34a5f8e8caf48410d4e7354a4a9adf22 SHA256 7be040795228395f983266bace57e6ed9bacd6585143f41e5116b3106d7717b7 EBUILD dhcpcd-4.99.6.ebuild 2726 RMD160 43310bf53318ddbb6c46f1c7c07d87c9946bf081 SHA1 0cf4b6ce075938ad296dfb5793e629e2e6570db7 SHA256 5f904455041081d1a02e0aac15962755fc8635f659233b9830d4dd78039ed519 -MISC ChangeLog 33198 RMD160 bd7968d8c10192b8e099d093c9507dad2a4ae79d SHA1 8cd1af74440bd850633d84792041bd3b52cd87a4 SHA256 4fee33c3d7c42328cff918300119448028b684448b8f95570159f1eccc53cf2b +MISC ChangeLog 33371 RMD160 80bb7bf66ead4aa94eedd1866553a21c8024c6cd SHA1 14efce7068b809d697ca776282dbffded8a9deb2 SHA256 f17d5c7d797aae3f6ecd8741317f8f92d122472e46a9480b15b009d32abc171e MISC metadata.xml 617 RMD160 9dcb9b6a980244ae943e9e53277833191faf596b SHA1 677a753db685d3c745fe2243fd9cf450bfc0651a SHA256 e2dab8044a9cf5cd0c4cd51dff524c9f74add9ca4dbb05a184f9e1ff64eb61d9 diff --git a/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild new file mode 100644 index 000000000000..b23347364330 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-4.0.8.ebuild @@ -0,0 +1,95 @@ +# 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-4.0.8.ebuild,v 1.1 2009/01/28 08:45:19 armin76 Exp $ + +EAPI=1 + +inherit toolchain-funcs 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="+compat 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 + + if use compat; then + elog "dhcpcd-3 command line support enabled" + { + echo + echo "/* User indicated command line compatability */" + echo "#define CMDLINE_COMPAT" + } >> config.h + fi +} + +pkg_setup() { + MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd" +} + +src_compile() { + [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty" + emake CC="$(tc-getCC)" ${MAKE_ARGS} || die +} + +src_install() { + local hooks="50-ntp.conf" + use elibc_glibc && hooks="${hooks} 50-yp.conf" + use compat && hooks="${hooks} 50-dhcpcd-compat" + emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die +} + +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 + if ! use compat; then + elog + 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 ''" + fi +} diff --git a/net-misc/dhcpcd/dhcpcd-4.99.12.ebuild b/net-misc/dhcpcd/dhcpcd-4.99.12.ebuild new file mode 100644 index 000000000000..c0554a23a648 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-4.99.12.ebuild @@ -0,0 +1,87 @@ +# 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-4.99.12.ebuild,v 1.1 2009/01/28 08:45:19 armin76 Exp $ + +EAPI=1 + +inherit toolchain-funcs 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 +} + +pkg_setup() { + MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd" +} + +src_compile() { + [ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty" + emake CC="$(tc-getCC)" ${MAKE_ARGS} || die +} + +src_install() { + local hooks="50-ntp.conf" + use elibc_glibc && hooks="${hooks} 50-yp.conf" + use compat && hooks="${hooks} 50-dhcpcd-compat" + emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die +} + +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 ''" +} |