Date: Tue, 4 Feb 2003 16:46:29 +0100 (CET) From: "Michael L.Hostbaek" <mich@freebsdcluster.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47907: New port : misc/gubby Message-ID: <20030204154629.DDDBA14A24@icommerce-france.com>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030204154629.DDDBA14A24>