[arch-commits] Commit in hping/repos/community-x86_64 (6 files)

Kpcyrd kpcyrd at archlinux.org
Tue May 5 18:44:32 UTC 2020


    Date: Tuesday, May 5, 2020 @ 18:44:32
  Author: kpcyrd
Revision: 624958

archrelease: copy trunk to community-x86_64

Added:
  hping/repos/community-x86_64/Makefile.patch
    (from rev 624957, hping/trunk/Makefile.patch)
  hping/repos/community-x86_64/PKGBUILD
    (from rev 624957, hping/trunk/PKGBUILD)
  hping/repos/community-x86_64/bytesex.h.patch
    (from rev 624957, hping/trunk/bytesex.h.patch)
Deleted:
  hping/repos/community-x86_64/Makefile.patch
  hping/repos/community-x86_64/PKGBUILD
  hping/repos/community-x86_64/bytesex.h.patch

-----------------+
 Makefile.patch  |   60 +++++++++++++++++++++---------------------
 PKGBUILD        |   77 ++++++++++++++++++++++++++++--------------------------
 bytesex.h.patch |   36 ++++++++++++-------------
 3 files changed, 89 insertions(+), 84 deletions(-)

Deleted: Makefile.patch
===================================================================
--- Makefile.patch	2020-05-05 18:44:20 UTC (rev 624957)
+++ Makefile.patch	2020-05-05 18:44:32 UTC (rev 624958)
@@ -1,30 +0,0 @@
-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

Copied: hping/repos/community-x86_64/Makefile.patch (from rev 624957, hping/trunk/Makefile.patch)
===================================================================
--- Makefile.patch	                        (rev 0)
+++ Makefile.patch	2020-05-05 18:44:32 UTC (rev 624958)
@@ -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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-05 18:44:20 UTC (rev 624957)
+++ PKGBUILD	2020-05-05 18:44:32 UTC (rev 624958)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-
-pkgname=hping
-pkgver=3.0.0
-pkgrel=4
-pkgdesc='A command-line oriented TCP/IP packet assembler/analyzer.'
-arch=('x86_64')
-url='http://www.hping.org'
-license=('GPL2' 'BSD')
-depends=('libpcap')
-source=("http://www.hping.org/hping3-20051105.tar.gz"
-        'Makefile.patch'
-        'bytesex.h.patch')
-md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747'
-         '339a38f86169d1b9344287a85201afbe'
-         '8af8e336819df1447b0c1b879a704be9')
-
-build() {
-  cd "${srcdir}/hping3-20051105"
-
-  [[ "$CARCH" == "x86_64" ]] && patch -Np1 -i ../bytesex.h.patch
-
-  MANPATH=/usr/share/man ./configure --no-tcl
-  make
-}
-
-package() {
-  cd "${srcdir}/hping3-20051105"
-
-  patch -p1 < ../Makefile.patch
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: hping/repos/community-x86_64/PKGBUILD (from rev 624957, hping/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-05 18:44:32 UTC (rev 624958)
@@ -0,0 +1,41 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=hping
+pkgver=3.0.0
+pkgrel=5
+pkgdesc='A command-line oriented TCP/IP packet assembler/analyzer.'
+arch=('x86_64')
+url='http://www.hping.org'
+license=('GPL2' 'BSD')
+depends=('libpcap')
+source=("http://www.hping.org/hping3-20051105.tar.gz"
+        'Makefile.patch'
+        'bytesex.h.patch')
+md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747'
+         '339a38f86169d1b9344287a85201afbe'
+         '8af8e336819df1447b0c1b879a704be9')
+sha256sums=('f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8'
+            'd50891759baca0e7934a11f77a15e1b7694f7ac0445151408221e43ba0a2097e'
+            'e994c326fc85928b6cde34eebf3c21fe6597ca3e7fd1d772d629949ddb20bf68')
+b2sums=('b99b7d2310e1706926ec5c649cd03a8889e3cff36f2a8e1f899799ddb1f4e6e432ab2b83c82b741ab827f715dbf8649a94831e75ef22793c7730e80d49c576c1'
+        'af5a102935f09ceb3bc81e21172872440ed3df65e90bb7b3078c979c7a865ac388572ea01ce7d09af068b74825bf8c821cbbdb5f083590077d8fecaf9169b14d'
+        '3b2ebd1516e53ef05c73f9c228df179d6bfbc0134cf1d89e638e060324dcf289d23788a7d702098e5a85d4b66a49b82d16f8086f7c976d9bad3f5be3203de92c')
+
+build() {
+  cd "${srcdir}/hping3-20051105"
+
+  [[ "$CARCH" == "x86_64" ]] && patch -Np1 -i ../bytesex.h.patch
+
+  MANPATH=/usr/share/man ./configure --no-tcl
+  make
+}
+
+package() {
+  cd "${srcdir}/hping3-20051105"
+
+  patch -p1 < ../Makefile.patch
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: bytesex.h.patch
===================================================================
--- bytesex.h.patch	2020-05-05 18:44:20 UTC (rev 624957)
+++ bytesex.h.patch	2020-05-05 18:44:32 UTC (rev 624958)
@@ -1,18 +0,0 @@
-diff -uNr hping2-rc3.orig/bytesex.h hping2-rc3/bytesex.h
---- hping2-rc3.orig/bytesex.h	2004-07-29 15:46:47.572596272 +0000
-+++ hping2-rc3/bytesex.h	2004-07-29 15:48:14.557372576 +0000
-@@ -9,11 +9,14 @@
- 
- #if 	defined(__i386__) \
- 	|| defined(__alpha__) \
-+	|| 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__)))

Copied: hping/repos/community-x86_64/bytesex.h.patch (from rev 624957, hping/trunk/bytesex.h.patch)
===================================================================
--- bytesex.h.patch	                        (rev 0)
+++ bytesex.h.patch	2020-05-05 18:44:32 UTC (rev 624958)
@@ -0,0 +1,18 @@
+diff -uNr hping2-rc3.orig/bytesex.h hping2-rc3/bytesex.h
+--- hping2-rc3.orig/bytesex.h	2004-07-29 15:46:47.572596272 +0000
++++ hping2-rc3/bytesex.h	2004-07-29 15:48:14.557372576 +0000
+@@ -9,11 +9,14 @@
+ 
+ #if 	defined(__i386__) \
+ 	|| defined(__alpha__) \
++	|| 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__)))


More information about the arch-commits mailing list