From cherry@spica.trombik.org  Sun Apr 27 06:29:12 2008
Return-Path: <cherry@spica.trombik.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 280C5106567D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Apr 2008 06:29:12 +0000 (UTC)
	(envelope-from cherry@spica.trombik.org)
Received: from spica.trombik.org (spica.trombik.org [211.19.48.12])
	by mx1.freebsd.org (Postfix) with ESMTP id AF9CE8FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Apr 2008 06:29:11 +0000 (UTC)
	(envelope-from cherry@spica.trombik.org)
Received: by spica.trombik.org (Postfix, from userid 999)
	id 6994D3C041F; Sun, 27 Apr 2008 15:29:10 +0900 (JST)
Message-Id: <20080427062910.6994D3C041F@spica.trombik.org>
Date: Sun, 27 Apr 2008 15:29:10 +0900 (JST)
From: Tomoyuki Sakurai <cherry@trombik.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] security/openvas-libraries: Libraries for OpenVAS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 06:30:02 UTC 2008
>Closed-Date:    Wed Jun 04 13:20:45 UTC 2008
>Last-Modified:  Wed Jun 04 13:20:45 UTC 2008
>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:

From: Tomoyuki Sakurai <cherry@trombik.org>
To: bug-followup@freebsd.org
Cc: Tomoyuki Sakurai <cherry@trombik.org>
Subject: Re: ports/123127: [NEW PORT] security/openvas-libraries: Libraries for OpenVAS
Date: Sun, 27 Apr 2008 17:45:47 +0900 (JST)

 >Submitter-Id:	current-users
 >Originator:	Tomoyuki Sakurai
 >Organization:	
 >Confidential:	no 
 >Synopsis:	Re: ports/123127: [NEW PORT] security/openvas-libraries: Libraries for OpenVAS
 >Severity:	non-critical
 >Priority:	low
 >Category:	ports 
 >Class:		change-request
 >Release:	FreeBSD 6.3-STABLE i386
 >Environment:
 System: FreeBSD x60.i.trombik.org 6.3-STABLE FreeBSD 6.3-STABLE #6: Sat Mar 29 17:03:57 JST 2008
 >Description:
 
 The previous port handles PREFIX and LOCALBASE incorrectly.
 Also, move Makefile.common to openvas-libraries directory.
 
 >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
 #	openvas-libraries/files/patch-libopenvas-Makefile
 #	openvas-libraries/Makefile.common
 #
 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
 XCPPFLAGS+=	-I${LOCALBASE}/include
 XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 XGNU_CONFIGURE=	yes
 XUSE_LDCONFIG=	yes
 X
 XMAN1=	libopenvas-config.1
 X
 X.include "${.CURDIR}/../../security/openvas-libraries/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
 Xinclude/openvas/hosts_gatherer.h
 Xinclude/openvas/hg_utils.h
 Xinclude/openvas/libopenvas.h
 Xinclude/openvas/libvers.h
 Xinclude/openvas/getopt.h
 Xinclude/openvas/arglists.h
 Xinclude/openvas/bpf_share.h
 Xinclude/openvas/ftp_funcs.h
 Xinclude/openvas/harglists.h
 Xinclude/openvas/kb.h
 Xinclude/openvas/network.h
 Xinclude/openvas/pcap_openvas.h
 Xinclude/openvas/plugutils.h
 Xinclude/openvas/popen.h
 Xinclude/openvas/proctitle.h
 Xinclude/openvas/rand.h
 Xinclude/openvas/resolve.h
 Xinclude/openvas/scanners_utils.h
 Xinclude/openvas/services1.h
 Xinclude/openvas/share_fd.h
 Xinclude/openvas/store.h
 Xinclude/openvas/system.h
 Xinclude/openvas/www_funcs.h
 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-03-21 06:00:30.000000000 +0900
 X+++ openvas-libraries.tmpl.in	2008-04-27 17:27:45.000000000 +0900
 X@@ -62,8 +62,9 @@
 X DEBUG_SSL = @debug_ssl@
 X 
 X # Some defines you may want to modify
 X+CPPFLAGS=@CPPFLAGS@
 X DEFS=@DEFS@ $(DEBUG_SSL) $(USE_CIPHER) $(DEBUG)
 X-LDFLAGS=
 X+LDFLAGS=@LDFLAGS@
 X 
 X # Your C compiler
 X CC=@CC@
 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
 echo x - openvas-libraries/files/patch-libopenvas-Makefile
 sed 's/^X//' >openvas-libraries/files/patch-libopenvas-Makefile << 'END-of-openvas-libraries/files/patch-libopenvas-Makefile'
 X--- libopenvas/Makefile.orig	2008-04-27 17:29:09.000000000 +0900
 X+++ libopenvas/Makefile	2008-04-27 17:29:32.000000000 +0900
 X@@ -46,76 +46,76 @@
 X 
 X 
 X getopt.o : getopt.c
 X-	 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt.c
 X+	 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c getopt.c
 X 
 X getopt1.o : getopt1.c
 X-	 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c getopt1.c
 X+	 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c getopt1.c
 X 
 X plugutils.o : plugutils.c
 X-	 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c plugutils.c
 X+	 $(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c plugutils.c
 X 
 X resolve.o : resolve.c resolve.h
 X-	$(LIBTOOL) $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c resolve.c
 X+	$(LIBTOOL) $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c resolve.c
 X 
 X share_fd.o : share_fd.c 
 X-	$(LIBTOOL) $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c share_fd.c
 X+	$(LIBTOOL) $(CC)  $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c share_fd.c
 X 
 X system.o : system.c system_internal.h
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c system.c 
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c system.c 
 X 
 X arglists.o : arglists.c 
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c arglists.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c arglists.c
 X 
 X network.o : network.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c network.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c network.c
 X 
 X scanners_utils.o : scanners_utils.c scanners_utils.h
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c scanners_utils.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c scanners_utils.c
 X 
 X ftp_funcs.o : ftp_funcs.c ftp_funcs.h
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ftp_funcs.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c ftp_funcs.c
 X www_funcs.o : www_funcs.c 
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c www_funcs.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c www_funcs.c
 X 	
 X pcap.o : pcap.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c pcap.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c pcap.c
 X 
 X hlst.o : hlst.c hlst.h
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c hlst.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c hlst.c
 X 
 X ptycall.o : ptycall.c 
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ptycall.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c ptycall.c
 X 
 X harglists.o : harglists.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c harglists.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c harglists.c
 X 
 X ids_send.o : ids_send.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c ids_send.c 
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c ids_send.c 
 X 
 X bpf_share.o: bpf_share.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c bpf_share.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c bpf_share.c
 X 
 X rand.o: rand.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c rand.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c rand.c
 X 
 X popen.o: popen.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c popen.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c popen.c
 X 
 X services.o: services.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c services.c
 X 
 X services1.o: services1.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -DCONF_DIR=\"$(sysconfdir)\" -c services1.c
 X 
 X proctitle.o: proctitle.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c proctitle.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c proctitle.c
 X 
 X store.o: store.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -DNESSUS_STATE_DIR=\"$(localstatedir)\" -c store.c
 X 	
 X 	
 X kb.o: kb.c
 X-	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CFLAGS) -c kb.c
 X+	$(LIBTOOL) $(CC) $(CIPHER) $(DEFS) $(INCLUDE) $(CPPFLAGS) $(CFLAGS) -c kb.c
 X 
 X 
 X libopenvas.la: $(OBJS)
 END-of-openvas-libraries/files/patch-libopenvas-Makefile
 echo x - openvas-libraries/Makefile.common
 sed 's/^X//' >openvas-libraries/Makefile.common << 'END-of-openvas-libraries/Makefile.common'
 XCONFIGURE_ARGS+=	--includedir=${PREFIX}/include \
 X					--localstatedir=${PREFIX}/openvas \
 X					--sharedstatedir=${PREFIX}/openvas/com \
 X					--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 END-of-openvas-libraries/Makefile.common
 exit
 --- openvas-libraries-1.0.1.shar ends here ---
 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sun Jun 1 14:36:08 UTC 2008 
