mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/gnu-netcat: Remove last-rited pkg
Closes: https://bugs.gentoo.org/601742 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST netcat-0.7.1.tar.bz2 325687 BLAKE2B a846fafcd006cc284f982fe66a3de5154ef1d74d20926344c54066f9b5e86f7bef06eb99313d5ec7f9f09bdb9b12ca82421b945bc6d3b8c6bb5f843cd6d31c2c SHA512 283c02f849c3bb62615a5ccb7796192804dafcecb34f3c6b553cbc12c715654963b81e253762923c6069be9768b93dde576a392b89b167912c323354f1376e83
|
||||
@@ -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);
|
||||
@@ -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
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -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>netmon@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>
|
||||
@@ -516,16 +516,6 @@ net-proxy/bfilter
|
||||
# Masked for removal in 30 days, bug #683248.
|
||||
app-emacs/prom-wl
|
||||
|
||||
# Michał Górny <mgorny@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 <graaff@gentoo.org> (13 Apr 2019)
|
||||
# Old ruby24-only slots of Rails-related packages
|
||||
# These no longer have reverse dependencies or newer
|
||||
|
||||
Reference in New Issue
Block a user