Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/dhcpcd: dhcpcd-5.99.7.ebuild ChangeLog dhcpcd-5.99.6.ebuild
Date: Tue, 04 Jun 2013 16:11:43
Message-Id: 20130604161135.9A0BC2171D@flycatcher.gentoo.org
1 williamh 13/06/04 16:11:35
2
3 Modified: ChangeLog
4 Added: dhcpcd-5.99.7.ebuild
5 Removed: dhcpcd-5.99.6.ebuild
6 Log:
7 version bump, 5.99.7 was just released
8
9 (Portage version: 2.2.0_alpha177/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
10
11 Revision Changes Path
12 1.357 net-misc/dhcpcd/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.357&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?rev=1.357&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/ChangeLog?r1=1.356&r2=1.357
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v
21 retrieving revision 1.356
22 retrieving revision 1.357
23 diff -u -r1.356 -r1.357
24 --- ChangeLog 4 Jun 2013 01:30:38 -0000 1.356
25 +++ ChangeLog 4 Jun 2013 16:11:35 -0000 1.357
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/dhcpcd
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.356 2013/06/04 01:30:38 williamh Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.357 2013/06/04 16:11:35 williamh Exp $
31 +
32 +*dhcpcd-5.99.7 (04 Jun 2013)
33 +
34 + 04 Jun 2013; William Hubbs <williamh@g.o> +dhcpcd-5.99.7.ebuild,
35 + -dhcpcd-5.99.6.ebuild:
36 + version bump, 5.99.7 was just released
37
38 *dhcpcd-5.99.6 (04 Jun 2013)
39
40
41
42
43 1.1 net-misc/dhcpcd/dhcpcd-5.99.7.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.99.7.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.99.7.ebuild?rev=1.1&content-type=text/plain
47
48 Index: dhcpcd-5.99.7.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-5.99.7.ebuild,v 1.1 2013/06/04 16:11:35 williamh Exp $
53
54 EAPI=5
55
56 if [[ ${PV} == "9999" ]]; then
57 EGIT_REPO_URI="git://roy.marples.name/${PN}.git"
58 inherit git-2
59 else
60 MY_P="${P/_alpha/-alpha}"
61 MY_P="${MY_P/_beta/-beta}"
62 MY_P="${MY_P/_rc/-rc}"
63 SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
64 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"
65 S="${WORKDIR}/${MY_P}"
66 fi
67
68 inherit eutils systemd
69
70 DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
71 HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
72 LICENSE="BSD-2"
73 SLOT="0"
74 IUSE="elibc_glibc"
75
76 DEPEND=""
77 RDEPEND=""
78
79 src_prepare()
80 {
81 epatch_user
82 }
83
84 src_configure()
85 {
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 {
98 default
99 newinitd "${FILESDIR}"/${PN}.initd ${PN}
100 systemd_dounit "${FILESDIR}"/${PN}.service
101 }
102
103 pkg_postinst()
104 {
105 # Upgrade the duid file to the new format if needed
106 local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
107 local new_duid="${ROOT}"/etc/dhcpcd.duid
108 if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
109 sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
110 fi
111
112 # Move the duid to /etc, a more sensible location
113 if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
114 cp -p "${old_duid}" "${new_duid}"
115 fi
116
117 elog
118 elog "dhcpcd has zeroconf support active by default."
119 elog "This means it will always obtain an IP address even if no"
120 elog "DHCP server can be contacted, which will break any existing"
121 elog "failover support you may have configured in your net configuration."
122 elog "This behaviour can be controlled with the noipv4ll configuration"
123 elog "file option or the -L command line switch."
124 elog "See the dhcpcd and dhcpcd.conf man pages for more details."
125
126 if ! has_version net-dns/bind-tools; then
127 elog
128 elog "If you activate the lookup-hostname hook to look up your hostname"
129 elog "using the dns, you need to install net-dns/bind-tools."
130 fi
131 }