aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2021-04-13 09:08:11 -0500
committerJory Pratt <anarchy@gentoo.org>2021-04-13 09:08:53 -0500
commit678c481bac86c2f550474548a32cf3f7698a4862 (patch)
tree1fd877f8ff466b433a22ff63e5d13dc131982cc4 /sys-apps/tcp-wrappers
parentsys-process/psmisc: sync with ::gentoo (diff)
downloadmusl-678c481bac86c2f550474548a32cf3f7698a4862.tar.gz
musl-678c481bac86c2f550474548a32cf3f7698a4862.tar.bz2
musl-678c481bac86c2f550474548a32cf3f7698a4862.zip
Misc cleanup, more to come.
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'sys-apps/tcp-wrappers')
-rw-r--r--sys-apps/tcp-wrappers/Manifest1
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild94
2 files changed, 0 insertions, 95 deletions
diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest
index d379adb..619d708 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 fbf284c..0000000
--- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6.22-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# 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="amd64 arm arm64 ~mips ppc x86"
-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
- epatch "${FILESDIR}"/${PN}-7.6.22-remove-DECLS.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}" \
- "$@" || 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
-}