1 |
commit: 72ad30d536ae2adbc6f0fe246423b9b14e3d57c0 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 14 22:53:59 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 22:53:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ad30d5 |
7 |
|
8 |
sys-apps/xinetd: drop 2.3.15.3, 2.3.15.3-r2 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
sys-apps/xinetd/Manifest | 1 - |
13 |
sys-apps/xinetd/files/xinetd-2.3.15.3-no-rpc.patch | 50 ----------------- |
14 |
.../files/xinetd-2.3.15.3-rpc-configure.patch | 57 ------------------- |
15 |
sys-apps/xinetd/files/xinetd.service | 10 ---- |
16 |
sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild | 64 ---------------------- |
17 |
sys-apps/xinetd/xinetd-2.3.15.3.ebuild | 48 ---------------- |
18 |
6 files changed, 230 deletions(-) |
19 |
|
20 |
diff --git a/sys-apps/xinetd/Manifest b/sys-apps/xinetd/Manifest |
21 |
index 1e3b440acf0..9299a6953ad 100644 |
22 |
--- a/sys-apps/xinetd/Manifest |
23 |
+++ b/sys-apps/xinetd/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST xinetd-2.3.15.3.tar.xz 383204 BLAKE2B dada7e1efb8c70d9b47efbb33de54e643e195fc043a2fe8b1b61a1d9e597a5a10feda8d6692e665af1f1690870e619098a9a2367df3a73f7821a91777532f1fa SHA512 3a744d5ce66da46743eec28d5b95a44709b1828187078984e59d7220ac325abce1198927e9156f343a4e16a9dc63e8846f1dcb0facbf05ea44c73aecbe7e504f |
26 |
DIST xinetd-2.3.15.4.tar.xz 384504 BLAKE2B e6981d7143c5e39d45a6274d003467f372b1e97637112c66a3fd3a1cb47fe948228d72c914cca5b2db1d65a626b83ff36f10768d343579aa48353d20e2541f4d SHA512 1d9bbf5f60b299746adf3e57a669bf1a554b50066563b65cdb7584f00dcab2d3d331df705eefb56b51c52a16b5ed6b109cd832c27df87c7f262bb304e17ddc0e |
27 |
|
28 |
diff --git a/sys-apps/xinetd/files/xinetd-2.3.15.3-no-rpc.patch b/sys-apps/xinetd/files/xinetd-2.3.15.3-no-rpc.patch |
29 |
deleted file mode 100644 |
30 |
index 3bd995a0892..00000000000 |
31 |
--- a/sys-apps/xinetd/files/xinetd-2.3.15.3-no-rpc.patch |
32 |
+++ /dev/null |
33 |
@@ -1,50 +0,0 @@ |
34 |
-https://github.com/openSUSE/xinetd/pull/8 |
35 |
- |
36 |
-From 4278495b1858b5b1ce94d72bd619eb79aab8ca04 Mon Sep 17 00:00:00 2001 |
37 |
-From: Mike Frysinger <vapier@g.o> |
38 |
-Date: Mon, 18 Jun 2018 18:49:38 -0400 |
39 |
-Subject: [PATCH] fix no-rpc builds |
40 |
- |
41 |
-The code base already has support for -DNO_RPC, so fix the breakage |
42 |
-introduced by commit 56520dcc88c35113877c8f4f52bd98ad95b44653. |
43 |
---- |
44 |
- src/confparse.c | 5 ++++- |
45 |
- 1 file changed, 4 insertions(+), 1 deletion(-) |
46 |
- |
47 |
-diff --git a/src/confparse.c b/src/confparse.c |
48 |
-index 5b149dd03808..7965cc405f24 100644 |
49 |
---- a/src/confparse.c |
50 |
-+++ b/src/confparse.c |
51 |
-@@ -13,10 +13,12 @@ |
52 |
- #include <stdlib.h> |
53 |
- #include <fcntl.h> |
54 |
- #include <unistd.h> |
55 |
-+#ifndef NO_RPC |
56 |
- #include <rpc/rpc.h> |
57 |
- #ifdef HAVE_RPCENT_H |
58 |
- #include <rpc/rpcent.h> |
59 |
- #endif |
60 |
-+#endif |
61 |
- #include <netdb.h> |
62 |
- |
63 |
- #include "str.h" |
64 |
-@@ -730,7 +732,7 @@ static status_e check_entry( struct service_config *scp, |
65 |
- } |
66 |
- } |
67 |
- |
68 |
--/* #ifndef NO_RPC */ |
69 |
-+#ifndef NO_RPC |
70 |
- if ( SC_IS_RPC( scp ) && !SC_IS_UNLISTED( scp ) ) |
71 |
- { |
72 |
- struct rpcent *rep = (struct rpcent *)getrpcbyname( SC_NAME(scp) ) ; |
73 |
-@@ -743,6 +745,7 @@ static status_e check_entry( struct service_config *scp, |
74 |
- SC_RPCDATA( scp )->rd_program_number = rep->r_number ; |
75 |
- } |
76 |
- else |
77 |
-+#endif |
78 |
- { |
79 |
- if ( !SC_IS_UNLISTED( scp ) ) |
80 |
- { |
81 |
--- |
82 |
-2.16.1 |
83 |
- |
84 |
|
85 |
diff --git a/sys-apps/xinetd/files/xinetd-2.3.15.3-rpc-configure.patch b/sys-apps/xinetd/files/xinetd-2.3.15.3-rpc-configure.patch |
86 |
deleted file mode 100644 |
87 |
index 682dece1b2b..00000000000 |
88 |
--- a/sys-apps/xinetd/files/xinetd-2.3.15.3-rpc-configure.patch |
89 |
+++ /dev/null |
90 |
@@ -1,57 +0,0 @@ |
91 |
-From 928d69309592704892d124b1f8de9111164c3793 Mon Sep 17 00:00:00 2001 |
92 |
-From: Mike Frysinger <vapier@g.o> |
93 |
-Date: Mon, 18 Jun 2018 22:11:21 -0400 |
94 |
-Subject: [PATCH] configure: add a --without-rpc flag |
95 |
- |
96 |
-The build already supports NO_RPC to disable all RPC logic. Turn it |
97 |
-into a proper configure flag so people don't have to hack it up. |
98 |
---- |
99 |
- configure.ac | 25 ++++++++++++++++++++----- |
100 |
- 1 file changed, 20 insertions(+), 5 deletions(-) |
101 |
- |
102 |
-diff --git a/configure.ac b/configure.ac |
103 |
-index 8d0b562ddaac..75ae7fb472dc 100644 |
104 |
---- a/configure.ac |
105 |
-+++ b/configure.ac |
106 |
-@@ -37,11 +37,6 @@ AC_CHECK_LIB([m], [log10], [ |
107 |
- AC_MSG_ERROR([Unable to find working libm.so]) |
108 |
- ]) |
109 |
- AC_SUBST([LIBM_LIBS]) |
110 |
--PKG_CHECK_MODULES([TIRPC],[libtirpc], [ |
111 |
-- AC_DEFINE([HAVE_RPCENT_H], [1], [Have <rpc/rpcent.h>.]) |
112 |
--], [ |
113 |
-- AC_MSG_WARN([Libtirpc not found, will not use <rpc/rpcent.h>]) |
114 |
--]) |
115 |
- |
116 |
- # ====================================== |
117 |
- # Check for various headers and settings |
118 |
-@@ -112,6 +107,26 @@ AS_IF([test x"$with_labeled_networking" != "xno"], [ |
119 |
- ]) |
120 |
- ]) |
121 |
- |
122 |
-+AC_ARG_WITH([rpc], |
123 |
-+ [AS_HELP_STRING([--without-rpc], [Do not include RPC support])], |
124 |
-+ [with_rpc="$withval"], |
125 |
-+ [with_rpc="auto"] |
126 |
-+) |
127 |
-+AS_IF([test x"$with_rpc" != "xno"], [ |
128 |
-+ PKG_CHECK_MODULES([TIRPC],[libtirpc], [ |
129 |
-+ AC_DEFINE([HAVE_RPCENT_H], [1], [Have <rpc/rpcent.h>.]) |
130 |
-+ ], [ |
131 |
-+ AS_IF([test x"$with_rpc" = "xyes"], [ |
132 |
-+ AC_MSG_ERROR([RPC support requested but not found]) |
133 |
-+ ]) |
134 |
-+ with_rpc="no" |
135 |
-+ AC_MSG_WARN([Libtirpc not found, will not use <rpc/rpcent.h>]) |
136 |
-+ ]) |
137 |
-+]) |
138 |
-+AS_IF([test x"$with_rpc" = "xno"], [ |
139 |
-+ AC_DEFINE([NO_RPC], [1], [Omit RPC support.]) |
140 |
-+]) |
141 |
-+ |
142 |
- # ========= |
143 |
- # Hardening |
144 |
- # ========= |
145 |
--- |
146 |
-2.16.1 |
147 |
- |
148 |
|
149 |
diff --git a/sys-apps/xinetd/files/xinetd.service b/sys-apps/xinetd/files/xinetd.service |
150 |
deleted file mode 100644 |
151 |
index c6f6271fd97..00000000000 |
152 |
--- a/sys-apps/xinetd/files/xinetd.service |
153 |
+++ /dev/null |
154 |
@@ -1,10 +0,0 @@ |
155 |
-[Unit] |
156 |
-Description=A secure replacement for inetd |
157 |
-After=network.target |
158 |
- |
159 |
-[Service] |
160 |
-ExecStart=/usr/sbin/xinetd -dontfork |
161 |
-ExecReload=/bin/kill -HUP $MAINPID |
162 |
- |
163 |
-[Install] |
164 |
-WantedBy=multi-user.target |
165 |
|
166 |
diff --git a/sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild b/sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild |
167 |
deleted file mode 100644 |
168 |
index d5c268f31bb..00000000000 |
169 |
--- a/sys-apps/xinetd/xinetd-2.3.15.3-r2.ebuild |
170 |
+++ /dev/null |
171 |
@@ -1,64 +0,0 @@ |
172 |
-# Copyright 1999-2020 Gentoo Authors |
173 |
-# Distributed under the terms of the GNU General Public License v2 |
174 |
- |
175 |
-EAPI="6" |
176 |
- |
177 |
-inherit flag-o-matic systemd toolchain-funcs autotools |
178 |
- |
179 |
-DESCRIPTION="powerful replacement for inetd" |
180 |
-HOMEPAGE="https://github.com/xinetd-org/xinetd https://github.com/openSUSE/xinetd" |
181 |
-SRC_URI="https://github.com/openSUSE/xinetd/releases/download/${PV}/${P}.tar.xz" |
182 |
- |
183 |
-LICENSE="BSD" |
184 |
-SLOT="0" |
185 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
186 |
-IUSE="perl rpc selinux tcpd" |
187 |
- |
188 |
-DEPEND=" |
189 |
- rpc? ( net-libs/libtirpc:= ) |
190 |
- selinux? ( sys-libs/libselinux ) |
191 |
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 ) |
192 |
-" |
193 |
-RDEPEND=" |
194 |
- ${DEPEND} |
195 |
- perl? ( dev-lang/perl ) |
196 |
-" |
197 |
-DEPEND=" |
198 |
- ${DEPEND} |
199 |
- virtual/pkgconfig |
200 |
-" |
201 |
- |
202 |
-PATCHES=( |
203 |
- "${FILESDIR}"/${P}-no-rpc.patch #651838 |
204 |
- "${FILESDIR}"/${P}-rpc-configure.patch #651838 |
205 |
-) |
206 |
- |
207 |
-src_prepare() { |
208 |
- default |
209 |
- eautoreconf |
210 |
- |
211 |
- sed -i \ |
212 |
- -e 's:/usr/bin/kill:/bin/kill:' \ |
213 |
- "contrib/${PN}.service" || die |
214 |
-} |
215 |
- |
216 |
-src_configure() { |
217 |
- econf \ |
218 |
- $(use_with tcpd libwrap) \ |
219 |
- $(use_with selinux labeled-networking) \ |
220 |
- $(use_with rpc) \ |
221 |
- --with-loadavg |
222 |
-} |
223 |
- |
224 |
-src_install() { |
225 |
- default |
226 |
- |
227 |
- use perl || rm -f "${ED}"/usr/sbin/xconv.pl |
228 |
- |
229 |
- newinitd "${FILESDIR}"/xinetd.rc6 xinetd |
230 |
- newconfd "${FILESDIR}"/xinetd.confd xinetd |
231 |
- systemd_dounit "contrib/${PN}.service" |
232 |
- |
233 |
- newdoc contrib/xinetd.conf xinetd.conf.dist.sample |
234 |
- dodoc README.md CHANGELOG |
235 |
-} |
236 |
|
237 |
diff --git a/sys-apps/xinetd/xinetd-2.3.15.3.ebuild b/sys-apps/xinetd/xinetd-2.3.15.3.ebuild |
238 |
deleted file mode 100644 |
239 |
index 7a903b612a3..00000000000 |
240 |
--- a/sys-apps/xinetd/xinetd-2.3.15.3.ebuild |
241 |
+++ /dev/null |
242 |
@@ -1,48 +0,0 @@ |
243 |
-# Copyright 1999-2021 Gentoo Authors |
244 |
-# Distributed under the terms of the GNU General Public License v2 |
245 |
- |
246 |
-EAPI=6 |
247 |
-inherit flag-o-matic systemd toolchain-funcs |
248 |
- |
249 |
-DESCRIPTION="powerful replacement for inetd" |
250 |
-HOMEPAGE="https://github.com/openSUSE/xinetd" |
251 |
-SRC_URI="https://github.com/openSUSE/xinetd/releases/download/${PV}/${P}.tar.xz" |
252 |
- |
253 |
-LICENSE="BSD" |
254 |
-SLOT="0" |
255 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" |
256 |
-IUSE="perl selinux tcpd" |
257 |
- |
258 |
-DEPEND=" |
259 |
- selinux? ( sys-libs/libselinux ) |
260 |
- net-libs/libtirpc:= |
261 |
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 ) |
262 |
-" |
263 |
-RDEPEND=" |
264 |
- ${DEPEND} |
265 |
- perl? ( dev-lang/perl ) |
266 |
-" |
267 |
-DEPEND=" |
268 |
- ${DEPEND} |
269 |
- virtual/pkgconfig |
270 |
-" |
271 |
- |
272 |
-src_configure() { |
273 |
- econf \ |
274 |
- $(use_with tcpd libwrap) \ |
275 |
- $(use_with selinux labeled-networking) \ |
276 |
- --with-loadavg |
277 |
-} |
278 |
- |
279 |
-src_install() { |
280 |
- default |
281 |
- |
282 |
- use perl || rm -f "${ED}"/usr/sbin/xconv.pl |
283 |
- |
284 |
- newinitd "${FILESDIR}"/xinetd.rc6 xinetd |
285 |
- newconfd "${FILESDIR}"/xinetd.confd xinetd |
286 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
287 |
- |
288 |
- newdoc contrib/xinetd.conf xinetd.conf.dist.sample |
289 |
- dodoc README.md CHANGELOG |
290 |
-} |