FreeBSD Bugzilla – Attachment 26586 Details for
Bug 45374
security/hping: fix bento build for -CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
hping.diff
hping.diff (text/plain), 3.51 KB, created by
Nicolas Jombart
on 2002-11-17 17:40:01 UTC
(
hide
)
Description:
hping.diff
Filename:
MIME Type:
Creator:
Nicolas Jombart
Created:
2002-11-17 17:40:01 UTC
Size:
3.51 KB
patch
obsolete
>diff -ruN /usr/ports/security/hping/Makefile hping/Makefile >--- /usr/ports/security/hping/Makefile Mon Sep 17 07:50:40 2001 >+++ hping/Makefile Sun Nov 17 18:09:36 2002 >@@ -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 @@ > WRKSRC= ${WRKDIR}/hping2 > GNU_CONFIGURE= yes > CONFIGURE_ARGS+= --force-libpcap >-USE_GMAKE= yes >+USE_GMAKE= yes > > MAN8= hping.8 > >diff -ruN /usr/ports/security/hping/files/patch-Makefile.in hping/files/patch-Makefile.in >--- /usr/ports/security/hping/files/patch-Makefile.in Thu Jan 1 01:00:00 1970 >+++ hping/files/patch-Makefile.in Sun Nov 17 18:04:43 2002 >@@ -0,0 +1,11 @@ >+--- Makefile.in.orig Fri Sep 14 22:04:05 2001 >++++ Makefile.in Fri Sep 14 22:05:33 2001 >+@@ -7,7 +7,7 @@ >+ # $rev: 3$ >+ >+ CC= gcc >+-CCOPT= -O2 -Wall @PCAP_INCLUDE@ >++CCOPT= -Wall @CFLAGS@ @PCAP_INCLUDE@ >+ DEBUG= -g >+ #uncomment the following if you need libpcap based build under linux >+ #(not raccomanded) >diff -ruN /usr/ports/security/hping/files/patch-aa hping/files/patch-aa >--- /usr/ports/security/hping/files/patch-aa Mon Sep 17 07:50:42 2001 >+++ hping/files/patch-aa Thu Jan 1 01:00:00 1970 >@@ -1,11 +0,0 @@ >---- Makefile.in.orig Fri Sep 14 22:04:05 2001 >-+++ Makefile.in Fri Sep 14 22:05:33 2001 >-@@ -7,7 +7,7 @@ >- # $rev: 3$ >- >- CC= gcc >--CCOPT= -O2 -Wall @PCAP_INCLUDE@ >-+CCOPT= -Wall @CFLAGS@ @PCAP_INCLUDE@ >- DEBUG= -g >- #uncomment the following if you need libpcap based build under linux >- #(not raccomanded) >diff -ruN /usr/ports/security/hping/files/patch-ab hping/files/patch-ab >--- /usr/ports/security/hping/files/patch-ab Mon Sep 17 07:50:42 2001 >+++ hping/files/patch-ab Thu Jan 1 01:00:00 1970 >@@ -1,10 +0,0 @@ >---- configure.orig Fri Sep 14 22:04:25 2001 >-+++ configure Fri Sep 14 22:05:02 2001 >-@@ -99,6 +99,7 @@ >- -e "s^@PCAP_INCLUDE@^$PCAP_INCLUDE^g" \ >- -e "s^@MANPATH@^$INSTALL_MANPATH^g" \ >- -e "s^@SOLARISLIB@^$SOLARISLIB^g" \ >-+ -e "s^@CFLAGS@^$CFLAGS^g" \ >- <Makefile.in > Makefile >- >- # >diff -ruN /usr/ports/security/hping/files/patch-configure hping/files/patch-configure >--- /usr/ports/security/hping/files/patch-configure Thu Jan 1 01:00:00 1970 >+++ hping/files/patch-configure Sun Nov 17 18:04:43 2002 >@@ -0,0 +1,10 @@ >+--- configure.orig Fri Sep 14 22:04:25 2001 >++++ configure Fri Sep 14 22:05:02 2001 >+@@ -99,6 +99,7 @@ >+ -e "s^@PCAP_INCLUDE@^$PCAP_INCLUDE^g" \ >+ -e "s^@MANPATH@^$INSTALL_MANPATH^g" \ >+ -e "s^@SOLARISLIB@^$SOLARISLIB^g" \ >++ -e "s^@CFLAGS@^$CFLAGS^g" \ >+ <Makefile.in > Makefile >+ >+ # >diff -ruN /usr/ports/security/hping/files/patch-memlockall hping/files/patch-memlockall >--- /usr/ports/security/hping/files/patch-memlockall Thu Jan 1 01:00:00 1970 >+++ hping/files/patch-memlockall Sun Nov 17 18:05:08 2002 >@@ -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 -ruN /usr/ports/security/hping/files/patch-memunlockall hping/files/patch-memunlockall >--- /usr/ports/security/hping/files/patch-memunlockall Thu Jan 1 01:00:00 1970 >+++ hping/files/patch-memunlockall Sun Nov 17 18:05:20 2002 >@@ -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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45374
: 26586