Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcpcd/
Date: Fri, 29 Jan 2016 14:52:00
Message-Id: 1454078991.ce6efe12ed90a04c8e1ee2d1e49c863d8de97768.williamh@gentoo
1 commit: ce6efe12ed90a04c8e1ee2d1e49c863d8de97768
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 29 14:46:08 2016 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 14:49:51 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce6efe12
7
8 net-misc/dhcpcd: remove old versions
9
10 https://bugs.gentoo.org/show_bug.cgi?id=571152
11
12 net-misc/dhcpcd/Manifest | 1 -
13 net-misc/dhcpcd/dhcpcd-6.9.0.ebuild | 120 ------------------------------------
14 2 files changed, 121 deletions(-)
15
16 diff --git a/net-misc/dhcpcd/Manifest b/net-misc/dhcpcd/Manifest
17 index b1126a3..bd090fd7 100644
18 --- a/net-misc/dhcpcd/Manifest
19 +++ b/net-misc/dhcpcd/Manifest
20 @@ -1,3 +1,2 @@
21 DIST dhcpcd-6.10.0.tar.xz 179804 SHA256 ab56af9b2e86913c55a965cb0f835e87749df78318564acf90d5d698f413ad35 SHA512 f31c95beaa7668deb03e3d657660cd32434dbb0ef440e9bc568bb4a672a510bffb5e79e15d139b40fa7730e9a642c3c2167aaa1389fb8c449bfbcd0039ed30f0 WHIRLPOOL 70a18c39f317cb2cf51ec0a44d79d7fba99e381c47ecd2753bef41b68994193e9c846789aa2c1725a6261e82324434bee3231b056b93a8af3e10e9d26815a5b0
22 DIST dhcpcd-6.10.1.tar.xz 180112 SHA256 284abf8c3be0580bbac5eaca95359346ab0d78d4072317b6ce87cc68f2e8ae7b SHA512 f323c155cff47f21dde181c216408b79f10e6ed923aa3d1f3482feff47a1e88e02193ec82f831da4ef63d3703ca1837715c36a47cf3f5d09f117f6eb53bfcf67 WHIRLPOOL 805e8a1b4dad400825197dae7918a2172093d152986d5d97f4d1993f2c27cf3fbe097a5dc4f7a5292e98676b5d7fad6079ed64e4bffabeb7ccf9d91f4db80de9
23 -DIST dhcpcd-6.9.0.tar.bz2 176736 SHA256 1566a58ef785880c07762ff6c520e974cf42872be5fbb23b4520f4446b120a68 SHA512 bb02005ff54ad722961208be69f48c61fb72cf56c9ca89348f3e0973e96317b06b4eaf48412ec5e763c9e20bad6f38e06d520048f3412d3bf46716f5dfb671a6 WHIRLPOOL 450b89ff260cfef8e865d1f02b7aa7119d0e37a231d08577545d0091496cee370f5f9c2614e6d5ef2b9a99b412d909d3ed4711c7433b6de085b7dc62df84a4fb
24
25 diff --git a/net-misc/dhcpcd/dhcpcd-6.9.0.ebuild b/net-misc/dhcpcd/dhcpcd-6.9.0.ebuild
26 deleted file mode 100644
27 index 78eb6dc..0000000
28 --- a/net-misc/dhcpcd/dhcpcd-6.9.0.ebuild
29 +++ /dev/null
30 @@ -1,120 +0,0 @@
31 -# Copyright 1999-2015 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -
37 -if [[ ${PV} == "9999" ]]; then
38 - FOSSIL_URI="http://roy.marples.name/projects/dhcpcd"
39 -else
40 - MY_P="${P/_alpha/-alpha}"
41 - MY_P="${MY_P/_beta/-beta}"
42 - MY_P="${MY_P/_rc/-rc}"
43 - SRC_URI="http://roy.marples.name/downloads/${PN}/${MY_P}.tar.bz2"
44 - KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
45 - S="${WORKDIR}/${MY_P}"
46 -fi
47 -
48 -inherit eutils systemd toolchain-funcs
49 -
50 -DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
51 -HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
52 -LICENSE="BSD-2"
53 -SLOT="0"
54 -IUSE="elibc_glibc +embedded ipv6 kernel_linux +udev"
55 -
56 -COMMON_DEPEND="udev? ( virtual/udev )"
57 -DEPEND="${COMMON_DEPEND}"
58 -RDEPEND="${COMMON_DEPEND}"
59 -
60 -if [[ ${PV} == "9999" ]]; then
61 - DEPEND+=" dev-vcs/fossil"
62 -
63 - src_unpack()
64 - {
65 - local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}
66 - local repo=${distdir}/fossil/${PN}.fossil
67 -
68 - addwrite "${distdir}"
69 -
70 - if [[ -e "${repo}" ]]; then
71 - fossil pull "${FOSSIL_URI}" -R "${repo}" || die
72 - else
73 - mkdir -p "${distdir}/fossil" || die
74 - fossil clone "${FOSSIL_URI}" "${repo}" || die
75 - fi
76 -
77 - mkdir -p "${S}" || die
78 - cd "${S}" || die
79 - fossil open "${repo}" || die
80 - }
81 -fi
82 -
83 -src_prepare()
84 -{
85 - epatch_user
86 -}
87 -
88 -src_configure()
89 -{
90 - local dev hooks rundir
91 - use udev || dev="--without-dev --without-udev"
92 - hooks="--with-hook=ntp.conf"
93 - use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
94 - use kernel_linux && rundir="--rundir=${EPREFIX}/run"
95 - econf \
96 - --prefix="${EPREFIX}" \
97 - --libexecdir="${EPREFIX}/lib/dhcpcd" \
98 - --dbdir="${EPREFIX}/var/lib/dhcpcd" \
99 - --localstatedir="${EPREFIX}/var" \
100 - ${rundir} \
101 - $(use_enable embedded) \
102 - $(use_enable ipv6) \
103 - ${dev} \
104 - CC="$(tc-getCC)" \
105 - ${hooks}
106 -}
107 -
108 -src_install()
109 -{
110 - default
111 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
112 - systemd_dounit "${FILESDIR}"/${PN}.service
113 -}
114 -
115 -pkg_postinst()
116 -{
117 - # Upgrade the duid file to the new format if needed
118 - local old_duid="${ROOT}"/var/lib/dhcpcd/dhcpcd.duid
119 - local new_duid="${ROOT}"/etc/dhcpcd.duid
120 - if [ -e "${old_duid}" ] && ! grep -q '..:..:..:..:..:..' "${old_duid}"; then
121 - sed -i -e 's/\(..\)/\1:/g; s/:$//g' "${old_duid}"
122 - fi
123 -
124 - # Move the duid to /etc, a more sensible location
125 - if [ -e "${old_duid}" -a ! -e "${new_duid}" ]; then
126 - cp -p "${old_duid}" "${new_duid}"
127 - fi
128 -
129 - if [ -z "$REPLACING_VERSIONS" ]; then
130 - elog
131 - elog "dhcpcd has zeroconf support active by default."
132 - elog "This means it will always obtain an IP address even if no"
133 - elog "DHCP server can be contacted, which will break any existing"
134 - elog "failover support you may have configured in your net configuration."
135 - elog "This behaviour can be controlled with the noipv4ll configuration"
136 - elog "file option or the -L command line switch."
137 - elog "See the dhcpcd and dhcpcd.conf man pages for more details."
138 -
139 - elog
140 - elog "Dhcpcd has duid enabled by default, and this may cause issues"
141 - elog "with some dhcp servers. For more information, see"
142 - elog "https://bugs.gentoo.org/show_bug.cgi?id=477356"
143 - fi
144 -
145 - if ! has_version net-dns/bind-tools; then
146 - elog
147 - elog "If you activate the lookup-hostname hook to look up your hostname"
148 - elog "using the dns, you need to install net-dns/bind-tools."
149 - fi
150 -}