Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ipvsadm/
Date: Sat, 01 Jan 2022 10:48:24
Message-Id: 1641034084.c17381941d8514e0c873cd59934690b26a23b189.ulm@gentoo
1 commit: c17381941d8514e0c873cd59934690b26a23b189
2 Author: Marco Scardovi <marco <AT> scardovi <DOT> com>
3 AuthorDate: Tue Dec 14 22:12:07 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 10:48:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1738194
7
8 sys-cluster/ipvsadm: drop older ebuilds
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Marco Scardovi <marco <AT> scardovi.com>
12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
13
14 sys-cluster/ipvsadm/Manifest | 1 -
15 sys-cluster/ipvsadm/ipvsadm-1.28-r1.ebuild | 71 ------------------------------
16 sys-cluster/ipvsadm/ipvsadm-1.31.ebuild | 70 -----------------------------
17 3 files changed, 142 deletions(-)
18
19 diff --git a/sys-cluster/ipvsadm/Manifest b/sys-cluster/ipvsadm/Manifest
20 index 1c7b4e464d8e..fab6b310824c 100644
21 --- a/sys-cluster/ipvsadm/Manifest
22 +++ b/sys-cluster/ipvsadm/Manifest
23 @@ -1,3 +1,2 @@
24 DIST ipvsadm-1.27.tar.xz 38196 BLAKE2B 1b8a72b11c14a909b8b7459c459195d32bb7944ed4a01d963e2b85e8279c5d7d2fd095d9c23473c64dc15881a2b22b439b39c10b2019b3183f54e22535a258a9 SHA512 cf982b7981674c91d1b7516de7b55cf378b306ce4a53e13976b8eeb8610015c4fa4aa9d251bc4d329db8e05c1862863160af2d3c63b76263f290087cffdf1b80
25 -DIST ipvsadm-1.28.tar.xz 38600 BLAKE2B 2a892f858324788b425f7c5aa6ce6a1548c6cd166977d1d36a5236061d1a6ce7e31f6bc1e24a7d53a57406e468271ccebc01330de6be9784c1a955b60eb89d16 SHA512 a1e10ce30751d9439f832e221e5c41b338f87dcc94a0b21329d908a9164f8882049af9d9d918b764b36c30e353d5b8db49d7088e60c24e4748713c06cccf7035
26 DIST ipvsadm-1.31.tar.xz 42396 BLAKE2B a42ceea834fb16e25ea34417227f6b632fe3b94c8a7ce5d3daff4375884fd47f14999551eab3bf7226d5eb02f25aef4c77a8287592b642946683bc5ddc6783da SHA512 1c7187405771e702eff0009d688fa697375b833a486ff88b41a4a0dcfaa3e9884c7e3bc34375efea5f6a2d025847c9fac9fd6ba694ec3bf2fc9d357eef2cb631
27
28 diff --git a/sys-cluster/ipvsadm/ipvsadm-1.28-r1.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.28-r1.ebuild
29 deleted file mode 100644
30 index 9c28d73e4cb0..000000000000
31 --- a/sys-cluster/ipvsadm/ipvsadm-1.28-r1.ebuild
32 +++ /dev/null
33 @@ -1,71 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -inherit epatch linux-info toolchain-funcs
40 -
41 -DESCRIPTION="utility to administer the IP virtual server services"
42 -HOMEPAGE="http://linuxvirtualserver.org/"
43 -SRC_URI="https://kernel.org/pub/linux/utils/kernel/ipvsadm/ipvsadm-${PV}.tar.xz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
48 -IUSE="static-libs"
49 -
50 -RDEPEND=">=sys-libs/ncurses-5.2:*
51 - dev-libs/libnl:=
52 - >=dev-libs/popt-1.16"
53 -DEPEND="${RDEPEND}
54 - virtual/pkgconfig"
55 -
56 -pkg_pretend() {
57 - if kernel_is 2 4; then
58 - eerror "${P} supports only 2.6 series and later kernels, please try ${PN}-1.21 for 2.4 kernels"
59 - die "wrong kernel version"
60 - fi
61 -}
62 -
63 -src_prepare() {
64 - default
65 - epatch "${FILESDIR}"/${PN}-1.27-buildsystem.patch
66 - epatch "${FILESDIR}"/${PN}-1.27-fix-daemon-state.patch
67 - use static-libs && export STATIC=1
68 -}
69 -
70 -src_compile() {
71 - local libnl_include
72 - if has_version ">=dev-libs/libnl-3.0"; then
73 - libnl_include=$($(tc-getPKG_CONFIG) --cflags libnl-3.0)
74 - else
75 - libnl_include=""
76 - fi
77 - emake -e \
78 - INCLUDE="-I.. -I. ${libnl_include}" \
79 - CC="$(tc-getCC)" \
80 - HAVE_NL=1 \
81 - STATIC=${STATIC} \
82 - POPT_LIB="$($(tc-getPKG_CONFIG) --libs popt)"
83 -}
84 -
85 -src_install() {
86 - into /
87 - dosbin ipvsadm ipvsadm-save ipvsadm-restore
88 -
89 - into /usr
90 - doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8
91 -
92 - newinitd "${FILESDIR}"/ipvsadm-init ipvsadm
93 - keepdir /var/lib/ipvsadm
94 -
95 - use static-libs && dolib.a libipvs/libipvs.a
96 - dolib.so libipvs/libipvs.so
97 -
98 - insinto /usr/include/ipvs
99 - newins libipvs/libipvs.h ipvs.h
100 -}
101 -
102 -pkg_postinst() {
103 - einfo "You will need a kernel that has ipvs patches to use LVS."
104 -}
105
106 diff --git a/sys-cluster/ipvsadm/ipvsadm-1.31.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.31.ebuild
107 deleted file mode 100644
108 index 67b27b47b59c..000000000000
109 --- a/sys-cluster/ipvsadm/ipvsadm-1.31.ebuild
110 +++ /dev/null
111 @@ -1,70 +0,0 @@
112 -# Copyright 1999-2021 Gentoo Authors
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=6
116 -
117 -inherit epatch linux-info toolchain-funcs
118 -
119 -DESCRIPTION="utility to administer the IP virtual server services"
120 -HOMEPAGE="http://linuxvirtualserver.org/"
121 -SRC_URI="https://kernel.org/pub/linux/utils/kernel/ipvsadm/ipvsadm-${PV}.tar.xz"
122 -
123 -LICENSE="GPL-2"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
126 -IUSE="static-libs"
127 -
128 -RDEPEND=">=sys-libs/ncurses-5.2:*
129 - dev-libs/libnl:=
130 - >=dev-libs/popt-1.16"
131 -DEPEND="${RDEPEND}
132 - virtual/pkgconfig"
133 -
134 -pkg_pretend() {
135 - if kernel_is 2 4; then
136 - eerror "${P} supports only 2.6 series and later kernels, please try ${PN}-1.21 for 2.4 kernels"
137 - die "wrong kernel version"
138 - fi
139 -}
140 -
141 -src_prepare() {
142 - default
143 - epatch "${FILESDIR}"/${PN}-1.27-buildsystem.patch
144 - use static-libs && export STATIC=1
145 -}
146 -
147 -src_compile() {
148 - local libnl_include
149 - if has_version ">=dev-libs/libnl-3.0"; then
150 - libnl_include=$($(tc-getPKG_CONFIG) --cflags libnl-3.0)
151 - else
152 - libnl_include=""
153 - fi
154 - emake -e \
155 - INCLUDE="-I.. -I. ${libnl_include}" \
156 - CC="$(tc-getCC)" \
157 - HAVE_NL=1 \
158 - STATIC=${STATIC} \
159 - POPT_LIB="$($(tc-getPKG_CONFIG) --libs popt)"
160 -}
161 -
162 -src_install() {
163 - into /
164 - dosbin ipvsadm ipvsadm-save ipvsadm-restore
165 -
166 - into /usr
167 - doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8
168 -
169 - newinitd "${FILESDIR}"/ipvsadm-init ipvsadm
170 - keepdir /var/lib/ipvsadm
171 -
172 - use static-libs && dolib.a libipvs/libipvs.a
173 - dolib.so libipvs/libipvs.so
174 -
175 - insinto /usr/include/ipvs
176 - newins libipvs/libipvs.h ipvs.h
177 -}
178 -
179 -pkg_postinst() {
180 - einfo "You will need a kernel that has ipvs patches to use LVS."
181 -}