summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-07-05 05:02:10 +0000
committerdholland <dholland@pkgsrc.org>2011-07-05 05:02:10 +0000
commit612241c3487ebb93d61ff1ee02516e2314e22f14 (patch)
treec0da14862e14b4a639f401180cda67f422b8b1be /security
parentc803ffb2fd4a0d0071c7e69fdc8959419ed6bae6 (diff)
downloadpkgsrc-612241c3487ebb93d61ff1ee02516e2314e22f14.tar.gz
Fix broken build. Needs explicit -lgcrypt. Add comment to patch-aa.
Diffstat (limited to 'security')
-rw-r--r--security/openvas-libnasl/distinfo5
-rw-r--r--security/openvas-libnasl/patches/patch-aa4
-rw-r--r--security/openvas-libnasl/patches/patch-nasl_Makefile15
3 files changed, 21 insertions, 3 deletions
diff --git a/security/openvas-libnasl/distinfo b/security/openvas-libnasl/distinfo
index 25af414b362..dc2fcbc538d 100644
--- a/security/openvas-libnasl/distinfo
+++ b/security/openvas-libnasl/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2011/07/05 05:02:10 dholland Exp $
SHA1 (openvas-libnasl-2.0.0.tar.gz) = 91d6e0c9e6686aaba6b9bc64df3a941f703381af
RMD160 (openvas-libnasl-2.0.0.tar.gz) = 4f1933bfa2c4cdfdd8047e2e5572ed0f045b7719
Size (openvas-libnasl-2.0.0.tar.gz) = 497973 bytes
-SHA1 (patch-aa) = 6806a22757a48a53faa278342e6ea1098e0a5bad
+SHA1 (patch-aa) = da45176003eaf27c61b707a17cef48ee2fcb95da
+SHA1 (patch-nasl_Makefile) = 395a2da0af5249c9cce0e916f1c0f641bc183a21
diff --git a/security/openvas-libnasl/patches/patch-aa b/security/openvas-libnasl/patches/patch-aa
index d316975ee0e..ec33d64764c 100644
--- a/security/openvas-libnasl/patches/patch-aa
+++ b/security/openvas-libnasl/patches/patch-aa
@@ -1,4 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/01/04 01:09:31 adrianp Exp $
+$NetBSD: patch-aa,v 1.2 2011/07/05 05:02:10 dholland Exp $
+
+Remove bashism.
--- test/test_script_signing.sh.orig 2008-06-30 11:55:03.000000000 +0100
+++ test/test_script_signing.sh
diff --git a/security/openvas-libnasl/patches/patch-nasl_Makefile b/security/openvas-libnasl/patches/patch-nasl_Makefile
new file mode 100644
index 00000000000..3c248ca4092
--- /dev/null
+++ b/security/openvas-libnasl/patches/patch-nasl_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-nasl_Makefile,v 1.1 2011/07/05 05:02:10 dholland Exp $
+
+Fix broken build; needs libgcrypt.
+
+--- nasl/Makefile~ 2008-12-16 13:06:34.000000000 +0000
++++ nasl/Makefile
+@@ -93,7 +93,7 @@ all : libopenvasnasl.la openvas-nasl
+ $(COMPILE) -c $<
+
+ openvas-nasl : $(OBJS) libopenvasnasl.la nasl.c
+- $(LINK) -o openvas-nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS)
++ $(LINK) -o openvas-nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS) -lgcrypt
+
+ libopenvasnasl.la : $(OBJS)
+ $(LINK) $(NESSUS_LIBS) -o libopenvasnasl.la $(LO_OBJS) -rpath ${libdir} \