diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-07 10:29:17 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-07 10:29:17 +0000 |
commit | 09efa720826020c88d95ad311c12f9d3e3cf4d94 (patch) | |
tree | 2dca66588cd14d6caac3253bd4de2fc37a2b480e /security/nessus-libnasl | |
parent | 98ef8ab65fe68e38c900c5baaf9f74591a9f9db0 (diff) | |
download | ports-09efa720826020c88d95ad311c12f9d3e3cf4d94.tar.gz ports-09efa720826020c88d95ad311c12f9d3e3cf4d94.zip |
Notes
Diffstat (limited to 'security/nessus-libnasl')
-rw-r--r-- | security/nessus-libnasl/Makefile | 7 | ||||
-rw-r--r-- | security/nessus-libnasl/files/patch-libtool | 25 | ||||
-rw-r--r-- | security/nessus-libnasl/files/patch-nasl-Makefile | 11 | ||||
-rw-r--r-- | security/nessus-libnasl/pkg-plist | 4 |
4 files changed, 16 insertions, 31 deletions
diff --git a/security/nessus-libnasl/Makefile b/security/nessus-libnasl/Makefile index 8077c0689f69..77e5362b7ef6 100644 --- a/security/nessus-libnasl/Makefile +++ b/security/nessus-libnasl/Makefile @@ -3,7 +3,7 @@ PORTNAME= nessus-libnasl PORTVERSION= 2.2.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \ ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \ @@ -20,10 +20,9 @@ LICENSE= GPLv2 LIB_DEPENDS= libnessus.so:${PORTSDIR}/security/nessus-libraries -WRKSRC= ${WRKDIR}/libnasl -USE_AUTOTOOLS= libtool -USES= bison GNU_CONFIGURE= yes +USES= bison libtool USE_LDCONFIG= YES +WRKSRC= ${WRKDIR}/libnasl .include <bsd.port.mk> diff --git a/security/nessus-libnasl/files/patch-libtool b/security/nessus-libnasl/files/patch-libtool deleted file mode 100644 index bf833f83d89c..000000000000 --- a/security/nessus-libnasl/files/patch-libtool +++ /dev/null @@ -1,25 +0,0 @@ ---- nasl/Makefile.orig 2005-02-10 17:03:51.000000000 +0100 -+++ nasl/Makefile 2012-01-29 10:29:13.000000000 +0100 -@@ -88,10 +88,11 @@ - nasl_server.c \ - nasl_debug.c - --COMPILE = $(LIBTOOL) $(CC) $(CFLAGS) $(NESSUS_INCLUDE) -+COMPILE = $(LIBTOOL) --mode compile $(CC) $(CFLAGS) $(NESSUS_INCLUDE) -+LINK = $(LIBTOOL) --mode link $(CC) $(CFLAGS) $(NESSUS_INCLUDE) - all : cflags libnasl.la nasl - --.c.o: -+.c.o: cflags - $(COMPILE) -c $< - cflags : - @echo "echo \"$(NESSUS_CFLAGS) $(include) $(DEFS) \"" > cflags -@@ -101,7 +102,7 @@ - $(CC) $(CFLAGS) $(NESSUS_INCLUDE) $(include) -o nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS) - - libnasl.la : cflags $(OBJS) -- $(COMPILE) $(NESSUS_LIBS) -o libnasl.la $(LO_OBJS) -rpath ${libdir} \ -+ $(LINK) $(NESSUS_LIBS) -o libnasl.la $(LO_OBJS) -rpath ${libdir} \ - -version-info ${PACKAGE_VERSION} - - install : libnasl.la nasl diff --git a/security/nessus-libnasl/files/patch-nasl-Makefile b/security/nessus-libnasl/files/patch-nasl-Makefile new file mode 100644 index 000000000000..6dc64a07bc8c --- /dev/null +++ b/security/nessus-libnasl/files/patch-nasl-Makefile @@ -0,0 +1,11 @@ +--- nasl/Makefile.orig 2005-02-10 17:03:51.000000000 +0100 ++++ nasl/Makefile 2012-01-29 10:29:13.000000000 +0100 +@@ -91,7 +91,7 @@ + COMPILE = $(LIBTOOL) $(CC) $(CFLAGS) $(NESSUS_INCLUDE) + all : cflags libnasl.la nasl + +-.c.o: ++.c.o: cflags + $(COMPILE) -c $< + cflags : + @echo "echo \"$(NESSUS_CFLAGS) $(include) $(DEFS) \"" > cflags diff --git a/security/nessus-libnasl/pkg-plist b/security/nessus-libnasl/pkg-plist index d2bbb33a170d..2506dcaf0db3 100644 --- a/security/nessus-libnasl/pkg-plist +++ b/security/nessus-libnasl/pkg-plist @@ -2,9 +2,9 @@ bin/nasl bin/nasl-config include/nessus/nasl.h lib/libnasl.a -lib/libnasl.la lib/libnasl.so -lib/libnasl.so.4 +lib/libnasl.so.2 +lib/libnasl.so.2.2.9 man/man1/nasl.1.gz man/man1/nasl-config.1.gz var/nessus/nessus_org.pem |