commit hping for openSUSE:Factory
Hello community,
here is the log from the commit of package hping for openSUSE:Factory
checked in at Tue Oct 4 18:11:59 CEST 2011.
--------
--- openSUSE:Factory/hping/hping.changes 2011-09-23 02:02:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/hping/hping.changes 2011-10-02 01:18:11.000000000 +0200
@@ -1,0 +2,10 @@
+Sat Oct 1 23:16:39 UTC 2011 - crrodriguez@opensuse.org
+
+- Complete last change, missing some macro definitions
+
+-------------------------------------------------------------------
+Sat Oct 1 19:09:31 UTC 2011 - crrodriguez@opensuse.org
+
+- Fix build in arm, cleanly by adding autotools scripts.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hping.spec ++++++
--- /var/tmp/diff_new_pack.tjUtoA/_old 2011-10-04 18:11:55.000000000 +0200
+++ /var/tmp/diff_new_pack.tjUtoA/_new 2011-10-04 18:11:55.000000000 +0200
@@ -44,7 +44,7 @@
send files between a covered channel, and many other features.
%prep
-%setup -n %{name}%{version}-20051105
+%setup -q -n %{name}%{version}-20051105
%patch0 -p0
%patch1 -p0
%patch2 -p1
@@ -52,13 +52,12 @@
%patch4 -p0
%build
+autoreconf -fiv
%configure
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
%install
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
-install hping3 $RPM_BUILD_ROOT%{_sbindir}
-install -m0644 docs/hping3.8 $RPM_BUILD_ROOT%{_mandir}/man8
+%makeinstall
%files
%defattr(-,root,root)
++++++ hping-build-fix.patch ++++++
--- /var/tmp/diff_new_pack.tjUtoA/_old 2011-10-04 18:11:55.000000000 +0200
+++ /var/tmp/diff_new_pack.tjUtoA/_new 2011-10-04 18:11:55.000000000 +0200
@@ -1,6 +1,6 @@
---- ars.c 2010-08-20 18:51:02.000000000 +0200
-+++ ars.c 2010-08-20 18:27:49.000000000 +0200
-@@ -481,8 +481,8 @@
+--- ars.c.orig
++++ ars.c
+@@ -481,8 +481,8 @@ u_int16_t ars_multi_cksum(struct mc_cont
sum = (sum >> 16) + (sum & 0xffff);
sum += (sum >> 16);
return (u_int16_t) ~sum;
@@ -11,9 +11,9 @@
}
return 0; /* unreached, here to prevent warnings */
}
---- scan.c 2003-10-22 12:41:00.000000000 +0200
-+++ scan.c 2010-08-20 20:01:09.000000000 +0200
-@@ -456,7 +456,7 @@
+--- scan.c.orig
++++ scan.c
+@@ -456,7 +456,7 @@ static void receiver(struct portinfo *pi
continue;
/* time to copy headers in a safe place */
p = packet+linkhdr_size+iphdrlen;
@@ -22,3 +22,326 @@
p += sizeof(icmp);
memcpy(&subip, p, sizeof(ip));
p += sizeof(ip);
+--- bytesex.h.orig
++++ bytesex.h
+@@ -7,20 +7,10 @@
+ #ifndef ARS_BYTESEX_H
+ #define ARS_BYTESEX_H
+
+-#if defined(__i386__) \
+- || defined(__alpha__) \
+- || defined(__x86_64__) \
+- || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
+-#define BYTE_ORDER_LITTLE_ENDIAN
+-#elif defined(__mc68000__) \
+- || defined (__sparc__) \
+- || defined (__sparc) \
+- || defined (__PPC__) \
+- || defined (__BIG_ENDIAN__) \
+- || (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
++#if defined(WORDS_BIGENDIAN)
+ #define BYTE_ORDER_BIG_ENDIAN
+-#else
+-# error can not find the byte order for this architecture, fix bytesex.h
++#else
++#define BYTE_ORDER_LITTLE_ENDIAN
+ #endif
+
+ #endif /* ARS_BYTESEX_H */
+--- /dev/null
++++ configure.ac
+@@ -0,0 +1,39 @@
++# -*- Autoconf -*-
++# Process this file with autoconf to produce a configure script.
++
++AC_PREREQ([2.68])
++AC_INIT([hping3], [20051105], [http://www.hping.org/])
++AC_CONFIG_SRCDIR([statistics.c])
++AC_CONFIG_HEADERS([config.h])
++AM_INIT_AUTOMAKE([foreign])
++# Checks for programs.
++AC_PROG_CC_STDC
++AC_USE_SYSTEM_EXTENSIONS
++AC_SYS_LARGEFILE
++AC_C_BIGENDIAN
++AC_PROG_INSTALL
++AC_PROG_LN_S
++AC_PROG_RANLIB
++
++
++# Checks for header files.
++AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])
++
++# Checks for typedefs, structures, and compiler characteristics.
++AC_TYPE_INT32_T
++AC_TYPE_INT64_T
++AC_TYPE_INT8_T
++AC_TYPE_SIZE_T
++
++# Checks for library functions.
++AC_FUNC_ALLOCA
++AC_FUNC_FORK
++AC_FUNC_MALLOC
++AC_FUNC_REALLOC
++AC_CHECK_FUNCS([alarm floor gethostbyaddr gethostbyname gettimeofday inet_ntoa memmove memset select socket strcasecmp strchr strdup strerror strstr strtol strtoul])
++AC_SEARCH_LIBS(pcap_version, pcap)
++AC_SEARCH_LIBS(dlopen, dl)
++AC_SEARCH_LIBS(Tcl_EvalObjEx, tcl tcl8.6 tcl8.5 tcl8.4 tcl8.3 tcl8.2 tcl8.1 tcl8.0, [AC_DEFINE([USE_TCL], [1], [TCL support is enabled])])
++AC_CONFIG_FILES([Makefile])
++
++AC_OUTPUT
+--- configure
++++ /dev/null
+@@ -1,166 +0,0 @@
+-#!/bin/sh
+-
+-show_help()
+-{
+- echo configure help:
+- echo "--help show this help"
+- echo "--no-tcl disable TCL scripting support"
+- echo " even if uid != euid"
+-}
+-
+-if [ "$1" = "--help" ]; then
+- show_help
+- exit 0
+-fi
+-
+-CC=${CC:=cc}
+-
+-echo build byteorder.c...
+-$CC byteorder.c -o byteorder || exit 1
+-
+-INSTALL_MANPATH=`echo $MANPATH|cut -f1 -d:`
+-if [ "$INSTALL_MANPATH" = "" ]; then
+- INSTALL_MANPATH="/usr/local/man"
+-fi
+-BYTEORDER=`./byteorder -m`
+-
+-echo create byteorder.h...
+-cat > byteorder.h <
participants (1)
-
root@hilbert.suse.de