From root@icommerce-france.com  Tue Feb  4 07:46:33 2003
Return-Path: <root@icommerce-france.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DE97C37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 07:46:32 -0800 (PST)
Received: from mail2.itxmarket.com (fw.itxmarket.com [213.11.40.109])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 81DD443F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 07:46:31 -0800 (PST)
	(envelope-from root@icommerce-france.com)
Received: from icommerce-france.com (extranet.itxmarket.com [192.168.2.24])
	by mail2.itxmarket.com (Postfix) with ESMTP id 27B5037CA7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 16:46:30 +0100 (CET)
Received: by icommerce-france.com (Postfix, from userid 0)
	id DDDBA14A24; Tue,  4 Feb 2003 16:46:29 +0100 (CET)
Message-Id: <20030204154629.DDDBA14A24@icommerce-france.com>
Date: Tue,  4 Feb 2003 16:46:29 +0100 (CET)
From: Michael L.Hostbaek <mich@freebsdcluster.org>
Reply-To: Michael L.Hostbaek <mich@freebsdcluster.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port : misc/gubby
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47907
>Category:       ports
>Synopsis:       New port : misc/gubby
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 07:50:07 PST 2003
>Closed-Date:    Tue Feb 25 10:54:25 PST 2003
>Last-Modified:  Tue Feb 25 10:54:25 PST 2003
>Originator:     Michael L. Hostbaek
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
FreeBSDCluster.org
>Environment:
System: FreeBSD extranet.itxmarket.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Oct 11 17:00:45 CEST 2002 root@extranet.itxmarket.com:/usr/obj/usr/src/sys/EXTRANET1 i386

>Description:
	New port.
	Gubby is a small program that continually shows where Procmail has 
	placed new email. It runs both in commandline and in an ncurses 
	environment with colors, and will update the overview in real time, 
	while using very low  resources. Users can launch a specified 
	mailreader by selecting a folder and pressing enter.
	Compiles on 4.X and -CURRENT
	
