Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcp/
Date: Wed, 28 Feb 2018 16:35:55
Message-Id: 1519835740.135e7f7665906c5ac144101b35121a05495eefc8.polynomial-c@gentoo
1 commit: 135e7f7665906c5ac144101b35121a05495eefc8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 28 16:34:22 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 28 16:35:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135e7f76
7
8 net-misc/dhcp: Bump to versions 4.3.6_p1 and 4.4.1
9
10 Bug: https://bugs.gentoo.org/649010
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 net-misc/dhcp/Manifest | 3 ++-
14 .../dhcp/{dhcp-4.4.0.ebuild => dhcp-4.3.6_p1.ebuild} | 17 ++++++++---------
15 net-misc/dhcp/{dhcp-4.4.0.ebuild => dhcp-4.4.1.ebuild} | 1 +
16 3 files changed, 11 insertions(+), 10 deletions(-)
17
18 diff --git a/net-misc/dhcp/Manifest b/net-misc/dhcp/Manifest
19 index a0c93eb7fa5..e3151d1326c 100644
20 --- a/net-misc/dhcp/Manifest
21 +++ b/net-misc/dhcp/Manifest
22 @@ -1,4 +1,5 @@
23 DIST dhcp-4.3.4.tar.gz 9302513 BLAKE2B eb7fb7d7d46d5a706b4f22b4add98619709f7ac1ecf8244564f043fd56adb6e2f54a0e01b573abcd7e054a82f74279c8134802380ee2d02c1cab1118d48a4965 SHA512 411c3f0e1effedb2a95f00539d13164530a56b50830008eb78906b3c8bf4070c331cf54a431770aed5d1b6ba214840446964210060674f746781cc97842ad706
24 DIST dhcp-4.3.5.tar.gz 10075147 BLAKE2B ffce896cfafe17a412030d0a1cb4a92323be175ecbb35061fe0538ed13a9f91d604daed89b5f282c92ef161944e9f18557545d95c9fbbd29e1f6a31485ef3b11 SHA512 aba0e1d361eb9e7ed33fc48c0b0b9288057af9ec51775e40e27feb9ababc182506706fcf39079236ce36b0f7ded391e107474dc29de2e60ed45d37753505e1f0
25 +DIST dhcp-4.3.6-P1.tar.gz 10189202 BLAKE2B 5dfbda82fa76d1011c552c9d9b5f15296834c2f380795e11fc6419010dd533fa45b9544fc10fc9da45095127f54ffe136b5fd7cc584589150b1b0a9a054e800c SHA512 cb04af2fb0fa8c5621e8b3dcb41e81422475218e1569b0eac6e13c876a21279928a3348f799253d7207517720466523b1cc28005c671542e37b1a391342b1e62
26 DIST dhcp-4.3.6.tar.gz 10182593 BLAKE2B 2b6324c63446a5cbded9a7cdd4455b6c880aabd282dfd19d44fe2fafe684a991b4afa87ec04ee3fc131437c8efdddbe2777d70586c2e8b2b4319e786325dc398 SHA512 de4962dc2aa174df17a3a1456719a777a42d238c3d6ad1771ccc460fa70c9e9cefcce52c7437f7acde61b9c3a2e84e9d49fd2dc33c7e9243053ceed5b247be03
27 -DIST dhcp-4.4.0.tar.gz 11158069 BLAKE2B c554e15f549bdf6342bfa4337ab54f2a259a1c212700a69b56d795b1c91230759e254b050087ad09cf065d9dcc380e6110a95d63c3d2ba982c567dd381889d3e SHA512 0dcddfe803db0cea49204f71c9fbc3b1a55496acc83e344d9147893410bbb5f96874ff6457037ee9f759d701cea4bab98dc51ad5d7b23926254e25e5e421eabd
28 +DIST dhcp-4.4.1.tar.gz 11164378 BLAKE2B fd3c65d8802c42cb936ff75ee19784e4f533c9b36aa08a61280aa8acae5cf581c67cd70222b46eb24b1f9a571e1c028cc853952feac4b6a12f9b7d7d3dbc2fc9 SHA512 684ae349f224918c9f8cec7bd6c55cd0b83ad2b5827375b2876ca088eb05b7ff1364e50f6dc24f2485c610d9be94d4ba3020f60a0fa0ef63962349d191b887e7
29
30 diff --git a/net-misc/dhcp/dhcp-4.4.0.ebuild b/net-misc/dhcp/dhcp-4.3.6_p1.ebuild
31 similarity index 92%
32 copy from net-misc/dhcp/dhcp-4.4.0.ebuild
33 copy to net-misc/dhcp/dhcp-4.3.6_p1.ebuild
34 index ca0eefb2fec..9e73d36618c 100644
35 --- a/net-misc/dhcp/dhcp-4.4.0.ebuild
36 +++ b/net-misc/dhcp/dhcp-4.3.6_p1.ebuild
37 @@ -15,7 +15,7 @@ HOMEPAGE="http://www.isc.org/products/DHCP"
38 SRC_URI="ftp://ftp.isc.org/isc/dhcp/${MY_P}.tar.gz
39 ftp://ftp.isc.org/isc/dhcp/${MY_PV}/${MY_P}.tar.gz"
40
41 -LICENSE="MPL-2.0 BSD SSLeay GPL-2" # GPL-2 only for init script
42 +LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
43 SLOT="0"
44 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
45 IUSE="+client ipv6 kernel_linux ldap libressl selinux +server ssl vim-syntax"
46 @@ -60,10 +60,11 @@ PATCHES=(
47 "${FILESDIR}/${PN}-4.2.2-dhclient-stdin-conf.patch"
48 "${FILESDIR}/${PN}-4.3.6-nogateway.patch" #265531
49 "${FILESDIR}/${PN}-4.3.6-quieter-ping.patch" #296921
50 - "${FILESDIR}/${PN}-4.4.0-always-accept-4.patch" #437108
51 + "${FILESDIR}/${PN}-4.2.4-always-accept-4.patch" #437108
52 "${FILESDIR}/${PN}-4.3.6-iproute2-path.patch" #480636
53 "${FILESDIR}/${PN}-4.2.5-bindtodevice-inet6.patch" #471142
54 "${FILESDIR}/${PN}-4.3.3-ldap-ipv6-client-id.patch" #559832
55 + "${FILESDIR}/${PN}-4.3.6-lmdb-removal.patch" #628598
56 )
57
58 src_prepare() {
59 @@ -120,11 +121,9 @@ src_prepare() {
60 binddir=${binddir}
61 GMAKE=${MAKE:-gmake}
62 EOF
63 - eapply -p2 "${FILESDIR}"/${PN}-4.4.0-bind-disable.patch
64 - # Only use the relevant subdirs now that ISC
65 - #removed the lib/export structure in bind.
66 - sed '/^SUBDIRS/s@=.*$@= isc dns isccfg irs samples@' \
67 - -i bind-*/lib/Makefile.in || die
68 + eapply -p2 "${FILESDIR}"/${PN}-4.3.4-bind-disable.patch
69 + cd bind-*/ || die
70 + eapply -p2 "${FILESDIR}"/${PN}-4.2.2-bind-parallel-build.patch #380717
71 }
72
73 src_configure() {
74 @@ -169,14 +168,14 @@ src_configure() {
75 # perl and we don't want to require that #383837.
76 cd bind/bind-*/ || die
77 eval econf \
78 - $(for el in $(awk '/^bindconfig/,/^$/ {print}' ../Makefile.in) ; do if [[ ${el} =~ ^-- ]] ; then printf ' %s' ${el}; fi; done | sed 's,@\([[:alpha:]]\+\)dir@,${binddir}/\1,g') \
79 + $(sed -n '/^bindconfig =/,/^$/{:a;N;$!ba;s,^[^-]*,,;s,\\\s*\n\s*--,--,g;s, @[[:upper:]]\+@,,g;P;D}' ../Makefile.in) \
80 --disable-symtable \
81 --without-make-clean
82 }
83
84 src_compile() {
85 # build local bind cruft first
86 - emake -C bind/bind-*/lib install
87 + emake -C bind/bind-*/lib/export install
88 # then build standard dhcp code
89 emake AR="$(tc-getAR)"
90 }
91
92 diff --git a/net-misc/dhcp/dhcp-4.4.0.ebuild b/net-misc/dhcp/dhcp-4.4.1.ebuild
93 similarity index 99%
94 rename from net-misc/dhcp/dhcp-4.4.0.ebuild
95 rename to net-misc/dhcp/dhcp-4.4.1.ebuild
96 index ca0eefb2fec..358e3c1f12a 100644
97 --- a/net-misc/dhcp/dhcp-4.4.0.ebuild
98 +++ b/net-misc/dhcp/dhcp-4.4.1.ebuild
99 @@ -168,6 +168,7 @@ src_configure() {
100 # configure local bind cruft. symtable option requires
101 # perl and we don't want to require that #383837.
102 cd bind/bind-*/ || die
103 + local el
104 eval econf \
105 $(for el in $(awk '/^bindconfig/,/^$/ {print}' ../Makefile.in) ; do if [[ ${el} =~ ^-- ]] ; then printf ' %s' ${el}; fi; done | sed 's,@\([[:alpha:]]\+\)dir@,${binddir}/\1,g') \
106 --disable-symtable \