Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 1999 23:57:10 +0100 (CET)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14775: New port: security/nessus-libnasl
Message-ID:  <199911072257.XAA61095@totem.freenix.no>

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

>Number:         14775
>Category:       ports
>Synopsis:       New port: security/nessus-libnasl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  7 15:00:02 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

FreeBSD eggsilo.nome.no 3.3-STABLE FreeBSD 3.3-STABLE #0: Tue Oct 26
01:48:37 CEST 1999     root@eggsilo.nome.no:/usr/src/sys/compile/EGGSILO
i386

>Description:

Nessus Attack Scripting Language. Needed by Nessus.

>How-To-Repeat:

	

>Fix:
	
# 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:
#
#	nessus-libnasl
#	nessus-libnasl/files
#	nessus-libnasl/files/md5
#	nessus-libnasl/pkg
#	nessus-libnasl/pkg/COMMENT
#	nessus-libnasl/pkg/DESCR
#	nessus-libnasl/pkg/PLIST
#	nessus-libnasl/patches
#	nessus-libnasl/patches/patch-ac
#	nessus-libnasl/patches/patch-ad
#	nessus-libnasl/Makefile
#
echo c - nessus-libnasl
mkdir -p nessus-libnasl > /dev/null 2>&1
echo c - nessus-libnasl/files
mkdir -p nessus-libnasl/files > /dev/null 2>&1
echo x - nessus-libnasl/files/md5
sed 's/^X//' >nessus-libnasl/files/md5 << 'END-of-nessus-libnasl/files/md5'
XMD5 (nessus/libnasl-0.98.4.tar.gz) = d3dc3a1e9c8f91bd02c2b460b1b39d8f
END-of-nessus-libnasl/files/md5
echo c - nessus-libnasl/pkg
mkdir -p nessus-libnasl/pkg > /dev/null 2>&1
echo x - nessus-libnasl/pkg/COMMENT
sed 's/^X//' >nessus-libnasl/pkg/COMMENT << 'END-of-nessus-libnasl/pkg/COMMENT'
XNessus Attack Scripting Language
END-of-nessus-libnasl/pkg/COMMENT
echo x - nessus-libnasl/pkg/DESCR
sed 's/^X//' >nessus-libnasl/pkg/DESCR << 'END-of-nessus-libnasl/pkg/DESCR'
XNASL is a scripting language designed for the Nessus security scanner. Its
Xaim is to allow anyone to write a test for a given security hole in a few
Xminutes, to allow people to share their tests without having to worry
Xabout their operating system, and to garantee everyone that a NASL script
Xcan not do anything nasty except performing a given security test against
Xa given target. Thus, NASL allows you to easily forge IP packets, or to
Xsend regular packets. It provides you some convenient functions that will
Xmake the test of web and ftp server more easy to write. NASL
Xgarantees you that a NASL script : 
X
X       will not send any packet to a host other than the target host 
X       will not execute any commands on your local system 
X
XNASL is not a powerful scripting language. Its purpose is to make scripts
Xthat are security tests. So, do not expect to write a third generation web
Xserver in this language, nor a file conversion utility. Use perl, python
Xor whatever scripting language to do this.
X
XWWW: http://www.nessus.org/doc/nasl.html
END-of-nessus-libnasl/pkg/DESCR
echo x - nessus-libnasl/pkg/PLIST
sed 's/^X//' >nessus-libnasl/pkg/PLIST << 'END-of-nessus-libnasl/pkg/PLIST'
Xlib/libnasl.a
Xlib/libnasl.la
Xlib/libnasl.so
Xlib/libnasl.so.99
Xinclude/nessus/nasl.h
Xbin/nasl-config
END-of-nessus-libnasl/pkg/PLIST
echo c - nessus-libnasl/patches
mkdir -p nessus-libnasl/patches > /dev/null 2>&1
echo x - nessus-libnasl/patches/patch-ac
sed 's/^X//' >nessus-libnasl/patches/patch-ac << 'END-of-nessus-libnasl/patches/patch-ac'
X*** ltconfig.orig	Sun Apr  4 10:16:29 1999
X--- ltconfig	Sun May  2 03:13:31 1999
X***************
X*** 1123,1129 ****
X    ;;
X  
X  freebsd2* | freebsd3* | freebsd4*)
X!   version_type=sunos
X    library_names_spec='${libname}${release}.so.$versuffix $libname.so'
X    finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
X    shlibpath_var=LD_LIBRARY_PATH
X--- 1123,1130 ----
X    ;;
X  
X  freebsd2* | freebsd3* | freebsd4*)
X!   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
X!   version_type=freebsd-$objformat
X    library_names_spec='${libname}${release}.so.$versuffix $libname.so'
X    finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
X    shlibpath_var=LD_LIBRARY_PATH
END-of-nessus-libnasl/patches/patch-ac
echo x - nessus-libnasl/patches/patch-ad
sed 's/^X//' >nessus-libnasl/patches/patch-ad << 'END-of-nessus-libnasl/patches/patch-ad'
X*** ltmain.sh.orig	Mon Dec 21 16:05:21 1998
X--- ltmain.sh	Sun May  2 03:25:35 1999
X***************
X*** 952,957 ****
X--- 952,969 ----
X          verstring="$verstring:${current}.0"
X          ;;
X  
X+       freebsd-aout)
X+         version_vars="$version_vars major versuffix"
X+         major=".$current"
X+         versuffix="$current.$revision";
X+         ;;
X+ 
X+       freebsd-elf)
X+         version_vars="$version_vars major versuffix"
X+         major=".$current"
X+         versuffix="$current";
X+         ;;
X+ 
X        sunos)
X          version_vars="$version_vars major versuffix"
X          major="$current"
END-of-nessus-libnasl/patches/patch-ad
echo x - nessus-libnasl/Makefile
sed 's/^X//' >nessus-libnasl/Makefile << 'END-of-nessus-libnasl/Makefile'
X# Ports collection makefile for:	nessus-libnasl
X# Version required:			0.98.4
X# Date created:				07 November 1999
X# Whom:					Anders Nordby <anders@fix.no>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	libnasl-0.98.4
XPKGNAME=	nessus-libnasl-0.98.4
XCATEGORIES=	security
XMASTER_SITES=	ftp://ftp.cis.fed.gov/pub/nessus/nessus-${NESSUS_REV}/ \
X		ftp://ftp.nessus.org/pub/nessus/nessus-${NESSUS_REV}/ \
X		ftp://cvs.nessus.org/pub/nessus/nessus-${NESSUS_REV}/ \
X		ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${NESSUS_REV}/ \
X		http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${NESSUS_REV}/ \
X		ftp://ftp.esiea.fr/pub/mirrors/nessus/nessus-${NESSUS_REV}/ \
X		ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${NESSUS_REV}/ \
X		ftp://ftp.chg.ru/pub/security/nessus/nessus-${NESSUS_REV}/ \
X		ftp://ftp.sekure.net/pub/nessus/nessus-${NESSUS_REV}/
X
XMAINTAINER=	anders@fix.no
X
XLIB_DEPENDS=	nessus.99:${PORTSDIR}/security/nessus-libraries
X
XNESSUS_REV=	${DISTNAME:S/libnasl-//g}
X
XDIST_SUBDIR=	nessus
XWRKSRC=		${WRKDIR}/libnasl
X
XGNU_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-nessus-libnasl/Makefile
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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