From lizard@informatik.unibw-muenchen.de  Sun May 19 05:30:44 2002
Return-Path: <lizard@informatik.unibw-muenchen.de>
Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27])
	by hub.freebsd.org (Postfix) with ESMTP id 8599037B403
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 May 2002 05:30:19 -0700 (PDT)
Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30])
	by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id g4JCAK205702
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 May 2002 14:10:20 +0200 (MEST)
Received: from localhost (localhost.informatik.unibw-muenchen.de [127.0.0.1])
	by nemesis.informatik.unibw-muenchen.de (Postfix) with ESMTP id 1E1AB5A548
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 May 2002 14:10:18 +0200 (CEST)
Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001)
	id 783B15A547; Sun, 19 May 2002 14:10:16 +0200 (CEST)
Message-Id: <20020519121016.783B15A547@nemesis.informatik.unibw-muenchen.de>
Date: Sun, 19 May 2002 14:10:16 +0200 (CEST)
From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: gtkgrepmail 0.6 (A gtk front-end to grepmail)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38286
>Category:       ports
>Synopsis:       New port: gtkgrepmail 0.6 (A gtk front-end to grepmail)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obraun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 19 05:40:01 PDT 2002
>Closed-Date:    Thu Aug 22 14:26:22 PDT 2002
>Last-Modified:  Thu Aug 22 14:26:22 PDT 2002
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Thu May 2 11:59:09 CEST 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386

>Description:

[supersedes PR ports/35487]

Gtkgrepmail is a gtk front end to grepmail.  Support is provided for
both local mailboxes and remote mailboxes that are accessible via IMAP
and ssh/rsh.

WWW: http://malcolm.wattle.id.au/software.html

Regards,
         Olli
