Subject: nessus3 package + handling binary only packages.
To: None <tech-pkg@netbsd.org>
From: Jake Kupersmith <jakerosoft@gmail.com>
List: tech-pkg
Date: 11/15/2006 14:09:02
There is no nessus3 package in pkgsrc.. probably due to the fast they
changed the license and you can only download binaries of nessus3...

I have created a package 'suse100_nessus3'  which uses the suse 10
emulation packages.  The package builds and installs cleanly, it just
needs to be modified for the proprietary license / manual binary
download.

Can I send this package upstream to someone to add to the cvs tree?
Can someone give me an example of what changes are needed before being
added?

Thanks

root@shake {21} /usr/pkgsrc/cox
# cat suse100_nessus3/Makefile
# $Id: Makefile,v 1.1 2006/11/10 01:32:39 jkupersm Exp $

DISTNAME=               suse_nessus3-${SUSE_VERSION}
#PKGREVISION=           1
CATEGORIES=             cox
MASTER_SITES=           ${MASTER_SITE_SUSE100}
DISTFILES=              ${RPMFILES}

MAINTAINER=             jake.kupersmith@cox.com
HOMEPAGE=               http://frylock/
COMMENT=                Linux compatibility package for Nessus3

DEPENDS+=
suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
DEPENDS+=
suse_openssl-${SUSE_VERSION}{,nb*}:../../emulators/suse100_openssl

EXTRACT_ONLY=           # empty
NO_BUILD=               YES
PLIST_SRC=              ${WRKDIR}/PLIST_DYNAMIC

.if exists(Makefile.${MACHINE_ARCH})
.include "Makefile.${MACHINE_ARCH}"
.endif

.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
<EOF>

root@shake {22} /usr/pkgsrc/cox
# cat suse100_nessus3/Makefile.i386
# $Id: Makefile.i386,v 1.1 2006/11/10 01:32:39 jkupersm Exp $

RPMFILES=               Nessus-3.0.4-suse10.0.${SUSE_ARCH}.rpm