Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 1999 23:56:24 +0100 (CET)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14773: Update-port: security/nessus
Message-ID:  <199911072256.XAA61021@totem.freenix.no>

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

>Number:         14773
>Category:       ports
>Synopsis:       Update-port: security/nessus
>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:01 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:

Major update of Nessus. Remove all patches. Dependencies to follow.

This version seems to work allright.

>How-To-Repeat:

	

>Fix:
	
diff -Nur nessus.old/Makefile nessus/Makefile
--- nessus.old/Makefile	Tue Aug 31 12:17:37 1999
+++ nessus/Makefile	Sun Nov  7 21:40:25 1999
@@ -6,31 +6,39 @@
 # $FreeBSD: ports/security/nessus/Makefile,v 1.3 1999/08/31 01:51:19 peter Exp $
 #
 
-DISTNAME=	nessus-alpha2-fix4
-PKGNAME=	nessus-a2
+DISTNAME=	nessus-core-0.98.4
+PKGNAME=	nessus-0.98.4
 CATEGORIES=	security
-MASTER_SITES=	ftp://ftp.cis.fed.gov/pub/nessus/nessus-RELEASE/ \
-		ftp://ftp.nessus.org/pub/nessus/nessus-RELEASE/ \
-		ftp://cvs.nessus.org/pub/nessus/nessus-RELEASE/ \
-		ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-RELEASE/ \
-		http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-RELEASE/ \
-		ftp://ftp.esiea.fr/pub/mirrors/nessus/nessus-RELEASE/ \
-		ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-RELEASE/ \
-		ftp://ftp.chg.ru/pub/security/nessus/nessus-RELEASE/ \
-		ftp://ftp.sekure.net/pub/nessus/nessus-RELEASE/
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	ftp://ftp.cis.fed.gov/pub/nessus/nessus-${NESSUS_REV}/ \
+		ftp://ftp.nessus.org/pub/nessus/nessus-${NESSUS_REV}/ \
+		ftp://cvs.nessus.org/pub/nessus/nessus-${NESSUS_REV}/ \
+		ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${NESSUS_REV}/ \
+		http://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${NESSUS_REV}/ \
+		ftp://ftp.esiea.fr/pub/mirrors/nessus/nessus-${NESSUS_REV}/ \
+		ftp://sunsite.cnlab-switch.ch/mirror/nessus/nessus-${NESSUS_REV}/ \
+		ftp://ftp.chg.ru/pub/security/nessus/nessus-${NESSUS_REV}/ \
+		ftp://ftp.sekure.net/pub/nessus/nessus-${NESSUS_REV}/
 
 MAINTAINER=	anders@fix.no
 
-LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+LIB_DEPENDS=	nasl.99:${PORTSDIR}/security/nessus-libnasl \
+		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
 
