ports/123130: [NEW PORT] security/openvas-plugins: Plugins for OpenVAS
Tomoyuki Sakurai
cherry at trombik.org
Sun Apr 27 06:40:04 UTC 2008
>Number: 123130
>Category: ports
>Synopsis: [NEW PORT] security/openvas-plugins: Plugins 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:40:03 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/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- openvas-plugins-1.0.0.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-plugins
# openvas-plugins/pkg-descr
# openvas-plugins/Makefile
# openvas-plugins/pkg-plist
# openvas-plugins/distinfo
# openvas-plugins/files
# openvas-plugins/files/patch-libtool
#
echo c - openvas-plugins
mkdir -p openvas-plugins > /dev/null 2>&1
echo x - openvas-plugins/pkg-descr
sed 's/^X//' >openvas-plugins/pkg-descr << 'END-of-openvas-plugins/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-plugins/pkg-descr
echo x - openvas-plugins/Makefile
sed 's/^X//' >openvas-plugins/Makefile << 'END-of-openvas-plugins/Makefile'
X# New ports collection makefile for: openvas-plugins
X# Date created: 2008-04-27
X# Whom: Tomoyuki Sakurai <cherry at trombik.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= openvas-plugins
XPORTVERSION= 1.0.0
XCATEGORIES= security
XMASTER_SITES= http://wald.intevation.org/frs/download.php/412/
X
XMAINTAINER= cherry at trombik.org
XCOMMENT= Plugins for OpenVAS
X
XBUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
XLIB_DEPENDS= openvas.1:${PORTSDIR}/security/openvas-libraries \
X gnutls.26:${PORTSDIR}/security/gnutls
X
XGNU_CONFIGURE= yes
XLIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`" \
X LDFLAGS="-L${LOCALBASE}/lib"
XMAN1= openvas-build.1
X
X.include "${.CURDIR}/../../security/openvas-server/Makefile.common"
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
X ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
X @${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
X ${WRKSRC}/plugins/3com_hub/Makefile
X
Xpost-install:
X @${FIND} ${PREFIX}/lib/openvas/plugins -type f | \
X ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
X @${FIND} ${PREFIX}/lib/openvas/plugins_factory -type f | \
X ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
X @${FIND} ${PREFIX}/lib/openvas -type d | ${SORT} -r | \
X ${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-openvas-plugins/Makefile
echo x - openvas-plugins/pkg-plist
sed 's/^X//' >openvas-plugins/pkg-plist << 'END-of-openvas-plugins/pkg-plist'
X at comment $FreeBSD$
Xbin/openvas-build
Xsbin/openvas-nvt-sync
END-of-openvas-plugins/pkg-plist
echo x - openvas-plugins/distinfo
sed 's/^X//' >openvas-plugins/distinfo << 'END-of-openvas-plugins/distinfo'
XMD5 (openvas-plugins-1.0.0.tar.gz) = 36b68b3ac3b2294cf30f64e6e989b503
XSHA256 (openvas-plugins-1.0.0.tar.gz) = 736a114974929e4d5e43deda2759672c862986d481bbfb800a840515b211b9fe
XSIZE (openvas-plugins-1.0.0.tar.gz) = 1976161
END-of-openvas-plugins/distinfo
echo c - openvas-plugins/files
mkdir -p openvas-plugins/files > /dev/null 2>&1
echo x - openvas-plugins/files/patch-libtool
sed 's/^X//' >openvas-plugins/files/patch-libtool << 'END-of-openvas-plugins/files/patch-libtool'
X--- libtool.orig 2008-04-27 10:07:20.000000000 +0900
X+++ libtool 2008-04-27 10:07:48.000000000 +0900
X@@ -30,10 +30,10 @@
X # the same distribution terms that you use for the rest of that program.
X
X # A sed program that does not truncate output.
X-SED="/bin/sed"
X+SED="/usr/bin/sed"
X
X # Sed that helps us avoid accidentally triggering echo(1) options like -n.
X-Xsed="/bin/sed -e s/^X//"
X+Xsed="${SED} -e s/^X//"
X
X # The HP-UX ksh and POSIX shell print the target directory to stdout
X # if CDPATH is set.
END-of-openvas-plugins/files/patch-libtool
exit
--- openvas-plugins-1.0.0.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list