32a9e13040
- add MASTER_SITE_PACKETSTORM as backup - NO_REGRESS - stylize - rename patch - fix output formating in patch - sprinkle $OpenBSD$ - regen PLIST - take over maintainership (this ok dugsong@)
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2002/03/24 07:55:54 jsyn Exp $
|
|
|
|
COMMENT= "SNMP audit scanner"
|
|
|
|
DISTNAME= ADMsnmp.0.1
|
|
PKGNAME= ADMsnmp-0.1
|
|
CATEGORIES= security
|
|
NEED_VERSION= 1.515
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= Jason Peel <jsyn@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "no license"
|
|
PERMIT_PACKAGE_FTP= "no license"
|
|
PERMIT_DISTFILES_CDROM= "no license"
|
|
PERMIT_DISTFILES_FTP= "no license"
|
|
|
|
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
|
|
http://adm.freelsd.net/ADM/ \
|
|
${MASTER_SITE_PACKETSTORM}
|
|
MASTER_SITE_SUBDIR= groups/ADM
|
|
|
|
WRKDIST= ${WRKDIR}/ADMsnmp
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-build:
|
|
cd ${WRKSRC} ; ${CC} ${CFLAGS} \
|
|
-DPORTSHAREDIR="${TRUEPREFIX}/share/ADMsnmp" \
|
|
-o ADMsnmp snmp.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ADMsnmp ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/ADMsnmp
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ADMsnmp
|
|
${INSTALL_DATA} ${WRKSRC}/snmp.passwd ${PREFIX}/share/ADMsnmp
|
|
${INSTALL_DATA} ${WRKSRC}/ADMsnmp.README ${PREFIX}/share/doc/ADMsnmp
|
|
|
|
.include <bsd.port.mk>
|