1999-10-26 09:39:19 -04:00
|
|
|
# Makefile for: nessus
|
|
|
|
# Version required: 0.2
|
|
|
|
# Date created: 14 Mar 1999
|
|
|
|
# Whom: dugsong@monkey.org
|
|
|
|
#
|
2000-04-09 13:35:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2000/04/09 17:38:05 espie Exp $
|
1999-10-26 09:39:19 -04:00
|
|
|
|
|
|
|
PKGNAME= nessus-${VERS}
|
1999-01-31 19:29:02 -05:00
|
|
|
|
|
|
|
CATEGORIES= security
|
2000-03-24 18:28:01 -05:00
|
|
|
NEED_VERSION= 1.230
|
2000-04-09 13:35:57 -04:00
|
|
|
FAKE=No
|
1999-10-26 09:39:19 -04:00
|
|
|
|
|
|
|
VERS= 0.98.3
|
|
|
|
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
|
|
|
|
DISTFILES= nessus-libraries-${VERS}${EXTRACT_SUFX} \
|
|
|
|
libnasl-${VERS}${EXTRACT_SUFX} \
|
|
|
|
nessus-core-${VERS}${EXTRACT_SUFX} \
|
|
|
|
nessus-plugins-${VERS}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
NESSUS_DIRS= ${DISTFILES:S/-${VERS}${EXTRACT_SUFX}//g}
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${VERS}/ \
|
|
|
|
ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${VERS}/ \
|
|
|
|
ftp://cvs.nessus.org/pub/nessus/nessus-${VERS}/ \
|
|
|
|
ftp://ftp.chg.ru/pub/security/nessus/nessus-${VERS}/ \
|
|
|
|
ftp://ftp.sekure.net/pub/nessus/nessus-${VERS}/ \
|
|
|
|
ftp://ftp.nectec.or.th/pub/mirrors/nessus/nessus-${VERS}/
|
1999-01-31 19:29:02 -05:00
|
|
|
|
|
|
|
MAINTAINER= dugsong@monkey.org
|
|
|
|
|
2000-02-12 03:02:07 -05:00
|
|
|
LICENSE_TYPE= GPL
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2000-03-24 18:28:01 -05:00
|
|
|
LIB_DEPENDS= gtk.1.2::x11/gtk+
|
1999-01-31 19:29:02 -05:00
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
GNU_CONFIGURE= Yes
|
1999-01-31 19:29:02 -05:00
|
|
|
|
1999-10-26 09:39:19 -04:00
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${PREFIX}/share --localstatedir=${PREFIX}/share
|
|
|
|
|
|
|
|
# GNU build environment gone horribly wrong. ugh.
|
|
|
|
post-extract:
|
|
|
|
@sed "s%y0y0y0%${NESSUS_DIRS}%g" ${FILESDIR}/Makefile > ${WRKSRC}Makefile
|
|
|
|
@sed -e "s%y0y0y0%${NESSUS_DIRS}%g" -e "s%w00w00%${WRKSRC}%g" \
|
|
|
|
${FILESDIR}/configure > ${WRKSRC}configure
|
|
|
|
@sed "s%w00w00%${WRKSRC}%g" ${FILESDIR}/nessus-config > ${WRKSRC}nessus-config
|
|
|
|
@sed "s%w00w00%${WRKSRC}%g" ${FILESDIR}/nasl-config > ${WRKSRC}nasl-config
|
|
|
|
@chmod 755 ${WRKSRC}*
|
|
|
|
@(cd ${WRKSRC}nessus-libraries/include ; ln -s . nessus)
|
|
|
|
@(cd ${WRKSRC}nessus-libraries/cipher ; ln -s . peks)
|
|
|
|
@(cd ${WRKSRC}libnasl/include ; ln -s . nessus)
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
mkdir -p -m 755 ${PREFIX}/include/nessus
|
|
|
|
|
1999-01-31 19:29:02 -05:00
|
|
|
.include <bsd.port.mk>
|