Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 17:44:40 +0200 (CEST)
From:      eike.bernhardt@gmx.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21166: New Port: a GKrellM SNMP Monitor Plugin
Message-ID:  <200009101544.e8AFie016070@teefax.pmnet.uni-oldenburg.de>

next in thread | raw e-mail | index | archive | help

>Number:         21166
>Category:       ports
>Synopsis:       New Port: a GKrellM SNMP Monitor Plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 10 08:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Eike Bernhardt
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

	

>Description:

gkrellm_snmp is a SNMP Monitor Plugin for GKrellM

>How-To-Repeat:

	

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gkrellm_snmp/
#	gkrellm_snmp/pkg
#	gkrellm_snmp/pkg/COMMENT
#	gkrellm_snmp/pkg/DESCR
#	gkrellm_snmp/pkg/PLIST
#	gkrellm_snmp/Makefile
#	gkrellm_snmp/files
#	gkrellm_snmp/files/md5
#	gkrellm_snmp/patches
#	gkrellm_snmp/patches/patch-aa
#
echo c - gkrellm_snmp/
mkdir -p gkrellm_snmp/ > /dev/null 2>&1
echo c - gkrellm_snmp/pkg
mkdir -p gkrellm_snmp/pkg > /dev/null 2>&1
echo x - gkrellm_snmp/pkg/COMMENT
sed 's/^X//' >gkrellm_snmp/pkg/COMMENT << 'END-of-gkrellm_snmp/pkg/COMMENT'
XA gkrellm SNMP Monitor
END-of-gkrellm_snmp/pkg/COMMENT
echo x - gkrellm_snmp/pkg/DESCR
sed 's/^X//' >gkrellm_snmp/pkg/DESCR << 'END-of-gkrellm_snmp/pkg/DESCR'
XGKrellM SNMP Plugin
XAuthor: Christian W. Zuckschwerdt <zany@triq.net>
XWWW: http://triq.net/gkrellm/
X
XA plugin for GKrellM  which allows monitoring of SNMP-Values.
X
X- Eike Bernhardt <eike.bernhardt@gmx.de>
END-of-gkrellm_snmp/pkg/DESCR
echo x - gkrellm_snmp/pkg/PLIST
sed 's/^X//' >gkrellm_snmp/pkg/PLIST << 'END-of-gkrellm_snmp/pkg/PLIST'
Xlibexec/gkrellm/plugins/gkrellm_snmp.so
END-of-gkrellm_snmp/pkg/PLIST
echo x - gkrellm_snmp/Makefile
sed 's/^X//' >gkrellm_snmp/Makefile << 'END-of-gkrellm_snmp/Makefile'
X# New ports collection makefile for:   gkrellm_snmp
X# Date created:        10/09/2000
X# Whom:                Eike Bernhardt <eike.bernhardt@gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gkrellm_snmp
XPORTVERSION=	0.9
XCATEGORIES=	net
XMASTER_SITES=	http://triq.net/gkrellm/
X
XMAINTAINER=	eike.bernhardt@gmx.de
X
XLIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
X		gdk_imlib.5:${PORTSDIR}/graphics/imlib \
X		snmp.4:${PORTSDIR}/net/ucd-snmp
XBUILD_DEPENDS=  ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
XRUN_DEPENDS=    gkrellm:${PORTSDIR}/sysutils/gkrellm
X
XGTK_CONFIG?=    ${X11BASE}/bin/gtk12-config
X
XUSE_X_PREFIX=   yes
XMAKE_ENV=       GTK_CONFIG="${GTK_CONFIG}" \
X		GKRELLM_INCLUDE="-I${X11BASE}/include/gkrellm/" \
X		PLUGIN_DIR="${X11BASE}/libexec/gkrellm/plugins/"
X
X.include <bsd.port.mk>
END-of-gkrellm_snmp/Makefile
echo c - gkrellm_snmp/files
mkdir -p gkrellm_snmp/files > /dev/null 2>&1
echo x - gkrellm_snmp/files/md5
sed 's/^X//' >gkrellm_snmp/files/md5 << 'END-of-gkrellm_snmp/files/md5'
XMD5 (gkrellm_snmp-0.9.tar.gz) = f238ab6736845a2b39f72f952e4bcd6b
END-of-gkrellm_snmp/files/md5
echo c - gkrellm_snmp/patches
mkdir -p gkrellm_snmp/patches > /dev/null 2>&1
echo x - gkrellm_snmp/patches/patch-aa
sed 's/^X//' >gkrellm_snmp/patches/patch-aa << 'END-of-gkrellm_snmp/patches/patch-aa'
X--- /home/eike/src/gkrellm_snmp-0.9/Makefile	Thu May 11 20:39:39 2000
X+++ Makefile	Sun Sep 10 16:59:20 2000
X@@ -1,8 +1,8 @@
X # Makefile for a GKrellM SNMP monitor plugin
X 
X # Linux
X-GTK_CONFIG = gtk-config
X-IMLIB_CONFIG = imlib-config
X+GTK_CONFIG?= gtk-config
X+IMLIB_CONFIG?= imlib-config
X SYSLIB = -lsnmp
X # we need lib crypto if libsnmp has privacy support.
X SYSLIB += -lcrypto
X@@ -14,8 +14,8 @@
X #PLUGIN_DIR = /usr/X11R6/libexec/gkrellm/plugins/
X 
X USER_PLUGIN_DIR = $(HOME)/.gkrellm/plugins
X-PLUGIN_DIR = /usr/share/gkrellm/plugins
X-GKRELLM_INCLUDE = -I/usr/local/include
X+PLUGIN_DIR?= /usr/share/gkrellm/plugins
X+GKRELLM_INCLUDE?= -I/usr/local/include
X 
X GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
X GTK_LIB = `$(GTK_CONFIG) --libs`
END-of-gkrellm_snmp/patches/patch-aa
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009101544.e8AFie016070>