commit:     df604b5e52c41cbe9b256a4d84ab42440986bd18
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 15 20:06:49 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 15 20:07:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df604b5e

net-analyzer/gnu-netcat: Remove last-rited pkg

Closes: https://bugs.gentoo.org/601742
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-analyzer/gnu-netcat/Manifest                   |  1 -
 .../gnu-netcat/files/gnu-netcat-LC_CTYPE.patch     | 19 ------------
 .../gnu-netcat/files/gnu-netcat-close.patch        | 16 ----------
 .../gnu-netcat/files/gnu-netcat-flagcount.patch    | 22 -------------
 net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild | 36 ----------------------
 net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild | 32 -------------------
 net-analyzer/gnu-netcat/metadata.xml               | 12 --------
 profiles/package.mask                              | 10 ------
 8 files changed, 148 deletions(-)

diff --git a/net-analyzer/gnu-netcat/Manifest b/net-analyzer/gnu-netcat/Manifest
deleted file mode 100644
index 69653cb2fb2..00000000000
--- a/net-analyzer/gnu-netcat/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST netcat-0.7.1.tar.bz2 325687 BLAKE2B 
a846fafcd006cc284f982fe66a3de5154ef1d74d20926344c54066f9b5e86f7bef06eb99313d5ec7f9f09bdb9b12ca82421b945bc6d3b8c6bb5f843cd6d31c2c
 SHA512 
283c02f849c3bb62615a5ccb7796192804dafcecb34f3c6b553cbc12c715654963b81e253762923c6069be9768b93dde576a392b89b167912c323354f1376e83

diff --git a/net-analyzer/gnu-netcat/files/gnu-netcat-LC_CTYPE.patch 
b/net-analyzer/gnu-netcat/files/gnu-netcat-LC_CTYPE.patch
deleted file mode 100644
index 1c67f92e6c2..00000000000
--- a/net-analyzer/gnu-netcat/files/gnu-netcat-LC_CTYPE.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-In russian locale, netcat error messages display as '???????'
-
-Need to set LC_CTYPE along with LC_MESSAGES to correctly display messages in
-locales other then C/POSIX
-Required for correct i18n support in glibc.
-
-(bug #200875 by Михаил)
-
-
---- a/src/netcat.c
-+++ b/src/netcat.c
-@@ -157,6 +157,7 @@
-   connect_sock.domain = PF_INET;
- 
- #ifdef ENABLE_NLS
-+  setlocale(LC_CTYPE, "");
-   setlocale(LC_MESSAGES, "");
-   bindtextdomain(PACKAGE, LOCALEDIR);
-   textdomain(PACKAGE);

diff --git a/net-analyzer/gnu-netcat/files/gnu-netcat-close.patch 
b/net-analyzer/gnu-netcat/files/gnu-netcat-close.patch
deleted file mode 100644
index eb1862d1fd5..00000000000
--- a/net-analyzer/gnu-netcat/files/gnu-netcat-close.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/doc/netcat.1
-+++ b/doc/netcat.1
-@@ -256,6 +256,13 @@
- source address for the connecting socket.
- .Sh "Advanced Options"
- .IX Subsection "Advanced Options"
-+.IP "\fB\-c" 4
-+.IX Item "-c"
-+.PD 0
-+.IP "\fB\-\-close" 4
-+.IX Item "--close"
-+.PD
-+closes connection on EOF from stdin.
- .IP "\fB\-i \s-1SECS\s0\fR" 4
- .IX Item "-i SECS"
- .PD 0

diff --git a/net-analyzer/gnu-netcat/files/gnu-netcat-flagcount.patch 
b/net-analyzer/gnu-netcat/files/gnu-netcat-flagcount.patch
deleted file mode 100644
index 765212cb0e9..00000000000
--- a/net-analyzer/gnu-netcat/files/gnu-netcat-flagcount.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/src/flagset.c
-+++ b/src/flagset.c
-@@ -134,7 +134,7 @@
- 
- int netcat_flag_count(void)
- {
--  register char c;
-+  register unsigned char c;
-   register int i;
-   int ret = 0;
- 
-@@ -154,8 +154,8 @@
-       Assumed that the bit number 1 is the sign, and that we will shift the
-       bit 1 (or the bit that takes its place later) until the the most right,
-       WHY it has to keep the wrong sign? */
--      ret -= (c >> 7);
--      c <<= 1;
-+      ret += (c & 1);
-+      c >>= 1;
-     }
-   }
- 

diff --git a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild 
b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild
deleted file mode 100644
index 836745b0834..00000000000
--- a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="the GNU network swiss army knife"
-HOMEPAGE="http://netcat.sourceforge.net/";
-SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ppc sparc x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="debug nls"
-
-S=${WORKDIR}/netcat-${PV}
-
-src_prepare() {
-       epatch \
-               "${FILESDIR}"/${PN}-flagcount.patch \
-               "${FILESDIR}"/${PN}-close.patch \
-               "${FILESDIR}"/${PN}-LC_CTYPE.patch
-}
-
-src_configure() {
-       use debug && append-flags -DDEBUG
-       econf $(use_enable nls)
-}
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-src_install() {
-       default
-       rm "${ED}"usr/bin/nc
-}

diff --git a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild 
b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild
deleted file mode 100644
index 3685ef0208f..00000000000
--- a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r4.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit flag-o-matic
-
-DESCRIPTION="the GNU network swiss army knife"
-HOMEPAGE="http://netcat.sourceforge.net/";
-SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="debug nls"
-
-PATCHES=(
-               "${FILESDIR}"/${PN}-LC_CTYPE.patch
-               "${FILESDIR}"/${PN}-close.patch
-               "${FILESDIR}"/${PN}-flagcount.patch
-)
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-S=${WORKDIR}/netcat-${PV}
-
-src_configure() {
-       use debug && append-flags -DDEBUG
-       econf $(use_enable nls)
-}
-
-src_install() {
-       default
-       rm "${ED}"usr/bin/nc || die
-}

diff --git a/net-analyzer/gnu-netcat/metadata.xml 
b/net-analyzer/gnu-netcat/metadata.xml
deleted file mode 100644
index cc4e9c9f18c..00000000000
--- a/net-analyzer/gnu-netcat/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>net...@gentoo.org</email>
-               <name>Gentoo network monitoring and analysis project</name>
-       </maintainer>
-       <longdescription>the GNU network swiss army knife</longdescription>
-       <upstream>
-               <remote-id type="sourceforge">netcat</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 9398751510e..e462b32c1e0 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -516,16 +516,6 @@ net-proxy/bfilter
 # Masked for removal in 30 days, bug #683248.
 app-emacs/prom-wl
 
-# Michał Górny <mgo...@gentoo.org> (13 Apr 2019)
-# Unmaintained.  Contains vulnerable code and a large number of unsolved
-# (upstream) issues.  The current version is from 2004, and carries
-# some local patches.  Last upstream commits are from 2013, and involve
-# three successive branches, the 0.7.x not having a release since 2004,
-# and the two remaining branches never seeing a single release.
-# The suggested alternatives are net-analyzer/{netcat,openbsd-netcat}.
-# Removal in 30 days.  Bug #601742.
-net-analyzer/gnu-netcat
-
 # Hans de Graaff <gra...@gentoo.org> (13 Apr 2019)
 # Old ruby24-only slots of Rails-related packages
 # These no longer have reverse dependencies or newer

Reply via email to