summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Weller <welp@gentoo.org>2008-10-29 15:10:51 +0000
committerPeter Weller <welp@gentoo.org>2008-10-29 15:10:51 +0000
commit450357da819640137c2002ecc17a6e30c01022d4 (patch)
tree394802937a95434c300b2ec78ae853cc24dcda27 /net-misc/dhcpcd
parentadd support for ATI's XvMC implementation (diff)
downloadhistorical-450357da819640137c2002ecc17a6e30c01022d4.tar.gz
historical-450357da819640137c2002ecc17a6e30c01022d4.tar.bz2
historical-450357da819640137c2002ecc17a6e30c01022d4.zip
Bump.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-gentoomarx x86_64
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r--net-misc/dhcpcd/ChangeLog9
-rw-r--r--net-misc/dhcpcd/Manifest12
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.3.ebuild86
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.99.3.ebuild79
4 files changed, 181 insertions, 5 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index fd598c358619..6ba49c14ac55 100644
--- a/net-misc/dhcpcd/ChangeLog
+++ b/net-misc/dhcpcd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.220 2008/10/05 13:59:55 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.221 2008/10/29 15:10:50 welp Exp $
+
+*dhcpcd-4.99.3 (29 Oct 2008)
+*dhcpcd-4.0.3 (29 Oct 2008)
+
+ 29 Oct 2008; <welp@gentoo.org> +dhcpcd-4.0.3.ebuild,
+ +dhcpcd-4.99.3.ebuild:
+ Bump.
05 Oct 2008; Tobias Klausmann <klausman@gentoo.org> dhcpcd-4.0.2.ebuild:
Stable on alpha, bug #238731
diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index a26fedd8e9e1..2d549ac620ac 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -14,7 +14,9 @@ DIST dhcpcd-4.0.0-rc5.tar.bz2 51241 RMD160 35bfa384431833eaa131015cd2acb4ea57164
DIST dhcpcd-4.0.0.tar.bz2 51674 RMD160 62bef2c676f656dd846ce5c3260866cb841e1a11 SHA1 cb8c04d727ae48ccbcec9872b3b7d3fca09f5afd SHA256 b895e51b0863a2053652eaad9ca6d12e5fb9e393bc7ff54a1fd958cc83355093
DIST dhcpcd-4.0.1.tar.bz2 51697 RMD160 4a539349a02af358b93bdfc0998db4ccaad5970b SHA1 a73b8fa730b37655cdfbd3bec0584c5d82ff1877 SHA256 de53eb2b9dd6cf7220c28f73727c491c3d3b8e6e10049d25b4f6db3faad0e8ec
DIST dhcpcd-4.0.2.tar.bz2 51625 RMD160 e2bf8fce66404e70f03f331de2fc83503bdbf077 SHA1 3224bb58fd82efb2f86e6a1f76dce6bff20cdc1d SHA256 19aba85cf98906ea38397fadf2d23841c343bce9d995d8684d0c083524bf6523
+DIST dhcpcd-4.0.3.tar.bz2 51943 RMD160 bd44e76c4aadbff3ea24bc0ee292fee77ff75a1c SHA1 9fa8b562be73c712d0a44f2179214f93ae9705d9 SHA256 f825fcb8bddb2386bae1c874e7632c7bc736015b685f19f3a300511b241a088f
DIST dhcpcd-4.99.2.tar.bz2 54946 RMD160 a2e3e8b37e41f0b3356f7a7cba6c606dbaf6db0a SHA1 8b49f3dffb47c754ba1629aa971fbf14e137bd26 SHA256 513a6ab9d4010ebc495425816155c44074f7195f7d1550d9653a2dc2c8ecfa95
+DIST dhcpcd-4.99.3.tar.bz2 55836 RMD160 5cf9c3eb2efe7a9cf5b1f722c55a4a498d497e9f SHA1 582675abec2cc580972c246d358e781686c0ceda SHA256 031abbe1dd2a1d382b2af2188967792c18eca5245f36329e314e1427215758d6
EBUILD dhcpcd-2.0.5-r1.ebuild 1418 RMD160 d99f4100936bb4ec364a7432dd7c87d1ef909b80 SHA1 05abf531156b25459f7e2d4f8d8015ede8437de3 SHA256 dd23842eab6793416fb5565f8499e728282d5e00c4838a5f93325a00f5bd63f4
EBUILD dhcpcd-3.0.16-r1.ebuild 953 RMD160 82b53e937a113c528e36aeace26cf705c0140ed9 SHA1 24e50b8e6effdba118f7b5389d24b0d3db94c9a9 SHA256 d6b9ee3c8da4c740bd0a5ca50c148874605ef33c5244680185b191749b6a5888
EBUILD dhcpcd-3.1.5-r1.ebuild 1969 RMD160 0b5565aaa6466acbcf68dfae7c34896227fc8f1e SHA1 63ebd2efc08fa00e8bdfbc9314ee1736aede7495 SHA256 9ee0903aeff1102be6fe98a14259dbf2b8f9b0bb106716057c5ff495f7ff6b96
@@ -25,13 +27,15 @@ EBUILD dhcpcd-4.0.0_rc5.ebuild 2288 RMD160 d4384039fb30761826dd4b4ac057a2594695f
EBUILD dhcpcd-4.0.1-r1.ebuild 2362 RMD160 4da5594edcf154bcee5ad43a646a4547789af7de SHA1 b6ec79304e65377203e6852e5306c379b0b81adf SHA256 d3dc57c1cbc0e3d04d7c192d541476a94fcb0ca422178db5d151a9bc89886f6b
EBUILD dhcpcd-4.0.1.ebuild 2281 RMD160 7c0f461f47bc8bbee92cdf045991b1434527e3e2 SHA1 6f8064ced3f85b08e93ab8be1a796458b2158110 SHA256 5efaa6e8c7cdc7578dd761db185dc0f89be26ab34c878746f4f2076fa49f7c78
EBUILD dhcpcd-4.0.2.ebuild 2298 RMD160 083b33ad4770f517c2f931b3f44b96a76e52f1de SHA1 abcf939f6d2e1f78a6b8e484e893b4ed14786d52 SHA256 35d9d1fd5b1da6d97eb6f2a59165af99c815cebddcbd4e241a99ab03f273458b
+EBUILD dhcpcd-4.0.3.ebuild 2307 RMD160 5fe38239c93ec8706ee9c98036c91951c4d8ee5e SHA1 45db4ae39cf8c80a0067df2be6763741c92ace8a SHA256 bd07fbb4ed15b5a0231c49f67b1d0c0974acef6b72830f37da462f3ca49169df
EBUILD dhcpcd-4.99.2.ebuild 2152 RMD160 216e84b7b49cf2610e2c60ad7509f98f471b6a80 SHA1 80436a2435f962664a40eb1af9d3e0f725b34114 SHA256 d04f691b3b9d28d2afc1083ffdaaa65fbdbe519606198aaf11ebde61756fd08b
-MISC ChangeLog 31083 RMD160 3a296fd5d22528c76f171d42a18f1fc90305ef25 SHA1 cc2d381672df444d389d0cc5aaa1e5e60dafc83e SHA256 b4b106cc6113ae72fbdb77ec21e856e57fe47f382f94671c2442717c60475d93
+EBUILD dhcpcd-4.99.3.ebuild 2169 RMD160 7b7e6357bb894ba79a61e41cc559f800e3480b70 SHA1 41212843532b55df45a0b4535025f444cdc1381d SHA256 3c011ca398ee21370722856021a68214349c30b9cb88b380971ba0d05bf0bc14
+MISC ChangeLog 31226 RMD160 bddb0450d1cc12d194038e4ecf6cda9f82fa1e07 SHA1 20a0a61c38b25e6529b292a323533af87096c5f5 SHA256 1f170548a5827de551faa15cdfa1f56eeffd929543fea1728333ddcf76f67d12
MISC metadata.xml 474 RMD160 a0dd1b7ce940eac39d4c9d32f0a5473e44ea291b SHA1 a007fba723b719e14bbb5cb2b8d9f2d62d1e87da SHA256 ed92d0ec6aff23c23eaf1bf7c36357a7a7cd63723b6312caccbb2becb3bd0c72
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkkEYe8ACgkQ67wieSYcaxcQXwCeIds7YpNFog7666TAJahyEJqb
-LyYAn3KGvBFu/X5000xUrPQoeMZSrb0v
-=Sh9v
+iEYEARECAAYFAkkIfOYACgkQ+yr3c76ZoXeaggCgiDvIlLmOeB7x85T9yoxxs46p
+mAUAniLbi7Gg+bCBoXHr1NQ/NX965e1a
+=US4i
-----END PGP SIGNATURE-----
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.3.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.3.ebuild
new file mode 100644
index 000000000000..0b14ee3407dd
--- /dev/null
+++ b/net-misc/dhcpcd/dhcpcd-4.0.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.3.ebuild,v 1.1 2008/10/29 15:10:51 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 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"
+ 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
+}
diff --git a/net-misc/dhcpcd/dhcpcd-4.99.3.ebuild b/net-misc/dhcpcd/dhcpcd-4.99.3.ebuild
new file mode 100644
index 000000000000..85d1d92c197d
--- /dev/null
+++ b/net-misc/dhcpcd/dhcpcd-4.99.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.99.3.ebuild,v 1.1 2008/10/29 15:10:51 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 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
+
+ epatch "${FILESDIR}"/${PN}-4.99.2-no-empty-clientid.patch
+}
+
+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"
+ 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
+}