Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 19:24:17 -0700 (PDT)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98117: [NEW PORT] sysutils/gapcmon: GTK+2 apcupsd monitoring utility 
Message-ID:  <447bacd1.4d8f06fc.34e6.ffff8eb8@mx.gmail.com>
Resent-Message-ID: <200605300240.k4U2eIPB099797@freefall.freebsd.org>

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

>Number:         98117
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/gapcmon: GTK+2 apcupsd monitoring utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 30 02:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
none 
>Environment:
System: FreeBSD black.attbi.com 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue May 9 14:40:50 EDT 2006 Jason@black.attbi.com:/usr/obj/usr/src/sys/BLACK i386
GTK 2.8.17
apcupsd 3.12.3 
	
>Description:
GapcMon is a GTK+2 monitoring utility for sysutils/apcupsd.  It allows the
user to monitor several local and remote UPS's at once.  It charts UPS
information and nicely displays information taken from apcupsd.

WWW: http://gapcmon.sourceforge.net/

	
>How-To-Repeat:
shar attached
	
>Fix:

	

--- 2006-05-29-gapcmon.shar begins here ---
# 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:
#
#	gapcmon
#	gapcmon/pkg-descr
#	gapcmon/Makefile
#	gapcmon/distinfo
#	gapcmon/pkg-message
#	gapcmon/pkg-plist
#
echo c - gapcmon
mkdir -p gapcmon > /dev/null 2>&1
echo x - gapcmon/pkg-descr
sed 's/^X//' >gapcmon/pkg-descr << 'END-of-gapcmon/pkg-descr'
XGUI application used to monitor UPS devices controlled by the APCUPSD package.
XThe program uses the NIS interface from apcupsd to collect event and status 
Xinformation for display to the end-user.  Because of this great interface, 
Xthis program can be executed on any OS supported machine and use the network
Xsocket interface to connect back to apcupsd.
X
XWWW: http://gapcmon.sourceforge.net/
END-of-gapcmon/pkg-descr
echo x - gapcmon/Makefile
sed 's/^X//' >gapcmon/Makefile << 'END-of-gapcmon/Makefile'
X# New ports collection makefile for:	gapcmon
X# Date Created:				Sun, May 28, 2006
X# Whom:					Jason E. Hale <bsdkaffee@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gapcmon
XPORTVERSION=	0.8.2
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	bsdkaffee@gmail.com
XCOMMENT=	Montior apcupsd with GTK+2 GUI
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_ICONV=	yes
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gnomehack gnometarget gnomevfs2
XGNU_CONFIGURE=	yes
X
XPORTDOCS=	AUTHORS ChangeLog INSTALL
X
Xpost-extract:
X	@${REINPLACE_CMD} "s|/usr/share/pixmaps/|${PREFIX}/share/pixmaps/|" \
X		${WRKSRC}/src/gapcmon.c
X	@${REINPLACE_CMD} "s|/usr/share/icons/gnome/48x48/devices/gnome-dev-battery.png|${PREFIX}/share/pixmaps/apcupsd.png|" \
X		${WRKSRC}/gapcmon.desktop
X	@${REINPLACE_CMD} 's|install-gapcmondocDATA \\|\\|' \
X		${WRKSRC}/Makefile.in
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X	@${CAT} pkg-message
X
X.include <bsd.port.mk>
END-of-gapcmon/Makefile
echo x - gapcmon/distinfo
sed 's/^X//' >gapcmon/distinfo << 'END-of-gapcmon/distinfo'
XMD5 (gapcmon-0.8.2.tar.bz2) = 28c2d9a93121b144bc5941db759917fa
XSHA256 (gapcmon-0.8.2.tar.bz2) = 8bc3b4a8d9a0438f8578aafa93fafd782ce26850a355635afb6f6425ec015d44
XSIZE (gapcmon-0.8.2.tar.bz2) = 117436
END-of-gapcmon/distinfo
echo x - gapcmon/pkg-message
sed 's/^X//' >gapcmon/pkg-message << 'END-of-gapcmon/pkg-message'
X***
XFor GapcMon to work, you must enable apcupsd's NIS by adding the following to
Xyour apcupsd.conf:
X
XNETSERVER on
X***
END-of-gapcmon/pkg-message
echo x - gapcmon/pkg-plist
sed 's/^X//' >gapcmon/pkg-plist << 'END-of-gapcmon/pkg-plist'
Xbin/gapcmon
Xshare/applications/gapcmon.desktop
Xshare/pixmaps/apcupsd.png
Xshare/pixmaps/charging.png
Xshare/pixmaps/gapc_prefs.png
Xshare/pixmaps/onbatt.png
Xshare/pixmaps/online.png
Xshare/pixmaps/unplugged.png
X@dirrmtry share/pixmaps
X@dirrmtry share/applications
END-of-gapcmon/pkg-plist
exit
--- 2006-05-29-gapcmon.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447bacd1.4d8f06fc.34e6.ffff8eb8>