diff options
author | Brenton Earl <brent@exitstatusone.com> | 2016-12-17 06:28:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-17 06:28:53 +0700 |
commit | 0850342043c01ee5f9301ab3344a8183b314c5b2 (patch) | |
tree | afe48eb9e9f1e6bd49a4934d6b783c3000079ec9 /network/hping3/patches | |
parent | 343a5985432ddf620024693e2814c42bb633b925 (diff) | |
download | slackbuilds-0850342043c01ee5f9301ab3344a8183b314c5b2.tar.gz |
network/hping3: Switch to i586 + Add patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/hping3/patches')
-rw-r--r-- | network/hping3/patches/Makefile.patch | 30 | ||||
-rw-r--r-- | network/hping3/patches/README | 17 |
2 files changed, 46 insertions, 1 deletions
diff --git a/network/hping3/patches/Makefile.patch b/network/hping3/patches/Makefile.patch new file mode 100644 index 0000000000..d1d4221f40 --- /dev/null +++ b/network/hping3/patches/Makefile.patch @@ -0,0 +1,30 @@ +diff -Naur hping3-20051105/Makefile hping3-20051105-new/Makefile +--- hping3-20051105/Makefile 2005-11-05 05:31:41.000000000 -0500 ++++ hping3-20051105-new/Makefile 2009-02-26 03:21:46.000000000 -0500 +@@ -72,16 +72,18 @@ + rm -rf hping3 *.o byteorder byteorder.h systype.h Makefile libars.a .depend + + install: hping3 +- cp -f hping3 /usr/sbin/ +- chmod 755 /usr/sbin/hping3 +- ln -s /usr/sbin/hping3 /usr/sbin/hping +- ln -s /usr/sbin/hping3 /usr/sbin/hping2 +- @if [ -d ${INSTALL_MANPATH}/man8 ]; then \ +- cp ./docs/hping3.8 ${INSTALL_MANPATH}/man8; \ +- chmod 644 ${INSTALL_MANPATH}/man8/hping3.8; \ ++ @[ ! -d ${DESTDIR}/usr/bin ] && install -d ${DESTDIR}/usr/bin ++ cp -f hping3 ${DESTDIR}/usr/bin/ ++ chmod 755 ${DESTDIR}/usr/bin/hping3 ++ ln -s hping3 ${DESTDIR}/usr/bin/hping ++ ln -s hping3 ${DESTDIR}/usr/bin/hping2 ++ @[ ! -d ${DESTDIR}${INSTALL_MANPATH}/man8 ] && install -d ${DESTDIR}${INSTALL_MANPATH}/man8 ++ @if [ -d ${DESTDIR}${INSTALL_MANPATH}/man8 ]; then \ ++ cp ./docs/hping3.8 ${DESTDIR}${INSTALL_MANPATH}/man8; \ ++ chmod 644 ${DESTDIR}${INSTALL_MANPATH}/man8/hping3.8; \ + else \ + echo "@@@@@@ WARNING @@@@@@"; \ +- echo "Can't install the man page: ${INSTALL_MANPATH}/man8 does not exist"; \ ++ echo "Can't install the man page: ${DESTDIR}${INSTALL_MANPATH}/man8 does not exist"; \ + fi + + strip: hping3 diff --git a/network/hping3/patches/README b/network/hping3/patches/README index 34d5da43e4..e94abe6830 100644 --- a/network/hping3/patches/README +++ b/network/hping3/patches/README @@ -1 +1,16 @@ -Thanks to Debian for the patchset :-) +Thanks to Debian for these patches :-) +* bytesex.diff +* data_size_udp.diff +* dontfrag_offbyone.diff +* ip_id_field.diff +* ip_optlen_conflicting_types.diff +* libpcap0.8.diff +* personality.diff +* rtt_icmp_unreachable.diff +* spelling.diff +* spelling_error_in_binary.diff +* tcl.diff +* tcp_mss.diff + +Thanks to Arch Linux for this patch :-) +* Makefile.patch |