1 |
williamh 11/04/06 22:52:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-5.2.12.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha29/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.310 net-misc/dhcpcd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.310&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.310&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.309&r2=1.310 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
20 |
retrieving revision 1.309 |
21 |
retrieving revision 1.310 |
22 |
diff -u -r1.309 -r1.310 |
23 |
--- ChangeLog 23 Mar 2011 23:02:39 -0000 1.309 |
24 |
+++ ChangeLog 6 Apr 2011 22:52:45 -0000 1.310 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/dhcpcd |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.309 2011/03/23 23:02:39 williamh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.310 2011/04/06 22:52:45 williamh Exp $ |
30 |
+ |
31 |
+*dhcpcd-5.2.12 (06 Apr 2011) |
32 |
+ |
33 |
+ 06 Apr 2011; William Hubbs <williamh@g.o> +dhcpcd-5.2.12.ebuild: |
34 |
+ version bump |
35 |
|
36 |
23 Mar 2011; William Hubbs <williamh@g.o> -dhcpcd-5.2.6.ebuild, |
37 |
-dhcpcd-5.2.7.ebuild, -dhcpcd-5.2.8.ebuild, -dhcpcd-5.2.9.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/dhcpcd/dhcpcd-5.2.12.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.12.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.12.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: dhcpcd-5.2.12.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.12.ebuild,v 1.1 2011/04/06 22:52:45 williamh Exp $ |
51 |
|
52 |
EAPI=1 |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
MY_P="${P/_alpha/-alpha}" |
57 |
MY_P="${MY_P/_beta/-beta}" |
58 |
MY_P="${MY_P/_rc/-rc}" |
59 |
S="${WORKDIR}/${MY_P}" |
60 |
|
61 |
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client" |
62 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/" |
63 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2" |
64 |
LICENSE="BSD-2" |
65 |
|
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
67 |
|
68 |
SLOT="0" |
69 |
IUSE="+zeroconf elibc_glibc" |
70 |
|
71 |
DEPEND="" |
72 |
RDEPEND="!<sys-apps/openrc-0.6.0" |
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=/$(get_libdir)/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-1 ${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 |
} |