+NESSUS_REV=	${DISTNAME:S/nessus-core-//g}
 GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
 
+DIST_SUBDIR=	nessus
+WRKSRC=		${WRKDIR}/nessus-core
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	GTKCONFIG="${GTK_CONFIG}"
+CONFIGURE_ENV=  GTKCONFIG="${GTK_CONFIG}"
 MAN1=		nessus.1
+MAN8=		nessusd.8
 
 post-install:
-	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+		@${ECHO} "=========================================================="
+		@${ECHO} "Be sure to erase your old /usr/local/share/nessus!"
+		@${ECHO} "The syntax of nessusd.users and nessusd.rules has changed!"
+		@${ECHO} "=========================================================="
 
 .include <bsd.port.mk>
diff -Nur nessus.old/files/md5 nessus/files/md5
--- nessus.old/files/md5	Mon May 17 12:26:38 1999
+++ nessus/files/md5	Sun Nov  7 13:43:37 1999
@@ -1 +1 @@
-MD5 (nessus-alpha2-fix4.tgz) = a79cb81a4607552e1cbad2a213bba3dc
+MD5 (nessus/nessus-core-0.98.4.tar.gz) = 75af8d9f84478153e5e972ced47e0750
diff -Nur nessus.old/patches/patch-aa nessus/patches/patch-aa
--- nessus.old/patches/patch-aa	Mon May 17 12:26:41 1999
+++ nessus/patches/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
-*** src/libpcap/Makefile.in.orig	Fri Apr 23 10:51:02 1999
---- src/libpcap/Makefile.in	Sat May  1 23:12:20 1999
-***************
-*** 49,55 ****
-  # Standard CFLAGS
-  CFLAGS+= $(CCOPT) $(INCLS) $(DEFS) $(include)
-  
-! INSTALL = @INSTALL@
-  RANLIB = @V_RANLIB@
-  
-  #
---- 49,55 ----
-  # Standard CFLAGS
-  CFLAGS+= $(CCOPT) $(INCLS) $(DEFS) $(include)
-  
-! # INSTALL = @INSTALL@
-  RANLIB = @V_RANLIB@
-  
-  #
diff -Nur nessus.old/patches/patch-ac nessus/patches/patch-ac
--- nessus.old/patches/patch-ac	Mon May 17 12:26:41 1999
+++ nessus/patches/patch-ac	Thu Jan  1 01:00:00 1970
@@ -1,20 +0,0 @@
-*** ltconfig.orig	Sun Apr  4 10:16:29 1999
---- ltconfig	Sun May  2 03:13:31 1999
-***************
-*** 1123,1129 ****
-    ;;
-  
-  freebsd2* | freebsd3* | freebsd4*)
-!   version_type=sunos
-    library_names_spec='${libname}${release}.so.$versuffix $libname.so'
-    finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
-    shlibpath_var=LD_LIBRARY_PATH
---- 1123,1130 ----
-    ;;
-  
-  freebsd2* | freebsd3* | freebsd4*)
-!   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
-!   version_type=freebsd-$objformat
-    library_names_spec='${libname}${release}.so.$versuffix $libname.so'
-    finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
-    shlibpath_var=LD_LIBRARY_PATH
diff -Nur nessus.old/patches/patch-ad nessus/patches/patch-ad
--- nessus.old/patches/patch-ad	Mon May 17 12:26:41 1999
+++ nessus/patches/patch-ad	Thu Jan  1 01:00:00 1970
@@ -1,23 +0,0 @@
-*** ltmain.sh.orig	Mon Dec 21 16:05:21 1998
---- ltmain.sh	Sun May  2 03:25:35 1999
-***************
-*** 952,957 ****
---- 952,969 ----
-          verstring="$verstring:${current}.0"
-          ;;
-  
-+       freebsd-aout)
-+         version_vars="$version_vars major versuffix"
-+         major=".$current"
-+         versuffix="$current.$revision";
-+         ;;
-+ 
-+       freebsd-elf)
-+         version_vars="$version_vars major versuffix"
-+         major=".$current"
-+         versuffix="$current";
-+         ;;
-+ 
-        sunos)
-          version_vars="$version_vars major versuffix"
-          major="$current"
diff -Nur nessus.old/patches/patch-af nessus/patches/patch-af
--- nessus.old/patches/patch-af	Mon May 17 12:26:41 1999
+++ nessus/patches/patch-af	Thu Jan  1 01:00:00 1970
@@ -1,43 +0,0 @@
-*** Makefile.orig	Fri Apr 23 10:52:39 1999
---- Makefile	Sun May  2 05:27:18 1999
-***************
-*** 28,46 ****
-  	cd src/plugins && ./make_world
-  
-  client-install : $(CLIENT)
-! 	$(INSTALL) -d -o root -m $(REPORTSDIRMODE) ${exec_prefix}/bin
-  	$(INSTALL) -c -o root -m $(CLIENTMODE) bin/nessus ${exec_prefix}/bin/nessus
-  
-  server-install : server
-! 	$(INSTALL) -d -o root -m $(REPORTSDIRMODE) ${exec_prefix}/bin
-  	$(INSTALL) -c -o root -m $(SERVERMODE) bin/nessusd ${exec_prefix}/bin/nessusd
-  	
-  cipher-install : $(LIBCIPHERDEP)
-! 	$(INSTALL) -d -o root -m $(REPORTSDIRMODE) ${exec_prefix}/lib
-  	cd src/cipher && make install
-  	
-  install : server $(CLIENT_INSTALL) $(CIPHER_INSTALL) server-install plugins
-! 	$(INSTALL) -d -o root -m $(REPORTSDIRMODE) ${exec_prefix}/lib
-  	cd src/nessuslib && make install
-  	cd src/libpcap && make install
-  	cd src/hosts_gatherer && make install
---- 28,46 ----
-  	cd src/plugins && ./make_world
-  
-  client-install : $(CLIENT)
-! 	if [ ! -d ${exec_prefix}/bin ]; then $(INSTALL) -d -o root -g wheel -m 0755 ${exec_prefix}/bin; fi
-  	$(INSTALL) -c -o root -m $(CLIENTMODE) bin/nessus ${exec_prefix}/bin/nessus
-  
-  server-install : server
-! 	if [ ! -d ${exec_prefix}/bin ]; then $(INSTALL) -d -o root -g wheel -m 0755 ${exec_prefix}/bin; fi
-  	$(INSTALL) -c -o root -m $(SERVERMODE) bin/nessusd ${exec_prefix}/bin/nessusd
-  	
-  cipher-install : $(LIBCIPHERDEP)
-! 	if [ ! -d ${exec_prefix}/lib ]; then $(INSTALL) -d -o root -g wheel -m 0755 ${exec_prefix}/lib; fi
-  	cd src/cipher && make install
-  	
-  install : server $(CLIENT_INSTALL) $(CIPHER_INSTALL) server-install plugins
-! 	if [ ! -d ${exec_prefix}/lib ]; then $(INSTALL) -d -o root -g wheel -m 0755 ${exec_prefix}/lib; fi
-  	cd src/nessuslib && make install
-  	cd src/libpcap && make install
-  	cd src/hosts_gatherer && make install
diff -Nur nessus.old/pkg/DESCR nessus/pkg/DESCR
--- nessus.old/pkg/DESCR	Mon May 17 12:26:40 1999
+++ nessus/pkg/DESCR	Sun Nov  7 22:09:17 1999
@@ -11,3 +11,5 @@
 leader. 
 
 Check the homepage at: http://www.nessus.org/
