diff options
author | damon <damon@pkgsrc.org> | 2001-10-31 00:28:26 +0000 |
---|---|---|
committer | damon <damon@pkgsrc.org> | 2001-10-31 00:28:26 +0000 |
commit | 909961636633d71ef9928603a9aea6a7eaf1991a (patch) | |
tree | 5299f85938bc08c76b980e1c993536b464faa4df | |
parent | 234b528f318630365ebf7a3e29bf3749a1ff6fdb (diff) | |
download | pkgsrc-909961636633d71ef9928603a9aea6a7eaf1991a.tar.gz |
Added gkrellm-snmp
gkrellm-snmp is a plugin for gkrellm that can show the value of an oid on an
snmp enabled device
-rw-r--r-- | net/gkrellm-snmp/Makefile | 24 | ||||
-rw-r--r-- | net/gkrellm-snmp/distinfo | 6 | ||||
-rw-r--r-- | net/gkrellm-snmp/patches/patch-aa | 24 | ||||
-rw-r--r-- | net/gkrellm-snmp/patches/patch-ab | 12 | ||||
-rw-r--r-- | net/gkrellm-snmp/pkg/DESCR | 2 | ||||
-rw-r--r-- | net/gkrellm-snmp/pkg/PLIST | 2 |
6 files changed, 70 insertions, 0 deletions
diff --git a/net/gkrellm-snmp/Makefile b/net/gkrellm-snmp/Makefile new file mode 100644 index 00000000000..9a5364429d6 --- /dev/null +++ b/net/gkrellm-snmp/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/31 00:28:26 damon Exp $ + +DISTNAME= gkrellm_snmp-0.18 +PKGNAME= gkrellm-snmp-0.18 +CATEGORIES= net sysutils +MASTER_SITES= http://triq.net/gkrellm/ + +MAINTAINER= jasper@pointless.net +HOMEPAGE= http://triq.net/gkrellm.html +COMMENT= simple snmp monitor for gkrellm + +DEPENDS+= gkrellm-1.2.*:../../sysutils/gkrellm +DEPENDS+= ucd-snmp>=4.1.0:../../net/ucd-snmp + +USE_GMAKE= #defined + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gkrellm_snmp.so ${PREFIX}/lib/gkrellm/plugins/ + +.include "../../mk/bsd.prefs.mk" +.include "../../graphics/imlib/buildlink.mk" +.include "../../security/openssl/buildlink.mk" +.include "../../x11/gtk/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/gkrellm-snmp/distinfo b/net/gkrellm-snmp/distinfo new file mode 100644 index 00000000000..b38742f6eb4 --- /dev/null +++ b/net/gkrellm-snmp/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/31 00:28:26 damon Exp $ + +SHA1 (gkrellm_snmp-0.18.tar.gz) = c1aa5edf8e86aedb377c454cf1f249d956ec8a67 +Size (gkrellm_snmp-0.18.tar.gz) = 15450 bytes +SHA1 (patch-aa) = b8c84280e496febff37579914d700b4980f8cc37 +SHA1 (patch-ab) = caa2acd64e3a58596b599fb22d72df69effbbc05 diff --git a/net/gkrellm-snmp/patches/patch-aa b/net/gkrellm-snmp/patches/patch-aa new file mode 100644 index 00000000000..7c0f6ebb586 --- /dev/null +++ b/net/gkrellm-snmp/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/31 00:28:26 damon Exp $ + +--- Makefile.orig Tue Apr 3 09:25:07 2001 ++++ Makefile +@@ -5,7 +5,7 @@ + IMLIB_CONFIG = imlib-config + SYSLIB = -lsnmp + # we need lib crypto if libsnmp has privacy support. +-SYSLIB += -lcrypto -L/usr/local/ssl/lib -L/usr/ssl/lib ++SYSLIB += -lcrypto + + # FreeBSD + #GTK_CONFIG = gtk12-config +@@ -14,8 +14,8 @@ + #PLUGIN_DIR = /usr/X11R6/libexec/gkrellm/plugins/ + + USER_PLUGIN_DIR = $(HOME)/.gkrellm/plugins +-PLUGIN_DIR = /usr/share/gkrellm/plugins +-GKRELLM_INCLUDE = -I/usr/local/include ++PLUGIN_DIR = ${PREFIX}/lib/gkrellm/plugins ++GKRELLM_INCLUDE = -I${PREFIX}/include + + GTK_INCLUDE = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` diff --git a/net/gkrellm-snmp/patches/patch-ab b/net/gkrellm-snmp/patches/patch-ab new file mode 100644 index 00000000000..8293ef1016e --- /dev/null +++ b/net/gkrellm-snmp/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/10/31 00:28:26 damon Exp $ + +--- gkrellm_snmp.c.orig Thu Sep 6 22:15:30 2001 ++++ gkrellm_snmp.c +@@ -88,6 +88,7 @@ + GtkTooltips *tooltip; + }; + ++oid *snmp_parse_oid(const char *argv, oid *root, size_t *rootlen); + + /* + * caller needs to free the returned gchar* diff --git a/net/gkrellm-snmp/pkg/DESCR b/net/gkrellm-snmp/pkg/DESCR new file mode 100644 index 00000000000..99e826d9ac2 --- /dev/null +++ b/net/gkrellm-snmp/pkg/DESCR @@ -0,0 +1,2 @@ +gkrellm-snmp is a plugin for gkrellm that can show the value of an oid on an +snmp enabled device diff --git a/net/gkrellm-snmp/pkg/PLIST b/net/gkrellm-snmp/pkg/PLIST new file mode 100644 index 00000000000..e1895673927 --- /dev/null +++ b/net/gkrellm-snmp/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/31 00:28:26 damon Exp $ +lib/gkrellm/plugins/gkrellm_snmp.so |