Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2008 15:29:10 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123127: [NEW PORT] security/openvas-libraries: Libraries for OpenVAS
Message-ID:  <20080427062910.6994D3C041F@spica.trombik.org>
Resent-Message-ID: <200804270630.m3R6U2lW076958@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123127
>Category:       ports
>Synopsis:       [NEW PORT] security/openvas-libraries: Libraries for OpenVAS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 06:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tomoyuki Sakurai
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD x60.i.trombik.org 6.3-STABLE FreeBSD 6.3-STABLE #6: Sat Mar 29 17:03:57 JST 2008
>Description:
OpenVAS stands for Open Vulnerability Assessment System and is a network
security scanner with associated tools like a graphical user fontend. The core
is a server component with a set of network vulnerability tests (NVTs) to
detect security problems in remote systems and applications. 

WWW:	http://www.openvas.org/

OpenVAS products are Free Software under GNU GPL and a fork of Nessus.
-server, -client, -libnasl and -plugins will follow.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- openvas-libraries-1.0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openvas-libraries
#	openvas-libraries/pkg-descr
#	openvas-libraries/Makefile
#	openvas-libraries/pkg-plist
#	openvas-libraries/distinfo
#	openvas-libraries/files
#	openvas-libraries/files/patch-configure
#	openvas-libraries/files/patch-libopenvas-plugutils.c
#	openvas-libraries/files/patch-openvas-libraries.tmpl.in
#	openvas-libraries/files/patch-libopenvas-ids_send.c
#	openvas-libraries/files/patch-libopenvas-network.h
#	openvas-libraries/files/patch-libopenvas-ftp_funcs.c
#	openvas-libraries/files/patch-libopenvas-pcap.c
#	openvas-libraries/files/patch-libopenvas-popen.c
#
echo c - openvas-libraries
mkdir -p openvas-libraries > /dev/null 2>&1
echo x - openvas-libraries/pkg-descr
sed 's/^X//' >openvas-libraries/pkg-descr << 'END-of-openvas-libraries/pkg-descr'
XOpenVAS stands for Open Vulnerability Assessment System and is a network
Xsecurity scanner with associated tools like a graphical user fontend. The core
Xis a server component with a set of network vulnerability tests (NVTs) to
Xdetect security problems in remote systems and applications. 
X
XWWW:	http://www.openvas.org/
END-of-openvas-libraries/pkg-descr
echo x - openvas-libraries/Makefile
sed 's/^X//' >openvas-libraries/Makefile << 'END-of-openvas-libraries/Makefile'
X# New ports collection makefile for:	openvas-libraries
X# Date created:		2008-04-26
X# Whom:			Tomoyuki Sakurai <cherry@trombik.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	openvas-libraries
XPORTVERSION=	1.0.1
XCATEGORIES=	security
XMASTER_SITES=	http://wald.intevation.org/frs/download.php/419/
X
XMAINTAINER=	cherry@trombik.org
XCOMMENT=	Libraries for OpenVAS
X
XLIB_DEPENDS=	gnutls.26:${PORTSDIR}/security/gnutls
X
XLDFLAGS+=	-L${LOCALBASE}/lib
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
X
XMAN1=	libopenvas-config.1
X
X.include "${.CURDIR}/../../security/openvas-server/Makefile.common"
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-openvas-libraries/Makefile
echo x - openvas-libraries/pkg-plist
sed 's/^X//' >openvas-libraries/pkg-plist << 'END-of-openvas-libraries/pkg-plist'
X@comment $FreeBSD$
Xbin/libopenvas-config
Xlib/libopenvas.so.1
Xlib/libopenvas.so
Xlib/libopenvas.la
Xlib/libopenvas.a
Xlib/libopenvas_hg.so.1
Xlib/libopenvas_hg.so
Xlib/libopenvas_hg.la
Xlib/libopenvas_hg.a
END-of-openvas-libraries/pkg-plist
echo x - openvas-libraries/distinfo
sed 's/^X//' >openvas-libraries/distinfo << 'END-of-openvas-libraries/distinfo'
XMD5 (openvas-libraries-1.0.1.tar.gz) = 59eff43239e05bed77f2b3e789e0110b
XSHA256 (openvas-libraries-1.0.1.tar.gz) = 6d423d82d6e71e519df79596d30fad6ffefd480ed8a0dd7282fb5b749cee72e3
XSIZE (openvas-libraries-1.0.1.tar.gz) = 312409
END-of-openvas-libraries/distinfo
echo c - openvas-libraries/files
mkdir -p openvas-libraries/files > /dev/null 2>&1
echo x - openvas-libraries/files/patch-configure
sed 's/^X//' >openvas-libraries/files/patch-configure << 'END-of-openvas-libraries/files/patch-configure'
X--- configure.orig	2008-03-27 03:57:28.000000000 +0900
X+++ configure	2008-04-26 22:00:22.000000000 +0900
X@@ -8136,7 +8136,7 @@
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lresolv  $LIBS"
X+LIBS="$LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h.  */
X _ACEOF
X@@ -8192,7 +8192,7 @@
X { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_expand" >&5
X echo "${ECHO_T}$ac_cv_lib_resolv___dn_expand" >&6; }
X if test $ac_cv_lib_resolv___dn_expand = yes; then
X-  LIBS="-lresolv $LIBS"
X+  LIBS="$LIBS"
X else
X   { { echo "$as_me:$LINENO: error: you need to install resolve library with development files" >&5
X echo "$as_me: error: you need to install resolve library with development files" >&2;}
X@@ -8290,11 +8290,11 @@
X #ifdef __cplusplus
X extern "C"
X #endif
X-char pcap_restart ();
X+/* char pcap_restart (); */
X int
X main ()
X {
X-return pcap_restart ();
X+return 0 /* pcap_restart (); */
X   ;
X   return 0;
X }
X@@ -12909,7 +12909,7 @@
X   echo $ECHO_N "(cached) $ECHO_C" >&6
X else
X   ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lresolv  $LIBS"
X+LIBS="$LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h.  */
X _ACEOF
END-of-openvas-libraries/files/patch-configure
echo x - openvas-libraries/files/patch-libopenvas-plugutils.c
sed 's/^X//' >openvas-libraries/files/patch-libopenvas-plugutils.c << 'END-of-openvas-libraries/files/patch-libopenvas-plugutils.c'
X--- libopenvas/plugutils.c.orig	2008-04-26 22:03:11.000000000 +0900
X+++ libopenvas/plugutils.c	2008-04-26 22:03:21.000000000 +0900
X@@ -35,7 +35,7 @@
X #include <unistd.h>
X #include <errno.h>
X #include <signal.h>
X-#include <wait.h>
X+#include <sys/wait.h>
X #include <time.h>
X 
X #include "arglists.h"
END-of-openvas-libraries/files/patch-libopenvas-plugutils.c
echo x - openvas-libraries/files/patch-openvas-libraries.tmpl.in
sed 's/^X//' >openvas-libraries/files/patch-openvas-libraries.tmpl.in << 'END-of-openvas-libraries/files/patch-openvas-libraries.tmpl.in'
X--- openvas-libraries.tmpl.in.orig	2008-04-26 22:46:43.000000000 +0900
X+++ openvas-libraries.tmpl.in	2008-04-26 22:47:03.000000000 +0900
X@@ -45,7 +45,7 @@
X 
X libsdir=${rootdir}/libs
X top_builddir = @PWDD@
X-include= -I. -I$(rootdir)/include
X+include= -I. -I$(rootdir)/include -I$(includedir)
X lib_dir=@libdir@
X USE_CIPHER=@cipher_cflags@
X INSTALL=@INSTALL@
END-of-openvas-libraries/files/patch-openvas-libraries.tmpl.in
echo x - openvas-libraries/files/patch-libopenvas-ids_send.c
sed 's/^X//' >openvas-libraries/files/patch-libopenvas-ids_send.c << 'END-of-openvas-libraries/files/patch-libopenvas-ids_send.c'
X--- libopenvas/ids_send.c.orig	2008-04-26 23:55:47.000000000 +0900
X+++ libopenvas/ids_send.c	2008-04-26 23:56:02.000000000 +0900
X@@ -36,6 +36,7 @@
X #include <unistd.h>
X #include <stdlib.h>
X #include <arpa/inet.h>
X+#include <sys/socket.h>
X 
X #include "arglists.h"
X #include "bpf_share.h"
END-of-openvas-libraries/files/patch-libopenvas-ids_send.c
echo x - openvas-libraries/files/patch-libopenvas-network.h
sed 's/^X//' >openvas-libraries/files/patch-libopenvas-network.h << 'END-of-openvas-libraries/files/patch-libopenvas-network.h'
X--- libopenvas/network.h.orig	2008-04-26 23:22:23.000000000 +0900
X+++ libopenvas/network.h	2008-04-26 23:21:49.000000000 +0900
X@@ -27,6 +27,7 @@
X #define OPENVAS_NETWORK_H
X 
X #include "arglists.h"
X+#include <sys/select.h>
X 
X /* Plugin specific network functions */
X int open_sock_tcp(struct arglist * , unsigned int, int );
END-of-openvas-libraries/files/patch-libopenvas-network.h
echo x - openvas-libraries/files/patch-libopenvas-ftp_funcs.c
sed 's/^X//' >openvas-libraries/files/patch-libopenvas-ftp_funcs.c << 'END-of-openvas-libraries/files/patch-libopenvas-ftp_funcs.c'
X--- libopenvas/ftp_funcs.c.orig	2008-04-26 23:23:23.000000000 +0900
X+++ libopenvas/ftp_funcs.c	2008-04-26 23:24:01.000000000 +0900
X@@ -32,6 +32,7 @@
X #include <netinet/in.h>
X 
X #include "network.h"
X+#include <sys/socket.h>
X 
X int ftp_log_in(int soc, char * username, char * passwd)
X {
END-of-openvas-libraries/files/patch-libopenvas-ftp_funcs.c
echo x - openvas-libraries/files/patch-libopenvas-pcap.c
sed 's/^X//' >openvas-libraries/files/patch-libopenvas-pcap.c << 'END-of-openvas-libraries/files/patch-libopenvas-pcap.c'
X--- libopenvas/pcap.c.orig	2008-03-21 06:25:01.000000000 +0900
X+++ libopenvas/pcap.c	2008-04-26 23:47:15.000000000 +0900
X@@ -16,9 +16,7 @@
X  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
X  */
X 
X-#include <resolv.h>
X #include <pcap.h>
X-#include <net/if.h>
X #include <arpa/inet.h>
X #include <sys/ioctl.h>
X #include <netdb.h>
X@@ -28,6 +26,10 @@
X #include <stdlib.h>
X #include <string.h>
X #include <unistd.h>
X+#include <sys/socket.h>
X+#include <netinet/in.h>
X+#include <sys/param.h>
X+#include <net/if.h>
X 
X #include "bpf_share.h"
X #include "pcap_openvas.h"
END-of-openvas-libraries/files/patch-libopenvas-pcap.c
echo x - openvas-libraries/files/patch-libopenvas-popen.c
sed 's/^X//' >openvas-libraries/files/patch-libopenvas-popen.c << 'END-of-openvas-libraries/files/patch-libopenvas-popen.c'
X--- libopenvas/popen.c.orig	2008-04-26 23:50:53.000000000 +0900
X+++ libopenvas/popen.c	2008-04-26 23:51:11.000000000 +0900
X@@ -26,6 +26,7 @@
X #include <errno.h>
X #include <fcntl.h>
X #include <signal.h>
X+#include <sys/resource.h>
X 
X #include "system.h"
X 
END-of-openvas-libraries/files/patch-libopenvas-popen.c
exit
--- openvas-libraries-1.0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080427062910.6994D3C041F>