View | Details | Raw Unified | Return to bug 66052
Collapse All | Expand All

(-)nessus/Makefile (+7 lines)
Lines 27-32 Link Here
27
27
28
USE_LIBTOOL_VER=13
28
USE_LIBTOOL_VER=13
29
WANT_GNOME=	yes
29
WANT_GNOME=	yes
30
USE_REINPLACE=	YES
30
31
31
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
32
33
Lines 40-46 Link Here
40
MAN1=		nessus.1 nessus-mkrand.1 nessus-mkcert-client.1
41
MAN1=		nessus.1 nessus-mkrand.1 nessus-mkcert-client.1
41
MAN8=		nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8
42
MAN8=		nessusd.8 nessus-adduser.8 nessus-mkcert.8 nessus-rmuser.8
42
43
44
post-extract:
45
	@cp ${FILESDIR}/nessusd.sh ${WRKSRC}/nessusd.sh
46
	@${REINPLACE_CMD} -E -e 's|%%PREFIX%%|${PREFIX}|g' \
47
                ${BUILD_WRKSRC}/nessusd.sh
43
post-install:
48
post-install:
49
	${INSTALL_SCRIPT} ${BUILD_WRKSRC}/nessusd.sh \
50
		${LOCALBASE}/etc/rc.d/nessusd.sh.sample
44
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/move_nessus
51
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/move_nessus
45
.if ! exists(${PREFIX}/var/CA/serverkey.pem)
52
.if ! exists(${PREFIX}/var/CA/serverkey.pem)
46
.if ! defined(BATCH)
53
.if ! defined(BATCH)
(-)nessus/files/nessusd.sh (+28 lines)
Line 0 Link Here
1
#! /bin/sh
2
# 
3
# $FreeBSD: $
4
#
5
6
umask 022
7
arg=${1:-start}
8
9
nessusd_bin=%%PREFIX%%/sbin/nessusd
10
nessus_arg="-D"
11
kill_arg=nessusd
12
13
echo -n " nessusd"
14
15
case $arg in
16
start)
17
	test -x $nessusd_bin || exit 1
18
	$nessusd_bin $nessus_arg
19
	;;
20
stop)
21
	killall $kill_arg > /dev/null 2>&1
22
	;;
23
restart)
24
	killall $kill_arg > /dev/null 2>&1
25
	test -x $nessusd_bin || exit 1
26
	$nessusd_bin $nessus_arg
27
	;;
28
esac
(-)nessus/pkg-plist (+1 lines)
Lines 1-3 Link Here
1
etc/rc.d/nessusd.sh.sample
1
bin/nessus
2
bin/nessus
2
bin/nessus-mkcert-client
3
bin/nessus-mkcert-client
3
bin/nessus-mkrand
4
bin/nessus-mkrand
(-)nessus-plugins/Makefile (-4 / +8 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	nessus-plugins
8
PORTNAME=	nessus-plugins
9
PORTVERSION=	2.0.10a
9
PORTVERSION=	2.0.10a
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	security
11
CATEGORIES=	security
12
MASTER_SITES=	ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
12
MASTER_SITES=	ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \
13
		ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
13
		ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \
Lines 20-27 Link Here
20
MAINTAINER=	udo.schweigert@siemens.com
20
MAINTAINER=	udo.schweigert@siemens.com
21
COMMENT=	Plugins for Nessus, the security scanner
21
COMMENT=	Plugins for Nessus, the security scanner
22
22
23
BUILD_DEPENDS=	${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
23
BUILD_DEPENDS=	${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus
24
		libnet-config:${PORTSDIR}/net/libnet
25
RUN_DEPENDS=	${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
24
RUN_DEPENDS=	${LOCALBASE}/include/nessus/nessus-devel.h:${PORTSDIR}/security/nessus \
26
		nmap:${PORTSDIR}/security/nmap \
25
		nmap:${PORTSDIR}/security/nmap \
27
		wget:${PORTSDIR}/ftp/wget
26
		wget:${PORTSDIR}/ftp/wget
Lines 38-44 Link Here
38
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
39
38
40
.if ${ARCH} == "amd64"
39
.if ${ARCH} == "amd64"
41
BROKEN=		"Does not compile on amd64 (libnet needs to provide a shared library)"
40
PLIST_SUB+=	AMD="@comment "
41
pre-configure:
42
	${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-3com-hub-amd64
43
.else
44
PLIST_SUB+=	AMD=""
45
BUILD_DEPENDS+=	libnet-config:${PORTSDIR}/net/libnet
42
.endif
46
.endif
43
47
44
post-install:
48
post-install:
(-)nessus-plugins/files/extra-patch-3com-hub-amd64 (+18 lines)
Line 0 Link Here
1
--- plugins/make_world.orig	Sun Jun  9 13:07:06 2002
2
+++ plugins/make_world	Wed Apr 28 17:03:30 2004
3
@@ -15,14 +15,7 @@
4
 do if [ -d $i -a $i != CVS ]; then
5
  if [ "$i" = "3com_hub" ];
6
  then
7
-  libnet-config && {
8
-  	cd $i
9
-	${MAKE:-make} $MAKEFLAG $1
10
-	 if [ $? -ne 0 ];then
11
-   		BADPLUGINS="$BADPLUGINS $i"
12
- 	fi
13
-	cd ..
14
-  }
15
+  	BADPLUGINS="$BADPLUGINS $i";
16
  else
17
  cd $i
18
  ${MAKE:-make} $MAKEFLAG $1
(-)nessus-plugins/pkg-plist (-1 / +1 lines)
Lines 2-8 Link Here
2
lib/nessus/plugins/12planet_chat_server_path_disclosure.nasl
2
lib/nessus/plugins/12planet_chat_server_path_disclosure.nasl
3
lib/nessus/plugins/12planet_chat_server_plaintext_password.nasl
3
lib/nessus/plugins/12planet_chat_server_plaintext_password.nasl
4
lib/nessus/plugins/3com_config_disclosure.nasl
4
lib/nessus/plugins/3com_config_disclosure.nasl
5
lib/nessus/plugins/3com_hub.nes
5
%%AMD%%lib/nessus/plugins/3com_hub.nes
6
lib/nessus/plugins/3com_ras_crash.nasl
6
lib/nessus/plugins/3com_ras_crash.nasl
7
lib/nessus/plugins/3com_switches.nasl
7
lib/nessus/plugins/3com_switches.nasl
8
lib/nessus/plugins/404_path_disclosure.nasl
8
lib/nessus/plugins/404_path_disclosure.nasl

Return to bug 66052