aboutsummaryrefslogtreecommitdiff
path: root/security/openvas-libnasl
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-07-06 18:23:03 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-07-06 18:23:03 +0000
commitc9a77027114809a7c916c7f17091d4f9593599ae (patch)
tree02c2dc6ea8cf949afa0f06367750fe771cbd0948 /security/openvas-libnasl
parentc47e201eb2a141e3654665e5932ade4cb3b98075 (diff)
security/openvas-*:
- Add USES=libtool - Eliminate security/openvas-libraries/Makefile.common - Use /var instead of PREFIX/openvas - Remove $FreeBSD$ from patches security/openvas-client: - Add missing dependencies - Add NLS option - Delete old patches
Notes
Notes: svn path=/head/; revision=360951
Diffstat (limited to 'security/openvas-libnasl')
-rw-r--r--security/openvas-libnasl/Makefile10
-rw-r--r--security/openvas-libnasl/files/patch-configure41
-rw-r--r--security/openvas-libnasl/pkg-plist3
3 files changed, 6 insertions, 48 deletions
diff --git a/security/openvas-libnasl/Makefile b/security/openvas-libnasl/Makefile
index 778c75d7e058..20c9fb4c79ea 100644
--- a/security/openvas-libnasl/Makefile
+++ b/security/openvas-libnasl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openvas-libnasl
PORTVERSION= 2.0.1
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= security
MASTER_SITES= http://wald.intevation.org/frs/download.php/561/
@@ -19,11 +19,11 @@ LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libtasn1.so:${PORTSDIR}/security/libtasn1
GNU_CONFIGURE= yes
+USES= bison iconv libtool pkgconfig
USE_LDCONFIG= yes
-USES= bison iconv pkgconfig
-.include "${.CURDIR}/../../security/openvas-libraries/Makefile.common"
-
-LDFLAGS+= -lgcrypt
+CONFIGURE_ARGS= --localstatedir=/var
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib -lgcrypt
.include <bsd.port.mk>
diff --git a/security/openvas-libnasl/files/patch-configure b/security/openvas-libnasl/files/patch-configure
deleted file mode 100644
index a5f2b80264d3..000000000000
--- a/security/openvas-libnasl/files/patch-configure
+++ /dev/null
@@ -1,41 +0,0 @@
-
-$FreeBSD$
-
---- configure.orig
-+++ configure
-@@ -7990,7 +7990,7 @@
- *) objformat=elf ;;
- esac
- fi
-- version_type=freebsd-$objformat
-+ version_type=freebsd-elf
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-@@ -11900,7 +11900,7 @@
- *) objformat=elf ;;
- esac
- fi
-- version_type=freebsd-$objformat
-+ version_type=freebsd-elf
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-@@ -14472,7 +14472,7 @@
- *) objformat=elf ;;
- esac
- fi
-- version_type=freebsd-$objformat
-+ version_type=freebsd-elf
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-@@ -17051,7 +17051,7 @@
- *) objformat=elf ;;
- esac
- fi
-- version_type=freebsd-$objformat
-+ version_type=freebsd-elf
- case $version_type in
- freebsd-elf*)
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
diff --git a/security/openvas-libnasl/pkg-plist b/security/openvas-libnasl/pkg-plist
index ef81680c9306..945f548b335e 100644
--- a/security/openvas-libnasl/pkg-plist
+++ b/security/openvas-libnasl/pkg-plist
@@ -2,9 +2,8 @@ bin/openvas-libnasl-config
bin/openvas-nasl
include/openvas/nasl.h
lib/libopenvasnasl.a
-lib/libopenvasnasl.la
lib/libopenvasnasl.so
lib/libopenvasnasl.so.2
+lib/libopenvasnasl.so.2.0.1
man/man1/openvas-libnasl-config.1.gz
man/man1/openvas-nasl.1.gz
-@dirrmtry include/openvas