diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-08-04 12:32:24 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-08-04 12:32:24 +0000 |
commit | 1fe8adb5c778db4e9471810f681e1866c54dcda7 (patch) | |
tree | 4743c0b9559bfe2694b4eb20b858a9b564f39554 /net-misc/dhcpcd | |
parent | Updated dhcp client configure option (bug #330659) - thanks Marco Paolone (diff) | |
download | historical-1fe8adb5c778db4e9471810f681e1866c54dcda7.tar.gz historical-1fe8adb5c778db4e9471810f681e1866c54dcda7.tar.bz2 historical-1fe8adb5c778db4e9471810f681e1866c54dcda7.zip |
Version bump. This is the only version that will work with 2.6.35 kernels or newer. bug 331087
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r-- | net-misc/dhcpcd/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/dhcpcd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-5.2.7.ebuild | 85 |
3 files changed, 95 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog index 8e908172c575..d6a06bbdb45b 100644 --- a/net-misc/dhcpcd/ChangeLog +++ b/net-misc/dhcpcd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/dhcpcd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.282 2010/08/03 20:29:51 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.283 2010/08/04 12:32:24 darkside Exp $ + +*dhcpcd-5.2.7 (04 Aug 2010) + + 04 Aug 2010; Jeremy Olexa <darkside@gentoo.org> +dhcpcd-5.2.7.ebuild: + Version bump. This is the only version that will work with 2.6.35 kernels + or newer. bug 331087 03 Aug 2010; William Hubbs <williamh@gentoo.org> -dhcpcd-5.0.6.ebuild, -dhcpcd-5.1.5.ebuild, -dhcpcd-5.2.2.ebuild, -dhcpcd-5.2.5.ebuild: diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest index b6178f9c86f6..6dc8650af96c 100644 --- a/net-misc/dhcpcd/Manifest +++ b/net-misc/dhcpcd/Manifest @@ -1,7 +1,9 @@ AUX dhcpcd.initd 327 RMD160 5391020a6e28fb411fde4ae1610182dcc27abc59 SHA1 2f255cce666c11b1082593e8ff2ef67ad6c3e0a0 SHA256 72b42c9939fda3fb56666813513029ed36194c1708bddce06bcb3e131e547492 DIST dhcpcd-4.0.15.tar.bz2 52767 RMD160 a6b00ed30ce850cbe58c4aed1937f4bb8dcfd043 SHA1 bb1bbbe5b97bc8fd1fc1d4bea7067fe76f59182d SHA256 8ad7619eea8414851225b2ad2e204678911aca22791941f4caa49db435b2bca0 DIST dhcpcd-5.2.6.tar.bz2 68489 RMD160 8c3d9d97973ea73583b2615df870becd88df9d3e SHA1 40219474d02d28e054aa6c10985ce59a070ac0c3 SHA256 fcba1dc87d8cb4b47a9b33ac7eb6fd1059026d524023374016abfe7ac98b8562 +DIST dhcpcd-5.2.7.tar.bz2 69019 RMD160 383eabbb3c80d499a3e0fcae7c805d24c92ea2a8 SHA1 510f7360edb426a0dafcf840aa1f35d75636a697 SHA256 99975021a5f2a02a66ce2a62a61ddda28e1d3927fc67d07b5b86adf79417c36b EBUILD dhcpcd-4.0.15.ebuild 2810 RMD160 39d37802c6df0dd78ecbb9844c35ef82b186e60d SHA1 bdf95efd2cd3d7d5c6cd86e7e60765bcc9b55b6f SHA256 ac322e7beaed21907032ca660aa5713913d0470d6b014fa7613a31421a25fff6 EBUILD dhcpcd-5.2.6.ebuild 2655 RMD160 363c5a3bede22f3c3c940d1f514f284fdd22875f SHA1 ce4e193968725d96e5695e18faaf3bc531c5edab SHA256 b96bbf3e8813d01e023ad1c2260f286b224a33c67553c16275ef25fcd925cdee -MISC ChangeLog 40084 RMD160 d09dbc6fe2c932440edb0a5cba54e7f1739835b5 SHA1 49847eaa6306ca63f3c968781343cbce45355f21 SHA256 0ee1fbed0e82473b03b3552452bf3951c3bb8243ea42313d6a96b666fb04e8dd +EBUILD dhcpcd-5.2.7.ebuild 2655 RMD160 78a4419248795dcb87a9a0eb2dd39232c0c3bbd7 SHA1 f7ff87751a86a32817dbc2938b286cd13434a4ad SHA256 1b4ad75920d0b783fe0c13321df5244fdffe94d1be755f6f3a1ec77a873a6257 +MISC ChangeLog 40285 RMD160 3f0ea163973426de2e27c89591361c147df8fdd2 SHA1 cc3267bee8ae779c2739126a21cc52d2f235781f SHA256 5d1b3434d5ee061301efccf44039a766da9414ce9098dba2a808c556326ea891 MISC metadata.xml 364 RMD160 76c08f52a8358f3e62f42aaa5ee53820c452a104 SHA1 e9161300025ae9ff41c7b68eec327f64be57fcac SHA256 598b041b465927b424f29c9c843a34165bd12bd75dfd2422d79907a1b3b05b32 diff --git a/net-misc/dhcpcd/dhcpcd-5.2.7.ebuild b/net-misc/dhcpcd/dhcpcd-5.2.7.ebuild new file mode 100644 index 000000000000..b4beac8d1d8f --- /dev/null +++ b/net-misc/dhcpcd/dhcpcd-5.2.7.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.7.ebuild,v 1.1 2010/08/04 12:32:24 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 ~x86 ~sparc-fbsd ~x86-fbsd" + +SLOT="0" +IUSE="+zeroconf elibc_glibc" + +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 \ + --localstatedir=/var ${hooks} + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README + 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 ''" +} |