summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-11-27 12:25:56 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-11-27 12:25:56 +0000
commitab0777520c8deb933580b33cb87c0b536bddadf9 (patch)
treed01eccd18e69939ec57ad223ce5d9c3bf65bde27 /security
parentUpdated MASTER_SITES and changed my email address from ernst@jollem.com to zn... (diff)
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>
Notes
Notes: svn path=/head/; revision=50629
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"