pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gkrellm1-snmp Re-import of net/gkrellm-snmp as net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6fd1ad36410
branches:  trunk
changeset: 469548:d6fd1ad36410
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 23:27:25 2004 +0000

description:
Re-import of net/gkrellm-snmp as net/gkrellm1-snmp to leave space for the
GKrellM-2 port of the snmp plugin.

diffstat:

 net/gkrellm1-snmp/DESCR            |   2 ++
 net/gkrellm1-snmp/Makefile         |  25 +++++++++++++++++++++++++
 net/gkrellm1-snmp/PLIST            |   2 ++
 net/gkrellm1-snmp/distinfo         |   6 ++++++
 net/gkrellm1-snmp/patches/patch-aa |  24 ++++++++++++++++++++++++
 net/gkrellm1-snmp/patches/patch-ab |  12 ++++++++++++
 6 files changed, 71 insertions(+), 0 deletions(-)

diffs (95 lines):

diff -r 67633e11f10d -r d6fd1ad36410 net/gkrellm1-snmp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-snmp/DESCR   Tue Feb 24 23:27:25 2004 +0000
@@ -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 -r 67633e11f10d -r d6fd1ad36410 net/gkrellm1-snmp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-snmp/Makefile        Tue Feb 24 23:27:25 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 23:27:25 cube Exp $
+
+DISTNAME=              gkrellm_snmp-0.18
+PKGNAME=               gkrellm-snmp-0.18
+PKGREVISION=           6
+CATEGORIES=            net sysutils
+MASTER_SITES=          http://triq.net/gkrellm/
+
+MAINTAINER=            jasper%pointless.net@localhost
+HOMEPAGE=              http://triq.net/gkrellm.html
+COMMENT=               Simple SNMP monitor for gkrellm
+
+USE_BUILDLINK2=                # defined
+USE_GNU_TOOLS+=                make
+
+do-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
+       ${INSTALL_PROGRAM} ${WRKSRC}/gkrellm_snmp.so ${PREFIX}/lib/gkrellm/plugins/
+
+.include "../../graphics/imlib/buildlink2.mk"
+.include "../../net/ucd-snmp/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../sysutils/gkrellm/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 67633e11f10d -r d6fd1ad36410 net/gkrellm1-snmp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-snmp/PLIST   Tue Feb 24 23:27:25 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 23:27:25 cube Exp $
+lib/gkrellm/plugins/gkrellm_snmp.so
diff -r 67633e11f10d -r d6fd1ad36410 net/gkrellm1-snmp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-snmp/distinfo        Tue Feb 24 23:27:25 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/24 23:27:25 cube 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 -r 67633e11f10d -r d6fd1ad36410 net/gkrellm1-snmp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-snmp/patches/patch-aa        Tue Feb 24 23:27:25 2004 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 23:27:26 cube 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 -r 67633e11f10d -r d6fd1ad36410 net/gkrellm1-snmp/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gkrellm1-snmp/patches/patch-ab        Tue Feb 24 23:27:25 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 23:27:26 cube 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*



Home | Main Index | Thread Index | Old Index