2002-05-13 04:36:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2002/05/13 08:36:33 jsyn Exp $
|
2001-05-05 23:45:31 -04:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
COMMENT= "SNMP audit scanner"
|
1999-03-14 13:46:34 -05:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
DISTNAME= ADMsnmp.0.1
|
|
|
|
PKGNAME= ADMsnmp-0.1
|
|
|
|
CATEGORIES= security
|
2002-05-13 04:36:33 -04:00
|
|
|
NEED_VERSION= 1.528
|
2002-03-24 02:55:53 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
1999-03-14 13:46:34 -05:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
MAINTAINER= Jason Peel <jsyn@openbsd.org>
|
1999-03-14 13:46:34 -05:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no license"
|
|
|
|
PERMIT_PACKAGE_FTP= "no license"
|
|
|
|
PERMIT_DISTFILES_CDROM= "no license"
|
|
|
|
PERMIT_DISTFILES_FTP= "no license"
|
1999-03-14 13:46:34 -05:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
|
|
|
|
http://adm.freelsd.net/ADM/ \
|
2002-05-13 03:54:09 -04:00
|
|
|
${MASTER_SITE_PACKETSTORM:=groups/ADM/}
|
1999-03-14 13:46:34 -05:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
WRKDIST= ${WRKDIR}/ADMsnmp
|
2000-02-12 03:41:07 -05:00
|
|
|
|
2002-03-24 02:55:53 -05:00
|
|
|
NO_REGRESS= Yes
|
1999-03-14 13:46:34 -05:00
|
|
|
|
|
|
|
do-build:
|
2002-03-24 02:55:53 -05:00
|
|
|
cd ${WRKSRC} ; ${CC} ${CFLAGS} \
|
|
|
|
-DPORTSHAREDIR="${TRUEPREFIX}/share/ADMsnmp" \
|
|
|
|
-o ADMsnmp snmp.c
|
1999-03-14 13:46:34 -05:00
|
|
|
|
|
|
|
do-install:
|
2002-03-24 02:55:53 -05:00
|
|
|
${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
|
1999-03-14 13:46:34 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|