1 |
williamh 14/01/04 23:10:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dhcpcd-6.2.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8568F528) |
9 |
|
10 |
Revision Changes Path |
11 |
1.377 net-misc/dhcpcd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.377&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.377&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.376&r2=1.377 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v |
20 |
retrieving revision 1.376 |
21 |
retrieving revision 1.377 |
22 |
diff -u -r1.376 -r1.377 |
23 |
--- ChangeLog 23 Sep 2013 17:58:22 -0000 1.376 |
24 |
+++ ChangeLog 4 Jan 2014 23:10:22 -0000 1.377 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/dhcpcd |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.376 2013/09/23 17:58:22 williamh Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.377 2014/01/04 23:10:22 williamh Exp $ |
31 |
+ |
32 |
+*dhcpcd-6.2.0 (04 Jan 2014) |
33 |
+ |
34 |
+ 04 Jan 2014; William Hubbs <williamh@g.o> +dhcpcd-6.2.0.ebuild: |
35 |
+ version bump |
36 |
|
37 |
23 Sep 2013; William Hubbs <williamh@g.o> -dhcpcd-6.0.2.ebuild, |
38 |
-dhcpcd-6.0.3.ebuild, -dhcpcd-6.0.5.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/dhcpcd/dhcpcd-6.2.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.2.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.2.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dhcpcd-6.2.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-6.2.0.ebuild,v 1.1 2014/01/04 23:10:22 williamh Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
if [[ ${PV} == "9999" ]]; then |
56 |
EGIT_REPO_URI="git://roy.marples.name/${PN}.git" |
57 |
inherit git-r3 |
58 |
else |
59 |
MY_P="${P/_alpha/-alpha}" |
60 |
MY_P="${MY_P/_beta/-beta}" |
61 |
MY_P="${MY_P/_rc/-rc}" |
62 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
64 |
S="${WORKDIR}/${MY_P}" |
65 |
fi |
66 |
|
67 |
inherit eutils systemd |
68 |
|
69 |
DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client" |
70 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/" |
71 |
LICENSE="BSD-2" |
72 |
SLOT="0" |
73 |
IUSE="elibc_glibc ipv6 kernel_linux +udev" |
74 |
|
75 |
COMMON_DEPEND="udev? ( virtual/udev )" |
76 |
DEPEND="${COMMON_DEPEND}" |
77 |
RDEPEND="${COMMON_DEPEND}" |
78 |
|
79 |
src_prepare() |
80 |
{ |
81 |
epatch_user |
82 |
} |
83 |
|
84 |
src_configure() |
85 |
{ |
86 |
local dev hooks rundir |
87 |
use udev || dev="--without-dev --without-udev" |
88 |
hooks="--with-hook=ntp.conf" |
89 |
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf" |
90 |
use kernel_linux && rundir="--rundir=/run" |
91 |
econf \ |
92 |
--prefix="${EPREFIX}" \ |
93 |
--libexecdir="${EPREFIX}/lib/dhcpcd" \ |
94 |
--dbdir="${EPREFIX}/var/lib/dhcpcd" \ |
95 |
--localstatedir="${EPREFIX}/var" \ |
96 |
${rundir} \ |
97 |
$(use_enable ipv6) \ |
98 |
${dev} \ |
99 |
${hooks} |
100 |
} |
101 |
|
102 |
src_install() |
103 |
{ |
104 |
default |
105 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
106 |
systemd_dounit "${FILESDIR}"/${PN}.service |
107 |
} |
108 |
|
109 |
pkg_postinst() |
110 |
{ |
111 |
# Upgrade the duid file to the new format if needed |
112 |
local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid |
113 |
local new_duid="${ROOT}"/etc/dhcpcd.duid |
114 |
if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then |
115 |
sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}" |
116 |
fi |
117 |
|
118 |
# Move the duid to /etc, a more sensible location |
119 |
if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then |
120 |
cp -p "${old_duid}" "${new_duid}" |
121 |
fi |
122 |
|
123 |
elog |
124 |
elog "dhcpcd has zeroconf support active by default." |
125 |
elog "This means it will always obtain an IP address even if no" |
126 |
elog "DHCP server can be contacted, which will break any existing" |
127 |
elog "failover support you may have configured in your net configuration." |
128 |
elog "This behaviour can be controlled with the noipv4ll configuration" |
129 |
elog "file option or the -L command line switch." |
130 |
elog "See the dhcpcd and dhcpcd.conf man pages for more details." |
131 |
|
132 |
elog |
133 |
elog "Dhcpcd has duid enabled by default, and this may cause issues" |
134 |
elog "with some dhcp servers. For more information, see" |
135 |
elog "https://bugs.gentoo.org/show_bug.cgi?id=477356" |
136 |
|
137 |
if ! has_version net-dns/bind-tools; then |
138 |
elog |
139 |
elog "If you activate the lookup-hostname hook to look up your hostname" |
140 |
elog "using the dns, you need to install net-dns/bind-tools." |
141 |
fi |
142 |
} |