From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WBK5z-0005Sv-Fa for ptxdist@pengutronix.de; Thu, 06 Feb 2014 09:14:06 +0100 Received: by mail-ee0-f44.google.com with SMTP id c13so689123eek.31 for ; Thu, 06 Feb 2014 00:13:58 -0800 (PST) From: Alexander Aring Date: Thu, 6 Feb 2014 09:13:47 +0100 Message-Id: <1391674428-15470-2-git-send-email-alex.aring@gmail.com> In-Reply-To: <1391674428-15470-1-git-send-email-alex.aring@gmail.com> References: <1391674428-15470-1-git-send-email-alex.aring@gmail.com> Subject: [ptxdist] [PATCH 1/2] netcat: remove current version Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alexander Aring Signed-off-by: Alexander Aring --- 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 - -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 ---- - -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 -# 2010 Michael Olbrich -# -# 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 ") - @$(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