diff options
author | ume <ume@FreeBSD.org> | 2000-09-14 16:56:05 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-09-14 16:56:05 +0000 |
commit | 1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514 (patch) | |
tree | fd66bf318fd81c9199eeaab6f1e85677ebfdba20 /net/gkrellm_snmp | |
parent | 53f8f1594d527eb1961e1bc083c1c3c50cf915a7 (diff) | |
download | FreeBSD-ports-1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514.zip FreeBSD-ports-1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514.tar.gz |
A plugin for GKrellM which allows monitoring of SNMP-Values.
PR: ports/21166
Submitted by: Eike Bernhardt <eike.bernhardt@gmx.de>
Diffstat (limited to 'net/gkrellm_snmp')
-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 |
6 files changed, 77 insertions, 0 deletions
diff --git a/net/gkrellm_snmp/Makefile b/net/gkrellm_snmp/Makefile new file mode 100644 index 0000000..f5a85a9 --- /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 0000000..5b847af --- /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 0000000..6e605bb --- /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 0000000..3a3fb21 --- /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 0000000..17d2108 --- /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 0000000..ad3c85b --- /dev/null +++ b/net/gkrellm_snmp/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/gkrellm_snmp.so |