summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-17 22:13:12 +0000
committeredwin <edwin@FreeBSD.org>2002-11-17 22:13:12 +0000
commitd7cbbd17cb07aa04451cb48373f2c80ca91da372 (patch)
treefa22cfb3c6fcec11a88b7ef612861512e790e124 /security
parentcf8b161b862cd8e31e39a2e7ab4b8861a40bc927 (diff)
downloadFreeBSD-ports-d7cbbd17cb07aa04451cb48373f2c80ca91da372.zip
FreeBSD-ports-d7cbbd17cb07aa04451cb48373f2c80ca91da372.tar.gz
unbreak on -current
PR: 45374 Submitted by: maintainer
Diffstat (limited to 'security')
-rw-r--r--security/hping/Makefile4
-rw-r--r--security/hping/files/patch-Makefile.in (renamed from security/hping/files/patch-aa)10
-rw-r--r--security/hping/files/patch-configure (renamed from security/hping/files/patch-ab)0
-rw-r--r--security/hping/files/patch-memlockall11
-rw-r--r--security/hping/files/patch-memunlockall11
5 files changed, 30 insertions, 6 deletions
diff --git a/security/hping/Makefile b/security/hping/Makefile
index 21b33c1..f03d3ac 100644
--- a/security/hping/Makefile
+++ b/security/hping/Makefile
@@ -7,7 +7,7 @@
PORTNAME= hping
PORTVERSION= 2.0.0r1
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= security net
MASTER_SITES= http://www.hping.org/
@@ -18,7 +18,7 @@ MAINTAINER= Nicolas.Jombart@hsc-labs.com
WRKSRC= ${WRKDIR}/hping2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --force-libpcap
-USE_GMAKE= yes
+USE_GMAKE= yes
MAN8= hping.8
diff --git a/security/hping/files/patch-aa b/security/hping/files/patch-Makefile.in
index 1f243a1..07e0dd9 100644
--- a/security/hping/files/patch-aa
+++ b/security/hping/files/patch-Makefile.in
@@ -1,10 +1,12 @@
---- Makefile.in.orig Fri Sep 14 22:04:05 2001
-+++ Makefile.in Fri Sep 14 22:05:33 2001
-@@ -7,7 +7,7 @@
+--- Makefile.in.orig Wed Aug 15 04:02:53 2001
++++ Makefile.in Mon Nov 18 09:10:12 2002
+@@ -6,8 +6,8 @@
+ # $date: Sun Jul 25 17:56:15 MET DST 1999$
# $rev: 3$
- CC= gcc
+-CC= gcc
-CCOPT= -O2 -Wall @PCAP_INCLUDE@
++CC?= gcc
+CCOPT= -Wall @CFLAGS@ @PCAP_INCLUDE@
DEBUG= -g
#uncomment the following if you need libpcap based build under linux
diff --git a/security/hping/files/patch-ab b/security/hping/files/patch-configure
index b7dda57..b7dda57 100644
--- a/security/hping/files/patch-ab
+++ b/security/hping/files/patch-configure
diff --git a/security/hping/files/patch-memlockall b/security/hping/files/patch-memlockall
new file mode 100644
index 0000000..e613a3f
--- /dev/null
+++ b/security/hping/files/patch-memlockall
@@ -0,0 +1,11 @@
+--- memlockall.c.orig Sun Nov 17 18:04:44 2002
++++ memlockall.c Sun Nov 17 18:04:43 2002
+@@ -13,7 +13,7 @@
+
+ int memlockall(void)
+ {
+-#ifdef _POSIX_MEMLOCK
++#if _POSIX_MEMLOCK == 1
+ return ( mlockall(MCL_CURRENT|MCL_FUTURE) );
+ #endif
+ return (-1);
diff --git a/security/hping/files/patch-memunlockall b/security/hping/files/patch-memunlockall
new file mode 100644
index 0000000..4a67466
--- /dev/null
+++ b/security/hping/files/patch-memunlockall
@@ -0,0 +1,11 @@
+--- memunlockall.c.orig Sun Nov 17 18:04:44 2002
++++ memunlockall.c Sun Nov 17 18:04:43 2002
+@@ -13,7 +13,7 @@
+
+ int memunlockall(void)
+ {
+-#ifdef _POSIX_MEMLOCK
++#if _POSIX_MEMLOCK == 1
+ return ( munlockall() );
+ #endif
+ return(-1);
OpenPOWER on IntegriCloud