summaryrefslogtreecommitdiff
path: root/devel/libsmi
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-09-08 07:59:18 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-09-08 07:59:18 +0000
commit7990ca98a2101919604d4dc20a3394ae769aa26c (patch)
treee9e940c0b15c3ed7eb5de885d87e94c6beddaa8a /devel/libsmi
parent07caf7910170580a3c5856018663f9c13ed3753f (diff)
downloadpkgsrc-7990ca98a2101919604d4dc20a3394ae769aa26c.tar.gz
Initial import of libsmi-0.1.6.
libsmi - A library to access SMI MIB information
Diffstat (limited to 'devel/libsmi')
-rw-r--r--devel/libsmi/Makefile25
-rw-r--r--devel/libsmi/files/md53
-rw-r--r--devel/libsmi/pkg/COMMENT1
-rw-r--r--devel/libsmi/pkg/DESCR7
-rw-r--r--devel/libsmi/pkg/PLIST31
5 files changed, 67 insertions, 0 deletions
diff --git a/devel/libsmi/Makefile b/devel/libsmi/Makefile
new file mode 100644
index 00000000000..63ea3a56bad
--- /dev/null
+++ b/devel/libsmi/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/09/08 07:59:18 sakamoto Exp $
+#
+
+DISTNAME= libsmi-0.1.6
+CATEGORIES= devel net
+MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://www.ibr.cs.tu-bs.de/projects/libsmi/
+
+MIBDIR= ${PREFIX}/share/libsmi/mibs
+
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CPPFLAGS+= -Dstrtoll=strtoq -Dstrtoull=strtouq
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ARGS+=--with-mibdir="${MIBDIR}"
+# this might make it easier to use scotty's and ucd-snmp's mibs,
+# and local ones too
+CONFIGURE_ARGS+=--with-smipath="${MIBDIR}:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tnm2.1.8/mibs:/usr/local/share/snmp/mibs"
+
+post-configure:
+ @(cd ${WRKSRC}; ${RM} -f libtool; ${LN} -s ${LIBTOOL} libtool)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libsmi/files/md5 b/devel/libsmi/files/md5
new file mode 100644
index 00000000000..085b78bc64b
--- /dev/null
+++ b/devel/libsmi/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/09/08 07:59:19 sakamoto Exp $
+
+MD5 (libsmi-0.1.6.tar.gz) = 0d24d3e2bdd67ad1d7332f6a0077f6c6
diff --git a/devel/libsmi/pkg/COMMENT b/devel/libsmi/pkg/COMMENT
new file mode 100644
index 00000000000..2022116d61e
--- /dev/null
+++ b/devel/libsmi/pkg/COMMENT
@@ -0,0 +1 @@
+libsmi - A library to access SMI MIB information
diff --git a/devel/libsmi/pkg/DESCR b/devel/libsmi/pkg/DESCR
new file mode 100644
index 00000000000..5c0fbe295ce
--- /dev/null
+++ b/devel/libsmi/pkg/DESCR
@@ -0,0 +1,7 @@
+The purpose of libsmi is to
+
+- give network management applications a concise programmer-friendly interface
+ to access MIB module information,
+- separate the knowledge on SMI from the main parts of management applications,
+- allow to add new kinds of MIB repositories without the need to adapt
+ applications that make use of libsmi.
diff --git a/devel/libsmi/pkg/PLIST b/devel/libsmi/pkg/PLIST
new file mode 100644
index 00000000000..9f17e0bab27
--- /dev/null
+++ b/devel/libsmi/pkg/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/08 07:59:18 sakamoto Exp $
+bin/smidump
+bin/smilint
+bin/smiquery
+include/smi.h
+lib/libsmi.a
+lib/libsmi.so.1.1
+man/man1/smidump.1
+man/man1/smilint.1
+man/man1/smiquery.1
+man/man3/libsmi.3
+man/man3/smi_config.3
+man/man3/smi_macro.3
+man/man3/smi_module.3
+man/man3/smi_node.3
+man/man3/smi_type.3
+share/libsmi/mibs/IRTF-NMRG-SMING-EXTENSIONS.sming
+share/libsmi/mibs/IRTF-NMRG-SMING-TYPES.sming
+share/libsmi/mibs/IRTF-NMRG-SMING.sming
+share/libsmi/mibs/RFC-1212
+share/libsmi/mibs/RFC-1213
+share/libsmi/mibs/RFC-1215
+share/libsmi/mibs/RFC1155-SMI
+share/libsmi/mibs/RFC1158-MIB
+share/libsmi/mibs/RFC1213-MIB
+share/libsmi/mibs/RFC1271-MIB
+share/libsmi/mibs/SNMPv2-CONF
+share/libsmi/mibs/SNMPv2-SMI
+share/libsmi/mibs/SNMPv2-TC
+@dirrm share/libsmi/mibs
+@dirrm share/libsmi