summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-08-24 20:57:10 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-08-24 20:57:10 +0000
commit09f44535ec9112a283a34dc8d19d7f0015495cd2 (patch)
tree2eb59073944ef156bfc1aced3c5adfa44fedc389 /net-misc/dhcpcd
parentDevelopment has moved to an external Git repo. (diff)
downloadhistorical-09f44535ec9112a283a34dc8d19d7f0015495cd2.tar.gz
historical-09f44535ec9112a283a34dc8d19d7f0015495cd2.tar.bz2
historical-09f44535ec9112a283a34dc8d19d7f0015495cd2.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/dhcpcd')
-rw-r--r--net-misc/dhcpcd/ChangeLog9
-rw-r--r--net-misc/dhcpcd/Manifest14
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.0.ebuild (renamed from net-misc/dhcpcd/dhcpcd-4.0.0_rc3.ebuild)2
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.0_beta9.ebuild81
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.0_rc1.ebuild86
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.0_rc2.ebuild86
-rw-r--r--net-misc/dhcpcd/dhcpcd-4.0.0_rc4.ebuild86
7 files changed, 12 insertions, 352 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index 54ff9a6ff1f0..1529f1f5b620 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.202 2008/08/15 19:47:55 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.203 2008/08/24 20:57:10 armin76 Exp $
+
+*dhcpcd-4.0.0 (24 Aug 2008)
+
+ 24 Aug 2008; Raúl Porcel <armin76@gentoo.org> -dhcpcd-4.0.0_beta9.ebuild,
+ -dhcpcd-4.0.0_rc1.ebuild, -dhcpcd-4.0.0_rc2.ebuild,
+ -dhcpcd-4.0.0_rc3.ebuild, -dhcpcd-4.0.0_rc4.ebuild, +dhcpcd-4.0.0.ebuild:
+ Version bump
*dhcpcd-4.0.0_rc5 (15 Aug 2008)
diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
index af1e3d5071a0..6be3718766bb 100644
--- a/net-misc/dhcpcd/Manifest
+++ b/net-misc/dhcpcd/Manifest
@@ -5,22 +5,14 @@ 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.2.tar.bz2 44779 RMD160 14ad80c09ad2a8ace6840f628fa4e5fa09a33df4 SHA1 b74645c5572a2dab0043c71da880ecd8db782678 SHA256 f77136eec579ed74dcb3ff27bf655f5885b8eeb5632cde12d5283812442ebdff
DIST dhcpcd-3.2.3.tar.bz2 45030 RMD160 4319dc97c97f08124a6466d096eeb2a21b4d069d SHA1 666d6bafd86c9986efe28076d0b7e5d3349006e2 SHA256 89d5fc05d7fd643200333116400d8a0eda9adf1c7f2a70e6cbca977c8d3843fe
-DIST dhcpcd-4.0.0-beta9.tar.bz2 48081 RMD160 d038c4f0b3e6f3851667c99f742a2e24382c6eac SHA1 aae02289c9ad5bbacb51940ef176e86ed6d71688 SHA256 595837c96916d8f7dae1b6f521f04e9bb59f2fc53a6a63db06e72164ef814ec4
-DIST dhcpcd-4.0.0-rc1.tar.bz2 49816 RMD160 79fcc9858ddc703ef0ea943614bb1a6ca7519aec SHA1 ceb1e864cb551b839679767de807d5620275af86 SHA256 1d96d9c826502e918059fe9c7f7ec3b538f2c113d20435051062f998e94754fc
-DIST dhcpcd-4.0.0-rc2.tar.bz2 49681 RMD160 e3b2f937ee6cadad2fc54f9692f956004c083472 SHA1 92b8d6a3803fac8f0502bfae559282890a114d97 SHA256 9af71b5ac7e64b25be0eeacd5406875e284347f138524366d86947932bcf2586
-DIST dhcpcd-4.0.0-rc3.tar.bz2 49416 RMD160 a197d4e4a5c7e0752dba2a47415d6c3f578683f0 SHA1 1629a23e7997b889dd206ab41fb18c40bf9b7a36 SHA256 f83f98dd0da21347b51a3a6d4b18a75481a2ec49a52ec118b2220c2f368020f4
-DIST dhcpcd-4.0.0-rc4.tar.bz2 49846 RMD160 785bcdeea329b29de63b4f68479057dc7f7ed8f0 SHA1 a813a0d66e28e00cfc8b36b5db77a6e3e7d236a7 SHA256 e9be5599e4faa7fc7598495b4bb3e50947234b60a86530b51f7fa1814958df8a
DIST dhcpcd-4.0.0-rc5.tar.bz2 51241 RMD160 35bfa384431833eaa131015cd2acb4ea57164ea2 SHA1 ba300384f211d5846b3d1e4c722b9759b3048978 SHA256 cd03d3d457ddb4dadb09118cb048a8c4097d750a0c47cdc687137a577985ddf7
+DIST dhcpcd-4.0.0.tar.bz2 51674 RMD160 62bef2c676f656dd846ce5c3260866cb841e1a11 SHA1 cb8c04d727ae48ccbcec9872b3b7d3fca09f5afd SHA256 b895e51b0863a2053652eaad9ca6d12e5fb9e393bc7ff54a1fd958cc83355093
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
EBUILD dhcpcd-3.2.2.ebuild 2624 RMD160 803c8bea3619c62397c45b7791860279e1fd52b4 SHA1 ee27ac4e4884fbb1f881c68ed5fb83e1064e6389 SHA256 4e5c4398cd6a1a385be847a0301325ba5432c3315c5c17c50618bed9abef26f4
EBUILD dhcpcd-3.2.3.ebuild 2616 RMD160 0fd64284267ee4563b2fcb981bb0b242594dbcf1 SHA1 8f6c1fd86f767bc8b78f86154799b7f036a789f0 SHA256 cfc4316ad4039f3b359d129af0ae7f2a64d001e728cadbd1f36e3c0a441ccb0d
-EBUILD dhcpcd-4.0.0_beta9.ebuild 2208 RMD160 50d7dd51153fedb74446ea6da2f353a31e5009a7 SHA1 6b9bd12e5c9f0d530735ddf6405dac1dd8703325 SHA256 77f01b00217d6a22db673d1b9b6810b9b0c9e5f892c0efb24887e14ae57ab2a9
-EBUILD dhcpcd-4.0.0_rc1.ebuild 2288 RMD160 794c5e9273b17c815b6cfee1e549516e3ee98655 SHA1 de1dead6ccdde32ad41a9122f38fe6205f40bff8 SHA256 8026b1805252d1d18247d98a077dc775badff9be3b4219eea595c1cced63fe43
-EBUILD dhcpcd-4.0.0_rc2.ebuild 2288 RMD160 37d2dee06a472b79f1ff2fd538e0c65753094e77 SHA1 937e0778c699567bb55cee410e4cd4f26f9709b9 SHA256 5790f59df711585141c9e6cf9adb5a7a88a901d84ebc6d2416ba25f726f242c1
-EBUILD dhcpcd-4.0.0_rc3.ebuild 2287 RMD160 e8109ab3dccbb9cb1e5886d260f71dbef158f1b8 SHA1 9c88a329a0e156b53caee963b371e27221507428 SHA256 9a67871941eb4993d0ba99c8370b4cfdd0e5117df6fc6f4d173b06eef8524387
-EBUILD dhcpcd-4.0.0_rc4.ebuild 2288 RMD160 5bd325520065d358703e2a4c6f3df3cb5b2f7233 SHA1 ff30f5fcb3bf053018059e874182d092ff2fdde7 SHA256 54e6e9ecd050e33420f527e32a625d7c604838ffaf56dc8ada2f1ef5bdb0098e
+EBUILD dhcpcd-4.0.0.ebuild 2284 RMD160 668e78d5f86ac17d0702e8916473643ce0b95ccf SHA1 44e0c89671035321797c3463ef3c32b8295d5a2b SHA256 04768c5fb605dc519a97bf7c7626e3e454bbed2aec0853f03f431da2e033758f
EBUILD dhcpcd-4.0.0_rc5.ebuild 2288 RMD160 d4384039fb30761826dd4b4ac057a2594695f27f SHA1 c02dba6e6e3a1f1063339beb14d4641337c6f0d4 SHA256 020af651289eba68f9bf020e0cadc85ad126a78e14133cdf269b3c7c9c0a9211
-MISC ChangeLog 28543 RMD160 a1db891e4944b74aa3c197ddec60ac733b247c8e SHA1 e7271f630912882070416268e01ac91ed961ef2e SHA256 49ffee726e85b292d52fedb079f82991bb1c66c0c57ab087889c5b40c06814f9
+MISC ChangeLog 28795 RMD160 47980da5bff4e245980ddd98d2f0e52c18498c8d SHA1 b5e1ece8bf8e4f37265114d6968b145b2fa61b0b SHA256 7da12bd9cc0e5da0ffd6291424779a9949221280bd55160ee6a6c2b4dc5eb83a
MISC metadata.xml 474 RMD160 a0dd1b7ce940eac39d4c9d32f0a5473e44ea291b SHA1 a007fba723b719e14bbb5cb2b8d9f2d62d1e87da SHA256 ed92d0ec6aff23c23eaf1bf7c36357a7a7cd63723b6312caccbb2becb3bd0c72
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.0_rc3.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.0.ebuild
index a26a55c50d29..095dd25b0e27 100644
--- a/net-misc/dhcpcd/dhcpcd-4.0.0_rc3.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-4.0.0.ebuild
@@ -1,6 +1,6 @@
# 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.0_rc3.ebuild,v 1.1 2008/07/27 10:47:00 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.0.ebuild,v 1.1 2008/08/24 20:57:10 armin76 Exp $
EAPI=1
diff --git a/net-misc/dhcpcd/dhcpcd-4.0.0_beta9.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.0_beta9.ebuild
deleted file mode 100644
index d125c410761a..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.0_beta9.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# 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.0_beta9.ebuild,v 1.1 2008/07/08 16:13:59 armin76 Exp $
-
-EAPI=1
-
-inherit toolchain-funcs
-
-MY_P="${P/_alpha/-alpha}"
-MY_P="${MY_P/_beta/-beta}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="A DHCP client"
-HOMEPAGE="http://roy.marples.name/dhcpcd"
-SRC_URI="http://roy.marples.name/${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
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd || die
-}
-
-src_install() {
- local hooks="50-ntp.conf"
- use elibc_glibc && hooks="${hooks} 50-yp.conf"
- emake LIBEXECDIR=/lib/dhcpcd HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die
- keepdir /var/lib/dhcpcd
-}
-
-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.0.0_rc1.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.0_rc1.ebuild
deleted file mode 100644
index f1650da078ed..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.0_rc1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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.0_rc1.ebuild,v 1.1 2008/07/22 09:43:07 armin76 Exp $
-
-EAPI=1
-
-inherit toolchain-funcs
-
-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/dhcpcd"
-SRC_URI="http://roy.marples.name/${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.0.0_rc2.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.0_rc2.ebuild
deleted file mode 100644
index 91352cf5bf68..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.0_rc2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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.0_rc2.ebuild,v 1.1 2008/07/23 16:24:13 armin76 Exp $
-
-EAPI=1
-
-inherit toolchain-funcs
-
-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/dhcpcd"
-SRC_URI="http://roy.marples.name/${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.0.0_rc4.ebuild b/net-misc/dhcpcd/dhcpcd-4.0.0_rc4.ebuild
deleted file mode 100644
index 3a3c5b95580d..000000000000
--- a/net-misc/dhcpcd/dhcpcd-4.0.0_rc4.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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.0_rc4.ebuild,v 1.1 2008/07/28 14:45:51 armin76 Exp $
-
-EAPI=1
-
-inherit toolchain-funcs
-
-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/dhcpcd"
-SRC_URI="http://roy.marples.name/${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
-}