there is no /usr/local/etc, i suk

This commit is contained in:
dugsong 1999-06-02 02:12:34 +00:00
parent 6eaf3981a0
commit a95556ad69
3 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# Date created: 14 Mar 1999
# Whom: dugsong@monkey.org
#
# $OpenBSD: Makefile,v 1.2 1999/03/23 02:54:06 dugsong Exp $
# $OpenBSD: Makefile,v 1.3 1999/06/02 02:12:34 dugsong Exp $
PKGNAME= ADMsnmp-0.1
DISTNAME= ADMsnmp.0.1
@ -25,7 +25,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ADMsnmp ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/snmp.passwd ${PREFIX}/etc
mv ${PREFIX}/etc/snmp.passwd ${PREFIX}/etc/ADMsnmp.passwd
${INSTALL_DATA_DIR} ${PREFIX}/lib/ADMsnmp
${INSTALL_DATA} ${WRKSRC}/snmp.passwd ${PREFIX}/lib/ADMsnmp
.include <bsd.port.mk>

View File

@ -78,7 +78,7 @@
printf ("cant resolve hostname!\n");
exit (-1);
}
! opz.wordfile = strdup ("/usr/local/etc/ADMsnmp.passwd");
! opz.wordfile = strdup ("/usr/local/lib/ADMsnmp/snmp.passwd");
opz.outputfile = NULL;
opz.guess = -1;
opz.manysend = 2;

View File

@ -1,2 +1,3 @@
bin/ADMsnmp
etc/ADMsnmp.passwd
lib/ADMsnmp/snmp.passwd
@dirrm lib/ADMsnmp