net-snmp 5.1.1 from Tim Kornau <opti@openbsd.de>
This commit is contained in:
parent
e3f992b106
commit
85eadf60a7
55
net/net-snmp/Makefile
Normal file
55
net/net-snmp/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "extendable SNMP implementation"
|
||||
COMMENT-perl= "SNMP modules for Perl"
|
||||
|
||||
DISTNAME= net-snmp-5.1.1
|
||||
FULLPKGNAME-perl= p5-SNMP-5.1.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
|
||||
|
||||
HOMEPAGE= http://www.net-snmp.org
|
||||
|
||||
MAINTAINER= Tim Kornau <opti@openbsd.de>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MULTI_PACKAGES= -perl
|
||||
SUBPACKAGE?=
|
||||
|
||||
.if ${SUBPACKAGE} == "-perl"
|
||||
CATEGORIES= net perl5
|
||||
RUN_DEPENDS= ::net/net-snmp
|
||||
MODULES= perl
|
||||
.endif
|
||||
|
||||
NET_SNMP_MIB_LIST= host disman/event-mib smux mibII/mta_sendmail
|
||||
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --with-libwrap --with-perl-modules \
|
||||
--with-copy-persistent-files="no" \
|
||||
--with-mib-modules="${NET_SNMP_MIB_LIST}" \
|
||||
--with-default-snmp-version="3" \
|
||||
--with-sys-contact="nobody@nowhere.invalid" \
|
||||
--with-sys-location="somewhere" \
|
||||
--with-logfile="/var/log/snmpd" \
|
||||
--with-persistent-directory="/var/net-snmp"
|
||||
REGRESS_TARGET= test
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/net-snmp
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/net-snmp
|
||||
${INSTALL_DATA} ${WRKSRC}/README.snmpv3 ${PREFIX}/share/doc/net-snmp
|
||||
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/net-snmp
|
||||
${INSTALL_DATA} ${WRKSRC}/AGENT.txt ${PREFIX}/share/doc/net-snmp
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/net-snmp
|
||||
${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf \
|
||||
${PREFIX}/share/examples/net-snmp
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/net-snmp/distinfo
Normal file
3
net/net-snmp/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (net-snmp-5.1.1.tar.gz) = 68f6c946387718e4f300cbb8b6c4bd43
|
||||
RMD160 (net-snmp-5.1.1.tar.gz) = eaa9f9c8b539eba9683d07d2f8a7480f6aba1ba8
|
||||
SHA1 (net-snmp-5.1.1.tar.gz) = 19fe6191ac1312f6f65bf2b9513e8d25084cac1b
|
37
net/net-snmp/patches/patch-Makefile_rules
Normal file
37
net/net-snmp/patches/patch-Makefile_rules
Normal file
@ -0,0 +1,37 @@
|
||||
$OpenBSD: patch-Makefile_rules,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- Makefile.rules.orig Fri Feb 13 17:42:28 2004
|
||||
+++ Makefile.rules Tue Aug 3 09:56:55 2004
|
||||
@@ -202,14 +202,20 @@ uninstalllibs:
|
||||
installbin: installlocalbin installsubdirbin
|
||||
|
||||
installlocalbin: $(INSTALLBINPROGS)
|
||||
- @if test "$(INSTALLBINPROGS) $(INSTALLBINSCRIPTS)" != " "; then \
|
||||
+ @if test "X$(INSTALLBINPROGS)" != "X"; then \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(bindir) ; \
|
||||
- it="$(INSTALLBINPROGS) $(INSTALLBINSCRIPTS)" ; \
|
||||
- $(INSTALL) $(INSTALLBINPROGS) $(INSTALLBINSCRIPTS) $(INSTALL_PREFIX)$(bindir) ; \
|
||||
- for i in $$it ; do \
|
||||
+ $(INSTALL_PROGRAM) $(INSTALLBINPROGS) $(INSTALL_PREFIX)$(bindir) ; \
|
||||
+ for i in $(INSTALLBINPROGS) ; do \
|
||||
echo "installing $$i in $(INSTALL_PREFIX)$(bindir)"; \
|
||||
done \
|
||||
fi
|
||||
+ @if test "X$(INSTALLBINSCRIPTS)" != "X"; then \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(bindir) ; \
|
||||
+ $(INSTALL_SCRIPT) $(INSTALLBINSCRIPTS) $(INSTALL_PREFIX)$(bindir) ; \
|
||||
+ for i in $(INSTALLBINSCRIPTS) ; do \
|
||||
+ echo "installing $$i in $(INSTALL_PREFIX)$(bindir)"; \
|
||||
+ done \
|
||||
+ fi
|
||||
|
||||
installsubdirbin:
|
||||
@if test "$(SUBDIRS)" != ""; then \
|
||||
@@ -243,7 +249,7 @@ installlocalsbin: $(INSTALLSBINPROGS)
|
||||
@if test "$(INSTALLSBINPROGS)" != ""; then \
|
||||
it="$(INSTALLSBINPROGS)" ; \
|
||||
$(SHELL) $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$(sbindir) ; \
|
||||
- $(INSTALL) $(INSTALLSBINPROGS) $(INSTALL_PREFIX)$(sbindir) ; \
|
||||
+ $(INSTALL_PROGRAM) $(INSTALLSBINPROGS) $(INSTALL_PREFIX)$(sbindir) ; \
|
||||
for i in $$it ; do \
|
||||
echo "installing $$i in $(INSTALL_PREFIX)$(sbindir)"; \
|
||||
done \
|
14
net/net-snmp/patches/patch-Makefile_top
Normal file
14
net/net-snmp/patches/patch-Makefile_top
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-Makefile_top,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- Makefile.top.orig Tue Feb 17 12:50:00 2004
|
||||
+++ Makefile.top Tue Aug 3 09:41:11 2004
|
||||
@@ -34,7 +34,9 @@ INSTALL_PREFIX = @INSTALL_PREFIX@
|
||||
#
|
||||
INSTALL = $(LIBTOOL) --mode=install @INSTALL@
|
||||
UNINSTALL = $(LIBTOOL) --mode=uninstall rm -f
|
||||
-INSTALL_DATA = @INSTALL_DATA@
|
||||
+INSTALL_DATA = $(LIBTOOL) --mode=install @INSTALL_DATA@
|
||||
+INSTALL_PROGRAM = $(LIBTOOL) --mode=install @INSTALL_PROGRAM@
|
||||
+INSTALL_SCRIPT = $(LIBTOOL) --mode=install @INSTALL_SCRIPT@
|
||||
SED = @SED@
|
||||
LN_S = @LN_S@
|
||||
AUTOCONF = @AUTOCONF@
|
11
net/net-snmp/patches/patch-agent_mibgroup_host_hr_storage_c
Normal file
11
net/net-snmp/patches/patch-agent_mibgroup_host_hr_storage_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-agent_mibgroup_host_hr_storage_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/host/hr_storage.c.orig Wed Jul 14 14:54:04 2004
|
||||
+++ agent/mibgroup/host/hr_storage.c Wed Jul 14 14:54:33 2004
|
||||
@@ -133,6 +133,7 @@
|
||||
#include <net-snmp/library/read_config.h>
|
||||
|
||||
#define HRSTORE_MONOTONICALLY_INCREASING
|
||||
+#undef MBSTAT_SYMBOL
|
||||
|
||||
/*********************
|
||||
*
|
16
net/net-snmp/patches/patch-agent_mibgroup_mibII_interfaces_c
Normal file
16
net/net-snmp/patches/patch-agent_mibgroup_mibII_interfaces_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-agent_mibgroup_mibII_interfaces_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/mibII/interfaces.c.orig Sun Dec 7 16:36:39 2003
|
||||
+++ agent/mibgroup/mibII/interfaces.c Tue Jul 20 10:28:46 2004
|
||||
@@ -2120,11 +2120,10 @@ Interface_Scan_Get_Count(void)
|
||||
|
||||
#else /* hpux11 */
|
||||
|
||||
-static time_t scan_time = 0;
|
||||
-
|
||||
int
|
||||
Interface_Scan_Get_Count(void)
|
||||
{
|
||||
+ static time_t scan_time = 0;
|
||||
time_t time_now = time(NULL);
|
||||
|
||||
if (!Interface_Count || (time_now > scan_time + 60)) {
|
30
net/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c
Normal file
30
net/net-snmp/patches/patch-agent_mibgroup_mibII_tcpTable_c
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-agent_mibgroup_mibII_tcpTable_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/mibII/tcpTable.c.orig Mon Mar 15 18:27:45 2004
|
||||
+++ agent/mibgroup/mibII/tcpTable.c Tue Jul 20 10:14:54 2004
|
||||
@@ -434,7 +434,7 @@ tcpTable_next_entry( void **loop_context
|
||||
* and update the loop context ready for the next one.
|
||||
*/
|
||||
*data_context = (void*)entry;
|
||||
- *loop_context = (void*)entry->INP_NEXT_SYMBOL;
|
||||
+ *loop_context = (void*)entry->inp_next;
|
||||
return index;
|
||||
}
|
||||
|
||||
@@ -444,7 +444,7 @@ tcpTable_free(netsnmp_cache *cache, void
|
||||
TCPTABLE_ENTRY_TYPE *p;
|
||||
while (tcp_head) {
|
||||
p = tcp_head;
|
||||
- tcp_head = tcp_head->INP_NEXT_SYMBOL;
|
||||
+ tcp_head = tcp_head->inp_next;
|
||||
free(p);
|
||||
}
|
||||
|
||||
@@ -771,7 +771,7 @@ tcpTable_load(netsnmp_cache *cache, void
|
||||
nnew->state == 8 /* closeWait */ )
|
||||
tcp_estab++;
|
||||
|
||||
- entry = nnew->inp_queue.cqe_next; /* Next kernel entry */
|
||||
+ entry = nnew->pcb.inp_queue.cqe_next; /* Next kernel entry */
|
||||
nnew->inp_next = tcp_head;
|
||||
tcp_head = nnew;
|
||||
|
30
net/net-snmp/patches/patch-agent_mibgroup_mibII_var_route_c
Normal file
30
net/net-snmp/patches/patch-agent_mibgroup_mibII_var_route_c
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-agent_mibgroup_mibII_var_route_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/mibII/var_route.c.orig Mon Mar 15 18:27:45 2004
|
||||
+++ agent/mibgroup/mibII/var_route.c Tue Jul 20 08:42:29 2004
|
||||
@@ -1663,22 +1663,21 @@ TAILQ_HEAD(, snmprt)
|
||||
continue;
|
||||
switch (bit) {
|
||||
case RTA_DST:
|
||||
-#define satosin(sa) ((struct sockaddr_in *)(sa))
|
||||
- rt->dest = satosin(sa)->sin_addr;
|
||||
+ rt->dest = ((struct sockaddr_in *)sa)->sin_addr;
|
||||
gotdest = 1;
|
||||
break;
|
||||
case RTA_GATEWAY:
|
||||
if (sa->sa_family == AF_INET)
|
||||
- rt->gateway = satosin(sa)->sin_addr;
|
||||
+ rt->gateway = ((struct sockaddr_in *)sa)->sin_addr;
|
||||
break;
|
||||
case RTA_NETMASK:
|
||||
if (sa->sa_len >= offsetof(struct sockaddr_in, sin_addr))
|
||||
- rt->netmask = satosin(sa)->sin_addr;
|
||||
+ rt->netmask = ((struct sockaddr_in *)sa)->sin_addr;
|
||||
gotmask = 1;
|
||||
break;
|
||||
case RTA_IFA:
|
||||
if (sa->sa_family == AF_INET)
|
||||
- rt->ifa = satosin(sa)->sin_addr;
|
||||
+ rt->ifa = ((struct sockaddr_in *)sa)->sin_addr;
|
||||
break;
|
||||
}
|
||||
/*
|
28
net/net-snmp/patches/patch-agent_mibgroup_ucd-snmp_dlmod_c
Normal file
28
net/net-snmp/patches/patch-agent_mibgroup_ucd-snmp_dlmod_c
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-agent_mibgroup_ucd-snmp_dlmod_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/ucd-snmp/dlmod.c.orig Sun Feb 29 19:33:07 2004
|
||||
+++ agent/mibgroup/ucd-snmp/dlmod.c Tue Jul 20 10:31:30 2004
|
||||
@@ -179,7 +179,12 @@ dlmod_load_module(struct dlmod *dlm)
|
||||
if (dlm->status == DLMOD_ERROR)
|
||||
return;
|
||||
}
|
||||
+#ifdef __ELF__
|
||||
snprintf(sym_init, sizeof(sym_init), "init_%s", dlm->name);
|
||||
+#else
|
||||
+ snprintf(sym_init, sizeof(sym_init), "_init_%s", dlm->name);
|
||||
+#endif
|
||||
+
|
||||
dl_init = dlsym(dlm->handle, sym_init);
|
||||
if (dl_init == NULL) {
|
||||
dlclose(dlm->handle);
|
||||
@@ -203,7 +208,11 @@ dlmod_unload_module(struct dlmod *dlm)
|
||||
if (!dlm || dlm->status != DLMOD_LOADED)
|
||||
return;
|
||||
|
||||
+#ifdef __ELF__
|
||||
snprintf(sym_deinit, sizeof(sym_deinit), "deinit_%s", dlm->name);
|
||||
+#else
|
||||
+ snprintf(sym_deinit, sizeof(sym_deinit), "_deinit_%s", dlm->name);
|
||||
+#endif
|
||||
dl_deinit = dlsym(dlm->handle, sym_deinit);
|
||||
if (dl_deinit == NULL) {
|
||||
snprintf(dlm->error, sizeof(dlm->error),
|
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-agent_mibgroup_ucd-snmp_versioninfo_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/ucd-snmp/versioninfo.c.orig Wed Feb 4 06:25:20 2004
|
||||
+++ agent/mibgroup/ucd-snmp/versioninfo.c Fri Jul 30 11:19:51 2004
|
||||
@@ -94,7 +94,13 @@ var_extensible_version(struct variable *
|
||||
char *cptr;
|
||||
time_t curtime;
|
||||
#ifdef CONFIGURE_OPTIONS
|
||||
- static char config_opts[] = CONFIGURE_OPTIONS;
|
||||
+#ifndef __STRING
|
||||
+#define __STRING(x) #x
|
||||
+#endif
|
||||
+#ifndef __string
|
||||
+#define __string(x) __STRING(x)
|
||||
+#endif
|
||||
+ static char config_opts[] = __string(CONFIGURE_OPTIONS);
|
||||
#endif
|
||||
|
||||
DEBUGMSGTL(("ucd-snmp/versioninfo", "var_extensible_version: "));
|
16
net/net-snmp/patches/patch-agent_mibgroup_ucd_snmp_h
Normal file
16
net/net-snmp/patches/patch-agent_mibgroup_ucd_snmp_h
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-agent_mibgroup_ucd_snmp_h,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- agent/mibgroup/ucd_snmp.h.orig Mon Jun 9 18:11:51 2003
|
||||
+++ agent/mibgroup/ucd_snmp.h Tue Jul 20 10:34:34 2004
|
||||
@@ -40,8 +40,10 @@ config_arch_require(freebsd5, ucd-snmp/v
|
||||
config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
|
||||
config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1)
|
||||
config_arch_require(netbsd1, ucd-snmp/memory_netbsd1)
|
||||
-config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1)
|
||||
-config_arch_require(openbsd2, ucd-snmp/memory_netbsd1)
|
||||
+config_arch_require(openbsd2, ucd-snmp/vmstat_freebsd2)
|
||||
+config_arch_require(openbsd2, ucd-snmp/memory_freebsd2)
|
||||
+config_arch_require(openbsd3, ucd-snmp/vmstat_netbsd1)
|
||||
+config_arch_require(openbsd3, ucd-snmp/memory_netbsd1)
|
||||
config_arch_require(bsdi4, ucd-snmp/vmstat_bsdi4)
|
||||
config_arch_require(darwin1, ucd-snmp/vmstat_freebsd2)
|
||||
config_arch_require(darwin1, ucd-snmp/memory_freebsd2)
|
88
net/net-snmp/patches/patch-configure
Normal file
88
net/net-snmp/patches/patch-configure
Normal file
@ -0,0 +1,88 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- configure.orig Sat Mar 20 02:13:55 2004
|
||||
+++ configure Tue Jul 20 11:26:17 2004
|
||||
@@ -6954,6 +6954,7 @@ openbsd*)
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
||||
case "$host_os" in
|
||||
openbsd2.[89] | openbsd2.[89].*)
|
||||
shlibpath_overrides_runpath=no
|
||||
@@ -6966,7 +6967,7 @@ openbsd*)
|
||||
shlibpath_overrides_runpath=yes
|
||||
fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
+ finish_cmds=''
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
@@ -9206,34 +9207,6 @@ fi
|
||||
echo "$as_me:$LINENO: result: $EXTRACPPFLAGS" >&5
|
||||
echo "${ECHO_T}$EXTRACPPFLAGS" >&6
|
||||
|
||||
-# Prefixes must begin with "/" or [A-Z] followed by colon.
|
||||
-
|
||||
-if test "x$prefix" = "xNONE"; then
|
||||
- prefix=/usr/local
|
||||
-fi
|
||||
-
|
||||
-fch=`echo $prefix | sed 's/\(.\).*/\1/'`
|
||||
-if test $fch != "/" ; then
|
||||
- sch=`echo $prefix | sed 's/.\(.\).*/\1/'`
|
||||
- if test $sch != ":" ; then
|
||||
- prefix=`pwd`/$prefix
|
||||
- echo "adjusting prefix to $prefix"
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
-if test "x$exec_prefix" = "xNONE"; then
|
||||
- exec_prefix=$prefix
|
||||
-fi
|
||||
-
|
||||
-fch=`echo $exec_prefix | sed 's/\(.\).*/\1/'`
|
||||
-if test $fch != "/" ; then
|
||||
- sch=`echo $exec_prefix | sed 's/.\(.\).*/\1/'`
|
||||
- if test $sch != ":" ; then
|
||||
- exec_prefix=`pwd`/$exec_prefix
|
||||
- echo "adjusting exec_prefix to $exec_prefix"
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
# Set SNMPLIBPATH & SNMPSHAREPATH
|
||||
|
||||
SNMPLIBPATH=""
|
||||
@@ -11374,6 +11347,7 @@ _ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
+#include <sys/types.h>
|
||||
#include <tcpd.h>
|
||||
int allow_severity = 0;
|
||||
int deny_severity = 0;
|
||||
@@ -11566,6 +11540,7 @@ _ACEOF
|
||||
cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
+#include <sys/types.h>
|
||||
#include <tcpd.h>
|
||||
int allow_severity = 0;
|
||||
int deny_severity = 0;
|
||||
@@ -13997,7 +13972,7 @@ done
|
||||
|
||||
|
||||
|
||||
-for ac_header in malloc.h sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h machine/types.h sys/socketvar.h
|
||||
+for ac_header in sys/param.h net/if_dl.h sys/sysctl.h stdlib.h net/if_mib.h net/if_types.h net/if_var.h sys/queue.h osreldate.h machine/types.h sys/socketvar.h
|
||||
do
|
||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
||||
@@ -14020,6 +13995,7 @@ cat confdefs.h >>conftest.$ac_ext
|
||||
cat >>conftest.$ac_ext <<_ACEOF
|
||||
/* end confdefs.h. */
|
||||
$ac_includes_default
|
||||
+#include <sys/param.h>
|
||||
#include <$ac_header>
|
||||
_ACEOF
|
||||
rm -f conftest.$ac_objext
|
10
net/net-snmp/patches/patch-include_net-snmp_system_openbsd_h
Normal file
10
net/net-snmp/patches/patch-include_net-snmp_system_openbsd_h
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-include_net-snmp_system_openbsd_h,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- include/net-snmp/system/openbsd.h.orig Sat Apr 20 03:30:12 2002
|
||||
+++ include/net-snmp/system/openbsd.h Tue Jul 20 10:02:39 2004
|
||||
@@ -3,6 +3,4 @@
|
||||
#define netbsd1 1 /* we're really close to this */
|
||||
#define UVM
|
||||
|
||||
-#undef MBPOOL_SYMBOL
|
||||
-#undef MCLPOOL_SYMBOL
|
||||
#undef TOTAL_MEMORY_SYMBOL
|
62
net/net-snmp/patches/patch-ltmain_sh
Normal file
62
net/net-snmp/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,62 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- ltmain.sh.orig Mon Feb 10 10:57:55 2003
|
||||
+++ ltmain.sh Tue Jul 20 08:07:38 2004
|
||||
@@ -1071,6 +1071,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -4524,40 +4535,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
12
net/net-snmp/patches/patch-snmplib_container_c
Normal file
12
net/net-snmp/patches/patch-snmplib_container_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-snmplib_container_c,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
--- snmplib/container.c.orig Mon Feb 23 01:00:18 2004
|
||||
+++ snmplib/container.c Tue Jul 20 08:25:07 2004
|
||||
@@ -28,7 +28,7 @@ _factory_free(container_type *data, void
|
||||
if (data->name != NULL) {
|
||||
DEBUGMSGTL(("container", " _factory_free_list() called for %s\n",
|
||||
data->name));
|
||||
- free((const void*)data->name); /* SNMP_FREE wasted on object about to be freed */
|
||||
+ free((void*)data->name); /* SNMP_FREE wasted on object about to be freed */
|
||||
}
|
||||
free(data); /* SNMP_FREE wasted on param */
|
||||
}
|
12
net/net-snmp/pkg/DESCR
Normal file
12
net/net-snmp/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
Various tools relating to the Simple Network Management Protocol
|
||||
including:
|
||||
|
||||
* An extensible agent
|
||||
* An SNMP library
|
||||
* tools to request or set information from SNMP agents
|
||||
* tools to generate and handle SNMP traps
|
||||
* a version of the unix 'netstat' command using SNMP
|
||||
|
||||
This package is originally based on the Carnegie Mellon University SNMP
|
||||
implementation (version 2.1.2.1), but has developed significantly since
|
||||
then.
|
5
net/net-snmp/pkg/DESCR-perl
Normal file
5
net/net-snmp/pkg/DESCR-perl
Normal file
@ -0,0 +1,5 @@
|
||||
This is the Perl5 'SNMP' extension module. The SNMP module provides a
|
||||
full featured, tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) API. The SNMP
|
||||
module also provides an interface to the SMI MIB parse-tree for run-time
|
||||
access to parsed MIB data. The SNMP module internals rely on the
|
||||
Net-SNMP toolkit library (previously known as ucd-snmp).
|
12
net/net-snmp/pkg/MESSAGE
Normal file
12
net/net-snmp/pkg/MESSAGE
Normal file
@ -0,0 +1,12 @@
|
||||
+------------
|
||||
| To have snmpd start at boot time, you must edit ${SYSCONFDIR}/snmp/snmpd.conf
|
||||
| and uncomment the following in /etc/rc.local.
|
||||
|
|
||||
| #if [ -x /usr/local/sbin/snmpd ]; then
|
||||
| # echo -n ' snmpd'; /usr/local/sbin/snmpd
|
||||
| #fi
|
||||
|
|
||||
| This will start snmpd and use ${SYSCONFDIR}/snmp/snmpd.conf for the configuration.
|
||||
| The snmpconf tool can be used to help edit your configuration files. See
|
||||
| snmpconf(1), snmpd(8), and snmpd.conf(5) for more options.
|
||||
+------------
|
7
net/net-snmp/pkg/PFRAG.shared
Normal file
7
net/net-snmp/pkg/PFRAG.shared
Normal file
@ -0,0 +1,7 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
lib/libnetsnmp.so.6.1
|
||||
lib/libnetsnmpagent.so.6.1
|
||||
lib/libnetsnmphelpers.so.6.1
|
||||
lib/libnetsnmpmibs.so.6.1
|
||||
lib/libnetsnmptrapd.so.6.1
|
||||
DYNLIBDIR(%B)
|
387
net/net-snmp/pkg/PLIST
Normal file
387
net/net-snmp/pkg/PLIST
Normal file
@ -0,0 +1,387 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
@pkgcfl ucd-snmp-*
|
||||
@unexec rm -f %D/share/snmp/mibs/.index
|
||||
bin/encode_keychange
|
||||
bin/fixproc
|
||||
@comment bin/ipf-mod.pl
|
||||
bin/mib2c
|
||||
bin/net-snmp-config
|
||||
bin/snmpbulkget
|
||||
bin/snmpbulkwalk
|
||||
bin/snmpcheck
|
||||
bin/snmpconf
|
||||
bin/snmpdelta
|
||||
bin/snmpdf
|
||||
bin/snmpget
|
||||
bin/snmpgetnext
|
||||
bin/snmpinform
|
||||
bin/snmpnetstat
|
||||
bin/snmpset
|
||||
bin/snmpstatus
|
||||
bin/snmptable
|
||||
bin/snmptest
|
||||
bin/snmptranslate
|
||||
bin/snmptrap
|
||||
bin/snmpusm
|
||||
bin/snmpvacm
|
||||
bin/snmpwalk
|
||||
bin/tkmib
|
||||
bin/traptoemail
|
||||
include/net-snmp/
|
||||
include/net-snmp/agent/
|
||||
include/net-snmp/agent/agent_callbacks.h
|
||||
include/net-snmp/agent/agent_handler.h
|
||||
include/net-snmp/agent/agent_index.h
|
||||
include/net-snmp/agent/agent_read_config.h
|
||||
include/net-snmp/agent/agent_registry.h
|
||||
include/net-snmp/agent/agent_trap.h
|
||||
include/net-snmp/agent/all_helpers.h
|
||||
include/net-snmp/agent/auto_nlist.h
|
||||
include/net-snmp/agent/baby_steps.h
|
||||
include/net-snmp/agent/bulk_to_next.h
|
||||
include/net-snmp/agent/cache_handler.h
|
||||
include/net-snmp/agent/debug_handler.h
|
||||
include/net-snmp/agent/ds_agent.h
|
||||
include/net-snmp/agent/instance.h
|
||||
include/net-snmp/agent/mib_module_config.h
|
||||
include/net-snmp/agent/mib_module_includes.h
|
||||
include/net-snmp/agent/mode_end_call.h
|
||||
include/net-snmp/agent/multiplexer.h
|
||||
include/net-snmp/agent/net-snmp-agent-includes.h
|
||||
include/net-snmp/agent/null.h
|
||||
include/net-snmp/agent/old_api.h
|
||||
include/net-snmp/agent/read_only.h
|
||||
include/net-snmp/agent/row_merge.h
|
||||
include/net-snmp/agent/scalar.h
|
||||
include/net-snmp/agent/scalar_group.h
|
||||
include/net-snmp/agent/serialize.h
|
||||
include/net-snmp/agent/set_helper.h
|
||||
include/net-snmp/agent/snmp_agent.h
|
||||
include/net-snmp/agent/snmp_vars.h
|
||||
include/net-snmp/agent/table.h
|
||||
include/net-snmp/agent/table_array.h
|
||||
include/net-snmp/agent/table_data.h
|
||||
include/net-snmp/agent/table_dataset.h
|
||||
include/net-snmp/agent/table_iterator.h
|
||||
include/net-snmp/agent/var_struct.h
|
||||
include/net-snmp/agent/watcher.h
|
||||
include/net-snmp/config_api.h
|
||||
include/net-snmp/definitions.h
|
||||
include/net-snmp/library/
|
||||
include/net-snmp/library/README
|
||||
include/net-snmp/library/asn1.h
|
||||
include/net-snmp/library/callback.h
|
||||
include/net-snmp/library/check_varbind.h
|
||||
include/net-snmp/library/cmu_compat.h
|
||||
include/net-snmp/library/container.h
|
||||
include/net-snmp/library/container_binary_array.h
|
||||
include/net-snmp/library/container_iterator.h
|
||||
include/net-snmp/library/container_list_ssll.h
|
||||
include/net-snmp/library/container_null.h
|
||||
include/net-snmp/library/data_list.h
|
||||
include/net-snmp/library/default_store.h
|
||||
include/net-snmp/library/factory.h
|
||||
include/net-snmp/library/getopt.h
|
||||
include/net-snmp/library/int64.h
|
||||
include/net-snmp/library/keytools.h
|
||||
include/net-snmp/library/lcd_time.h
|
||||
include/net-snmp/library/md5.h
|
||||
include/net-snmp/library/mib.h
|
||||
include/net-snmp/library/mt_support.h
|
||||
include/net-snmp/library/oid_stash.h
|
||||
include/net-snmp/library/parse.h
|
||||
include/net-snmp/library/read_config.h
|
||||
include/net-snmp/library/scapi.h
|
||||
include/net-snmp/library/snmp-tc.h
|
||||
include/net-snmp/library/snmp.h
|
||||
include/net-snmp/library/snmpCallbackDomain.h
|
||||
include/net-snmp/library/snmpTCPDomain.h
|
||||
include/net-snmp/library/snmpUDPDomain.h
|
||||
include/net-snmp/library/snmpUnixDomain.h
|
||||
include/net-snmp/library/snmp_alarm.h
|
||||
include/net-snmp/library/snmp_api.h
|
||||
include/net-snmp/library/snmp_assert.h
|
||||
include/net-snmp/library/snmp_client.h
|
||||
include/net-snmp/library/snmp_debug.h
|
||||
include/net-snmp/library/snmp_enum.h
|
||||
include/net-snmp/library/snmp_impl.h
|
||||
include/net-snmp/library/snmp_locking.h
|
||||
include/net-snmp/library/snmp_logging.h
|
||||
include/net-snmp/library/snmp_parse_args.h
|
||||
include/net-snmp/library/snmp_secmod.h
|
||||
include/net-snmp/library/snmp_transport.h
|
||||
include/net-snmp/library/snmpusm.h
|
||||
include/net-snmp/library/snmpv3-security-includes.h
|
||||
include/net-snmp/library/snmpv3.h
|
||||
include/net-snmp/library/system.h
|
||||
include/net-snmp/library/tools.h
|
||||
include/net-snmp/library/transform_oids.h
|
||||
include/net-snmp/library/ucd_compat.h
|
||||
include/net-snmp/library/vacm.h
|
||||
include/net-snmp/library/winpipe.h
|
||||
include/net-snmp/library/winservice.h
|
||||
include/net-snmp/machine/
|
||||
include/net-snmp/machine/generic.h
|
||||
include/net-snmp/mib_api.h
|
||||
include/net-snmp/net-snmp-config.h
|
||||
include/net-snmp/net-snmp-includes.h
|
||||
include/net-snmp/output_api.h
|
||||
include/net-snmp/pdu_api.h
|
||||
include/net-snmp/session_api.h
|
||||
include/net-snmp/snmpv3_api.h
|
||||
include/net-snmp/system/
|
||||
include/net-snmp/system/aix.h
|
||||
include/net-snmp/system/bsd.h
|
||||
include/net-snmp/system/bsdi.h
|
||||
include/net-snmp/system/bsdi3.h
|
||||
include/net-snmp/system/bsdi4.h
|
||||
include/net-snmp/system/cygwin.h
|
||||
include/net-snmp/system/darwin.h
|
||||
include/net-snmp/system/dynix.h
|
||||
include/net-snmp/system/freebsd.h
|
||||
include/net-snmp/system/freebsd2.h
|
||||
include/net-snmp/system/freebsd3.h
|
||||
include/net-snmp/system/freebsd4.h
|
||||
include/net-snmp/system/generic.h
|
||||
include/net-snmp/system/hpux.h
|
||||
include/net-snmp/system/irix.h
|
||||
include/net-snmp/system/linux.h
|
||||
include/net-snmp/system/mingw32.h
|
||||
include/net-snmp/system/mips.h
|
||||
include/net-snmp/system/netbsd.h
|
||||
include/net-snmp/system/openbsd.h
|
||||
include/net-snmp/system/osf5.h
|
||||
include/net-snmp/system/solaris.h
|
||||
include/net-snmp/system/solaris2.6.h
|
||||
include/net-snmp/system/solaris2.7.h
|
||||
include/net-snmp/system/solaris2.8.h
|
||||
include/net-snmp/system/solaris2.9.h
|
||||
include/net-snmp/system/sunos.h
|
||||
include/net-snmp/system/svr5.h
|
||||
include/net-snmp/system/sysv.h
|
||||
include/net-snmp/system/ultrix4.h
|
||||
include/net-snmp/types.h
|
||||
include/net-snmp/utilities.h
|
||||
include/net-snmp/varbind_api.h
|
||||
include/net-snmp/version.h
|
||||
lib/libnetsnmp.a
|
||||
lib/libnetsnmp.la
|
||||
lib/libnetsnmpagent.a
|
||||
lib/libnetsnmpagent.la
|
||||
lib/libnetsnmphelpers.a
|
||||
lib/libnetsnmphelpers.la
|
||||
lib/libnetsnmpmibs.a
|
||||
lib/libnetsnmpmibs.la
|
||||
lib/libnetsnmptrapd.a
|
||||
lib/libnetsnmptrapd.la
|
||||
@man man/man1/mib2c.1
|
||||
@man man/man1/snmpbulkget.1
|
||||
@man man/man1/snmpbulkwalk.1
|
||||
@man man/man1/snmpcmd.1
|
||||
@man man/man1/snmpconf.1
|
||||
@man man/man1/snmpdelta.1
|
||||
@man man/man1/snmpdf.1
|
||||
@man man/man1/snmpget.1
|
||||
@man man/man1/snmpgetnext.1
|
||||
@man man/man1/snmpinform.1
|
||||
@man man/man1/snmpnetstat.1
|
||||
@man man/man1/snmpset.1
|
||||
@man man/man1/snmpstatus.1
|
||||
@man man/man1/snmptable.1
|
||||
@man man/man1/snmptest.1
|
||||
@man man/man1/snmptranslate.1
|
||||
@man man/man1/snmptrap.1
|
||||
@man man/man1/snmpusm.1
|
||||
@man man/man1/snmpvacm.1
|
||||
@man man/man1/snmpwalk.1
|
||||
@man man/man3/add_mibdir.3
|
||||
@man man/man3/add_module_replacement.3
|
||||
@man man/man3/default_store.3
|
||||
@man man/man3/get_module_node.3
|
||||
@man man/man3/init_mib.3
|
||||
@man man/man3/init_mib_internals.3
|
||||
@man man/man3/mib_api.3
|
||||
@man man/man3/netsnmp_Container_iterator.3
|
||||
@man man/man3/netsnmp_agent.3
|
||||
@man man/man3/netsnmp_baby_steps.3
|
||||
@man man/man3/netsnmp_bulk_to_next.3
|
||||
@man man/man3/netsnmp_cache_handler.3
|
||||
@man man/man3/netsnmp_container.3
|
||||
@man man/man3/netsnmp_debug.3
|
||||
@man man/man3/netsnmp_deprecated.3
|
||||
@man man/man3/netsnmp_example_scalar_int.3
|
||||
@man man/man3/netsnmp_handler.3
|
||||
@man man/man3/netsnmp_instance.3
|
||||
@man man/man3/netsnmp_iterator_info_s.3
|
||||
@man man/man3/netsnmp_leaf.3
|
||||
@man man/man3/netsnmp_library.3
|
||||
@man man/man3/netsnmp_mib_handler_methods.3
|
||||
@man man/man3/netsnmp_mib_utilities.3
|
||||
@man man/man3/netsnmp_mode_end_call.3
|
||||
@man man/man3/netsnmp_multiplexer.3
|
||||
@man man/man3/netsnmp_old_api.3
|
||||
@man man/man3/netsnmp_read_only.3
|
||||
@man man/man3/netsnmp_row_merge.3
|
||||
@man man/man3/netsnmp_scalar.3
|
||||
@man man/man3/netsnmp_scalar_group_group.3
|
||||
@man man/man3/netsnmp_serialize.3
|
||||
@man man/man3/netsnmp_stash_cache.3
|
||||
@man man/man3/netsnmp_table.3
|
||||
@man man/man3/netsnmp_table_array.3
|
||||
@man man/man3/netsnmp_table_data.3
|
||||
@man man/man3/netsnmp_table_dataset.3
|
||||
@man man/man3/netsnmp_table_iterator.3
|
||||
@man man/man3/netsnmp_todo.3
|
||||
@man man/man3/netsnmp_utilities.3
|
||||
@man man/man3/netsnmp_watcher.3
|
||||
@man man/man3/print_description.3
|
||||
@man man/man3/print_mib.3
|
||||
@man man/man3/print_objid.3
|
||||
@man man/man3/print_value.3
|
||||
@man man/man3/print_variable.3
|
||||
@man man/man3/read_all_mibs.3
|
||||
@man man/man3/read_config.3
|
||||
@man man/man3/read_mib.3
|
||||
@man man/man3/read_module.3
|
||||
@man man/man3/read_module_node.3
|
||||
@man man/man3/read_objid.3
|
||||
@man man/man3/shutdown_mib.3
|
||||
@man man/man3/snmp_agent_api.3
|
||||
@man man/man3/snmp_alarm.3
|
||||
@man man/man3/snmp_api.3
|
||||
@man man/man3/snmp_api_errstring.3
|
||||
@man man/man3/snmp_close.3
|
||||
@man man/man3/snmp_error.3
|
||||
@man man/man3/snmp_free_pdu.3
|
||||
@man man/man3/snmp_open.3
|
||||
@man man/man3/snmp_perror.3
|
||||
@man man/man3/snmp_read.3
|
||||
@man man/man3/snmp_select_info.3
|
||||
@man man/man3/snmp_send.3
|
||||
@man man/man3/snmp_sess_api.3
|
||||
@man man/man3/snmp_sess_async_send.3
|
||||
@man man/man3/snmp_sess_close.3
|
||||
@man man/man3/snmp_sess_error.3
|
||||
@man man/man3/snmp_sess_init.3
|
||||
@man man/man3/snmp_sess_open.3
|
||||
@man man/man3/snmp_sess_perror.3
|
||||
@man man/man3/snmp_sess_read.3
|
||||
@man man/man3/snmp_sess_select_info.3
|
||||
@man man/man3/snmp_sess_send.3
|
||||
@man man/man3/snmp_sess_session.3
|
||||
@man man/man3/snmp_sess_timeout.3
|
||||
@man man/man3/snmp_set_mib_warnings.3
|
||||
@man man/man3/snmp_set_save_descriptions.3
|
||||
@man man/man3/snmp_timeout.3
|
||||
@man man/man3/snmp_trap_api.3
|
||||
@man man/man5/snmp.conf.5
|
||||
@man man/man5/snmp_config.5
|
||||
@man man/man5/snmpd.conf.5
|
||||
@man man/man5/snmptrapd.conf.5
|
||||
@man man/man5/variables.5
|
||||
@man man/man8/snmpd.8
|
||||
@man man/man8/snmptrapd.8
|
||||
sbin/snmpd
|
||||
sbin/snmptrapd
|
||||
share/doc/net-snmp/
|
||||
share/doc/net-snmp/AGENT.txt
|
||||
share/doc/net-snmp/FAQ
|
||||
share/doc/net-snmp/README
|
||||
share/doc/net-snmp/README.snmpv3
|
||||
@exec /usr/bin/install -d -m 755 -o root -g wheel ${SYSCONFDIR}/snmp
|
||||
share/examples/net-snmp/
|
||||
share/examples/net-snmp/EXAMPLE.conf
|
||||
@sample ${SYSCONFDIR}/snmp/snmpd.conf
|
||||
share/snmp/
|
||||
share/snmp/mib2c.access_functions.conf
|
||||
share/snmp/mib2c.array-user.conf
|
||||
share/snmp/mib2c.check_values.conf
|
||||
share/snmp/mib2c.check_values_local.conf
|
||||
share/snmp/mib2c.column_defines.conf
|
||||
share/snmp/mib2c.column_enums.conf
|
||||
share/snmp/mib2c.conf
|
||||
share/snmp/mib2c.create-dataset.conf
|
||||
share/snmp/mib2c.int_watch.conf
|
||||
share/snmp/mib2c.iterate.conf
|
||||
share/snmp/mib2c.iterate_access.conf
|
||||
share/snmp/mib2c.notify.conf
|
||||
share/snmp/mib2c.old-api.conf
|
||||
share/snmp/mib2c.scalar.conf
|
||||
share/snmp/mibs/
|
||||
share/snmp/mibs/AGENTX-MIB.txt
|
||||
share/snmp/mibs/DISMAN-EVENT-MIB.txt
|
||||
share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
|
||||
share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
|
||||
share/snmp/mibs/EtherLike-MIB.txt
|
||||
share/snmp/mibs/HCNUM-TC.txt
|
||||
share/snmp/mibs/HOST-RESOURCES-MIB.txt
|
||||
share/snmp/mibs/HOST-RESOURCES-TYPES.txt
|
||||
share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
|
||||
share/snmp/mibs/IANA-LANGUAGE-MIB.txt
|
||||
share/snmp/mibs/IANAifType-MIB.txt
|
||||
share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
|
||||
share/snmp/mibs/IF-MIB.txt
|
||||
share/snmp/mibs/INET-ADDRESS-MIB.txt
|
||||
share/snmp/mibs/IP-FORWARD-MIB.txt
|
||||
share/snmp/mibs/IP-MIB.txt
|
||||
share/snmp/mibs/IPV6-ICMP-MIB.txt
|
||||
share/snmp/mibs/IPV6-MIB.txt
|
||||
share/snmp/mibs/IPV6-TC.txt
|
||||
share/snmp/mibs/IPV6-TCP-MIB.txt
|
||||
share/snmp/mibs/IPV6-UDP-MIB.txt
|
||||
share/snmp/mibs/MTA-MIB.txt
|
||||
share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
|
||||
share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
|
||||
share/snmp/mibs/NET-SNMP-MIB.txt
|
||||
share/snmp/mibs/NET-SNMP-TC.txt
|
||||
share/snmp/mibs/NETWORK-SERVICES-MIB.txt
|
||||
share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
|
||||
share/snmp/mibs/RFC-1215.txt
|
||||
share/snmp/mibs/RFC1155-SMI.txt
|
||||
share/snmp/mibs/RFC1213-MIB.txt
|
||||
share/snmp/mibs/RMON-MIB.txt
|
||||
share/snmp/mibs/SMUX-MIB.txt
|
||||
share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
|
||||
share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
|
||||
share/snmp/mibs/SNMP-MPD-MIB.txt
|
||||
share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
|
||||
share/snmp/mibs/SNMP-PROXY-MIB.txt
|
||||
share/snmp/mibs/SNMP-TARGET-MIB.txt
|
||||
share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
|
||||
share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
|
||||
share/snmp/mibs/SNMPv2-CONF.txt
|
||||
share/snmp/mibs/SNMPv2-MIB.txt
|
||||
share/snmp/mibs/SNMPv2-SMI.txt
|
||||
share/snmp/mibs/SNMPv2-TC.txt
|
||||
share/snmp/mibs/SNMPv2-TM.txt
|
||||
share/snmp/mibs/TCP-MIB.txt
|
||||
share/snmp/mibs/UCD-DEMO-MIB.txt
|
||||
share/snmp/mibs/UCD-DISKIO-MIB.txt
|
||||
share/snmp/mibs/UCD-DLMOD-MIB.txt
|
||||
share/snmp/mibs/UCD-IPFWACC-MIB.txt
|
||||
share/snmp/mibs/UCD-SNMP-MIB.txt
|
||||
share/snmp/mibs/UDP-MIB.txt
|
||||
share/snmp/snmpconf-data/
|
||||
share/snmp/snmpconf-data/snmp-data/
|
||||
share/snmp/snmpconf-data/snmp-data/authopts
|
||||
share/snmp/snmpconf-data/snmp-data/debugging
|
||||
share/snmp/snmpconf-data/snmp-data/mibs
|
||||
share/snmp/snmpconf-data/snmp-data/output
|
||||
share/snmp/snmpconf-data/snmp-data/snmpconf-config
|
||||
share/snmp/snmpconf-data/snmpd-data/
|
||||
share/snmp/snmpconf-data/snmpd-data/acl
|
||||
share/snmp/snmpconf-data/snmpd-data/basic_setup
|
||||
share/snmp/snmpconf-data/snmpd-data/extending
|
||||
share/snmp/snmpconf-data/snmpd-data/monitor
|
||||
share/snmp/snmpconf-data/snmpd-data/operation
|
||||
share/snmp/snmpconf-data/snmpd-data/snmpconf-config
|
||||
share/snmp/snmpconf-data/snmpd-data/system
|
||||
share/snmp/snmpconf-data/snmpd-data/trapsinks
|
||||
share/snmp/snmpconf-data/snmptrapd-data/
|
||||
share/snmp/snmpconf-data/snmptrapd-data/formatting
|
||||
share/snmp/snmpconf-data/snmptrapd-data/snmpconf-config
|
||||
share/snmp/snmpconf-data/snmptrapd-data/traphandle
|
||||
%%SHARED%%
|
||||
@extraunexec rm -rf ${SYSCONFDIR}/snmp
|
||||
@extraunexec rm -rf /var/net-snmp
|
||||
@exec /usr/bin/install -d -m 755 -o root -g wheel /var/net-snmp
|
50
net/net-snmp/pkg/PLIST-perl
Normal file
50
net/net-snmp/pkg/PLIST-perl
Normal file
@ -0,0 +1,50 @@
|
||||
@comment $OpenBSD: PLIST-perl,v 1.1.1.1 2004/08/03 17:47:12 danh Exp $
|
||||
@comment ${P5ARCH}/
|
||||
@comment ${P5ARCH}/Bundle/
|
||||
@comment ${P5ARCH}/Bundle/Makefile.subs.pl
|
||||
${P5ARCH}/NetSNMP/
|
||||
${P5ARCH}/NetSNMP/ASN.pm
|
||||
${P5ARCH}/NetSNMP/OID.pm
|
||||
${P5ARCH}/NetSNMP/agent/
|
||||
${P5ARCH}/NetSNMP/agent.pm
|
||||
${P5ARCH}/NetSNMP/agent/default_store.pm
|
||||
${P5ARCH}/NetSNMP/agent/netsnmp_request_infoPtr.pm
|
||||
${P5ARCH}/NetSNMP/default_store.pm
|
||||
${P5ARCH}/SNMP.pm
|
||||
@comment ${P5ARCH}/auto/
|
||||
@comment ${P5ARCH}/auto/Bundle/
|
||||
@comment ${P5ARCH}/auto/Bundle/NetSNMP/
|
||||
@comment ${P5ARCH}/auto/Bundle/NetSNMP/.packlist
|
||||
${P5ARCH}/auto/NetSNMP/
|
||||
${P5ARCH}/auto/NetSNMP/ASN/
|
||||
${P5ARCH}/auto/NetSNMP/ASN/ASN.bs
|
||||
${P5ARCH}/auto/NetSNMP/ASN/ASN.so
|
||||
@comment ${P5ARCH}/auto/NetSNMP/ASN/autosplit.ix
|
||||
${P5ARCH}/auto/NetSNMP/OID/
|
||||
${P5ARCH}/auto/NetSNMP/OID/OID.bs
|
||||
${P5ARCH}/auto/NetSNMP/OID/OID.so
|
||||
@comment ${P5ARCH}/auto/NetSNMP/OID/autosplit.ix
|
||||
${P5ARCH}/auto/NetSNMP/agent/
|
||||
${P5ARCH}/auto/NetSNMP/agent/agent.bs
|
||||
${P5ARCH}/auto/NetSNMP/agent/agent.so
|
||||
@comment ${P5ARCH}/auto/NetSNMP/agent/autosplit.ix
|
||||
${P5ARCH}/auto/NetSNMP/agent/default_store/
|
||||
${P5ARCH}/auto/NetSNMP/agent/default_store/autosplit.ix
|
||||
${P5ARCH}/auto/NetSNMP/agent/default_store/default_store.bs
|
||||
${P5ARCH}/auto/NetSNMP/agent/default_store/default_store.so
|
||||
${P5ARCH}/auto/NetSNMP/default_store/
|
||||
@comment ${P5ARCH}/auto/NetSNMP/default_store/autosplit.ix
|
||||
${P5ARCH}/auto/NetSNMP/default_store/default_store.bs
|
||||
${P5ARCH}/auto/NetSNMP/default_store/default_store.so
|
||||
${P5ARCH}/auto/SNMP/
|
||||
${P5ARCH}/auto/SNMP/SNMP.bs
|
||||
${P5ARCH}/auto/SNMP/SNMP.so
|
||||
@comment ${P5ARCH}/auto/SNMP/autosplit.ix
|
||||
@comment man/man3p/
|
||||
@man man/man3p/NetSNMP::ASN.3p
|
||||
@man man/man3p/NetSNMP::OID.3p
|
||||
@man man/man3p/NetSNMP::agent.3p
|
||||
@man man/man3p/NetSNMP::agent::default_store.3p
|
||||
@man man/man3p/NetSNMP::default_store.3p
|
||||
@man man/man3p/NetSNMP::netsnmp_request_infoPtr.3p
|
||||
@man man/man3p/SNMP.3
|
Loading…
Reference in New Issue
Block a user