pick up missed files
This commit is contained in:
parent
068ee71ade
commit
544d49e026
11
net/ucd-snmp/patches/patch-ab
Normal file
11
net/ucd-snmp/patches/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Tue May 30 12:19:19 2000
|
||||
+++ Makefile.in Tue May 30 12:19:31 2000
|
||||
@@ -60,7 +60,7 @@ install: all installdirs
|
||||
|
||||
installdirs:
|
||||
@$(SHELL) $(srcdir)/mkinstalldirs $(snmplibdir) $(mibdir) $(includedir)
|
||||
- @-$(SHELL) $(srcdir)/mkinstalldirs $(persistentdir)
|
||||
+# @-$(SHELL) $(srcdir)/mkinstalldirs $(persistentdir)
|
||||
|
||||
apps/snmpget apps/snmpgetnext apps/snmpset apps/snmptranslate apps/snmpwalk apps/snmpbulkwalk apps/snmptest apps/snmptrapd apps/snmpnetstat/snmpnetstat agent/snmpd: makeall
|
||||
|
11
net/ucd-snmp/patches/patch-ac
Normal file
11
net/ucd-snmp/patches/patch-ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- agent/Makefile.in.orig Tue May 30 12:20:36 2000
|
||||
+++ agent/Makefile.in Tue May 30 12:20:43 2000
|
||||
@@ -72,7 +72,7 @@ install: installdirs
|
||||
|
||||
installdirs:
|
||||
@$(SHELL) $(srcdir)/../mkinstalldirs $(sbindir) $(snmplibdir) $(includedir) $(libdir)
|
||||
- @-$(SHELL) $(srcdir)/../mkinstalldirs $(persistentdir)
|
||||
+# @-$(SHELL) $(srcdir)/../mkinstalldirs $(persistentdir)
|
||||
|
||||
|
||||
dependlocal:
|
27
net/ucd-snmp/pkg/DEINSTALL
Normal file
27
net/ucd-snmp/pkg/DEINSTALL
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.1 2000/06/02 15:45:06 hugh Exp $
|
||||
#
|
||||
# de-installation of ucd-snmp
|
||||
|
||||
PERSISTENT_DIR=/var/ucd-snmp
|
||||
|
||||
remove_persistent()
|
||||
{
|
||||
rm -rf ${1}
|
||||
}
|
||||
|
||||
do_deinstall()
|
||||
{
|
||||
if [ -d ${PERSISTENT_DIR} ]; then
|
||||
remove_persistent ${PERSISTENT_DIR}
|
||||
fi
|
||||
if [ -f /etc/snmpd.conf ]; then
|
||||
echo "+------------"
|
||||
echo "| If you do not plan on re-installing or upgrading this"
|
||||
echo "| package, it is safe to remove /etc/snmpd.conf"
|
||||
echo "+------------"
|
||||
fi
|
||||
}
|
||||
|
||||
do_deinstall ${PERSISTENT_DIR}
|
34
net/ucd-snmp/pkg/INSTALL
Normal file
34
net/ucd-snmp/pkg/INSTALL
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: INSTALL,v 1.1 2000/06/02 15:45:06 hugh Exp $
|
||||
#
|
||||
# post-installation setup of ucd-snmp
|
||||
|
||||
PERSISTENT_DIR=/var/ucd-snmp
|
||||
|
||||
create_persistent()
|
||||
{
|
||||
install -d -m 755 -o root -g wheel ${1}
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
create_persistent ${PERSISTENT_DIR}
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
16
net/ucd-snmp/pkg/MESSAGE
Normal file
16
net/ucd-snmp/pkg/MESSAGE
Normal file
@ -0,0 +1,16 @@
|
||||
+------------
|
||||
| By default, the configuration files and mib modules for snmpd are in stored
|
||||
| in /usr/local/share/snmp. An example configuration has been installed in
|
||||
| /usr/local/share/examples/ucd-snmp/EXAMPLE.conf. Extra documentation has
|
||||
| also been installed in /usr/local/share/doc/ucd-snmp.
|
||||
|
|
||||
| To have snmpd start at boot time, add an entry similiar to the following in
|
||||
| /etc/rc.local.
|
||||
|
|
||||
| if [ -x /usr/local/sbin/snmpd ]; then
|
||||
| /usr/local/sbin/snmpd -c /etc/snmpd.conf && echo -n ' snmpd'
|
||||
| fi
|
||||
|
|
||||
| This will start snmpd and use /etc/snmpd.conf for the configuration.
|
||||
| (see snmpd(5) for available options)
|
||||
+------------
|
5
net/ucd-snmp/pkg/SECURITY
Normal file
5
net/ucd-snmp/pkg/SECURITY
Normal file
@ -0,0 +1,5 @@
|
||||
$OpenBSD: SECURITY,v 1.1 2000/06/02 15:45:06 hugh Exp $
|
||||
|
||||
${WRKSRC}/snmplib/snmp_api.c:
|
||||
|
||||
mktemp() used to create pathname for a UNIX domain socket in /tmp
|
Loading…
Reference in New Issue
Block a user