summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-03-06 22:38:57 +0100
committerSam James <sam@gentoo.org>2021-03-16 18:50:21 +0000
commit63710dad29dda12a43454ade390d8308af2e8592 (patch)
tree927ab279abd5521f544602dc34cdbf585e778dfe /net-analyzer/netcat
parentnet-analyzer/netcat: EAPI 7 (diff)
downloadgentoo-63710dad29dda12a43454ade390d8308af2e8592.tar.gz
gentoo-63710dad29dda12a43454ade390d8308af2e8592.tar.bz2
gentoo-63710dad29dda12a43454ade390d8308af2e8592.zip
net-analyzer/netcat: remove old
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/19800 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/netcat')
-rw-r--r--net-analyzer/netcat/netcat-110.20180111.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/net-analyzer/netcat/netcat-110.20180111.ebuild b/net-analyzer/netcat/netcat-110.20180111.ebuild
deleted file mode 100644
index cbb307b77289..000000000000
--- a/net-analyzer/netcat/netcat-110.20180111.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-funcs flag-o-matic
-
-MY_P="nc${PV}"
-DESCRIPTION="the network swiss army knife"
-HOMEPAGE="https://nc110.sourceforge.io"
-SRC_URI="mirror://sourceforge/nc110/${MY_P}.tar.xz"
-
-LICENSE="netcat"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc64-solaris ~x64-solaris"
-IUSE="ipv6 static"
-
-S=${WORKDIR}/nc110
-
-src_prepare() {
- sed -i \
- -e '/#define HAVE_BIND/s:#define:#undef:' \
- -e '/#define FD_SETSIZE 16/s:16:1024: #34250' \
- netcat.c || die
- [[ ${CHOST} == *-solaris* ]] && \
- sed -i 's:gethostbyname2 *(\([^)]\+\)):getipnodebyname (\1, AI_DEFAULT, NULL):' netcat.c
-}
-
-src_configure() {
- use ipv6 || sed -i '/#define INET6/d' generic.h
- append-cppflags -DTELNET -DGAPING_SECURITY_HOLE
-}
-
-src_compile() {
- local xlibs
- [[ ${CHOST} == *-solaris* ]] && xlibs+=" -lnsl -lsocket"
- emake \
- LD="$(tc-getCC) ${LDFLAGS}" \
- DFLAGS="${CPPFLAGS}" \
- XFLAGS="${CFLAGS}" \
- STATIC=$(usex static '-static' '') \
- XLIBS="${xlibs}" \
- nc
-}
-
-src_install() {
- dobin nc
- dodoc README* netcat.blurb
- doman nc.1
- docinto scripts
- dodoc scripts/*
-}