1 |
dagger 10/11/29 09:57:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-5.2.9.ebuild |
5 |
Log: |
6 |
Added version 5.2.9 |
7 |
|
8 |
(Portage version: 2.1.9.24/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.290 net-misc/dhcpcd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.290&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.290&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.289&r2=1.290 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
20 |
retrieving revision 1.289 |
21 |
retrieving revision 1.290 |
22 |
diff -u -r1.289 -r1.290 |
23 |
--- ChangeLog 24 Nov 2010 14:59:59 -0000 1.289 |
24 |
+++ ChangeLog 29 Nov 2010 09:57:11 -0000 1.290 |
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.289 2010/11/24 14:59:59 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.290 2010/11/29 09:57:11 dagger Exp $ |
30 |
+ |
31 |
+*dhcpcd-5.2.9 (29 Nov 2010) |
32 |
+ |
33 |
+ 29 Nov 2010; Robert Piasek <dagger@g.o> +dhcpcd-5.2.9.ebuild: |
34 |
+ Added version 5.2.9 |
35 |
|
36 |
24 Nov 2010; Jeroen Roovers <jer@g.o> dhcpcd-5.2.8.ebuild: |
37 |
Stable for HPPA (bug #312385). |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/dhcpcd/dhcpcd-5.2.9.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.9.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.2.9.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: dhcpcd-5.2.9.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 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.9.ebuild,v 1.1 2010/11/29 09:57:11 dagger 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 |
PROVIDE="virtual/dhcpc" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
|
78 |
if ! use zeroconf; then |
79 |
elog "Disabling zeroconf support" |
80 |
{ |
81 |
echo |
82 |
echo "# dhcpcd ebuild requested no zeroconf" |
83 |
echo "noipv4ll" |
84 |
} >> dhcpcd.conf |
85 |
fi |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
local hooks="--with-hook=ntp.conf" |
90 |
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf" |
91 |
econf --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd \ |
92 |
--localstatedir=/var ${hooks} |
93 |
emake || die |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
emake DESTDIR="${D}" install || die |
98 |
dodoc README |
99 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
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 transfering 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 |
} |