Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xinetd/
Date: Mon, 20 Aug 2018 16:10:24
Message-Id: 1534781324.0614118c00cd8acb7be71765a21552c8cfc0e039.whissi@gentoo
1 commit: 0614118c00cd8acb7be71765a21552c8cfc0e039
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 20 16:08:44 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 20 16:08:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0614118c
7
8 sys-apps/xinetd: bump to v2.3.15.4
9
10 Package-Manager: Portage-2.3.47, Repoman-2.3.10
11
12 sys-apps/xinetd/Manifest | 1 +
13 sys-apps/xinetd/xinetd-2.3.15.4.ebuild | 59 ++++++++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/sys-apps/xinetd/Manifest b/sys-apps/xinetd/Manifest
17 index 79afac57ab6..12b8ad8295b 100644
18 --- a/sys-apps/xinetd/Manifest
19 +++ b/sys-apps/xinetd/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xinetd-2.3.15.3.tar.xz 383204 BLAKE2B dada7e1efb8c70d9b47efbb33de54e643e195fc043a2fe8b1b61a1d9e597a5a10feda8d6692e665af1f1690870e619098a9a2367df3a73f7821a91777532f1fa SHA512 3a744d5ce66da46743eec28d5b95a44709b1828187078984e59d7220ac325abce1198927e9156f343a4e16a9dc63e8846f1dcb0facbf05ea44c73aecbe7e504f
22 +DIST xinetd-2.3.15.4.tar.xz 384504 BLAKE2B e6981d7143c5e39d45a6274d003467f372b1e97637112c66a3fd3a1cb47fe948228d72c914cca5b2db1d65a626b83ff36f10768d343579aa48353d20e2541f4d SHA512 1d9bbf5f60b299746adf3e57a669bf1a554b50066563b65cdb7584f00dcab2d3d331df705eefb56b51c52a16b5ed6b109cd832c27df87c7f262bb304e17ddc0e
23 DIST xinetd-2.3.15.tar.gz 309774 BLAKE2B b5c933a2aa7a2ef4a2d58b53890f04569fe592005c646f39a00d4716325c8ac9b9aa3b8b4b2f2b861430c8415167ab1d394de3d3b4bd761239c5223b1d2b0419 SHA512 9d6fee1fbc90329629d84086ae7de5cd51c25af7b68e52aa704d6f74bee5f0e3d54ca1bcf780f90f74ddc8d336ae0abb5e5e368d43c426a26b8dd2c4676d26aa
24
25 diff --git a/sys-apps/xinetd/xinetd-2.3.15.4.ebuild b/sys-apps/xinetd/xinetd-2.3.15.4.ebuild
26 new file mode 100644
27 index 00000000000..73781412652
28 --- /dev/null
29 +++ b/sys-apps/xinetd/xinetd-2.3.15.4.ebuild
30 @@ -0,0 +1,59 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="6"
35 +
36 +inherit flag-o-matic systemd toolchain-funcs autotools
37 +
38 +DESCRIPTION="powerful replacement for inetd"
39 +HOMEPAGE="https://github.com/xinetd-org/xinetd https://github.com/openSUSE/xinetd"
40 +SRC_URI="https://github.com/openSUSE/xinetd/releases/download/${PV}/${P}.tar.xz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
45 +IUSE="perl rpc selinux tcpd"
46 +
47 +DEPEND="
48 + rpc? ( net-libs/libtirpc:= )
49 + selinux? ( sys-libs/libselinux )
50 + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )
51 +"
52 +RDEPEND="
53 + ${DEPEND}
54 + perl? ( dev-lang/perl )
55 +"
56 +DEPEND="
57 + ${DEPEND}
58 + virtual/pkgconfig
59 +"
60 +
61 +src_prepare() {
62 + default
63 + eautoreconf
64 +
65 + sed -i \
66 + -e 's:/usr/bin/kill:/bin/kill:' \
67 + "contrib/${PN}.service" || die
68 +}
69 +
70 +src_configure() {
71 + econf \
72 + $(use_with tcpd libwrap) \
73 + $(use_with selinux labeled-networking) \
74 + $(use_with rpc) \
75 + --with-loadavg
76 +}
77 +
78 +src_install() {
79 + default
80 +
81 + use perl || rm -f "${ED}"/usr/sbin/xconv.pl
82 +
83 + newinitd "${FILESDIR}"/xinetd.rc6 xinetd
84 + newconfd "${FILESDIR}"/xinetd.confd xinetd
85 + systemd_dounit "contrib/${PN}.service"
86 +
87 + newdoc contrib/xinetd.conf xinetd.conf.dist.sample
88 + dodoc README.md CHANGELOG
89 +}