1 |
williamh 09/12/29 20:58:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-5.1.4.ebuild |
5 |
Log: |
6 |
version bump |
7 |
(Portage version: 2.2_rc61/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.274 net-misc/dhcpcd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.274&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.274&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.273&r2=1.274 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
19 |
retrieving revision 1.273 |
20 |
retrieving revision 1.274 |
21 |
diff -u -r1.273 -r1.274 |
22 |
--- ChangeLog 28 Dec 2009 18:41:32 -0000 1.273 |
23 |
+++ ChangeLog 29 Dec 2009 20:58:10 -0000 1.274 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/dhcpcd |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.273 2009/12/28 18:41:32 nixnut Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.274 2009/12/29 20:58:10 williamh Exp $ |
29 |
+ |
30 |
+*dhcpcd-5.1.4 (29 Dec 2009) |
31 |
+ |
32 |
+ 29 Dec 2009; William Hubbs <williamh@g.o> +dhcpcd-5.1.4.ebuild: |
33 |
+ version bump |
34 |
|
35 |
28 Dec 2009; nixnut <nixnut@g.o> dhcpcd-4.0.15.ebuild: |
36 |
ppc stable #293502 |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-misc/dhcpcd/dhcpcd-5.1.4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: dhcpcd-5.1.4.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.4.ebuild,v 1.1 2009/12/29 20:58:10 williamh Exp $ |
50 |
|
51 |
EAPI=1 |
52 |
|
53 |
inherit eutils |
54 |
|
55 |
MY_P="${P/_alpha/-alpha}" |
56 |
MY_P="${MY_P/_beta/-beta}" |
57 |
MY_P="${MY_P/_rc/-rc}" |
58 |
S="${WORKDIR}/${MY_P}" |
59 |
|
60 |
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client" |
61 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/" |
62 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2" |
63 |
LICENSE="BSD-2" |
64 |
|
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
66 |
|
67 |
SLOT="0" |
68 |
IUSE="+zeroconf" |
69 |
|
70 |
DEPEND="" |
71 |
PROVIDE="virtual/dhcpc" |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${A} |
75 |
cd "${S}" |
76 |
|
77 |
if ! use zeroconf; then |
78 |
elog "Disabling zeroconf support" |
79 |
{ |
80 |
echo |
81 |
echo "# dhcpcd ebuild requested no zeroconf" |
82 |
echo "noipv4ll" |
83 |
} >> dhcpcd.conf |
84 |
fi |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
local hooks="--with-hook=ntp.conf" |
89 |
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf" |
90 |
econf --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd \ |
91 |
--localstatedir=/var ${hooks} |
92 |
emake || die |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
emake DESTDIR="${D}" install || die |
97 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
98 |
} |
99 |
|
100 |
pkg_postinst() { |
101 |
# Upgrade the duid file to the new format if needed |
102 |
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
103 |
local new_duid="${ROOT}"/etc/dhcpcd.duid |
104 |
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then |
105 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}" |
106 |
fi |
107 |
|
108 |
# Move the duid to /etc, a more sensible location |
109 |
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then |
110 |
cp -p "${old_duid}" "${new_duid}" |
111 |
fi |
112 |
|
113 |
if use zeroconf; then |
114 |
elog "You have installed dhcpcd with zeroconf support." |
115 |
elog "This means that it will always obtain an IP address even if no" |
116 |
elog "DHCP server can be contacted, which will break any existing" |
117 |
elog "failover support you may have configured in your net configuration." |
118 |
elog "This behaviour can be controlled with the -L flag." |
119 |
elog "See the dhcpcd man page for more details." |
120 |
fi |
121 |
|
122 |
elog |
123 |
elog "Users transfering from 4.0 series should pay attention to removal" |
124 |
elog "of compat useflag. This changes behavior of dhcp in wide manner:" |
125 |
elog "dhcpcd no longer sends a default ClientID for ethernet interfaces." |
126 |
elog "This is so we can re-use the address the kernel DHCP client found." |
127 |
elog "To retain the old behaviour of sending a default ClientID based on the" |
128 |
elog "hardware address for interface, simply add the keyword clientid" |
129 |
elog "to dhcpcd.conf or use commandline parameter -I ''" |
130 |
} |