[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 7b86a1ef63652e3498926a8159a9035aa9cede4b Author: Sam James gentoo org> AuthorDate: Sun Mar 24 12:11:56 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 12:11:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b86a1ef sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 sparc, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index c7e22871b333..47af76751dc1 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 52b60d4562bc496ffac1e11c396340b3b4031780 Author: Sam James gentoo org> AuthorDate: Sun Mar 24 11:34:31 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 11:34:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b60d45 sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 arm64, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index 9e9812a92ad1..c7e22871b333 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: f69b6a55d09339c152db8883c7430f43510b0cb9 Author: Sam James gentoo org> AuthorDate: Sun Mar 24 11:34:30 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 11:34:30 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69b6a55 sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 amd64, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index 4ef46a146271..9e9812a92ad1 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: c03ee385f9950df0d9ae253b4d1f811d611dc8a0 Author: Sam James gentoo org> AuthorDate: Sun Mar 24 11:28:29 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 11:28:29 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03ee385 sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 x86, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index e0576ff252e0..4ef46a146271 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 3444a193b7204aa01b5abd832ec993645fabd210 Author: Sam James gentoo org> AuthorDate: Sun Mar 24 11:28:28 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 11:28:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3444a193 sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 arm, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index 62526f7d72a5..e0576ff252e0 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: b9c9c31ab1c21a40b5fd169ec2c5737ae7621bfd Author: Sam James gentoo org> AuthorDate: Sun Mar 24 11:28:26 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 11:28:26 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9c9c31a sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 ppc64, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index d70560e637f5..29c037bd26b7 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 191af6d3748b0ad346143e0096f0a15bb95ef88c Author: Sam James gentoo org> AuthorDate: Sun Mar 24 11:28:27 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 11:28:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191af6d3 sys-apps/tcp-wrappers: Stabilize 7.6.31-r1 ppc, #927705 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild index 29c037bd26b7..62526f7d72a5 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups selinux" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: c62f5edf9ca493d85a5ae20ecfb6ad5f2458170d Author: Sam James gentoo org> AuthorDate: Tue Feb 20 05:02:07 2024 + Commit: Sam James gentoo org> CommitDate: Tue Feb 20 05:02:07 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62f5edf sys-apps/tcp-wrappers: EAPI 8, drop usr-ldscript, LLD 17 workaround * EAPI 8 * Drop usr-ldscript per news item * Add LLD 17 workaround (bug #919689) Closes: https://bugs.gentoo.org/919689 Signed-off-by: Sam James gentoo.org> .../tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild | 115 + 1 file changed, 115 insertions(+) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild new file mode 100644 index ..d70560e637f5 --- /dev/null +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs multilib-minimal + +MY_PV=$(ver_cut 1-2) +DEB_PV=$(ver_cut 3) +MY_P="${PN//-/_}_${MY_PV}" + +DESCRIPTION="TCP Wrappers" +HOMEPAGE="http://ftp.porcupine.org/pub/security; +SRC_URI=" + http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz + mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.xz + https://dev.gentoo.org/~soap/distfiles/${P}-patches.tar.xz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="tcp_wrappers_license" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="ipv6 netgroups selinux" + +DEPEND=" + netgroups? ( net-libs/libnsl:= ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-tcpd ) +" + +PATCHES=( "${WORKDIR}"/gentoo-patches/ ) + +src_prepare() { + # Apply Debian patchset except for the series file which just lists + # the patches + eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series || die) + + default + + multilib_copy_sources +} + +temake() { + # Broken with lld-17 (bug #919689) + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + append-cppflags "-DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED" + + if use ipv6; then + append-cppflags "-DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" + fi + + local myemakeargs=( + REAL_DAEMON_DIR="${EPREFIX}/usr/sbin" + TLI= VSYSLOG= PARANOID= BUGS= + AUTH="-DALWAYS_RFC931" + AUX_OBJ="weak_symbols.o" + DOT="-DAPPEND_DOT" + HOSTNAME="-DALWAYS_HOSTNAME" + NETGROUP=$(usev netgroups -DNETGROUPS) + STYLE="-DPROCESS_OPTIONS" + LIBS=$(usev netgroups -lnsl) + LIB="" # disable static-libs + AR="$(tc-getAR)" ARFLAGS=rc + CC="$(tc-getCC)" + RANLIB="$(tc-getRANLIB)" + COPTS="${CFLAGS} ${CPPFLAGS}" + LDFLAGS="${LDFLAGS}" + "$@" + ) + + emake "${myemakeargs[@]}" +} + +multilib_src_configure() { + tc-export AR RANLIB + temake config-check +} + +multilib_src_compile() { + # https://bugs.gentoo.org/728348 + unset STRINGS + temake all +} + +multilib_src_install() { + into /usr + dolib.so shared/libwrap.so* + + insinto /usr/include + doins tcpd.h + + if multilib_is_native_abi; then + dosbin tcpd tcpdchk tcpdmatch safe_finger try-from + fi +} + +multilib_src_install_all() { + doman *.[358] + dosym hosts_access.5 /usr/share/man/man5/hosts.allow.5 + dosym hosts_access.5 /usr/share/man/man5/hosts.deny.5 + + insinto /etc + newins "${FILESDIR}"/hosts.allow.example hosts.allow + + dodoc BLURB CHANGES DISCLAIMER README* +} + +pkg_preinst() { + # don't clobber people with our default example config + [[ -e ${EROOT}/etc/hosts.allow ]] && cp -pP "${EROOT}"/etc/hosts.allow "${ED}"/etc/hosts.allow +}
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 0e5199d7c3b5c3e09e4f9c5112f80b7c04884b73 Author: Sam James gentoo org> AuthorDate: Wed Jun 28 07:47:45 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jun 28 07:50:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5199d7 sys-apps/tcp-wrappers: add missing selinux policy dep Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index d2bcdf1b8a3e..459625054025 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,10 +19,15 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="ipv6 netgroups" - -RDEPEND="netgroups? ( net-libs/libnsl:= )" -DEPEND="${RDEPEND}" +IUSE="ipv6 netgroups selinux" + +DEPEND=" + netgroups? ( net-libs/libnsl:= ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-tcpd ) +" PATCHES=( "${WORKDIR}"/gentoo-patches/ )
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/, sys-apps/tcp-wrappers/files/
commit: 8b229644eb2db5b094321228ec2b2474922e53a5 Author: David Seifert gentoo org> AuthorDate: Fri Oct 7 08:24:06 2022 + Commit: David Seifert gentoo org> CommitDate: Fri Oct 7 08:24:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b229644 sys-apps/tcp-wrappers: fix C99 decls Closes: https://bugs.gentoo.org/874930 Signed-off-by: David Seifert gentoo.org> sys-apps/tcp-wrappers/Manifest | 1 + .../files/tcp-wrappers-7.6-redhat-bug11881.patch | 35 -- .../tcp-wrappers-7.6.28-no-external-malloc.patch | 15 -- sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 9 +++--- 4 files changed, 5 insertions(+), 55 deletions(-) diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest index 59c7c65841de..d2a178c14286 100644 --- a/sys-apps/tcp-wrappers/Manifest +++ b/sys-apps/tcp-wrappers/Manifest @@ -1,2 +1,3 @@ +DIST tcp-wrappers-7.6.31-patches.tar.xz 8040 BLAKE2B 03e08afaf52bd8e24161cae8f92cbbf47f6dbceae4accc900963c179ff8ee5ce290a973028fd43cc6bffa82714c8a269ba9d2499c3033226d025f4c644462286 SHA512 cee360016361dd69473e57d36ea87b720ef7f31d58472fb1b9efe752fb250c2c758e95d1ca747f8a613a16c60ab9fa991db65e983d678e285fc1372dbad114c9 DIST tcp-wrappers_7.6.q-31.debian.tar.xz 36256 BLAKE2B 3ffd8b014c120f54b9231f375d3ec77a1894db8c48e56a57b52c5d796be42b78a1ddc35a45c816a05a1cbc603b88e3fe6131b4a562fb9d2169685031ecbf44d5 SHA512 de2bd7b081fca0f182def93795014332baf7b5edf339eaf81dff82772aea1dc866ccddccd5273e7dc49cf760953e164a66f1e5945cb54f2b8dab090c11712c33 DIST tcp_wrappers_7.6.tar.gz 99438 BLAKE2B 961d9858866990f0f5e8c6bb782f5f39a03b267a8957dcd89734aeefcc85ca32554e032c73314e0a88110f3bb8a0dbdd81f093392307623a996b0232773e1e67 SHA512 2d9d003791f8d00912a36ae00579e2b8dd7ad8a7bf8eae259659bcaf5365b150540ff6c93c91765872c76041579b7a02b6e3c64528fb7f8235680399ba1d9dac diff --git a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6-redhat-bug11881.patch b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6-redhat-bug11881.patch deleted file mode 100644 index 4a6847621c57.. --- a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6-redhat-bug11881.patch +++ /dev/null @@ -1,35 +0,0 @@ tcp_wrappers_7.6/tcpd.c.bug11881 -+++ tcp_wrappers_7.6/tcpd.c -@@ -60,10 +60,10 @@ - */ - - if (argv[0][0] == '/') { -- strcpy(path, argv[0]); -+ strncpy(path, argv[0], sizeof(path)); - argv[0] = strrchr(argv[0], '/') + 1; - } else { -- sprintf(path, "%s/%s", REAL_DAEMON_DIR, argv[0]); -+ snprintf(path, sizeof(path), "%s/%s", REAL_DAEMON_DIR, argv[0]); - } - - /* tcp_wrappers_7.6/eval.c.bug11881 -+++ tcp_wrappers_7.6/eval.c -@@ -111,7 +111,7 @@ - return (hostinfo); - #endif - if (STR_NE(eval_user(request), unknown)) { -- sprintf(both, "%s@%s", request->user, hostinfo); -+ snprintf(both, sizeof(both), "%s@%s", request->user, hostinfo); - return (both); - } else { - return (hostinfo); -@@ -128,7 +128,7 @@ - char *daemon = eval_daemon(request); - - if (STR_NE(host, unknown)) { -- sprintf(both, "%s@%s", daemon, host); -+ snprintf(both, sizeof(both), "%s@%s", daemon, host); - return (both); - } else { - return (daemon); diff --git a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch deleted file mode 100644 index eebd600aab24.. --- a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch +++ /dev/null @@ -1,15 +0,0 @@ -We use malloc() from stdlib.h. - a/scaffold.c -+++ b/scaffold.c -@@ -26,10 +26,6 @@ static char sccs_id[] = "@(#) scaffold.c 1.6 97/03/21 19:27:24"; - #define INADDR_NONE (-1)/* XXX should be 0x */ - #endif - --#ifndef INET6 --extern char *malloc(); --#endif -- - /* Application-specific. */ - - #include "tcpd.h" diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index dc893cbfbf1b..d2bcdf1b8a3e 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -8,10 +8,12 @@ inherit flag-o-matic toolchain-funcs multilib-minimal usr-ldscript MY_PV=$(ver_cut 1-2) DEB_PV=$(ver_cut 3) MY_P="${PN//-/_}_${MY_PV}" + DESCRIPTION="TCP Wrappers" HOMEPAGE="http://ftp.porcupine.org/pub/security; SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz - mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.xz" + mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.xz + https://dev.gentoo.org/~soap/distfiles/${P}-patches.tar.xz; S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" @@ -22,10 +24,7 @@ IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )" DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}/${PN}-7.6-redhat-bug11881.patch" -
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: c69549d03ccea88689f460f876e5d59fe6e01c10 Author: WANG Xuerui gentoo org> AuthorDate: Fri May 13 12:18:39 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Fri May 13 12:18:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69549d0 sys-apps/tcp-wrappers: keyword 7.6.31 for ~loong Signed-off-by: WANG Xuerui gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index 00076f71d73c..dc893cbfbf1b 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: fa640f59cb76040a1780ee442b5c9a9e2ad2ab8d Author: David Seifert gentoo org> AuthorDate: Sat Sep 4 17:34:09 2021 + Commit: David Seifert gentoo org> CommitDate: Sat Sep 4 17:34:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa640f59 sys-apps/tcp-wrappers: drop 7.6.28-r1 Signed-off-by: David Seifert gentoo.org> sys-apps/tcp-wrappers/Manifest | 1 - .../tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild | 97 -- 2 files changed, 98 deletions(-) diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest index e1ffaf9b6f0..59c7c65841d 100644 --- a/sys-apps/tcp-wrappers/Manifest +++ b/sys-apps/tcp-wrappers/Manifest @@ -1,3 +1,2 @@ -DIST tcp-wrappers_7.6.q-28.debian.tar.xz 36104 BLAKE2B 209fd9730785db8afc8ebec581f7132cfb4352f8807d2cea4715daf5c11aa08a92cf084ab1ff31222f5b265f032286ce2dcf49a238e9dc5616161c400fce4f08 SHA512 2c63201937737c19b4e5ca97dbc0ede9fc2d3b8fc344f8854a7d2afc0109ccb9ee52af94ba8a8498da910336a4f473825daa7a0cca26a0d93e1078e67abe16b0 DIST tcp-wrappers_7.6.q-31.debian.tar.xz 36256 BLAKE2B 3ffd8b014c120f54b9231f375d3ec77a1894db8c48e56a57b52c5d796be42b78a1ddc35a45c816a05a1cbc603b88e3fe6131b4a562fb9d2169685031ecbf44d5 SHA512 de2bd7b081fca0f182def93795014332baf7b5edf339eaf81dff82772aea1dc866ccddccd5273e7dc49cf760953e164a66f1e5945cb54f2b8dab090c11712c33 DIST tcp_wrappers_7.6.tar.gz 99438 BLAKE2B 961d9858866990f0f5e8c6bb782f5f39a03b267a8957dcd89734aeefcc85ca32554e032c73314e0a88110f3bb8a0dbdd81f093392307623a996b0232773e1e67 SHA512 2d9d003791f8d00912a36ae00579e2b8dd7ad8a7bf8eae259659bcaf5365b150540ff6c93c91765872c76041579b7a02b6e3c64528fb7f8235680399ba1d9dac diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild deleted file mode 100644 index cebc0be86e4..000 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs multilib-minimal usr-ldscript - -MY_PV=$(ver_cut 1-2) -DEB_PV=$(ver_cut 3) -MY_P="${PN//-/_}_${MY_PV}" -DESCRIPTION="TCP Wrappers" -HOMEPAGE="http://ftp.porcupine.org/pub/security; -SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz - mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.xz" - -LICENSE="tcp_wrappers_license" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="ipv6 netgroups static-libs" - -RDEPEND="netgroups? ( net-libs/libnsl:= )" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series) - eapply "${FILESDIR}"/${PN}-7.6-redhat-bug11881.patch - eapply "${FILESDIR}"/${PN}-7.6.28-no-external-malloc.patch - - eapply_user - - multilib_copy_sources -} - -temake() { - local mycppflags="-DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED" - use ipv6 && mycppflags+=" -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" - emake \ - REAL_DAEMON_DIR="${EPREFIX}/usr/sbin" \ - TLI= VSYSLOG= PARANOID= BUGS= \ - AUTH="-DALWAYS_RFC931" \ - AUX_OBJ="weak_symbols.o" \ - DOT="-DAPPEND_DOT" \ - HOSTNAME="-DALWAYS_HOSTNAME" \ - NETGROUP=$(usex netgroups -DNETGROUPS "") \ - STYLE="-DPROCESS_OPTIONS" \ - LIBS=$(usex netgroups -lnsl "") \ - LIB=$(usex static-libs libwrap.a "") \ - AR="$(tc-getAR)" ARFLAGS=rc \ - CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" \ - COPTS="${CFLAGS} ${CPPFLAGS} ${mycppflags}" \ - LDFLAGS="${LDFLAGS}" \ - "$@" -} - -multilib_src_configure() { - tc-export AR RANLIB - temake config-check -} - -multilib_src_compile() { - # https://bugs.gentoo.org/728348 - unset STRINGS - temake all -} - -multilib_src_install() { - into /usr - use static-libs && dolib.a libwrap.a - dolib.so shared/libwrap.so* - - insinto /usr/include - doins tcpd.h - - if multilib_is_native_abi; then - gen_usr_ldscript -a wrap - dosbin tcpd tcpdchk tcpdmatch safe_finger try-from - fi -} - -multilib_src_install_all() { - doman *.[358] - dosym hosts_access.5 /usr/share/man/man5/hosts.allow.5 - dosym hosts_access.5 /usr/share/man/man5/hosts.deny.5 - - insinto /etc - newins "${FILESDIR}"/hosts.allow.example hosts.allow - - dodoc BLURB CHANGES DISCLAIMER README* -} - -pkg_preinst() { - # don't clobber people with our default example config - [[ -e ${EROOT}/etc/hosts.allow ]] && cp -pP "${EROOT}"/etc/hosts.allow "${ED}"/etc/hosts.allow -}
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 956445ac6b27a7cb60224310121708ca75229dad Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Aug 19 06:45:51 2021 + Commit: Sam James gentoo org> CommitDate: Thu Aug 19 11:21:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956445ac sys-apps/tcp-wrappers: stable 7.6.31 for hppa, bug #808075 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index e83e2c9dec1..00076f71d73 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 337b2d90d1f71b15ca89de0623ecf512fb660a9b Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Aug 19 01:28:46 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Aug 19 01:28:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337b2d90 sys-apps/tcp-wrappers: x86 stable wrt bug #808075 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index a6351d4ea22..e83e2c9dec1 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: a7400e5ba2bbdd840489ed7d416f45cbcd80fb15 Author: Sam James gentoo org> AuthorDate: Sun Aug 15 19:47:04 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 15 19:47:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7400e5b sys-apps/tcp-wrappers: Stabilize 7.6.31 arm64, #808075 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index d4045811a92..a6351d4ea22 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: dbc4e0c56fa40eee9f55c7d3235ba2d82e044f29 Author: Sam James gentoo org> AuthorDate: Sun Aug 15 19:45:29 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 15 19:45:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc4e0c5 sys-apps/tcp-wrappers: Stabilize 7.6.31 arm, #808075 Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index 69030d9a27c..d4045811a92 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 7a71057169ef646a7232440c5d2537b244f53deb Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Aug 14 07:04:08 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Aug 14 07:04:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a710571 sys-apps/tcp-wrappers: sparc stable wrt bug #808075 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index 7befe71a116..69030d9a27c 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 16501816d86b5e82043f6f72139a76aec885bf9b Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Aug 14 07:03:41 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Aug 14 07:03:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16501816 sys-apps/tcp-wrappers: ppc64 stable wrt bug #808075 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index c44126a9157..7befe71a116 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 5edf70b4283e51796a93ccfa478c46720adfbea3 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Aug 14 07:03:05 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Aug 14 07:03:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5edf70b4 sys-apps/tcp-wrappers: ppc stable wrt bug #808075 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index 9968491cdcb..c44126a9157 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 5cb7dad1894c8f8b2a7e3d0ea2791ad0afb92fdd Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Aug 14 07:02:29 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Aug 14 07:02:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb7dad1 sys-apps/tcp-wrappers: amd64 stable wrt bug #808075 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index d4de05fb8d8..9968491cdcb 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )"
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: f9178e992398463ad3ccf8a0eecec7e043380862 Author: David Seifert gentoo org> AuthorDate: Fri Aug 13 16:51:08 2021 + Commit: David Seifert gentoo org> CommitDate: Fri Aug 13 16:51:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9178e99 sys-apps/tcp-wrappers: remove USE=static-libs Signed-off-by: David Seifert gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild index 7ab6995f3d7..d4de05fb8d8 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="tcp_wrappers_license" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="ipv6 netgroups static-libs" +IUSE="ipv6 netgroups" RDEPEND="netgroups? ( net-libs/libnsl:= )" DEPEND="${RDEPEND}" @@ -54,7 +54,7 @@ temake() { NETGROUP=$(usex netgroups -DNETGROUPS "") STYLE="-DPROCESS_OPTIONS" LIBS=$(usex netgroups -lnsl "") - LIB=$(usex static-libs libwrap.a "") + LIB="" # disable static-libs AR="$(tc-getAR)" ARFLAGS=rc CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" @@ -79,7 +79,6 @@ multilib_src_compile() { multilib_src_install() { into /usr - use static-libs && dolib.a libwrap.a dolib.so shared/libwrap.so* insinto /usr/include
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: d3f24e117981dfca2b86c97525b8c82566bcc022 Author: John Helmert III gentoo org> AuthorDate: Mon Jul 12 02:45:15 2021 + Commit: John Helmert III gentoo org> CommitDate: Mon Jul 12 02:48:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f24e11 sys-apps/tcp-wrappers: add 7.6.31 Bumps to Debian patchset 31, fixes musl compilation. Closes: https://bugs.gentoo.org/587498 Acked-by: Sam James gentoo.org> Signed-off-by: John Helmert III gentoo.org> sys-apps/tcp-wrappers/Manifest | 1 + sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild | 108 +++ 2 files changed, 109 insertions(+) diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest index 619d7082e0a..e1ffaf9b6f0 100644 --- a/sys-apps/tcp-wrappers/Manifest +++ b/sys-apps/tcp-wrappers/Manifest @@ -1,2 +1,3 @@ DIST tcp-wrappers_7.6.q-28.debian.tar.xz 36104 BLAKE2B 209fd9730785db8afc8ebec581f7132cfb4352f8807d2cea4715daf5c11aa08a92cf084ab1ff31222f5b265f032286ce2dcf49a238e9dc5616161c400fce4f08 SHA512 2c63201937737c19b4e5ca97dbc0ede9fc2d3b8fc344f8854a7d2afc0109ccb9ee52af94ba8a8498da910336a4f473825daa7a0cca26a0d93e1078e67abe16b0 +DIST tcp-wrappers_7.6.q-31.debian.tar.xz 36256 BLAKE2B 3ffd8b014c120f54b9231f375d3ec77a1894db8c48e56a57b52c5d796be42b78a1ddc35a45c816a05a1cbc603b88e3fe6131b4a562fb9d2169685031ecbf44d5 SHA512 de2bd7b081fca0f182def93795014332baf7b5edf339eaf81dff82772aea1dc866ccddccd5273e7dc49cf760953e164a66f1e5945cb54f2b8dab090c11712c33 DIST tcp_wrappers_7.6.tar.gz 99438 BLAKE2B 961d9858866990f0f5e8c6bb782f5f39a03b267a8957dcd89734aeefcc85ca32554e032c73314e0a88110f3bb8a0dbdd81f093392307623a996b0232773e1e67 SHA512 2d9d003791f8d00912a36ae00579e2b8dd7ad8a7bf8eae259659bcaf5365b150540ff6c93c91765872c76041579b7a02b6e3c64528fb7f8235680399ba1d9dac diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild new file mode 100644 index 000..7ab6995f3d7 --- /dev/null +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.31.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs multilib-minimal usr-ldscript + +MY_PV=$(ver_cut 1-2) +DEB_PV=$(ver_cut 3) +MY_P="${PN//-/_}_${MY_PV}" +DESCRIPTION="TCP Wrappers" +HOMEPAGE="http://ftp.porcupine.org/pub/security; +SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz + mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="tcp_wrappers_license" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="ipv6 netgroups static-libs" + +RDEPEND="netgroups? ( net-libs/libnsl:= )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-7.6-redhat-bug11881.patch" + "${FILESDIR}/${PN}-7.6.28-no-external-malloc.patch" +) + +src_prepare() { + # Apply Debian patchset except for the series file which just lists + # the patches + eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series || die) + + default + + multilib_copy_sources +} + +temake() { + append-cppflags "-DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED" + + if use ipv6; then + append-cppflags "-DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" + fi + + local myemakeargs=( + REAL_DAEMON_DIR="${EPREFIX}/usr/sbin" + TLI= VSYSLOG= PARANOID= BUGS= + AUTH="-DALWAYS_RFC931" + AUX_OBJ="weak_symbols.o" + DOT="-DAPPEND_DOT" + HOSTNAME="-DALWAYS_HOSTNAME" + NETGROUP=$(usex netgroups -DNETGROUPS "") + STYLE="-DPROCESS_OPTIONS" + LIBS=$(usex netgroups -lnsl "") + LIB=$(usex static-libs libwrap.a "") + AR="$(tc-getAR)" ARFLAGS=rc + CC="$(tc-getCC)" + RANLIB="$(tc-getRANLIB)" + COPTS="${CFLAGS} ${CPPFLAGS}" + LDFLAGS="${LDFLAGS}" + "$@" + ) + + emake "${myemakeargs[@]}" +} + +multilib_src_configure() { + tc-export AR RANLIB + temake config-check +} + +multilib_src_compile() { + # https://bugs.gentoo.org/728348 + unset STRINGS + temake all +} + +multilib_src_install() { + into /usr + use static-libs && dolib.a libwrap.a + dolib.so shared/libwrap.so* + + insinto /usr/include + doins tcpd.h + + if multilib_is_native_abi; then + gen_usr_ldscript -a wrap + dosbin tcpd tcpdchk tcpdmatch safe_finger try-from + fi +} + +multilib_src_install_all() { + doman *.[358] + dosym hosts_access.5 /usr/share/man/man5/hosts.allow.5 + dosym hosts_access.5 /usr/share/man/man5/hosts.deny.5 + + insinto /etc +
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 06c402e3f1b2056fcd6bb048540ea9f47a09e1cd Author: Sam James gentoo org> AuthorDate: Sun May 16 23:12:24 2021 + Commit: Sam James gentoo org> CommitDate: Mon May 17 22:34:27 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c402e3 sys-apps/tcp-wrappers: fix build with netgroups (rpc) Closes: https://bugs.gentoo.org/740102 Signed-off-by: Sam James gentoo.org> .../{tcp-wrappers-7.6.28.ebuild => tcp-wrappers-7.6.28-r1.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild similarity index 97% rename from sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild rename to sys-apps/tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild index 23e5f2a73fb..cebc0be86e4 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28-r1.ebuild @@ -18,7 +18,8 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" -RDEPEND="" +RDEPEND="netgroups? ( net-libs/libnsl:= )" +DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P}
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: d4dee49332dd4cd0580e2d2f38287f50a411448d Author: Sam James gentoo org> AuthorDate: Fri Apr 16 23:15:57 2021 + Commit: Sam James gentoo org> CommitDate: Wed Apr 21 19:01:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4dee493 sys-apps/tcp-wrappers: flag-o-matic-- Signed-off-by: Sam James gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index e99386b4d95..23e5f2a73fb 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -inherit toolchain-funcs flag-o-matic multilib-minimal usr-ldscript +inherit toolchain-funcs multilib-minimal usr-ldscript MY_PV=$(ver_cut 1-2) DEB_PV=$(ver_cut 3)
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/files/
commit: 9bd42d58c439c288d5727d23e996dcb855543521 Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu Jun 25 18:51:43 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Thu Jun 25 19:57:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd42d58 sys-apps/tcp-wrappers: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/16418 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Conrad Kostecki gentoo.org> .../files/tcp-wrappers-7.6-headers.patch | 295 - 1 file changed, 295 deletions(-) diff --git a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6-headers.patch b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6-headers.patch deleted file mode 100644 index 328a4a10261..000 --- a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6-headers.patch +++ /dev/null @@ -1,295 +0,0 @@ a/options.c -+++ b/options.c -@@ -34,6 +34,8 @@ - - /* System libraries. */ - -+#include -+#include - #include - #include - #include a/safe_finger.c -+++ b/safe_finger.c -@@ -20,6 +20,11 @@ - - /* System libraries */ - -+#include -+#include -+#include -+#include -+#include - #include - #include - #include -@@ -27,7 +31,7 @@ - #include - #include - --extern void exit(); -+int pipe_stdin(char **argv); - - /* Local stuff */ - a/scaffold.c -+++ b/scaffold.c -@@ -10,6 +10,7 @@ - - /* System libraries. */ - -+#include - #include - #include - #include -@@ -27,7 +27,4 @@ - #endif - --#ifndef INET6 --extern char *malloc(); --#endif - - /* Application-specific. */ a/shell_cmd.c -+++ b/shell_cmd.c -@@ -14,6 +14,10 @@ - - /* System libraries. */ - -+#include -+#include -+#include -+#include - #include - #include - #include -@@ -25,8 +25,6 @@ - #include - #include - --extern void exit(); -- - /* Local stuff. */ - - #include "tcpd.h" a/tcpdchk.c -+++ b/tcpdchk.c -@@ -20,6 +20,8 @@ - - /* System libraries. */ - -+#include -+#include - #include - #include - #ifdef INET6 -@@ -35,10 +36,7 @@ - #include - #include - --extern int errno; --extern void exit(); --extern int optind; --extern char *optarg; -+int cidr_mask_addr(char *str); - - #ifndef INADDR_NONE - #define INADDR_NONE (-1) /* XXX should be 0x */ a/clean_exit.c -+++ b/clean_exit.c -@@ -13,8 +13,8 @@ - #endif - - #include -- --extern void exit(); -+#include -+#include - - #include "tcpd.h" - a/hosts_access.c -+++ b/hosts_access.c -@@ -23,6 +23,7 @@ - - /* System libraries. */ - -+#include - #include - #ifdef INT32_T - typedef uint32_t u_int32_t; -@@ -43,8 +44,8 @@ - #include - #endif - --extern char *fgets(); --extern int errno; -+static int match_pattern_ylo(const char *s, const char *pattern); -+int cidr_mask_addr(char *str); - - #ifndef INADDR_NONE - #define INADDR_NONE (-1)/* XXX should be 0x */ a/inetcf.c -+++ b/inetcf.c -@@ -9,15 +9,14 @@ - static char sccsid[] = "@(#) inetcf.c 1.7 97/02/12 02:13:23"; - #endif - -+#include - #include - #include - #include - #include - #include - --extern int errno; --extern void exit(); -- -+#include "scaffold.h" - #include "tcpd.h" - #include "inetcf.h" - a/percent_x.c -+++ b/percent_x.c -@@ -16,12 +16,12 @@ - - /* System libraries. */ - -+#include -+#include - #include - #include - #include - --extern void exit(); -- - /* Local stuff. */ - - #include "tcpd.h" a/rfc931.c -+++ b/rfc931.c -@@ -15,6 +15,7 @@ - - /* System libraries. */ - -+#include - #include - #include - #include a/tcpd.c -+++ b/tcpd.c -@@ -16,6 +16,7 @@ - - /* System libraries. */ - -+#include - #include - #include - #include -@@ -39,6 +39,8 @@ - #include "patchlevel.h" - #include "tcpd.h" - -+void fix_options(struct request_info *request); -+ - int allow_severity = SEVERITY;/* run-time adjustable */ - int deny_severity = LOG_WARNING; /* ditto */ - a/tcpdmatch.c -+++ b/tcpdmatch.c -@@ -19,6 +19,8 @@ - - /* System libraries. */ - -+#include -+#include - #include - #include - #include -@@ -30,9 +32,6 @@ - #include - #include - --extern void exit(); --extern int optind; --extern char *optarg; - - #ifndef INADDR_NONE - #define INADDR_NONE (-1)/* XXX should be 0x */ a/update.c -+++ b/update.c -@@ -19,6 +19,7 @@ - - /* System libraries */ - -+#include - #include - #include - #include a/misc.c -+++ b/misc.c -@@ -14,11 +14,10 @@ - #include - #include - #include -+#include - - #include "tcpd.h" - --extern char *fgets(); -- - #ifndef INADDR_NONE - #define INADDR_NONE (-1)/* XXX should be 0x */ - #endif a/fix_options.c -+++ b/fix_options.c -@@ -32,6 +32,7 @@ - - /* fix_options - get rid of IP-level socket options */ - -+void - fix_options(request) - struct request_info *request; - { -@@ -38,11 +38,8 @@ -
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 0d1b63bc512a297f0c1fa36ac8fe1f23f9bfbed9 Author: Mike Gilbert gentoo org> AuthorDate: Tue Jun 16 19:52:14 2020 + Commit: Mike Gilbert gentoo org> CommitDate: Tue Jun 16 19:52:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1b63bc sys-apps/tcp-wrappers: unset STRINGS environment variable Workaround for buggy Makefiles. Closes: https://bugs.gentoo.org/728348 Signed-off-by: Mike Gilbert gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index c6a03755352..e99386b4d95 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -60,6 +60,8 @@ multilib_src_configure() { } multilib_src_compile() { + # https://bugs.gentoo.org/728348 + unset STRINGS temake all }
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: f6f9449b883037f11e9d29adeb618072a8f49f6d Author: Mikle Kolyada gentoo org> AuthorDate: Sat Mar 21 09:57:37 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Mar 21 09:57:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f9449b sys-apps/tcp-wrappers: Drop old Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada gentoo.org> sys-apps/tcp-wrappers/Manifest | 1 - .../tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild | 93 -- 2 files changed, 94 deletions(-) diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest index d379adb218f..619d7082e0a 100644 --- a/sys-apps/tcp-wrappers/Manifest +++ b/sys-apps/tcp-wrappers/Manifest @@ -1,3 +1,2 @@ -DIST tcp-wrappers_7.6.q-22.debian.tar.gz 41730 BLAKE2B 2e507269b14e5cf3e1a599b4cdae40c2900b098a1e40fc1b74e6b5565183fc71e25306e8dd0863fb16e6e52a6c471aeccb73c0b7c42d6f3f98aa9f95274583fb SHA512 cee45f265c34ec1c4e9e81d54be636dcd9702964f9cf5bb076f72d6772d2dbc638d2ef366560b51c24a216724807826bb3b7bf9d5d0f5c0923b71de7d0b002a8 DIST tcp-wrappers_7.6.q-28.debian.tar.xz 36104 BLAKE2B 209fd9730785db8afc8ebec581f7132cfb4352f8807d2cea4715daf5c11aa08a92cf084ab1ff31222f5b265f032286ce2dcf49a238e9dc5616161c400fce4f08 SHA512 2c63201937737c19b4e5ca97dbc0ede9fc2d3b8fc344f8854a7d2afc0109ccb9ee52af94ba8a8498da910336a4f473825daa7a0cca26a0d93e1078e67abe16b0 DIST tcp_wrappers_7.6.tar.gz 99438 BLAKE2B 961d9858866990f0f5e8c6bb782f5f39a03b267a8957dcd89734aeefcc85ca32554e032c73314e0a88110f3bb8a0dbdd81f093392307623a996b0232773e1e67 SHA512 2d9d003791f8d00912a36ae00579e2b8dd7ad8a7bf8eae259659bcaf5365b150540ff6c93c91765872c76041579b7a02b6e3c64528fb7f8235680399ba1d9dac diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild deleted file mode 100644 index a251fc64ee0..000 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit eutils toolchain-funcs versionator flag-o-matic multilib-minimal usr-ldscript - -MY_PV=$(get_version_component_range 1-2) -DEB_PV=$(get_version_component_range 3) -MY_P="${PN//-/_}_${MY_PV}" -DESCRIPTION="TCP Wrappers" -HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html; -SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz - mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.gz" - -LICENSE="tcp_wrappers_license" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~amd64-linux ~x86-linux" -IUSE="ipv6 netgroups static-libs" - -RDEPEND="" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - EPATCH_OPTS="-p1" \ - epatch $(sed -e 's:^:../debian/patches/:' ../debian/patches/series) - epatch "${FILESDIR}"/${PN}-7.6-headers.patch - epatch "${FILESDIR}"/${PN}-7.6-redhat-bug11881.patch - - multilib_copy_sources -} - -temake() { - local mycppflags="-DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED" - use ipv6 && mycppflags+=" -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" - emake \ - REAL_DAEMON_DIR="${EPREFIX}"/usr/sbin \ - TLI= VSYSLOG= PARANOID= BUGS= \ - AUTH="-DALWAYS_RFC931" \ - AUX_OBJ="weak_symbols.o" \ - DOT="-DAPPEND_DOT" \ - HOSTNAME="-DALWAYS_HOSTNAME" \ - NETGROUP=$(usex netgroups -DNETGROUPS "") \ - STYLE="-DPROCESS_OPTIONS" \ - LIBS=$(usex netgroups -lnsl "") \ - LIB=$(usex static-libs libwrap.a "") \ - AR="$(tc-getAR)" ARFLAGS=rc \ - CC="$(tc-getCC)" \ - RANLIB="$(tc-getRANLIB)" \ - COPTS="${CFLAGS} ${CPPFLAGS} ${mycppflags}" \ - LDFLAGS="${LDFLAGS}" \ - "$@" -} - -multilib_src_configure() { - tc-export AR RANLIB - temake config-check -} - -multilib_src_compile() { - temake all -} - -multilib_src_install() { - into /usr - use static-libs && dolib.a libwrap.a - dolib.so shared/libwrap.so* - - insinto /usr/include - doins tcpd.h - - if multilib_is_native_abi; then - gen_usr_ldscript -a wrap - dosbin tcpd tcpdchk tcpdmatch safe_finger try-from - fi -} - -multilib_src_install_all() { - doman *.[358] - dosym hosts_access.5 /usr/share/man/man5/hosts.allow.5 - dosym hosts_access.5 /usr/share/man/man5/hosts.deny.5 - - insinto /etc - newins "${FILESDIR}"/hosts.allow.example hosts.allow - - dodoc BLURB CHANGES DISCLAIMER README* -} - -pkg_preinst() { - # don't clobber people with our default example config - [[ -e ${EROOT}/etc/hosts.allow ]] && cp -pP "${EROOT}"/etc/hosts.allow "${ED}"/etc/hosts.allow -}
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 56f609b492b58fadad88ba2d294dc192f66f2623 Author: Mart Raudsepp gentoo org> AuthorDate: Sat Mar 21 09:22:33 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sat Mar 21 09:24:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f609b4 sys-apps/tcp-wrappers: arm64 stable (bug #707548) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index e37ddc9c295..9cf5a630490 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 3234694198dfa59b711fb1e11c0e4ee2bae325d4 Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Feb 23 08:49:20 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Feb 23 08:54:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32346941 sys-apps/tcp-wrappers: stable 7.6.28 for hppa, bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index d4282d59794..e37ddc9c295 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: f63210b5044ce1f415967776dbc68f3778093376 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 17 12:25:02 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 17 12:25:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f63210b5 sys-apps/tcp-wrappers: ppc64 stable wrt bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 09e1d9eae5a..d4282d59794 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: ae1ef6778a80dc4bad0a0be67d4e85867defd30a Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 17 12:16:23 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 17 12:16:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae1ef677 sys-apps/tcp-wrappers: ia64 stable wrt bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index c629ef4eeb6..09e1d9eae5a 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 8cd44d7319dd2cb5d09351b922e27f3df6965305 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 17 12:11:27 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 17 12:11:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd44d73 sys-apps/tcp-wrappers: amd64 stable wrt bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 9e87d6615d7..c629ef4eeb6 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 17f7f6b4247053c1f1dfd3c6c2678f36ce899513 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 17 12:08:09 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 17 12:08:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f7f6b4 sys-apps/tcp-wrappers: ppc stable wrt bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 857524ec274..9e87d6615d7 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 26244cfe3e5c4d5e8f2a6bebb236f53d304508a0 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 17 11:47:03 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 17 11:47:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26244cfe sys-apps/tcp-wrappers: sparc stable wrt bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 9265a3a5709..857524ec274 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: a52a28e4547e684edbcd2b3fb7608feba91b6ace Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Feb 17 11:44:30 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Feb 17 11:44:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52a28e4 sys-apps/tcp-wrappers: arm stable wrt bug #707548 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 851b32e5265..9265a3a5709 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 5d8664524ba6bed0e8571d055e5b0c86465c7394 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Feb 16 21:07:15 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Feb 16 21:13:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d866452 sys-apps/tcp-wrappers: x86 stable (bug #707548) Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Thomas Deutschmann gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index bcec6bbb9ec..851b32e5265 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -15,7 +15,7 @@ SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/, sys-apps/tcp-wrappers/files/
commit: e219ad8be80cbe165b40781c2841c4d6eeb07c90 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Aug 30 22:32:49 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Aug 30 22:33:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e219ad8b sys-apps/tcp-wrappers: fix USE=-ipv6 Closes: https://bugs.gentoo.org/692416 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann gentoo.org> .../files/tcp-wrappers-7.6.28-no-external-malloc.patch| 15 +++ sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 1 + 2 files changed, 16 insertions(+) diff --git a/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch new file mode 100644 index 000..eebd600aab2 --- /dev/null +++ b/sys-apps/tcp-wrappers/files/tcp-wrappers-7.6.28-no-external-malloc.patch @@ -0,0 +1,15 @@ +We use malloc() from stdlib.h. + +--- a/scaffold.c b/scaffold.c +@@ -26,10 +26,6 @@ static char sccs_id[] = "@(#) scaffold.c 1.6 97/03/21 19:27:24"; + #define INADDR_NONE (-1)/* XXX should be 0x */ + #endif + +-#ifndef INET6 +-extern char *malloc(); +-#endif +- + /* Application-specific. */ + + #include "tcpd.h" diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild index 00e58c8c433..8e96239d916 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -25,6 +25,7 @@ S=${WORKDIR}/${MY_P} src_prepare() { eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series) eapply "${FILESDIR}"/${PN}-7.6-redhat-bug11881.patch + eapply "${FILESDIR}"/${PN}-7.6.28-no-external-malloc.patch eapply_user
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: 2198a5527a90c8c7c9a48d62a4f05c297792a21b Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Aug 17 23:36:10 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Aug 17 23:37:04 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2198a552 sys-apps/tcp-wrappers: bump to v7.6-28 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann gentoo.org> sys-apps/tcp-wrappers/Manifest | 1 + sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 93 2 files changed, 94 insertions(+) diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest index 6c115cdc4ac..d379adb218f 100644 --- a/sys-apps/tcp-wrappers/Manifest +++ b/sys-apps/tcp-wrappers/Manifest @@ -1,2 +1,3 @@ DIST tcp-wrappers_7.6.q-22.debian.tar.gz 41730 BLAKE2B 2e507269b14e5cf3e1a599b4cdae40c2900b098a1e40fc1b74e6b5565183fc71e25306e8dd0863fb16e6e52a6c471aeccb73c0b7c42d6f3f98aa9f95274583fb SHA512 cee45f265c34ec1c4e9e81d54be636dcd9702964f9cf5bb076f72d6772d2dbc638d2ef366560b51c24a216724807826bb3b7bf9d5d0f5c0923b71de7d0b002a8 +DIST tcp-wrappers_7.6.q-28.debian.tar.xz 36104 BLAKE2B 209fd9730785db8afc8ebec581f7132cfb4352f8807d2cea4715daf5c11aa08a92cf084ab1ff31222f5b265f032286ce2dcf49a238e9dc5616161c400fce4f08 SHA512 2c63201937737c19b4e5ca97dbc0ede9fc2d3b8fc344f8854a7d2afc0109ccb9ee52af94ba8a8498da910336a4f473825daa7a0cca26a0d93e1078e67abe16b0 DIST tcp_wrappers_7.6.tar.gz 99438 BLAKE2B 961d9858866990f0f5e8c6bb782f5f39a03b267a8957dcd89734aeefcc85ca32554e032c73314e0a88110f3bb8a0dbdd81f093392307623a996b0232773e1e67 SHA512 2d9d003791f8d00912a36ae00579e2b8dd7ad8a7bf8eae259659bcaf5365b150540ff6c93c91765872c76041579b7a02b6e3c64528fb7f8235680399ba1d9dac diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild new file mode 100644 index 000..00e58c8c433 --- /dev/null +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs flag-o-matic multilib-minimal usr-ldscript + +MY_PV=$(ver_cut 1-2) +DEB_PV=$(ver_cut 3) +MY_P="${PN//-/_}_${MY_PV}" +DESCRIPTION="TCP Wrappers" +HOMEPAGE="http://ftp.porcupine.org/pub/security; +SRC_URI="http://ftp.porcupine.org/pub/security/${MY_P}.tar.gz + mirror://debian/pool/main/t/${PN}/${PN}_${MY_PV}.q-${DEB_PV}.debian.tar.xz" + +LICENSE="tcp_wrappers_license" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="ipv6 netgroups static-libs" + +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series) + eapply "${FILESDIR}"/${PN}-7.6-redhat-bug11881.patch + + eapply_user + + multilib_copy_sources +} + +temake() { + local mycppflags="-DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED" + use ipv6 && mycppflags+=" -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" + emake \ + REAL_DAEMON_DIR="${EPREFIX}/usr/sbin" \ + TLI= VSYSLOG= PARANOID= BUGS= \ + AUTH="-DALWAYS_RFC931" \ + AUX_OBJ="weak_symbols.o" \ + DOT="-DAPPEND_DOT" \ + HOSTNAME="-DALWAYS_HOSTNAME" \ + NETGROUP=$(usex netgroups -DNETGROUPS "") \ + STYLE="-DPROCESS_OPTIONS" \ + LIBS=$(usex netgroups -lnsl "") \ + LIB=$(usex static-libs libwrap.a "") \ + AR="$(tc-getAR)" ARFLAGS=rc \ + CC="$(tc-getCC)" \ + RANLIB="$(tc-getRANLIB)" \ + COPTS="${CFLAGS} ${CPPFLAGS} ${mycppflags}" \ + LDFLAGS="${LDFLAGS}" \ + "$@" || die +} + +multilib_src_configure() { + tc-export AR RANLIB + temake config-check +} + +multilib_src_compile() { + temake all +} + +multilib_src_install() { + into /usr + use static-libs && dolib.a libwrap.a + dolib.so shared/libwrap.so* + + insinto /usr/include + doins tcpd.h + + if multilib_is_native_abi; then + gen_usr_ldscript -a wrap + dosbin tcpd tcpdchk tcpdmatch safe_finger try-from + fi +} + +multilib_src_install_all() { + doman *.[358] + dosym hosts_access.5 /usr/share/man/man5/hosts.allow.5 + dosym hosts_access.5 /usr/share/man/man5/hosts.deny.5 + + insinto /etc + newins "${FILESDIR}"/hosts.allow.example hosts.allow + + dodoc BLURB CHANGES DISCLAIMER README* +} + +pkg_preinst() { + # don't clobber people with our default example config + [[ -e ${EROOT}/etc/hosts.allow ]] && cp -pP "${EROOT}"/etc/hosts.allow "${ED}"/etc/hosts.allow +}
[gentoo-commits] repo/gentoo:master commit in: sys-apps/tcp-wrappers/
commit: a01b8e330c6f2b79f29b91b44623941d03439e2d Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat May 4 19:43:55 2019 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat May 4 19:51:31 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01b8e33 sys-apps/tcp-wrappers: keyword ~riscv Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel gentoo.org> sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild index aa24b925822..ce6284cf8b6 100644 --- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="4" @@ -15,7 +15,7 @@ SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz LICENSE="tcp_wrappers_license" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="ipv6 netgroups static-libs" RDEPEND=""