diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-17 22:13:12 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-17 22:13:12 +0000 |
commit | 199e495edebd646519baf8c822b2aeb71533f22e (patch) | |
tree | d4a20f62f07a7275d2695d97918760f86e711ae5 /security | |
parent | Add the pkg-descr for the slave port, mozilla-devel-gtk2. (diff) |
unbreak on -current
PR: 45374
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=70328
Diffstat (limited to 'security')
-rw-r--r-- | security/hping/Makefile | 4 | ||||
-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-memlockall | 11 | ||||
-rw-r--r-- | security/hping/files/patch-memunlockall | 11 |
5 files changed, 30 insertions, 6 deletions
diff --git a/security/hping/Makefile b/security/hping/Makefile index 21b33c1758d9..f03d3ac04b99 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 1f243a1a18fe..07e0dd9d3ddc 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 b7dda57f7370..b7dda57f7370 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 000000000000..e613a3f17a22 --- /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 000000000000..4a67466433f7 --- /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); |