State-Changed-Why:  

Hi, 

Build failed, could you please take a look in it, 

http://amd64.miwibox.org/tb2/index.php?action=describe_port&id=1176 
http://head.miwibox.org/tb2/index.php?action=describe_port&id=1229 

Thanks 


http://www.freebsd.org/cgi/query-pr.cgi?pr=123127 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123127: commit references a PR
Date: Wed,  4 Jun 2008 13:15:52 +0000 (UTC)

 edwin       2008-06-04 13:15:44 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security             Makefile 
   Added files:
     security/openvas-libraries Makefile distinfo 
                                openvas-libraries-1.0.1.tbz 
                                pkg-descr pkg-plist 
     security/openvas-libraries/files patch-configure 
                                      patch-libopenvas-ftp_funcs.c 
                                      patch-libopenvas-ids_send.c 
                                      patch-libopenvas-network.h 
                                      patch-libopenvas-pcap.c 
                                      patch-libopenvas-plugutils.c 
                                      patch-libopenvas-popen.c 
                                      patch-openvas-libraries.tmpl.in 
   Log:
   [NEW PORT] security/openvas-libraries: Libraries for OpenVAS
   
           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/
   
   PR:             ports/123127
   Submitted by:   Tomoyuki Sakurai <cherry@trombik.org>
   
   Revision  Changes    Path
   1.968     +1 -0      ports/security/Makefile
   1.1       +27 -0     ports/security/openvas-libraries/Makefile (new)
   1.1       +3 -0      ports/security/openvas-libraries/distinfo (new)
   1.1       +43 -0     ports/security/openvas-libraries/files/patch-configure (new)
   1.1       +10 -0     ports/security/openvas-libraries/files/patch-libopenvas-ftp_funcs.c (new)
   1.1       +10 -0     ports/security/openvas-libraries/files/patch-libopenvas-ids_send.c (new)
   1.1       +10 -0     ports/security/openvas-libraries/files/patch-libopenvas-network.h (new)
   1.1       +23 -0     ports/security/openvas-libraries/files/patch-libopenvas-pcap.c (new)
   1.1       +11 -0     ports/security/openvas-libraries/files/patch-libopenvas-plugutils.c (new)
   1.1       +10 -0     ports/security/openvas-libraries/files/patch-libopenvas-popen.c (new)
   1.1       +11 -0     ports/security/openvas-libraries/files/patch-openvas-libraries.tmpl.in (new)
   1.1       +769 -0    ports/security/openvas-libraries/openvas-libraries-1.0.1.tbz (new)
   1.1       +6 -0      ports/security/openvas-libraries/pkg-descr (new)
   1.1       +36 -0     ports/security/openvas-libraries/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 4 13:20:39 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123127 
>Unformatted:
