[51748] trunk/dports/security

ryandesign at macports.org ryandesign at macports.org
Tue Jun 2 02:56:33 PDT 2009


Revision: 51748
          http://trac.macports.org/changeset/51748
Author:   ryandesign at macports.org
Date:     2009-06-02 02:56:33 -0700 (Tue, 02 Jun 2009)
Log Message:
-----------
openvas-client, openvas-libnasl, openvas-libraries, openvas-server: new ports

Added Paths:
-----------
    trunk/dports/security/openvas-client/
    trunk/dports/security/openvas-client/Portfile
    trunk/dports/security/openvas-libnasl/
    trunk/dports/security/openvas-libnasl/Portfile
    trunk/dports/security/openvas-libnasl/files/
    trunk/dports/security/openvas-libnasl/files/patch-openvas-libnasl-config.in.diff
    trunk/dports/security/openvas-libraries/
    trunk/dports/security/openvas-libraries/Portfile
    trunk/dports/security/openvas-libraries/files/
    trunk/dports/security/openvas-libraries/files/patch-libtool-mode.diff
    trunk/dports/security/openvas-libraries/files/patch-pcap.c.diff
    trunk/dports/security/openvas-server/
    trunk/dports/security/openvas-server/Portfile

Added: trunk/dports/security/openvas-client/Portfile
===================================================================
--- trunk/dports/security/openvas-client/Portfile	                        (rev 0)
+++ trunk/dports/security/openvas-client/Portfile	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,28 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    openvas-client
+version                 2.0.3
+set download_id         575
+platforms               darwin
+categories              security
+maintainers             ryandesign
+homepage                http://www.openvas.org/
+master_sites            http://wald.intevation.org/frs/download.php/${download_id}
+
+checksums \
+    md5     dfddebca8aa81b6136d84084a60203d3 \
+    sha1    8339f3a1e0462443580d720cf9cb2f7c020dfd73 \
+    rmd160  a52e21bce348e53a25ebcfeab5dc6ba910d612d7
+
+depends_build \
+    path:bin/pkg-config:pkgconfig \
+    bin:grep:grep
+
+depends_lib \
+    path:bin/gdlib-config:gd2 \
+    path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
+    path:lib/pkgconfig/openssl.pc:openssl
+
+use_parallel_build      yes


Property changes on: trunk/dports/security/openvas-client/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/security/openvas-libnasl/Portfile
===================================================================
--- trunk/dports/security/openvas-libnasl/Portfile	                        (rev 0)
+++ trunk/dports/security/openvas-libnasl/Portfile	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,31 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    openvas-libnasl
+version                 2.0.1
+set download_id         561
+platforms               darwin
+categories              security
+maintainers             ryandesign
+homepage                http://www.openvas.org/
+master_sites            http://wald.intevation.org/frs/download.php/${download_id}
+
+checksums \
+    md5     658c730b902a04f2e2d057a303c2e6f3 \
+    sha1    b62b3d3fb0a657bd024dc557af1fe7972131031a \
+    rmd160  5ca47fe481548cbe08533168ab3c836b534da988
+
+depends_build \
+    path:bin/pkg-config:pkgconfig \
+    path:bin/bison:bison \
+    path:bin/gsed:gsed
+
+depends_lib \
+    path:bin/gpgme-config:gpgme \
+    path:bin/libopenvas-config:openvas-libraries
+
+patchfiles \
+    patch-openvas-libnasl-config.in.diff
+
+use_parallel_build      yes


Property changes on: trunk/dports/security/openvas-libnasl/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/security/openvas-libnasl/files/patch-openvas-libnasl-config.in.diff
===================================================================
--- trunk/dports/security/openvas-libnasl/files/patch-openvas-libnasl-config.in.diff	                        (rev 0)
+++ trunk/dports/security/openvas-libnasl/files/patch-openvas-libnasl-config.in.diff	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,11 @@
+--- openvas-libnasl-config.in	2009-01-26 01:24:47.000000000 -0600
++++ openvas-libnasl-config.in	2009-06-02 04:06:00.000000000 -0500
+@@ -35,7 +35,7 @@
+ LIBDIR=@libdir@
+ INCLUDEDIR=@includedir@
+ VERSION=@version@
+-LIBS="@LIBS@"
++LIBS="-L at prefix@/lib -lgcrypt @LIBS@"
+ 
+ usage()
+ {

Added: trunk/dports/security/openvas-libraries/Portfile
===================================================================
--- trunk/dports/security/openvas-libraries/Portfile	                        (rev 0)
+++ trunk/dports/security/openvas-libraries/Portfile	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    openvas-libraries
+version                 2.0.2
+set download_id         572
+platforms               darwin
+categories              security
+maintainers             ryandesign
+homepage                http://www.openvas.org/
+master_sites            http://wald.intevation.org/frs/download.php/${download_id}
+
+checksums \
+    md5     1323cf02bf11806929042c3e7fb056b0 \
+    sha1    9e0b1bfaf0d5fddcbade234a44e8af2ad91d1fc1 \
+    rmd160  559c71f0a67ef512707983a4ca6e0795d159331f
+
+depends_build \
+    path:bin/pkg-config:pkgconfig \
+    bin:grep:grep
+
+depends_lib \
+    path:lib/pkgconfig/glib-2.0.pc:glib2 \
+    path:bin/libgnutls-config:gnutls \
+    path:bin/pcap-config:libpcap \
+    path:lib/libz.dylib:zlib
+
+patchfiles \
+    patch-libtool-mode.diff \
+    patch-pcap.c.diff
+
+use_parallel_build      yes


Property changes on: trunk/dports/security/openvas-libraries/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/security/openvas-libraries/files/patch-libtool-mode.diff
===================================================================
--- trunk/dports/security/openvas-libraries/files/patch-libtool-mode.diff	                        (rev 0)
+++ trunk/dports/security/openvas-libraries/files/patch-libtool-mode.diff	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,115 @@
+--- libopenvas/Makefile	2009-02-21 21:40:25.000000000 -0600
++++ libopenvas/Makefile	2009-06-01 01:01:07.000000000 -0500
+@@ -52,77 +52,77 @@
+ plugutils.o: plugutils.c arglists.h comm.h harglists.h kb.h network.h \
+              rand.h plugutils.h services.h share_fd.h store_internal.h system.h \
+              scanners_utils.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c
+ 
+ resolve.o : resolve.c resolve.h
+-	$(LIBTOOL) $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c
++	$(LIBTOOL) --mode=compile $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c
+ 
+ share_fd.o : share_fd.c 
+-	$(LIBTOOL) $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c
++	$(LIBTOOL) --mode=compile $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c
+ 
+ system.o : system.c system_internal.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c 
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c 
+ 
+ arglists.o: arglists.c arglists.h system_internal.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c
+ 
+ network.o: network.c resolve.h ids_send.h plugutils.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c
+ 
+ scanners_utils.o: scanners_utils.c comm.h network.h services.h plugutils.h system.h scanners_utils.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c
+ 
+ ftp_funcs.o: ftp_funcs.c network.h ftp_funcs.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c
+ 
+ www_funcs.o: www_funcs.c kb.h plugutils.h system.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c
+ 
+ pcap.o: pcap.c bpf_share.h pcap_openvas.h system_internal.h network.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c
+ 
+ hlst.o: hlst.c hlst.h system.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c
+ 
+ harglists.o: harglists.c hlst.h system_internal.h harglists.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c
+ 
+ ids_send.o: ids_send.c arglists.h bpf_share.h resolve.h ids_send.h network.h \
+             pcap_openvas.h plugutils.h system.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c 
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c 
+ 
+ bpf_share.o: bpf_share.c
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c bpf_share.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c bpf_share.c
+ 
+ rand.o: rand.c
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c
+ 
+ popen.o: popen.c system.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c
+ 
+ services.o: services.c services.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c
+ 
+ services1.o: services1.c services.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c
+ 
+ proctitle.o: proctitle.c proctitle.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c
+ 
+ store.o: store.c store_internal.h share_fd.h system.h plugutils.h plugutils_internal.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c
+ 
+ hash_table_file.o: hash_table_file.c hash_table_file.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hash_table_file.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hash_table_file.c
+ 
+ kb.o: kb.c arglists.h kb.h system_internal.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c
+ 
+ openvas_ssh_login.o: openvas_ssh_login.c openvas_ssh_login.h
+-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c openvas_ssh_login.c
++	$(LIBTOOL) --mode=compile $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c openvas_ssh_login.c
+ 
+ libopenvas.la: $(OBJS)
+-	$(LIBTOOL) $(CC) $(LDFLAGS) -o libopenvas.la $(LO_OBJS) $(LIBS) -rpath ${libdir} \
++	$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libopenvas.la $(LO_OBJS) $(LIBS) -rpath ${libdir} \
+ 	-version-info ${PACKAGE_VERSION}
+ 
+ install : libopenvas.la
+--- libopenvas_hg/Makefile	2008-12-20 17:21:06.000000000 -0600
++++ libopenvas_hg/Makefile	2009-06-02 02:02:07.000000000 -0500
+@@ -47,7 +47,7 @@
+ 	$(INSTALL) -m 0644 hg_utils.h $(DESTDIR)${includedir}/openvas
+ 
+ libopenvas_hg.la : $(OBJS)
+-	$(LIBTOOL) $(CC) $(LDFLAGS) -o libopenvas_hg.la $(LO_OBJS) $(LIBS) -rpath ${libdir} \
++	$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libopenvas_hg.la $(LO_OBJS) $(LIBS) -rpath ${libdir} \
+ 	-version-info ${PACKAGE_VERSION}
+ 	        
+ hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c

Added: trunk/dports/security/openvas-libraries/files/patch-pcap.c.diff
===================================================================
--- trunk/dports/security/openvas-libraries/files/patch-pcap.c.diff	                        (rev 0)
+++ trunk/dports/security/openvas-libraries/files/patch-pcap.c.diff	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,14 @@
+--- libopenvas/pcap.c	2009-01-02 04:50:00.000000000 -0600
++++ libopenvas/pcap.c	2009-06-01 00:56:37.000000000 -0500
+@@ -16,10 +16,10 @@
+  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+  */
+ 
++#include <netinet/in.h>
+ #include <resolv.h>
+ #include <pcap.h>
+ #include <net/if.h>
+-#include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <sys/ioctl.h>
+ #include <netdb.h>

Added: trunk/dports/security/openvas-server/Portfile
===================================================================
--- trunk/dports/security/openvas-server/Portfile	                        (rev 0)
+++ trunk/dports/security/openvas-server/Portfile	2009-06-02 09:56:33 UTC (rev 51748)
@@ -0,0 +1,27 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    openvas-server
+version                 2.0.1
+set download_id         562
+platforms               darwin
+categories              security
+maintainers             ryandesign
+homepage                http://www.openvas.org/
+master_sites            http://wald.intevation.org/frs/download.php/${download_id}
+
+checksums \
+    md5     f68e2014113185a1e596408679eb192d \
+    sha1    4044857b93e7e1fabecc9bd9ced45465b6e41a84 \
+    rmd160  8c0571d3f1770fba293438776dca425e0ad92c55
+
+depends_build \
+    path:bin/pkg-config:pkgconfig \
+    path:bin/xmkmf:imake
+
+depends_lib \
+    path:bin/openvas-libnasl-config:openvas-libnasl \
+    path:lib/libX11.dylib:xorg-libX11
+
+use_parallel_build      yes


Property changes on: trunk/dports/security/openvas-server/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090602/ab844dfe/attachment-0001.html>


More information about the macports-changes mailing list