From bsdkaffee@gmail.com  Tue May 30 02:31:05 2006
Return-Path: <bsdkaffee@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6833C16AB9E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 May 2006 02:31:05 +0000 (UTC)
	(envelope-from bsdkaffee@gmail.com)
Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.192])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B856143D55
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 May 2006 02:31:04 +0000 (GMT)
	(envelope-from bsdkaffee@gmail.com)
Received: by hu-out-0102.google.com with SMTP id 28so584233hug
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 May 2006 19:31:03 -0700 (PDT)
Received: by 10.54.109.14 with SMTP id h14mr2664107wrc;
        Mon, 29 May 2006 19:23:58 -0700 (PDT)
Received: from ?192.168.0.106? ( [24.3.133.137])
        by mx.gmail.com with ESMTP id g5sm2386013wra.2006.05.29.19.24.16;
        Mon, 29 May 2006 19:24:17 -0700 (PDT)
Message-Id: <447bacd1.4d8f06fc.34e6.ffff8eb8@mx.gmail.com>
Date: Mon, 29 May 2006 19:24:17 -0700 (PDT)
From: Jason E. Hale <bsdkaffee@gmail.com>
Reply-To: Jason E. Hale <bsdkaffee@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] sysutils/gapcmon: GTK+2 apcupsd monitoring utility 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98117
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/gapcmon: GTK+2 apcupsd monitoring utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 30 02:40:18 GMT 2006
>Closed-Date:    Wed Jun 07 21:24:16 GMT 2006
>Last-Modified:  Wed Jun 07 21:24:16 GMT 2006
>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:

From: "Jason E. Hale" <bsdkaffee@gmail.com>
To: bug-followup@freebsd.org,
 bsdkaffee@gmail.com
Cc:  
Subject: Re: ports/98117: [NEW PORT] sysutils/gapcmon: GTK+2 apcupsd monitoring utility
Date: Mon, 29 May 2006 23:48:03 -0400

 Drat, forgot something.  Please apply the attached diff to the extracted shar. 
 Thanks.
 
 --- 2006-05-29-gapcmon.diff begins here ---
 diff -ruN gapcmon.orig/Makefile gapcmon/Makefile
 --- gapcmon.orig/Makefile	Mon May 29 23:43:15 2006
 +++ gapcmon/Makefile	Mon May 29 23:43:43 2006
 @@ -14,6 +14,8 @@
  MAINTAINER=	bsdkaffee@gmail.com
  COMMENT=	Montior apcupsd with GTK+2 GUI
  
 +RUN_DEPENDS=	apcupsd:${PORTSDIR}/sysutils/apcupsd
 +
  USE_BZIP2=	yes
  USE_GMAKE=	yes
  USE_ICONV=	yes
 --- 2006-05-29-gapcmon.diff ends here ---
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Tue Jun 6 20:19:51 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98117 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Wed Jun 7 21:24:15 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98117 
>Unformatted:
