1 |
williamh 12/02/03 16:35:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-5.5.3.ebuild |
5 |
Removed: dhcpcd-5.5.2.ebuild dhcpcd-5.2.12-r1.ebuild |
6 |
Log: |
7 |
version bump for compile issue and remove old unstable version. |
8 |
|
9 |
(Portage version: 2.2.0_alpha84/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.328 net-misc/dhcpcd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.328&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.328&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.327&r2=1.328 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
21 |
retrieving revision 1.327 |
22 |
retrieving revision 1.328 |
23 |
diff -u -r1.327 -r1.328 |
24 |
--- ChangeLog 3 Feb 2012 16:21:34 -0000 1.327 |
25 |
+++ ChangeLog 3 Feb 2012 16:35:13 -0000 1.328 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-misc/dhcpcd |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.327 2012/02/03 16:21:34 williamh Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.328 2012/02/03 16:35:13 williamh Exp $ |
31 |
+ |
32 |
+*dhcpcd-5.5.3 (03 Feb 2012) |
33 |
+ |
34 |
+ 03 Feb 2012; William Hubbs <williamh@g.o> +dhcpcd-5.5.3.ebuild, |
35 |
+ -dhcpcd-5.2.12-r1.ebuild, -dhcpcd-5.5.2.ebuild: |
36 |
+ version bump for compile issue and remove old unstable version. |
37 |
|
38 |
*dhcpcd-5.5.2 (03 Feb 2012) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/dhcpcd/dhcpcd-5.5.3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.5.3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.5.3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: dhcpcd-5.5.3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.5.3.ebuild,v 1.1 2012/02/03 16:35:13 williamh Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit eutils systemd |
57 |
|
58 |
MY_P="${P/_alpha/-alpha}" |
59 |
MY_P="${MY_P/_beta/-beta}" |
60 |
MY_P="${MY_P/_rc/-rc}" |
61 |
S="${WORKDIR}/${MY_P}" |
62 |
|
63 |
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client" |
64 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/" |
65 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2" |
66 |
LICENSE="BSD-2" |
67 |
|
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" |
69 |
|
70 |
SLOT="0" |
71 |
IUSE="+zeroconf elibc_glibc" |
72 |
|
73 |
DEPEND="" |
74 |
RDEPEND="" |
75 |
|
76 |
src_prepare() { |
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_configure() { |
88 |
local hooks="--with-hook=ntp.conf" |
89 |
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf" |
90 |
econf \ |
91 |
--prefix="${EPREFIX}" \ |
92 |
--libexecdir="${EPREFIX}/lib/dhcpcd" \ |
93 |
--dbdir="${EPREFIX}/var/lib/dhcpcd" \ |
94 |
--localstatedir="${EPREFIX}/var" \ |
95 |
${hooks} |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
default |
100 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
101 |
systemd_dounit "${FILESDIR}"/${PN}.service |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
# Upgrade the duid file to the new format if needed |
106 |
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
107 |
local new_duid="${ROOT}"/etc/dhcpcd.duid |
108 |
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then |
109 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}" |
110 |
fi |
111 |
|
112 |
# Move the duid to /etc, a more sensible location |
113 |
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then |
114 |
cp -p "${old_duid}" "${new_duid}" |
115 |
fi |
116 |
|
117 |
if use zeroconf; then |
118 |
elog "You have installed dhcpcd with zeroconf support." |
119 |
elog "This means that it will always obtain an IP address even if no" |
120 |
elog "DHCP server can be contacted, which will break any existing" |
121 |
elog "failover support you may have configured in your net configuration." |
122 |
elog "This behaviour can be controlled with the -L flag." |
123 |
elog "See the dhcpcd man page for more details." |
124 |
fi |
125 |
|
126 |
elog |
127 |
elog "Users upgrading from 4.0 series should pay attention to removal" |
128 |
elog "of compat useflag. This changes behavior of dhcp in wide manner:" |
129 |
elog "dhcpcd no longer sends a default ClientID for ethernet interfaces." |
130 |
elog "This is so we can re-use the address the kernel DHCP client found." |
131 |
elog "To retain the old behaviour of sending a default ClientID based on the" |
132 |
elog "hardware address for interface, simply add the keyword clientid" |
133 |
elog "to dhcpcd.conf or use commandline parameter -I ''" |
134 |
elog |
135 |
elog "Also, users upgrading from 4.0 series should be aware that" |
136 |
elog "the -N, -R and -Y command line options no longer exist." |
137 |
elog "These are controled now by nohook options in dhcpcd.conf." |
138 |
|
139 |
# Mea culpa, feel free to remove that after some time --mgorny. |
140 |
if [[ -e "${ROOT}"/etc/systemd/system/network.target.wants/${PN}.service ]] |
141 |
then |
142 |
ebegin "Moving ${PN}.service to multi-user.target" |
143 |
mv "${ROOT}"/etc/systemd/system/network.target.wants/${PN}.service \ |
144 |
"${ROOT}"/etc/systemd/system/multi-user.target.wants/ |
145 |
eend ${?} \ |
146 |
"Please try to re-enable dhcpcd.service" |
147 |
fi |
148 |
} |