+
+PS: To install the lot in one operation, do nessus-plugins first.
diff -Nur nessus.old/pkg/PLIST nessus/pkg/PLIST
--- nessus.old/pkg/PLIST	Mon May 17 12:26:40 1999
+++ nessus/pkg/PLIST	Sat Oct 16 19:24:57 1999
@@ -1,233 +1,11 @@
+include/nessus/config.h
+include/nessus/ntcompat.h
+include/nessus/includes.h
+include/nessus/nessus-devel.h
+include/nessus/nessusraw.h
+include/nessus/nessusip.h
+include/nessus/nessusicmp.h
+include/nessus/nessustcp.h
+include/nessus/nessusudp.h
 bin/nessus
-bin/nessusd
-bin/nsr2html
-lib/libnessus.a
-lib/libnessus.la
-lib/libnessus.so
-lib/libnessus.so.0
-lib/libnessusc.a
-lib/libnessusc.la
-lib/libnessusc.so
-lib/libnessusc.so.0
-lib/libpcap-nessus.a
-lib/libpcap-nessus.la
-lib/libpcap-nessus.so
-lib/libpcap-nessus.so.0
-lib/libhosts_gatherer.a
-lib/libhosts_gatherer.la
-lib/libhosts_gatherer.so
-lib/libhosts_gatherer.so.0
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-nessus/Manual
-nessus/plugins/ExAir_dos.nes
-nessus/plugins/WebSite.nes
-nessus/plugins/annex_dos.nes
-nessus/plugins/ascend_kill.nes
-nessus/plugins/ath0_hangup.nes
-nessus/plugins/auth_enabled.nes
-nessus/plugins/automountd.nes
-nessus/plugins/backorifice.nes
-nessus/plugins/bind_bof.nes
-nessus/plugins/bnc.nes
-nessus/plugins/bonk.nes
-nessus/plugins/bootparamd.nes
-nessus/plugins/bootparamd_gave_domain.nes
-nessus/plugins/campas.nes
-nessus/plugins/cfinger_search.nes
-nessus/plugins/cgi_perl.nes
-nessus/plugins/chameleon_smtpd_overflow.nes
-nessus/plugins/cisco_dos.nes
-nessus/plugins/count_cgi.nes
-nessus/plugins/daytime.nes
-nessus/plugins/default_accounts.nes
-nessus/plugins/dumpenv.nes
-nessus/plugins/ews.nes
-nessus/plugins/fakebo_overflow.nes
-nessus/plugins/faxsurvey.nes
-nessus/plugins/find_service.nes
-nessus/plugins/finger.nes
-nessus/plugins/finger_backdoor.nes
-nessus/plugins/finger_cgi.nes
-nessus/plugins/finger_redirection.nes
-nessus/plugins/firewall_icmp.nes
-nessus/plugins/frontpage.nes
-nessus/plugins/fsp_daemon.nes
-nessus/plugins/ftp_anonymous.nes
-nessus/plugins/ftp_backdoor.nes
-nessus/plugins/ftp_bounce.nes
-nessus/plugins/ftp_bounce_scan.nes
-nessus/plugins/ftp_cwd_root.nes
-nessus/plugins/ftp_get_passwd.nes
-nessus/plugins/ftp_misc_overflows.nes
-nessus/plugins/ftp_pass_overflow.nes
-nessus/plugins/ftp_pasv_dos.nes
-nessus/plugins/ftp_pasv_on_connect.nes
-nessus/plugins/ftp_realpath.nes
-nessus/plugins/ftp_root.nes
-nessus/plugins/ftp_site_exec.nes
-nessus/plugins/ftp_user_overflow.nes
-nessus/plugins/ftp_write_dirs.nes
-nessus/plugins/glimpse.nes
-nessus/plugins/gopher_as_proxy.nes
-nessus/plugins/guess_os.nes
-nessus/plugins/handler.nes
-nessus/plugins/hidepak.nes
-nessus/plugins/hidesource.nes
-nessus/plugins/hp_printer.nes
-nessus/plugins/hp_remote_print.nes
-nessus/plugins/htmlscript.nes
-nessus/plugins/iChat.nes
-nessus/plugins/iParty.nes
-nessus/plugins/icat.nes
-nessus/plugins/icmp_broadcast.nes
-nessus/plugins/icmp_maskreq.nes
-nessus/plugins/icmp_redirect.nes
-nessus/plugins/icmp_timestamp.nes
-nessus/plugins/iis_crash.nes
-nessus/plugins/iis_ftp_crash.nes
-nessus/plugins/iis_perl_problem.nes
-nessus/plugins/iis_scripts_browsable.nes
-nessus/plugins/imail_imapd.nes
-nessus/plugins/imail_imonitor.nes
-nessus/plugins/imap.nes
-nessus/plugins/in_fingerd.nes
-nessus/plugins/info2www.nes
-nessus/plugins/inn.nes
-nessus/plugins/ircd_dos.nes
-nessus/plugins/jetdirect_display_hack.nes
-nessus/plugins/jetdirect_single_thread.nes
-nessus/plugins/jj.nes
-nessus/plugins/land.nes
-nessus/plugins/linux_tftp.nes
-nessus/plugins/linux_zero_len_fragment.nes
-nessus/plugins/lpd.nes
-nessus/plugins/mdaemon.nes
-nessus/plugins/metainfo_mail.nes
-nessus/plugins/motorola_cable_modem.nes
-nessus/plugins/mountd_overflow.nes
-nessus/plugins/mspws.nes
-nessus/plugins/mspws_dotdotdot.nes
-nessus/plugins/msql_debug.nes
-nessus/plugins/msql_init.nes
-nessus/plugins/nestea.nes
-nessus/plugins/netbus_pro.nes
-nessus/plugins/netscape_PageServices.nes
-nessus/plugins/netscape_fasttrack.nes
-nessus/plugins/nfs_world_export.nes
-nessus/plugins/nis_check_domain.nes
-nessus/plugins/nis_server.nes
-nessus/plugins/nmap_tcp_connect.nes
-nessus/plugins/notes_mta_dos.nes
-nessus/plugins/nph-test-cgi.nes
-nessus/plugins/nt_ftp_guest.nes
-nessus/plugins/nt_ras_ptp.nes
-nessus/plugins/oshare.nes
-nessus/plugins/ows_overflow.nes
-nessus/plugins/pcnfsd_printerlist.nes
-nessus/plugins/pcnfsd_userlist.nes
-nessus/plugins/pcnfsd_warning.nes
-nessus/plugins/pfdispaly.nes
-nessus/plugins/phf.nes
-nessus/plugins/php.nes
-nessus/plugins/php_overflow.nes
-nessus/plugins/pmcrash.nes
-nessus/plugins/pnserver.nes
-nessus/plugins/pop3_overflow.nes
-nessus/plugins/portmap.nes
-nessus/plugins/proxy_GET.nes
-nessus/plugins/proxy_POST.nes
-nessus/plugins/proxy_connect.nes
-nessus/plugins/qpopper_overflow.nes
-nessus/plugins/queso.nes
-nessus/plugins/rcommands.nes
-nessus/plugins/recursive_finger.nes
-nessus/plugins/remwatch.nes
-nessus/plugins/rexecd.nes
-nessus/plugins/rootkit.nes
-nessus/plugins/router_dos.nes
-nessus/plugins/rpc_3270_mapper.nes
-nessus/plugins/rpc_X25.nes
-nessus/plugins/rpc_alis.nes
-nessus/plugins/rpc_database.nes
-nessus/plugins/rpc_etherstatd.nes
-nessus/plugins/rpc_keyserv.nes
-nessus/plugins/rpc_llockmgr.nes
-nessus/plugins/rpc_nlockmgr.nes
-nessus/plugins/rpc_nsed.nes
-nessus/plugins/rpc_nsemntd.nes
-nessus/plugins/rpc_rexd.nes
-nessus/plugins/rpc_rje_mapper.nes
-nessus/plugins/rpc_rquotad.nes
-nessus/plugins/rpc_rstatd.nes
-nessus/plugins/rpc_rusersd.nes
-nessus/plugins/rpc_sched.nes
-nessus/plugins/rpc_selection.nes
-nessus/plugins/rpc_showfhd.nes
-nessus/plugins/rpc_snmp.nes
-nessus/plugins/rpc_sprayd.nes
-nessus/plugins/rpc_statmon.nes
-nessus/plugins/rpc_sunlink_mapper.nes
-nessus/plugins/rpc_tfsd.nes
-nessus/plugins/rpc_walld.nes
-nessus/plugins/rpc_ypbind.nes
-nessus/plugins/rpc_yppasswdd.nes
-nessus/plugins/rpc_ypupdated.nes
-nessus/plugins/rpc_ypxfrd.nes
-nessus/plugins/sendmail.nes
-nessus/plugins/sendmail_debug.nes
-nessus/plugins/sendmail_decode.nes
-nessus/plugins/sendmail_ehlo.nes
-nessus/plugins/sendmail_expn.nes
-nessus/plugins/sendmail_helo.nes
-nessus/plugins/sendmail_overwrite.nes
-nessus/plugins/sendmail_program.nes
-nessus/plugins/sendmail_redirection_attack.nes
-nessus/plugins/sendmail_relaying.nes
-nessus/plugins/servu_dos.nes
-nessus/plugins/shell_cgi.nes
-nessus/plugins/slmail.nes
-nessus/plugins/slmail_helo.nes
-nessus/plugins/slmail_vrfy.nes
-nessus/plugins/smad.nes
-nessus/plugins/sping.nes
-nessus/plugins/ssh_insertion.nes
-nessus/plugins/standardsys.nes
-nessus/plugins/statd.nes
-nessus/plugins/sunkill.nes
-nessus/plugins/tcp_ack_scan.nes
-nessus/plugins/tcp_chorusing.nes
-nessus/plugins/tcp_fin_scan.nes
-nessus/plugins/tcp_maimon_scan.nes
-nessus/plugins/tcp_null_scan.nes
-nessus/plugins/tcp_seq.nes
-nessus/plugins/tcp_syn_scan.nes
-nessus/plugins/tcp_xmas_scan.nes
-nessus/plugins/teardrop.nes
-nessus/plugins/test-cgi.nes
-nessus/plugins/tftp_grab_file.nes
-nessus/plugins/thttpd.nes
-nessus/plugins/tooltalk.nes
-nessus/plugins/udp_scan.nes
-nessus/plugins/unfsd_bug.nes
-nessus/plugins/uploader_exe.nes
-nessus/plugins/uw_imapd.nes
-nessus/plugins/view_source_cgi.nes
-nessus/plugins/webdist.nes
-nessus/plugins/webgais.nes
-nessus/plugins/websendmail.nes
-nessus/plugins/wftp.nes
-nessus/plugins/wingate.nes
-nessus/plugins/wingate2.nes
-nessus/plugins/wingate_user.nes
-nessus/plugins/winnt_dns_flood.nes
-nessus/plugins/winnt_dns_qr.nes
-nessus/plugins/winnuke.nes
-nessus/plugins/wins_udp_flood.nes
-nessus/plugins/wrap_cgi.nes
-nessus/plugins/wu_ftpd_mkdir.nes
-nessus/plugins/x11.nes
-nessus/queso.conf
-@dirrm nessus/plugins
-@dirrm nessus/reports
-@dirrm nessus
+sbin/nessusd

>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?199911072256.XAA61021>