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