diff options
author | Sam James <sam@gentoo.org> | 2023-05-01 14:10:23 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-01 14:19:02 +0100 |
commit | 931aa2a8be20a0d2c0daf727799488e1d84d7e73 (patch) | |
tree | 3c8cb1d054cb8bbed5ea90fe1af4f5d709e1de40 /net-analyzer/openbsd-netcat/openbsd-netcat-1.195-r1.ebuild | |
parent | net-analyzer/ntopng: drop 5.4 (diff) | |
download | gentoo-931aa2a8be20a0d2c0daf727799488e1d84d7e73.tar.gz gentoo-931aa2a8be20a0d2c0daf727799488e1d84d7e73.tar.bz2 gentoo-931aa2a8be20a0d2c0daf727799488e1d84d7e73.zip |
net-analyzer/openbsd-netcat: drop 1.195-r1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/openbsd-netcat/openbsd-netcat-1.195-r1.ebuild')
-rw-r--r-- | net-analyzer/openbsd-netcat/openbsd-netcat-1.195-r1.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/net-analyzer/openbsd-netcat/openbsd-netcat-1.195-r1.ebuild b/net-analyzer/openbsd-netcat/openbsd-netcat-1.195-r1.ebuild deleted file mode 100644 index 936638785585..000000000000 --- a/net-analyzer/openbsd-netcat/openbsd-netcat-1.195-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="The OpenBSD network swiss army knife" -HOMEPAGE="https://cvsweb.openbsd.org/src/usr.bin/nc/ - https://salsa.debian.org/debian/netcat-openbsd" -SRC_URI="http://http.debian.net/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}.orig.tar.gz - http://http.debian.net/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${PV}-2.debian.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86 ~amd64-linux ~x64-macos" - -BDEPEND="virtual/pkgconfig" -RDEPEND="!elibc_Darwin? ( dev-libs/libbsd ) - !net-analyzer/netcat - !net-analyzer/netcat6 -" - -S=${WORKDIR}/netcat-openbsd-${PV} - -src_prepare() { - for i_patch in $(<"${WORKDIR}"/debian/patches/series); do - eapply "${WORKDIR}"/debian/patches/"${i_patch}" - done - if [[ ${CHOST} == *-darwin* ]] ; then - # this undoes some of the Debian/Linux changes - eapply "${FILESDIR}"/${PN}-1.195-darwin.patch - if [[ ${CHOST##*-darwin} -lt 20 ]] ; then - eapply "${FILESDIR}"/${PN}-1.190-darwin13.patch - fi - fi - if use elibc_musl ; then - eapply "${FILESDIR}"/${PN}-1.105-musl-b64_ntop.patch - fi - default -} - -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -} - -src_install() { - dobin nc - doman nc.1 - cd "${WORKDIR}"/debian || die - newdoc netcat-openbsd.README.Debian README - dodoc -r examples -} - -pkg_postinst() { - if [[ ${KERNEL} = "linux" ]]; then - ewarn "SO_REUSEPORT is introduced in linux 3.9. If your running kernel is older" - ewarn "and kernel header is newer, nc will not listen correctly. Matching the header" - ewarn "to the running kernel will do. See bug #490246 for details." - fi -} |