From owner-freebsd-ports-bugs Tue Feb 4 7:50:20 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C93737B405 for ; Tue, 4 Feb 2003 07:50:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DDD543FA7 for ; Tue, 4 Feb 2003 07:50:13 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h14FoDNS094510 for ; Tue, 4 Feb 2003 07:50:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h14FoDoU094509; Tue, 4 Feb 2003 07:50:13 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE97C37B401 for ; 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 ; 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 ; 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" Reply-To: "Michael L.Hostbaek" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/47907: New port : misc/gubby Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47907 >Category: ports >Synopsis: New port : misc/gubby >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 Feb 04 07:50:07 PST 2003 >Closed-Date: >Last-Modified: >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 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 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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message