diff options
author | Peter Weller <welp@gentoo.org> | 2009-02-19 22:18:36 +0000 |
---|---|---|
committer | Peter Weller <welp@gentoo.org> | 2009-02-19 22:18:36 +0000 |
commit | 8c8c2ff95ca5450c0b1a5ae7274dc62549ba3f80 (patch) | |
tree | dc70b358f06bd085460d8ea17bdb1d9421840a57 /net-misc/dhcpcd | |
parent | Update p.mask (diff) | |
download | historical-8c8c2ff95ca5450c0b1a5ae7274dc62549ba3f80.tar.gz historical-8c8c2ff95ca5450c0b1a5ae7274dc62549ba3f80.tar.bz2 historical-8c8c2ff95ca5450c0b1a5ae7274dc62549ba3f80.zip |
Bump to 4.0.11
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-4.0.11.ebuild | 95 |
3 files changed, 104 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index b4b394b13436..7a27e65d0744 100644 --- a/net-misc/dhcpcd/ChangeLog +++ b/net-misc/dhcpcd/ChangeLog @@ -1,6 +1,11 @@ # 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.237 2009/02/07 14:38:08 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.238 2009/02/19 22:18:36 welp Exp $ + +*dhcpcd-4.0.11 (19 Feb 2009) + + 19 Feb 2009; <welp@gentoo.org> +dhcpcd-4.0.11.ebuild: + Bump to 4.0.11 07 Feb 2009; Raúl Porcel <armin76@gentoo.org> -dhcpcd-4.0.0.ebuild, -dhcpcd-4.0.1-r1.ebuild, -dhcpcd-4.0.2.ebuild, -dhcpcd-4.0.3.ebuild, diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index fa918338dc1d..a126e617c533 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -4,6 +4,7 @@ DIST dhcpcd-3.0.16.tar.bz2 31639 RMD160 24ab33bf453a0eb3301fc879e7e98f607aaf14d6 DIST dhcpcd-3.1.5.tar.bz2 40958 RMD160 a00b50c2aadcce5f23d0dcca7691dea173d219fa SHA1 17396b60ffd780c0dd08035e98e23b35c7f3ca39 SHA256 ce98a97a2002d672de67d32bb0226d12146788bd16b1c5ef1a319c82b7933e0e DIST dhcpcd-3.2.3.tar.bz2 45030 RMD160 4319dc97c97f08124a6466d096eeb2a21b4d069d SHA1 666d6bafd86c9986efe28076d0b7e5d3349006e2 SHA256 89d5fc05d7fd643200333116400d8a0eda9adf1c7f2a70e6cbca977c8d3843fe DIST dhcpcd-4.0.10.tar.bz2 52515 RMD160 adcb1bf6c5fc91a0e5908f6c3ec26e2aae3b4392 SHA1 2c2180456eb2ccbab59845f1ee5081631e1c3e08 SHA256 e48ba317f739bcdd6dbe795408fea21f1a7443d5dee84638b6ce8969e32edfe3 +DIST dhcpcd-4.0.11.tar.bz2 52549 RMD160 d9db3b6563ce2df296c021ffffeef6ada09b73ac SHA1 66a762c23f0c8be7529ac9b0443f7dc3d4cf7a2f SHA256 3f5ab0a594115078b576ae98f3ed40e1f2c6892a7d9bb5c05cf8400a01f52efd 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 @@ -13,10 +14,11 @@ EBUILD dhcpcd-3.0.16-r1.ebuild 1006 RMD160 4771c5c4be944e73ca715c7c5b8bd00d367f6 EBUILD dhcpcd-3.1.5-r1.ebuild 2022 RMD160 81a151a2c7954c8cb911de0237899517cbd6a9af SHA1 ae14a5c7fbf4a30631b3ec233e7966913efcd499 SHA256 f0702bac7a5b365d53224cbbb1f67a3b6ce6ba4e5d5715541d57a1e58cfc44d1 EBUILD dhcpcd-3.2.3.ebuild 2668 RMD160 1e0e2ffff58f11af19268baa92ef855287874a52 SHA1 7d9bd4fefa2877a5cc9487c31b577413ec7ffb1f SHA256 3cb8141a8044b6cb0841f595030b116ab2ebb2612519bf5ff2358aab4d231f91 EBUILD dhcpcd-4.0.10.ebuild 2810 RMD160 531b8ccfdd4261b294eba846b4a59590556e8c9e SHA1 4840cfcfabe42e864206418fc0ab6b3a3c30102e SHA256 269fb8f75942384f83ea4294cb7f70d7c2912e84d6895f268a33adda2d1a4c7f +EBUILD dhcpcd-4.0.11.ebuild 2806 RMD160 8eb678b3bac94247cd37e6fdca8d78d20498f672 SHA1 00b9de968296e39587fa9df8893d384125c36f72 SHA256 616c58b5c3fd4038ce71c53c824b695ec3f02b2d4411413c704e1fdd85163162 EBUILD dhcpcd-4.0.7.ebuild 2797 RMD160 67989061e5ca8a26d40111022a0cb012dedbf1d4 SHA1 aeb95ac0cd1cc852439135ccaf4b4967d64ca871 SHA256 08a8ba25916614a7e4b8480d512cbd0a6a6147c1b75c5f169cb3cb8876176c06 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 33791 RMD160 4efad0489e271e50cea86c63d64dd4946e10c9aa SHA1 5c722059ce59bc5899804abe8ac3296db9e07958 SHA256 99847eba7e48299d2abbd4f2b33311b72a8b00080b17fd7aa240ca86c8d7d8a0 +MISC ChangeLog 33892 RMD160 cdc020b3c99effdd95440babf20df8941ef1de7f SHA1 836732a4a66d212b8a9fb659b57af46fe514611b SHA256 548b8acd407a9c31fc5830deaf8a42880e6e067fa6854fcf55239d900ef9be30 MISC metadata.xml 617 RMD160 9dcb9b6a980244ae943e9e53277833191faf596b SHA1 677a753db685d3c745fe2243fd9cf450bfc0651a SHA256 e2dab8044a9cf5cd0c4cd51dff524c9f74add9ca4dbb05a184f9e1ff64eb61d9 diff --git a/net-misc/dhcpcd/dhcpcd-4.0.11.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.11.ebuild new file mode 100644 index 000000000000..7dc5e89fdb80 --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-4.0.11.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.11.ebuild,v 1.1 2009/02/19 22:18:36 welp 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 +} |