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