>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:
#
#	gtkgrepmail
#	gtkgrepmail/Makefile
#	gtkgrepmail/distinfo
#	gtkgrepmail/pkg-comment
#	gtkgrepmail/pkg-descr
#	gtkgrepmail/pkg-plist
#	gtkgrepmail/files
#	gtkgrepmail/files/patch-gtkgrepmail
#
echo c - gtkgrepmail
mkdir -p gtkgrepmail > /dev/null 2>&1
echo x - gtkgrepmail/Makefile
sed 's/^X//' >gtkgrepmail/Makefile << 'END-of-gtkgrepmail/Makefile'
X# New ports collection makefile for:   gtkgrepmail
X# Date created:        19 May 2002
X# Whom:                Oliver Braun <obraun@informatik.unibw-muenchen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      gtkgrepmail
XPORTVERSION=   0.6
XCATEGORIES=    mail
XMASTER_SITES=  ftp://ftp.terminus.net.au/unix/perl/
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    obraun@informatik.unibw-muenchen.de
X
XBUILD_DEPENDS=	grepmail:${PORTSDIR}/mail/grepmail \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
XRUN_DEPENDS=	grepmail:${PORTSDIR}/mail/grepmail \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
X
XPERL_CONFIGURE= YES
X
XMAN1=		gtkgrepmail.1
X
XPORTDOCS=	COPYING FAQ NEWS ROADMAP changelog INSTALL README TODO
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${DOCSDIR}
X.for file in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/Documentation/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-gtkgrepmail/Makefile
echo x - gtkgrepmail/distinfo
sed 's/^X//' >gtkgrepmail/distinfo << 'END-of-gtkgrepmail/distinfo'
XMD5 (gtkgrepmail-0.6.tgz) = 73dfb91d3fd1ac9f772475695d0136e3
END-of-gtkgrepmail/distinfo
echo x - gtkgrepmail/pkg-comment
sed 's/^X//' >gtkgrepmail/pkg-comment << 'END-of-gtkgrepmail/pkg-comment'
XA gtk front-end to grepmail
END-of-gtkgrepmail/pkg-comment
echo x - gtkgrepmail/pkg-descr
sed 's/^X//' >gtkgrepmail/pkg-descr << 'END-of-gtkgrepmail/pkg-descr'
XGtkgrepmail is a gtk front end to grepmail.  Support is provided for both local
Xmailboxes and remote mailboxes that are accessible via IMAP and ssh/rsh.
X
XWWW: http://malcolm.wattle.id.au/software.html
X
X- Oliver Braun
Xobraun@informatik.unibw-muenchen.de
END-of-gtkgrepmail/pkg-descr
echo x - gtkgrepmail/pkg-plist
sed 's/^X//' >gtkgrepmail/pkg-plist << 'END-of-gtkgrepmail/pkg-plist'
Xbin/gtkgrepmail
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/gtkgrepmail/.packlist
X%%PORTDOCS%%share/doc/gtkgrepmail/COPYING
X%%PORTDOCS%%share/doc/gtkgrepmail/FAQ
X%%PORTDOCS%%share/doc/gtkgrepmail/NEWS
X%%PORTDOCS%%share/doc/gtkgrepmail/ROADMAP
X%%PORTDOCS%%share/doc/gtkgrepmail/changelog
X%%PORTDOCS%%share/doc/gtkgrepmail/INSTALL
X%%PORTDOCS%%share/doc/gtkgrepmail/README
X%%PORTDOCS%%share/doc/gtkgrepmail/TODO
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/gtkgrepmail
X%%PORTDOCS%%@dirrm share/doc/gtkgrepmail
END-of-gtkgrepmail/pkg-plist
echo c - gtkgrepmail/files
mkdir -p gtkgrepmail/files > /dev/null 2>&1
echo x - gtkgrepmail/files/patch-gtkgrepmail
sed 's/^X//' >gtkgrepmail/files/patch-gtkgrepmail << 'END-of-gtkgrepmail/files/patch-gtkgrepmail'
X--- gtkgrepmail.orig	Sun May 19 13:21:46 2002
X+++ gtkgrepmail	Sun May 19 13:28:12 2002
X@@ -31,8 +31,8 @@
X # Define variables
X $defaultMailpath="$ENV{HOME}/Mail";
X $defaultMailbox="search-results";
X-$defaultGrepmail="/usr/bin/grepmail";
X-$defaultIMAP="/usr/bin/X11/xterm -e /usr/bin/elm -f";
X+$defaultGrepmail="/usr/local/bin/grepmail";
X+$defaultIMAP="/usr/X11R6/bin/xterm -e /usr/bin/elm -f";
X $defaultSSH="/usr/bin/ssh";
X $defaultHost="localhost";
X $defaultUser="$ENV{USER}";
X@@ -1043,7 +1043,7 @@
X     $chkRecurse->set_active(0);
X     $row = 0;
X     while ( $row <= $#filelist ) {
X-      $lstFiles->unselect_item($row,0);
X+      $lstFiles->unselect_row($row,0);
X       $row++;
X     }
X     @valfiles = "";
X@@ -1249,7 +1249,7 @@
X     if ( $valrdbAnd && $valAnd ) { $andspec = "| grepmail $scopeflag2 $valInverse $valCase -e \\\"$valAnd\\\"" }
X     elsif ( $valAnd ) { $orspec = "\\|\\\"$valAnd\\\"" };
X     if ( $valNot ) { $notspec = "| grepmail $scopeflag3 $valCase -v -e \\\"$valNot\\\"" };
X-    $grepmailcmd = "$valGrepmail -e \\(\\\"$valSearch\\\"$orspec\\) $scopeflag $valInverse $valCase $valRecurse $valSkipattach $datespec @valfiles $andspec $notspec 2>&1 1>$valMailpath/$valMailbox";
X+    $grepmailcmd = "$valGrepmail -e \\(\"$valSearch\"$orspec\\) $scopeflag $valInverse $valCase $valRecurse $valSkipattach $datespec @valfiles $andspec $notspec 2>&1 1>$valMailpath/$valMailbox";
X     if ( $usrHost eq "localhost" ) {
X       $grepmailcmd = "$grepmailcmd 2>/tmp/gtkgrepmail.$$"
X     } else {
X@@ -1262,7 +1262,7 @@
X       $dlgMain_form->window->set_cursor( new Gtk::Gdk::Cursor( 150 ) );
X       # Cursor does not redraw itself unless we do this
X       $dlgMain_form->draw(undef);
X-      unless ($child = fork) {
X+      unless (fork) {
X         exec "$grepmailcmd";
X       };
X       $signalid = $dlgMain_form->signal_connect( 'key_press_event', "on_dlgMain_keypress" );
END-of-gtkgrepmail/files/patch-gtkgrepmail
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obraun 
Responsible-Changed-By: obraun 
Responsible-Changed-When: Wed Aug 21 05:27:26 PDT 2002 
Responsible-Changed-Why:  
I am submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38286 
State-Changed-From-To: open->closed 
State-Changed-By: obraun 
State-Changed-When: Thu Aug 22 14:25:57 PDT 2002 
State-Changed-Why:  
New port added! 

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