[arch-commits] Commit in hping/repos (3 files)

Eric Belanger eric at archlinux.org
Sun Aug 17 00:53:11 UTC 2008


    Date: Saturday, August 16, 2008 @ 20:53:10
  Author: eric
Revision: 8931

Merged revisions 2-8930 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/hping/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r8930 | eric | 2008-08-16 20:52:58 -0400 (Sat, 16 Aug 2008) | 1 line
  
  adding md5sums
........

Added:
  hping/repos/extra-i686/bytesex.h.patch
    (from rev 8930, hping/trunk/bytesex.h.patch)
Modified:
  hping/repos/extra-i686/	(properties)
  hping/repos/extra-i686/PKGBUILD

-----------------+
 PKGBUILD        |    9 +++++++--
 bytesex.h.patch |   18 ++++++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)


Property changes on: hping/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /hping/trunk:1
   + /hping/trunk:1-8930

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-08-17 00:52:58 UTC (rev 8930)
+++ extra-i686/PKGBUILD	2008-08-17 00:53:10 UTC (rev 8931)
@@ -5,13 +5,18 @@
 pkgextra=rc3
 pkgrel=2
 pkgdesc="hping is a command-line oriented TCP/IP packet assembler/analyzer."
+arch=(i686 x86_64)
 url="http://www.hping.org"
 depends=('glibc')
-source=(http://www.hping.org/$pkgname$pkgver-$pkgextra.tar.gz Makefile.patch)
-md5sums=('029bf240f2e0545b664b2f8b9118d9e8' '1b96ae1b7f8573f2b8fad41a5dae2503')
+source=(http://www.hping.org/$pkgname$pkgver-$pkgextra.tar.gz Makefile.patch bytesex.h.patch)
+md5sums=('029bf240f2e0545b664b2f8b9118d9e8' '1b96ae1b7f8573f2b8fad41a5dae2503'\
+         '8af8e336819df1447b0c1b879a704be9')
 
 build() {
   cd $startdir/src/hping2-$pkgextra
+
+  [ "$CARCH" == "x86_64" ] && patch -Np1 -i ../bytesex.h.patch || return 1
+
   ./configure
   patch -p0 < ../Makefile.patch
   make || return 1

Copied: hping/repos/extra-i686/bytesex.h.patch (from rev 8930, hping/trunk/bytesex.h.patch)
===================================================================
--- extra-i686/bytesex.h.patch	                        (rev 0)
+++ extra-i686/bytesex.h.patch	2008-08-17 00:53:10 UTC (rev 8931)
@@ -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