aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-11-27 20:25:56 +0800
committerolgeni <olgeni@FreeBSD.org>2001-11-27 20:25:56 +0800
commitea11ee1d3cb43b48be49e8b6b7956142c4f41b7e (patch)
tree94d52defcaec19c4b0fc74de63cd7af3f438471f /security
parent184c5ce85c64e038181d8bfe1580c9d9d26d8d5e (diff)
downloadfreebsd-ports-gnome-ea11ee1d3cb43b48be49e8b6b7956142c4f41b7e.tar.gz
freebsd-ports-gnome-ea11ee1d3cb43b48be49e8b6b7956142c4f41b7e.tar.zst
freebsd-ports-gnome-ea11ee1d3cb43b48be49e8b6b7956142c4f41b7e.zip
Fix a problem linking libc too late, which caused calling the wrong getopt
function and broke nasl command line handling. PR: 31977 Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
Diffstat (limited to 'security')
-rw-r--r--security/nessus-libraries/Makefile1
-rw-r--r--security/nessus-libraries/files/patch-aa11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/nessus-libraries/Makefile b/security/nessus-libraries/Makefile
index 6cb7752ee494..56314a29592e 100644
--- a/security/nessus-libraries/Makefile
+++ b/security/nessus-libraries/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nessus-libraries
PORTVERSION= 1.0.9
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.cis.fed.gov/pub/nessus/nessus-${PORTVERSION}/src/ \
ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
diff --git a/security/nessus-libraries/files/patch-aa b/security/nessus-libraries/files/patch-aa
new file mode 100644
index 000000000000..91463f7c5ade
--- /dev/null
+++ b/security/nessus-libraries/files/patch-aa
@@ -0,0 +1,11 @@
+--- nessus-config.pre.in.orig Fri Nov 17 20:46:14 2000
++++ nessus-config.pre.in Wed Nov 14 12:01:46 2001
+@@ -45,7 +45,7 @@
+ ;;
+ --libs)
+
+- echo $Xn "-L$LIBDIR -lnessus -lhosts_gatherer @pcap_flag@ $CIPHER $EXTRA $Xc"
++ echo $Xn "-lc -L$LIBDIR -lnessus -lhosts_gatherer @pcap_flag@ $CIPHER $EXTRA $Xc"
+ ;;
+ --cflags)
+ echo $Xn "-I$INCLUDEDIR $DEFS -I$INCLUDEDIR/nessus $CIPHER_CFLAGS $Xc"