public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hping/files/
@ 2021-01-07 11:33 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-01-07 11:33 UTC (permalink / raw
  To: gentoo-commits

commit:     9096ebebeb09dcf200144e255374186d7d260ab9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  7 11:31:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 11:33:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9096ebeb

net-analyzer/hping: cleanup old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../hping/files/hping-3_pre20051105-ldflags.patch  | 16 --------
 .../files/hping-3_pre20051105-scan-overflow.patch  | 11 ------
 .../hping/files/hping-3_pre20051105-strlen.patch   | 11 ------
 net-analyzer/hping/files/hping-3_pre20051105.patch | 45 ----------------------
 4 files changed, 83 deletions(-)

diff --git a/net-analyzer/hping/files/hping-3_pre20051105-ldflags.patch b/net-analyzer/hping/files/hping-3_pre20051105-ldflags.patch
deleted file mode 100644
index 39814bff0d8..00000000000
--- a/net-analyzer/hping/files/hping-3_pre20051105-ldflags.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -50,11 +50,11 @@
- 	$(RANLIB) $@
- 
- hping3: byteorder.h $(OBJ)
--	$(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
-+	$(CC) -o hping3 $(CCOPT) $(LDFLAGS) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
- 	@echo
- 
- hping3-static: byteorder.h $(OBJ)
--	$(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl
-+	$(CC) -static -o hping3-static $(CCOPT) $(LDFLAGS) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl
- 
- byteorder.h:
- 	./configure

diff --git a/net-analyzer/hping/files/hping-3_pre20051105-scan-overflow.patch b/net-analyzer/hping/files/hping-3_pre20051105-scan-overflow.patch
deleted file mode 100644
index 2c3e01bf697..00000000000
--- a/net-analyzer/hping/files/hping-3_pre20051105-scan-overflow.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/scan.c
-+++ b/scan.c
-@@ -456,7 +456,7 @@
- 				continue;
- 			/* time to copy headers in a safe place */
- 			p = packet+linkhdr_size+iphdrlen;
--			memcpy(&icmp, p, sizeof(subtcp));
-+			memcpy(&icmp, p, sizeof(icmp));
- 			p += sizeof(icmp);
- 			memcpy(&subip, p, sizeof(ip));
- 			p += sizeof(ip);

diff --git a/net-analyzer/hping/files/hping-3_pre20051105-strlen.patch b/net-analyzer/hping/files/hping-3_pre20051105-strlen.patch
deleted file mode 100644
index 692cd93102f..00000000000
--- a/net-analyzer/hping/files/hping-3_pre20051105-strlen.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/ip_opt_build.c
-+++ b/ip_opt_build.c
-@@ -25,7 +25,7 @@
- 	unsigned char optlen = 0;
- 	unsigned long ip;
- 
--    memset(ip_opt, 1, sizeof(ip_opt));
-+    memset(ip_opt, 1, strlen(ip_opt));
- 
-     if (opt_lsrr)
-     {

diff --git a/net-analyzer/hping/files/hping-3_pre20051105.patch b/net-analyzer/hping/files/hping-3_pre20051105.patch
deleted file mode 100644
index e3133f2b6b4..00000000000
--- a/net-analyzer/hping/files/hping-3_pre20051105.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/libpcap_stuff.c
-+++ b/libpcap_stuff.c
-@@ -17,7 +17,7 @@
- #include <stdlib.h>
- #include <sys/ioctl.h>
- #include <pcap.h>
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
- 
- #include "globals.h"
- 
---- a/script.c
-+++ b/script.c
-@@ -24,7 +24,7 @@
- 
- #include <sys/ioctl.h>
- #include <pcap.h>
--#include <net/bpf.h>
-+#include <pcap-bpf.h>
- 
- #include "release.h"
- #include "hping2.h"
---- a/configure
-+++ b/configure
-@@ -93,7 +93,7 @@
- 	else
- 		USE_TCL=""
- 		TCL_LIB=""
--		echo "==> WARNING: no Tcl header files found!"
-+		echo "==> WARNING: no Tcl header files found."
- 	fi
- fi
- if [ -n $USE_TCL ]
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -52,9 +52,6 @@
- hping3: byteorder.h $(OBJ)
- 	$(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
- 	@echo
--	./hping3 -v
--	@echo "use \`make strip' to strip hping3 binary"
--	@echo "use \`make install' to install hping3"
- 
- hping3-static: byteorder.h $(OBJ)
- 	$(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hping/files/
@ 2021-01-26 15:54 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-01-26 15:54 UTC (permalink / raw
  To: gentoo-commits

commit:     2bbda12149af45a79dac0022b30c1d498f23d4f7
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Jan 26 07:11:53 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 15:53:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bbda121

net-analyzer/hping: remove unused patch

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19222
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/hping/files/bytesex.h.patch | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/net-analyzer/hping/files/bytesex.h.patch b/net-analyzer/hping/files/bytesex.h.patch
deleted file mode 100644
index 872321d41bf..00000000000
--- a/net-analyzer/hping/files/bytesex.h.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/bytesex.h
-+++ b/bytesex.h
-@@ -9,11 +9,15 @@
- 
- #if 	defined(__i386__) \
- 	|| defined(__alpha__) \
-+	|| defined(__arm__) \
-+	|| defined(__x86_64__) \
-+	|| defined(__ia64__) \
- 	|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
- #define BYTE_ORDER_LITTLE_ENDIAN
- #elif 	defined(__mc68000__) \
- 	|| defined (__sparc__) \
- 	|| defined (__sparc) \
-+	|| defined (__hppa__) \
- 	|| defined (__PPC__) \
- 	|| defined (__BIG_ENDIAN__) \
- 	|| (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-26 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-07 11:33 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hping/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-01-26 15:54 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox