diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-10-27 00:06:06 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-10-27 00:06:22 +0200 |
commit | 562df972096059c8f1817aceadba6a537e26fbe4 (patch) | |
tree | 99715b8fbe0c5903779fc79d67c16c947eba66d0 /net-analyzer | |
parent | www-apps/jellyfin-bin: drop 10.9.11-r1 (diff) | |
download | gentoo-562df972096059c8f1817aceadba6a537e26fbe4.tar.gz gentoo-562df972096059c8f1817aceadba6a537e26fbe4.tar.bz2 gentoo-562df972096059c8f1817aceadba6a537e26fbe4.zip |
net-analyzer/netcat: drop 110-r9, 110.20180111-r1
Bug: https://bugs.gentoo.org/871003
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/netcat/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110-r9.ebuild | 74 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110.20180111-r1.ebuild | 62 |
3 files changed, 0 insertions, 139 deletions
diff --git a/net-analyzer/netcat/Manifest b/net-analyzer/netcat/Manifest index 89ba3032b449..ca67a6703601 100644 --- a/net-analyzer/netcat/Manifest +++ b/net-analyzer/netcat/Manifest @@ -1,4 +1 @@ -DIST nc-v6-20000918.patch.gz 8740 BLAKE2B 56274ee32a77f335c31b5593ae92afdb1758ee02bec2b06eb8e06c2cdf856af26f568be7caf287f248909f9b519f9dc77c78623337024d8c1afc770307187cac SHA512 56326fc7c40ea676173f150842367ea1782e700de682d790bb0f2c0df86e72a30f4c3ea0d937deb9d92f5eed47d2d4cb53edaca7dd23eb394a498b2f424bb2fe DIST nc110.20180111.tar.xz 69984 BLAKE2B cb345db31d8857fc1c3973eba45c7a45ec0c5721829a19c46f1ec91a792d9d6309930b3bba5df1180989025f7a04ec8c85cf4832ac6f4199d13f15764f000420 SHA512 4413849c07c6ec5aae07c6e2baa1ba9a99721fa6ac08cf9e7d15379937a207246eb4f4299dd8c049445a72eac9cfe0a3633a87e4e01e21036db1217ea7a1e330 -DIST nc110.tgz 75267 BLAKE2B 203b5f54805ddef2c3e9627300dfb6d14f098e88433ca807c8db01f009dec1ccc329925025238dae00b5e82e91c0787ef25536d08310ac127cda1775cfb2afb3 SHA512 c9a7f5045f76d9ffef4e83fcc3e82f69ac4eb05e061686db51e9367949bfe0b90226b290a059dc68dcf3bf2040b95b5c78545199674da57a7c73e2f9145cf812 -DIST netcat-110-patches-1.0.tar.bz2 25751 BLAKE2B c0be51a057981ad1df932f7317a1c317c8788efa670778a4f5bbf67c9d983754bd20188a15e7ced3d849a25244926afc54129e0a2df07bc34932d15a3efbf302 SHA512 b9e7e35aa7e26d30f0115d87aff34fd0cadfad99fdb77cc5aa3ba51bec331f632e180484927c4368172ee9cc6c996b8691bd19bad8806912d8820158a98eab46 diff --git a/net-analyzer/netcat/netcat-110-r9.ebuild b/net-analyzer/netcat/netcat-110-r9.ebuild deleted file mode 100644 index 4866f0919df8..000000000000 --- a/net-analyzer/netcat/netcat-110-r9.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -PATCH_VER="1.0" -MY_P=nc${PV} -DESCRIPTION="The network swiss army knife" -HOMEPAGE="https://nc110.sourceforge.io" -SRC_URI="https://downloads.sourceforge.net/nc110/${MY_P}.tgz - ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/nc-v6-20000918.patch.gz - mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2 -" -S="${WORKDIR}" - -LICENSE="netcat" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" -IUSE="crypt ipv6 static" - -LIB_DEPEND="crypt? ( dev-libs/libmix[static-libs(+)] )" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" -DEPEND=" - ${RDEPEND} - static? ( ${LIB_DEPEND} ) -" - -src_prepare() { - default - - eapply "${WORKDIR}"/nc-v6-20000918.patch - - sed -i 's:#define HAVE_BIND:#undef HAVE_BIND:' netcat.c - # bug 34250 - sed -i 's:#define FD_SETSIZE 16:#define FD_SETSIZE 1024:' netcat.c - - if [[ ${CHOST} == *-solaris* ]] ; then - sed -i 's:gethostbyname2(\([^)]\+\)):getipnodebyname(\1, AI_DEFAULT, NULL):' netcat.c || die - fi -} - -src_compile() { - export XLIBS="" - export XFLAGS="-DLINUX -DTELNET -DGAPING_SECURITY_HOLE" - - if use ipv6 ; then - XFLAGS+=" -DINET6" - fi - - if use static ; then - export STATIC="-static" - fi - - if use crypt ; then - XFLAGS+=" -DAESCRYPT" - XLIBS+=" -lmix" - fi - - if [[ ${CHOST} == *-solaris* ]] ; then - XLIBS+=" -lnsl -lsocket" - fi - - emake -e CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" nc -} - -src_install() { - dobin nc - dodoc README* netcat.blurb debian-* - doman nc.1 - docinto scripts - dodoc scripts/* -} diff --git a/net-analyzer/netcat/netcat-110.20180111-r1.ebuild b/net-analyzer/netcat/netcat-110.20180111-r1.ebuild deleted file mode 100644 index ad08075b556d..000000000000 --- a/net-analyzer/netcat/netcat-110.20180111-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs flag-o-matic - -MY_P="nc${PV}" -DESCRIPTION="The network swiss army knife" -HOMEPAGE="https://nc110.sourceforge.io" -SRC_URI="https://downloads.sourceforge.net/nc110/${MY_P}.tar.xz" -S="${WORKDIR}/nc110" - -LICENSE="netcat" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" -IUSE="ipv6 static" - -src_prepare() { - default - - sed -i \ - -e '/#define HAVE_BIND/s:#define:#undef:' \ - -e '/#define FD_SETSIZE 16/s:16:1024: #34250' \ - netcat.c || die - - if [[ ${CHOST} == *-solaris* ]] ; then - sed -i 's:gethostbyname2 *(\([^)]\+\)):getipnodebyname (\1, AI_DEFAULT, NULL):' netcat.c || die - fi -} - -src_configure() { - if ! use ipv6 ; then - sed -i '/#define INET6/d' generic.h || die - fi - - 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/* -} |