Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 10:57:19 +0100 (CET)
From:      "Michael L.Hostbaek" <mich@freebsdcluster.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48700: Update port: [Maintainer Update]: mail/gubby
Message-ID:  <20030226095719.0CD2014A24@icommerce-france.com>

next in thread | raw e-mail | index | archive | help

>Number:         48700
>Category:       ports
>Synopsis:       Update port: [Maintainer Update]: mail/gubby
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 26 02:00:28 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:
	Update to latest release.
	Add man page.
>How-To-Repeat:
>Fix:

	
diff -u -ruN gubby.bak/Makefile gubby/Makefile
--- gubby.bak/Makefile	Wed Feb 26 10:35:51 2003
+++ gubby/Makefile	Wed Feb 26 10:53:49 2003
@@ -7,13 +7,17 @@
 #
 
 PORTNAME=	gubby
-PORTVERSION=	0.3.2
+PORTVERSION=	0.4.2
 CATEGORIES=	mail
-MASTER_SITES=	http://sublevel3.org/~csl/gubby/dist/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	mich@freebsdcluster.org
 COMMENT=	A program showing where new mail has been placed
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 LDFLAGS+=	-lncurses -ltermcap
 CFLAGS+=	-felide-constructors -fno-default-inline
 
@@ -23,9 +27,12 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gubby ${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/doc/${MAN1} ${PREFIX}/man/man1
+
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}/README
 .endif
 
+MAN1=		gubby.1
 .include <bsd.port.mk>
diff -u -ruN gubby.bak/distinfo gubby/distinfo
--- gubby.bak/distinfo	Wed Feb 26 10:35:51 2003
+++ gubby/distinfo	Wed Feb 26 10:44:58 2003
@@ -1 +1 @@
-MD5 (gubby-0.3.2.tar.gz) = 14e5261531f8bb9142e037ce10cd2d0a
+MD5 (gubby-0.4.2-src.tar.gz) = 9195bd369c46be749de1cb039309ee60
diff -u -ruN gubby.bak/files/patch-aa gubby/files/patch-aa
--- gubby.bak/files/patch-aa	Wed Feb 26 10:35:50 2003
+++ gubby/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- src/gubby.cpp.orig	Tue Feb  4 16:16:09 2003
-+++ src/gubby.cpp	Tue Feb  4 16:15:32 2003
-@@ -49,13 +49,13 @@
- 		char buf[1024];
- 
- 		if ( f != 0 )
--			while ( !feof(f) ) {
-+			while ( !feof(f.fptr()) ) {
- 
- 				buf[0] = 0;
- 				char* s = &buf[0];
- 				const char* p = find;
- 
--				fgets(s, sizeof buf / sizeof(char), f);
-+				fgets(s, sizeof buf / sizeof(char), f.fptr());
- 
- 				// search for matched string
- 				while ( *p++ == *s++ );
diff -u -ruN gubby.bak/files/patch-ab gubby/files/patch-ab
--- gubby.bak/files/patch-ab	Wed Feb 26 10:35:51 2003
+++ gubby/files/patch-ab	Thu Jan  1 01:00:00 1970
@@ -1,13 +0,0 @@
---- include/file_ptr.h.orig	Mon Feb  3 09:38:16 2003
-+++ include/file_ptr.h	Tue Feb  4 16:15:37 2003
-@@ -61,6 +61,10 @@
- 		return ptr;
- 	}
- 
-+	FILE* fptr() const {
-+		return ptr;
-+	}
-+
- 	void operator=(FILE* f) {
- 		close();
- 		ptr = f;

>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?20030226095719.0CD2014A24>