1 |
robbat2 08/09/25 08:21:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-4.0.1-r1.ebuild |
5 |
Log: |
6 |
Minor bugfix to 4.0.1, restoring the old -I behavior better. Stable candidate now. |
7 |
(Portage version: 2.2_rc9/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.206 net-misc/dhcpcd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.206&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.206&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.205&r2=1.206 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
19 |
retrieving revision 1.205 |
20 |
retrieving revision 1.206 |
21 |
diff -p -w -b -B -u -u -r1.205 -r1.206 |
22 |
--- ChangeLog 25 Aug 2008 10:21:01 -0000 1.205 |
23 |
+++ ChangeLog 25 Sep 2008 08:21:13 -0000 1.206 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-misc/dhcpcd |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.205 2008/08/25 10:21:01 remi Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.206 2008/09/25 08:21:13 robbat2 Exp $ |
29 |
+ |
30 |
+*dhcpcd-4.0.1-r1 (25 Sep 2008) |
31 |
+ |
32 |
+ 25 Sep 2008; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/dhcpcd-4.0.1-no-empty-clientid.patch, +dhcpcd-4.0.1-r1.ebuild: |
34 |
+ Minor bugfix to 4.0.1, restoring the old -I behavior better. Stable |
35 |
+ candidate now. |
36 |
|
37 |
25 Aug 2008; RĂ©mi Cardona <remi@g.o> Manifest: |
38 |
wrong tarball... |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/dhcpcd/dhcpcd-4.0.1-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.1-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dhcpcd-4.0.1-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-4.0.1-r1.ebuild,v 1.1 2008/09/25 08:21:13 robbat2 Exp $ |
52 |
|
53 |
EAPI=1 |
54 |
|
55 |
inherit toolchain-funcs 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 DHCP client" |
63 |
HOMEPAGE="http://roy.marples.name/dhcpcd" |
64 |
SRC_URI="http://roy.marples.name/${PN}/${MY_P}.tar.bz2" |
65 |
LICENSE="BSD-2" |
66 |
|
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
68 |
|
69 |
SLOT="0" |
70 |
IUSE="+compat zeroconf" |
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 |
if use compat; then |
89 |
elog "dhcpcd-3 command line support enabled" |
90 |
{ |
91 |
echo |
92 |
echo "/* User indicated command line compatability */" |
93 |
echo "#define CMDLINE_COMPAT" |
94 |
} >> config.h |
95 |
fi |
96 |
|
97 |
epatch "${FILESDIR}"/${PN}-4.0.1-no-empty-clientid.patch |
98 |
} |
99 |
|
100 |
pkg_setup() { |
101 |
MAKE_ARGS="DBDIR=/var/lib/dhcpcd LIBEXECDIR=/lib/dhcpcd" |
102 |
} |
103 |
|
104 |
src_compile() { |
105 |
[ -z "${MAKE_ARGS}" ] && die "MAKE_ARGS is empty" |
106 |
emake CC="$(tc-getCC)" ${MAKE_ARGS} || die |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
local hooks="50-ntp.conf" |
111 |
use elibc_glibc && hooks="${hooks} 50-yp.conf" |
112 |
emake ${MAKE_ARGS} HOOKSCRIPTS="${hooks}" DESTDIR="${D}" install || die |
113 |
} |
114 |
|
115 |
pkg_postinst() { |
116 |
# Upgrade the duid file to the new format if needed |
117 |
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
118 |
local new_duid="${ROOT}"/etc/dhcpcd.duid |
119 |
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then |
120 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}" |
121 |
fi |
122 |
|
123 |
# Move the duid to /etc, a more sensible location |
124 |
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then |
125 |
cp -p "${old_duid}" "${new_duid}" |
126 |
fi |
127 |
|
128 |
if use zeroconf; then |
129 |
elog "You have installed dhcpcd with zeroconf support." |
130 |
elog "This means that it will always obtain an IP address even if no" |
131 |
elog "DHCP server can be contacted, which will break any existing" |
132 |
elog "failover support you may have configured in your net configuration." |
133 |
elog "This behaviour can be controlled with the -L flag." |
134 |
elog "See the dhcpcd man page for more details." |
135 |
fi |
136 |
} |