summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/scli/DESCR9
-rw-r--r--net/scli/Makefile34
-rw-r--r--net/scli/PLIST9
-rw-r--r--net/scli/distinfo6
-rw-r--r--net/scli/patches/patch-aa18
-rw-r--r--net/scli/patches/patch-ab16
6 files changed, 92 insertions, 0 deletions
diff --git a/net/scli/DESCR b/net/scli/DESCR
new file mode 100644
index 00000000000..fc0f90a1937
--- /dev/null
+++ b/net/scli/DESCR
@@ -0,0 +1,9 @@
+The scli package was written to address the need for small and efficient
+command line utilities to monitor and configure network devices and
+host systems. The scli package is based on the SNMP management
+protocol.
+
+To summarize, the slogan for this little package is:
+
+ "After more than 10 years of SNMP, I felt it is time for really
+ useful command line SNMP monitoring and configuration tools. ;-)"
diff --git a/net/scli/Makefile b/net/scli/Makefile
new file mode 100644
index 00000000000..c75f1b278f1
--- /dev/null
+++ b/net/scli/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/23 14:44:27 seb Exp $
+#
+
+DISTNAME= scli-0.2.12
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/scli/
+
+MAINTAINER= seb@netbsd.org
+HOMEPAGE= http://www.ibr.cs.tu-bs.de/projects/scli/
+COMMENT= SNMP command line interface
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+TEXINFO_REQD= 4.2 # XXX I'll revisit this
+AUTOMAKE_POST_PATTERNS+= *.info *.info-*
+
+CONFIGURE_ARGS+= --with-glib-prefix=${BUILDLINK_PREFIX.glib}
+USE_GNU_READLINE= # history_list
+BUILDLINK_DEPENDS.readline?= readline>=4.0
+
+CONFIGURE_ARGS+= --with-xml-prefix=${BUILDLINK_PREFIX.libxml2}
+
+.for _p_ in ncurses readline
+CPPFLAGS+= -I${BUILDLINK_PREFIX.${_p_}}/include
+LDFLAGS+= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.${_p_}}/lib
+LDFLAGS+= -L${BUILDLINK_PREFIX.${_p_}}/lib
+.endfor
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../devel/glib/buildlink2.mk"
+.include "../../textproc/libxml2/buildlink2.mk"
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/scli/PLIST b/net/scli/PLIST
new file mode 100644
index 00000000000..c43c49b185b
--- /dev/null
+++ b/net/scli/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/23 14:44:27 seb Exp $
+bin/scli
+@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/scli.info
+info/scli.info
+info/scli.info-1
+info/scli.info-2
+info/scli.info-3
+@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/scli.info
+man/man1/scli.1
diff --git a/net/scli/distinfo b/net/scli/distinfo
new file mode 100644
index 00000000000..473c37866b2
--- /dev/null
+++ b/net/scli/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/23 14:44:27 seb Exp $
+
+SHA1 (scli-0.2.12.tar.gz) = 0fbe9bcd08632aa21065daa247e0ef91741cb79e
+Size (scli-0.2.12.tar.gz) = 645131 bytes
+SHA1 (patch-aa) = 3f45fd85d2486a7b8cacb44105c006fbb4f7cf1d
+SHA1 (patch-ab) = 16872e3eadf2c1041d09532ad5cff9075ad8116d
diff --git a/net/scli/patches/patch-aa b/net/scli/patches/patch-aa
new file mode 100644
index 00000000000..22c71e29818
--- /dev/null
+++ b/net/scli/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/05/23 14:44:27 seb Exp $
+
+This patch had been manually stripped to keep only the
+pertinent part.
+
+--- doc/scli.info.orig 2003-05-23 13:16:24.000000000 +0000
++++ doc/scli.info
+@@ -1,4 +1,9 @@
+-This is scli.info, produced by makeinfo version 4.2 from scli.texinfo.
++This is scli.info, produced by makeinfo version 4.5 from scli.texinfo.
++
++INFO-DIR-SECTION Network utilities
++START-INFO-DIR-ENTRY
++* Scli: (scli). SNMP command line interface.
++END-INFO-DIR-ENTRY
+
+ This file documents the `scli' SNMP command line interface.
+
diff --git a/net/scli/patches/patch-ab b/net/scli/patches/patch-ab
new file mode 100644
index 00000000000..73daa376d2d
--- /dev/null
+++ b/net/scli/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/05/23 14:44:27 seb Exp $
+
+--- doc/scli.texinfo.orig 2002-09-02 09:30:22.000000000 +0000
++++ doc/scli.texinfo
+@@ -8,6 +8,11 @@
+
+ @set VERSION 0.2.12
+
++@dircategory Network utilities
++@direntry
++* Scli: (scli). SNMP command line interface.
++@end direntry
++
+ @ifinfo
+ This file documents the @code{scli} SNMP command line interface.
+