diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-09-14 16:56:05 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-09-14 16:56:05 +0000 |
commit | e531d42910c1f02cfb431edf973a9e15903f3339 (patch) | |
tree | 51b16a2b49d26f4d8135a8fe992ce1c785a98ead /net | |
parent | Add myself to the map. (diff) |
A plugin for GKrellM which allows monitoring of SNMP-Values.
PR: ports/21166
Submitted by: Eike Bernhardt <eike.bernhardt@gmx.de>
Notes
Notes:
svn path=/head/; revision=32611
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/gkrellm_snmp/Makefile | 28 | ||||
-rw-r--r-- | net/gkrellm_snmp/distinfo | 1 | ||||
-rw-r--r-- | net/gkrellm_snmp/files/patch-aa | 39 | ||||
-rw-r--r-- | net/gkrellm_snmp/pkg-comment | 1 | ||||
-rw-r--r-- | net/gkrellm_snmp/pkg-descr | 7 | ||||
-rw-r--r-- | net/gkrellm_snmp/pkg-plist | 1 |
7 files changed, 78 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index e0a71cb438cd..fa8cdbab380b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -75,6 +75,7 @@ SUBDIR += generic-nqs SUBDIR += ggsd SUBDIR += gicq + SUBDIR += gkrellm_snmp SUBDIR += gnet SUBDIR += gnomba SUBDIR += gnome-vnc diff --git a/net/gkrellm_snmp/Makefile b/net/gkrellm_snmp/Makefile new file mode 100644 index 000000000000..f5a85a928bdf --- /dev/null +++ b/net/gkrellm_snmp/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gkrellm_snmp +# Date created: 10/09/2000 +# Whom: Eike Bernhardt <eike.bernhardt@gmx.de> +# +# $FreeBSD$ +# + +PORTNAME= gkrellm_snmp +PORTVERSION= 0.9 +CATEGORIES= net +MASTER_SITES= http://triq.net/gkrellm/ + +MAINTAINER= eike.bernhardt@gmx.de + +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ + gdk_imlib.5:${PORTSDIR}/graphics/imlib \ + snmp.4:${PORTSDIR}/net/ucd-snmp +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +USE_X_PREFIX= yes +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ + GKRELLM_INCLUDE="-I${X11BASE}/include/gkrellm/" \ + PLUGIN_DIR="${X11BASE}/libexec/gkrellm/plugins/" + +.include <bsd.port.mk> diff --git a/net/gkrellm_snmp/distinfo b/net/gkrellm_snmp/distinfo new file mode 100644 index 000000000000..5b847af1f7e4 --- /dev/null +++ b/net/gkrellm_snmp/distinfo @@ -0,0 +1 @@ +MD5 (gkrellm_snmp-0.9.tar.gz) = f238ab6736845a2b39f72f952e4bcd6b diff --git a/net/gkrellm_snmp/files/patch-aa b/net/gkrellm_snmp/files/patch-aa new file mode 100644 index 000000000000..6e605bb80c39 --- /dev/null +++ b/net/gkrellm_snmp/files/patch-aa @@ -0,0 +1,39 @@ +Index: Makefile +diff -u Makefile.orig Makefile +--- Makefile.orig Fri May 12 03:39:39 2000 ++++ Makefile Fri Sep 15 01:11:28 2000 +@@ -1,8 +1,8 @@ + # Makefile for a GKrellM SNMP monitor plugin + + # Linux +-GTK_CONFIG = gtk-config +-IMLIB_CONFIG = imlib-config ++GTK_CONFIG?= gtk-config ++IMLIB_CONFIG?= imlib-config + SYSLIB = -lsnmp + # we need lib crypto if libsnmp has privacy support. + SYSLIB += -lcrypto +@@ -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?= /usr/share/gkrellm/plugins ++GKRELLM_INCLUDE?= -I/usr/local/include + + GTK_INCLUDE = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` +@@ -24,11 +24,9 @@ + IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk` + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) ++CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB) + LFLAGS = -shared +- +-CC = gcc $(CFLAGS) $(FLAGS) + + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s diff --git a/net/gkrellm_snmp/pkg-comment b/net/gkrellm_snmp/pkg-comment new file mode 100644 index 000000000000..3a3fb2182769 --- /dev/null +++ b/net/gkrellm_snmp/pkg-comment @@ -0,0 +1 @@ +A gkrellm SNMP Monitor diff --git a/net/gkrellm_snmp/pkg-descr b/net/gkrellm_snmp/pkg-descr new file mode 100644 index 000000000000..17d210800d09 --- /dev/null +++ b/net/gkrellm_snmp/pkg-descr @@ -0,0 +1,7 @@ +GKrellM SNMP Plugin +Author: Christian W. Zuckschwerdt <zany@triq.net> +WWW: http://triq.net/gkrellm/ + +A plugin for GKrellM which allows monitoring of SNMP-Values. + +- Eike Bernhardt <eike.bernhardt@gmx.de> diff --git a/net/gkrellm_snmp/pkg-plist b/net/gkrellm_snmp/pkg-plist new file mode 100644 index 000000000000..ad3c85b36157 --- /dev/null +++ b/net/gkrellm_snmp/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/gkrellm_snmp.so |