Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Fix the endian-specific bit-counting code so that it works.
|
||||
# SF:1068324 "netcat_flag_count() fix"
|
||||
# http://sourceforge.net/tracker/?func=detail&aid=1205729&group_id=52204&atid=466046
|
||||
# SF:1205729 "doen't work on arm linux platform":
|
||||
# http://sourceforge.net/tracker/?func=detail&aid=1068324&group_id=52204&atid=466046
|
||||
|
||||
Index: netcat-0.7.1/src/flagset.c
|
||||
===================================================================
|
||||
--- netcat-0.7.1.orig/src/flagset.c 2010-07-19 13:51:46.000000000 +0100
|
||||
+++ netcat-0.7.1/src/flagset.c 2010-07-19 13:52:27.000000000 +0100
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
12
deprecated/firmware/buildroot/package/netcat/Config.in
Normal file
12
deprecated/firmware/buildroot/package/netcat/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_NETCAT
|
||||
bool "netcat"
|
||||
help
|
||||
Netcat is a featured networking utility which reads and writes data
|
||||
across network connections, using the TCP/IP 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.
|
||||
|
||||
http://netcat.sourceforge.net/download.php
|
||||
2
deprecated/firmware/buildroot/package/netcat/netcat.hash
Normal file
2
deprecated/firmware/buildroot/package/netcat/netcat.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f netcat-0.7.1.tar.gz
|
||||
12
deprecated/firmware/buildroot/package/netcat/netcat.mk
Normal file
12
deprecated/firmware/buildroot/package/netcat/netcat.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# netcat
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NETCAT_VERSION = 0.7.1
|
||||
NETCAT_SITE = http://downloads.sourceforge.net/project/netcat/netcat/$(NETCAT_VERSION)
|
||||
NETCAT_LICENSE = GPLv2+
|
||||
NETCAT_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user