2000-07-10 16:28:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2000/07/10 20:28:03 danh Exp $
|
2000-05-31 12:13:08 -04:00
|
|
|
|
|
|
|
DISTNAME= ucd-snmp-4.1.2
|
|
|
|
CATEGORIES= net
|
2000-06-22 11:36:26 -04:00
|
|
|
NEED_VERSION= 1.302
|
2000-05-31 12:13:08 -04:00
|
|
|
HOMEPAGE= http://ucd-snmp.ucdavis.edu/
|
2000-07-10 16:28:00 -04:00
|
|
|
MAINTAINER= danh@openbsd.org
|
2000-05-31 12:13:08 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ucd-snmp.ucdavis.edu/ \
|
|
|
|
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/
|
|
|
|
|
2000-06-27 02:36:10 -04:00
|
|
|
CONFIGURE_STYLE= gnu dest
|
2000-05-31 12:13:08 -04:00
|
|
|
CONFIGURE_ARGS+= --with-persistent-directory='/var/ucd-snmp'
|
|
|
|
CONFIGURE_ARGS+= --with-sys-contact='<change_me>'
|
|
|
|
CONFIGURE_ARGS+= --with-sys-location='<change_me>'
|
|
|
|
CONFIGURE_ARGS+= --with-logfile='/var/log/snmpd'
|
|
|
|
|
2000-06-02 15:47:07 -04:00
|
|
|
BIN= encode_keychange snmpbulkget snmpbulkwalk snmpdelta \
|
|
|
|
snmpget snmpgetnext snmpnetstat snmpset snmpstatus \
|
|
|
|
snmptable snmptest snmptranslate snmptrap snmpusm snmpwalk
|
2000-05-31 12:13:08 -04:00
|
|
|
SBIN= snmpd snmptrapd
|
1998-01-08 17:55:30 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
( cd ${PREFIX}/bin; strip ${BIN} )
|
|
|
|
( cd ${PREFIX}/sbin; strip ${SBIN} )
|
2000-05-31 12:13:08 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucd-snmp
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} EXAMPLE.conf ${PREFIX}/share/examples/ucd-snmp
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README.snmpv3 ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/ucd-snmp
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} AGENT.txt ${PREFIX}/share/doc/ucd-snmp
|
1998-01-08 17:55:30 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|