diff options
author | ume <ume@FreeBSD.org> | 2000-09-15 00:56:05 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-09-15 00:56:05 +0800 |
commit | 1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514 (patch) | |
tree | fd66bf318fd81c9199eeaab6f1e85677ebfdba20 /net | |
parent | 53f8f1594d527eb1961e1bc083c1c3c50cf915a7 (diff) | |
download | freebsd-ports-gnome-1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514.tar.gz freebsd-ports-gnome-1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514.tar.zst freebsd-ports-gnome-1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514.zip |
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')
-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 |