From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [ptxdist] [PATCH 1/2] netcat: remove current version
Date: Thu, 6 Feb 2014 09:13:47 +0100 [thread overview]
Message-ID: <1391674428-15470-2-git-send-email-alex.aring@gmail.com> (raw)
In-Reply-To: <1391674428-15470-1-git-send-email-alex.aring@gmail.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
patches/netcat-0.7.1/fix-signed-unsigned.diff | 32 ------------
patches/netcat-0.7.1/series | 1 -
rules/netcat.in | 51 -------------------
rules/netcat.make | 72 ---------------------------
4 files changed, 156 deletions(-)
delete mode 100644 patches/netcat-0.7.1/fix-signed-unsigned.diff
delete mode 100644 patches/netcat-0.7.1/series
delete mode 100644 rules/netcat.in
delete mode 100644 rules/netcat.make
diff --git a/patches/netcat-0.7.1/fix-signed-unsigned.diff b/patches/netcat-0.7.1/fix-signed-unsigned.diff
deleted file mode 100644
index a3921b8..0000000
--- a/patches/netcat-0.7.1/fix-signed-unsigned.diff
+++ /dev/null
@@ -1,32 +0,0 @@
-Subject: fix signed/unsigned bug.
-From: Michael Olbrich <m.olbrich@pengutronix.de>
-
-The code assumed that 'char' is unsigned:
-char c;
-(c >> 7) == -1 or 0
-This is not true on all platforms. If 'char' is signed we get:
-(c >> 7) == 1 or 0
-Fix: use 'signed char c;' instead.
-
-Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
----
-
-wsa 20120612: Fixed upstream: http://netcat.svn.sourceforge.net/viewvc/netcat/branches/netcat-0.7.x/src/flagset.c?view=diff&r1=363&r2=336&diff_format=u
-Waiting for next release.
-
- src/flagset.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: b/src/flagset.c
-===================================================================
---- a/src/flagset.c
-+++ b/src/flagset.c
-@@ -134,7 +134,7 @@ unsigned short netcat_flag_next(unsigned
-
- int netcat_flag_count(void)
- {
-- register char c;
-+ register signed char c;
- register int i;
- int ret = 0;
-
diff --git a/patches/netcat-0.7.1/series b/patches/netcat-0.7.1/series
deleted file mode 100644
index 1795127..0000000
--- a/patches/netcat-0.7.1/series
+++ /dev/null
@@ -1 +0,0 @@
-fix-signed-unsigned.diff
diff --git a/rules/netcat.in b/rules/netcat.in
deleted file mode 100644
index f6bf258..0000000
--- a/rules/netcat.in
+++ /dev/null
@@ -1,51 +0,0 @@
-## SECTION=networking
-menuconfig NETCAT
- tristate
- prompt "netcat "
- help
- This is the GNU Flavour of the "netcat" utility.
-
- Netcat is a simple Unix utility which reads and writes
- data across network connections using TCP or UDP protocol.
- It is designed to be a reliable "back-end" tool that can be
- used directly or easily driven by other programs and scripts.
- At the same time it is a feature-rich network debugging and
- exploration tool, since it can create almost any kind of
- connection you would need and has several interesting built-in
- capabilities.
-
- It provides access to the following main features:
-
- * Outbound and inbound connections, TCP or UDP,
- to or from any ports.
- * Featured tunneling mode which allows also special
- tunneling such as UDP to TCP, with the possibility
- of specifying all network parameters (source port/interface,
- listening port/interface, and the remote host allowed to
- connect to the tunnel.
- * Built-in port-scanning capabilities, with randomizer.
- * Advanced usage options, such as buffered send-mode
- (one line every N seconds), and hexdump (to stderr or
- to a specified file) of trasmitted and received data.
- * Optional RFC854 telnet codes parser and responder.
-
-
- The GNU Netcat is distributed freely under the GNU General
- Public License (GPL). See the official GNU Netcat project
- homepage for more info: http://netcat.sourceforge.net/
-
-if NETCAT
-
-config NETCAT_OLD_HEXDUMP
- bool
- prompt "Use the old style hexdump format"
- help
- Disabled by default - if unsure, say NO
-
-config NETCAT_OLD_TELNET
- bool
- prompt "Use old telnet codes parsing policy"
- help
- Disabled by default - if unsure, say NO
-
-endif
diff --git a/rules/netcat.make b/rules/netcat.make
deleted file mode 100644
index 7b46576..0000000
--- a/rules/netcat.make
+++ /dev/null
@@ -1,72 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2005 by Bjoern Buerger <b.buerger@pengutronix.de>
-# 2010 Michael Olbrich <m.olbrich@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_NETCAT) += netcat
-
-#
-# Paths and names
-#
-NETCAT_VERSION := 0.7.1
-NETCAT_MD5 := 088def25efe04dcdd1f8369d8926ab34
-NETCAT := netcat-$(NETCAT_VERSION)
-NETCAT_SUFFIX := tar.gz
-NETCAT_URL := $(call ptx/mirror, SF, netcat/$(NETCAT).$(NETCAT_SUFFIX))
-NETCAT_SOURCE := $(SRCDIR)/$(NETCAT).$(NETCAT_SUFFIX)
-NETCAT_DIR := $(BUILDDIR)/$(NETCAT)
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-NETCAT_PATH := PATH=$(CROSS_PATH)
-NETCAT_ENV := $(CROSS_ENV)
-
-#
-# autoconf
-#
-NETCAT_AUTOCONF := $(CROSS_AUTOCONF_ROOT)
-
-ifdef PTXCONF_NETCAT_OLD_HEXDUMP
-NETCAT_AUTOCONF += --enable-oldhexdump
-else
-NETCAT_AUTOCONF += --disable-oldhexdump
-endif
-
-ifdef PTXCONF_NETCAT_OLD_TELNET
-NETCAT_AUTOCONF += --enable-oldtelnet
-else
-NETCAT_AUTOCONF += --disable-oldtelnet
-endif
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/netcat.targetinstall:
- @$(call targetinfo)
-
- @$(call install_init, netcat)
- @$(call install_fixup, netcat,PRIORITY,optional)
- @$(call install_fixup, netcat,SECTION,base)
- @$(call install_fixup, netcat,AUTHOR,"Bjoern Buerger <b.buerger@pengutronix.de>")
- @$(call install_fixup, netcat,DESCRIPTION,missing)
-
- @$(call install_copy, netcat, 0, 0, 0755, -, /bin/netcat)
- @$(call install_link, netcat, netcat, /bin/nc)
-
- @$(call install_finish, netcat)
-
- @$(call touch)
-
-# vim: syntax=make
--
1.8.5.3
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-02-06 8:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 8:13 [ptxdist] [PATCH 0/2] netcat: replace with openbsd netcat Alexander Aring
2014-02-06 8:13 ` Alexander Aring [this message]
2014-02-06 8:13 ` [ptxdist] [PATCH 2/2] netcat: add new package Alexander Aring
2014-02-12 8:47 ` [ptxdist] [PATCH 0/2] netcat: replace with openbsd netcat Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1391674428-15470-2-git-send-email-alex.aring@gmail.com \
--to=alex.aring@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox