Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/dhcpcd: metadata.xml ChangeLog dhcpcd-5.1.0.ebuild
Date: Sat, 05 Sep 2009 01:12:56
Message-Id: E1Mjjpn-00073g-83@stork.gentoo.org
1 darkside 09/09/05 01:12:55
2
3 Modified: metadata.xml ChangeLog
4 Added: dhcpcd-5.1.0.ebuild
5 Log:
6 Version bump, bug 283714. I'll be maintaining this now
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 net-misc/dhcpcd/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/metadata.xml?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/metadata.xml?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/metadata.xml?r1=1.9&r2=1.10
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/metadata.xml,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- metadata.xml 30 May 2009 18:52:23 -0000 1.9
23 +++ metadata.xml 5 Sep 2009 01:12:54 -0000 1.10
24 @@ -3,11 +3,9 @@
25 <pkgmetadata>
26 <herd>base-system</herd>
27 <maintainer>
28 - <email>welp@g.o</email>
29 - <name>Peter Weller</name>
30 + <email>darkside@g.o</email>
31 + <name>Jeremy Olexa</name>
32 </maintainer>
33 - <longdescription>A fully featured, yet light weight RFC2131 compliant DHCP client</longdescription>
34 - <longdescription lang="ja">DHCP クライアントです。</longdescription>
35 <use>
36 <flag name="compat">Enable commandline compability with dhcpcd-3.x</flag>
37 </use>
38
39
40
41 1.257 net-misc/dhcpcd/ChangeLog
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.257&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.257&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.256&r2=1.257
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
50 retrieving revision 1.256
51 retrieving revision 1.257
52 diff -u -r1.256 -r1.257
53 --- ChangeLog 31 Jul 2009 17:01:30 -0000 1.256
54 +++ ChangeLog 5 Sep 2009 01:12:54 -0000 1.257
55 @@ -1,6 +1,12 @@
56 # ChangeLog for net-misc/dhcpcd
57 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.256 2009/07/31 17:01:30 ssuominen Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.257 2009/09/05 01:12:54 darkside Exp $
60 +
61 +*dhcpcd-5.1.0 (05 Sep 2009)
62 +
63 + 05 Sep 2009; Jeremy Olexa <darkside@g.o> +dhcpcd-5.1.0.ebuild,
64 + metadata.xml:
65 + Version bump, bug 283714. I'll be maintaining this now
66
67 31 Jul 2009; Samuli Suominen <ssuominen@g.o> dhcpcd-4.0.7.ebuild,
68 dhcpcd-4.0.13.ebuild, dhcpcd-5.0.4.ebuild, dhcpcd-5.0.5.ebuild,
69
70
71
72 1.1 net-misc/dhcpcd/dhcpcd-5.1.0.ebuild
73
74 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild?rev=1.1&content-type=text/plain
76
77 Index: dhcpcd-5.1.0.ebuild
78 ===================================================================
79 # Copyright 1999-2009 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.1.0.ebuild,v 1.1 2009/09/05 01:12:54 darkside Exp $
82
83 EAPI=1
84
85 inherit eutils
86
87 MY_P="${P/_alpha/-alpha}"
88 MY_P="${MY_P/_beta/-beta}"
89 MY_P="${MY_P/_rc/-rc}"
90 S="${WORKDIR}/${MY_P}"
91
92 DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
93 HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
94 SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
95 LICENSE="BSD-2"
96
97 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
98
99 SLOT="0"
100 IUSE="+zeroconf"
101
102 DEPEND=""
103 PROVIDE="virtual/dhcpc"
104
105 src_unpack() {
106 unpack ${A}
107 cd "${S}"
108
109 if ! use zeroconf; then
110 elog "Disabling zeroconf support"
111 {
112 echo
113 echo "# dhcpcd ebuild requested no zeroconf"
114 echo "noipv4ll"
115 } >> dhcpcd.conf
116 fi
117 }
118
119 src_compile() {
120 local hooks="--with-hook=ntp.conf"
121 use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
122 econf --prefix= --libexecdir=/lib/dhcpcd --dbdir=/var/lib/dhcpcd ${hooks}
123 emake || die
124 }
125
126 src_install() {
127 emake DESTDIR="${D}" install || die
128 newinitd "${FILESDIR}"/${PN}.initd ${PN}
129 }
130
131 pkg_postinst() {
132 # Upgrade the duid file to the new format if needed
133 local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
134 local new_duid="${ROOT}"/etc/dhcpcd.duid
135 if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
136 sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
137 fi
138
139 # Move the duid to /etc, a more sensible location
140 if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
141 cp -p "${old_duid}" "${new_duid}"
142 fi
143
144 if use zeroconf; then
145 elog "You have installed dhcpcd with zeroconf support."
146 elog "This means that it will always obtain an IP address even if no"
147 elog "DHCP server can be contacted, which will break any existing"
148 elog "failover support you may have configured in your net configuration."
149 elog "This behaviour can be controlled with the -L flag."
150 elog "See the dhcpcd man page for more details."
151 fi
152
153 elog
154 elog "Users transfering from 4.0 series should pay attention to removal"
155 elog "of compat useflag. This changes behavior of dhcp in wide manner:"
156 elog "dhcpcd no longer sends a default ClientID for ethernet interfaces."
157 elog "This is so we can re-use the address the kernel DHCP client found."
158 elog "To retain the old behaviour of sending a default ClientID based on the"
159 elog "hardware address for interface, simply add the keyword clientid"
160 elog "to dhcpcd.conf or use commandline parameter -I ''"
161 }