>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:
#
#	gubby
#	gubby/Makefile
#	gubby/distinfo
#	gubby/pkg-comment
#	gubby/pkg-descr
#	gubby/pkg-plist
#	gubby/files
#	gubby/files/patch-aa
#	gubby/files/patch-ab
#
echo c - gubby
mkdir -p gubby > /dev/null 2>&1
echo x - gubby/Makefile
sed 's/^X//' >gubby/Makefile << 'END-of-gubby/Makefile'
X# ex:ts=8
X# New ports collection makefile for:	gubby
X# Date created:			Feb 4, 2003
X# Whom:				mich@freebsdcluster.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gubby
XPORTVERSION=	0.3.2
XCATEGORIES=	misc
XMASTER_SITES=	http://sublevel3.org/~csl/gubby/dist/
X
XMAINTAINER=	mich@freebsdcluster.org
X
XLDFLAGS+=	-lncurses -ltermcap
XCFLAGS+=	-felide-constructors -fno-default-inline
X
Xdo-build:
X	cd ${WRKSRC} && \
X	${CXX} ${CFLAGS} -o ${PORTNAME} -Iinclude/ ${LDFLAGS} src/gubby.cpp
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/gubby ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/README
X.endif
X
X.include <bsd.port.mk>
END-of-gubby/Makefile
echo x - gubby/distinfo
sed 's/^X//' >gubby/distinfo << 'END-of-gubby/distinfo'
XMD5 (gubby-0.3.2.tar.gz) = 14e5261531f8bb9142e037ce10cd2d0a
END-of-gubby/distinfo
echo x - gubby/pkg-comment
sed 's/^X//' >gubby/pkg-comment << 'END-of-gubby/pkg-comment'
XA program showing where new mail has been placed
END-of-gubby/pkg-comment
echo x - gubby/pkg-descr
sed 's/^X//' >gubby/pkg-descr << 'END-of-gubby/pkg-descr'
XGubby is a small program that continually shows where Procmail has placed 
Xnew email. It runs both in commandline and in an ncurses environment with 
Xcolors, and will update the overview in real time, while using very low  
Xresources. Users can launch a specified mailreader by selecting a folder 
Xand pressing enter.
X
XAUTHOR:	C.S. Larsen <csl@sublevel3.org>
XWWW:	http://sublevel3.org/~csl/gubby/
X
X	- Michael L. Hostbaek
X	mich@freebsdcluster.org
END-of-gubby/pkg-descr
echo x - gubby/pkg-plist
sed 's/^X//' >gubby/pkg-plist << 'END-of-gubby/pkg-plist'
Xbin/gubby
X%%PORTDOCS%%share/doc/gubby/README
X%%PORTDOCS%%@dirrm share/doc/gubby
END-of-gubby/pkg-plist
echo c - gubby/files
mkdir -p gubby/files > /dev/null 2>&1
echo x - gubby/files/patch-aa
sed 's/^X//' >gubby/files/patch-aa << 'END-of-gubby/files/patch-aa'
X--- src/gubby.cpp.orig	Tue Feb  4 16:16:09 2003
X+++ src/gubby.cpp	Tue Feb  4 16:15:32 2003
X@@ -49,13 +49,13 @@
X 		char buf[1024];
X 
X 		if ( f != 0 )
X-			while ( !feof(f) ) {
X+			while ( !feof(f.fptr()) ) {
X 
X 				buf[0] = 0;
X 				char* s = &buf[0];
X 				const char* p = find;
X 
X-				fgets(s, sizeof buf / sizeof(char), f);
X+				fgets(s, sizeof buf / sizeof(char), f.fptr());
X 
X 				// search for matched string
X 				while ( *p++ == *s++ );
END-of-gubby/files/patch-aa
echo x - gubby/files/patch-ab
sed 's/^X//' >gubby/files/patch-ab << 'END-of-gubby/files/patch-ab'
X--- include/file_ptr.h.orig	Mon Feb  3 09:38:16 2003
X+++ include/file_ptr.h	Tue Feb  4 16:15:37 2003
X@@ -61,6 +61,10 @@
X 		return ptr;
X 	}
X 
X+	FILE* fptr() const {
X+		return ptr;
X+	}
X+
X 	void operator=(FILE* f) {
X 		close();
X 		ptr = f;
END-of-gubby/files/patch-ab
exit


>Release-Note:
>Audit-Trail:

From: Olivier Tharan <olive@oban.frmug.org>
To: "Michael L.Hostbaek" <mich@freebsdcluster.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/47907: New port : misc/gubby
Date: Tue, 18 Feb 2003 22:11:10 +0100

 * Michael L.Hostbaek <mich@freebsdcluster.org> (20030204 16:46):
 > >Description:
 > 	New port.
 > 	Gubby is a small program that continually shows where Procmail has 
 > 	placed new email. It runs both in commandline and in an ncurses 
 
 I confirm the port builds and works ok on -STABLE and 5.0-RELEASE.
 (if it can help...)
 
 -- 
 olive

From: Yen-Ming Lee <leeym@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, mich@freebsdcluster.org
Cc:  
Subject: Re: ports/47907: New port : misc/gubby
Date: Tue, 25 Feb 2003 04:09:56 +0800

 --xHFwDpU9dbj6ez1V
 Content-Type: text/plain; charset=big5
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 
 Would it be better to put in "mail" category ?
 
 -- 
 Yen-Ming Lee [۩] KeyID: 0x5EB52E51 : www.leeym.com : Taipei, Taiwan
 leeym@{leeym.com,FreeBSD.org,yahoo-inc.com,ntu.edu.tw,civil.ncku.edu.tw}
 
 --xHFwDpU9dbj6ez1V
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iQCVAwUBPlp8FMnMx0NetS5RAQHBMgQAmDC79lZMPWcajP6a+M+Dwy2+i7wqHySz
 12pUNyrhttdz3BbMHfbsS7EMxGqetxbngMNy9zZgGH5EyKsu+b6mQvUrD6tgAkPL
 V5w0gvewggV7WUk8fDdV99pcFkksXzP8eYlln3sYmWrxu8COKYqaj4mp/1qiCkXj
 T7AtosdB0eI=
 =7CvW
 -----END PGP SIGNATURE-----
 
 --xHFwDpU9dbj6ez1V--
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Tue Feb 25 03:53:23 PST 2003 
Responsible-Changed-Why:  
I will handle this pr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47907 
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Tue Feb 25 10:54:24 PST 2003 
State-Changed-Why:  
Committed with minor modifications, thanks. 

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