Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 10:14:06 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@FreeBSD.org
Subject:   ports/77333: [PATCH] mail/mboxstats: update to 1.5
Message-ID:  <20050210021406.9FE763EA13D@utopia.leeym.com>
Resent-Message-ID: <200502100220.j1A2K6an095750@freefall.freebsd.org>

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

>Number:         77333
>Category:       ports
>Synopsis:       [PATCH] mail/mboxstats: update to 1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 02:20:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Feb  9 10:20:03 CST
>Description:

- Update to 1.5

- Changelog
    Version 1.4: made 64-bit safe: now also works correctly with files > 2GB
    Version 1.5: mboxstats now handles weird mailbox-formats more gracefully

Port maintainer (clsung@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- mboxstats-1.5.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/mboxstats/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	20 Aug 2004 02:56:37 -0000	1.3
+++ Makefile	10 Feb 2005 02:13:01 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	mboxstats
-PORTVERSION=	1.3
+PORTVERSION=	1.5
 CATEGORIES=	mail
 MASTER_SITES=	http://vanheusden.com/mboxstats/
 EXTRACT_SUFX=	.tgz
@@ -18,11 +18,18 @@
 PLIST_FILES=	bin/mboxstats
 USE_REINPLACE=	yes
 
+.include <bsd.port.pre.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|ssize_t|size_t|g' ${WRKSRC}/io.h
 	@${REINPLACE_CMD} -e 's|PATH_MAX|FILENAME_MAX|g' ${WRKSRC}/main.cpp
+	@${REINPLACE_CMD} -e 's|^CC=|CC?=|g' ${WRKSRC}/${MAKEFILE}
+	@${REINPLACE_CMD} -e 's|^CPPFLAGS|CXXFLAGS|g' ${WRKSRC}/${MAKEFILE}
+.if ${ARCH} == "i386" || ${ARCH} == "alpha"
+	@${REINPLACE_CMD} -Ee 's,(stat|open)64,\1,g' ${WRKSRC}/main.cpp
+.endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mboxstats ${PREFIX}/bin
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/mboxstats/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo	31 Mar 2004 03:09:18 -0000	1.2
+++ distinfo	10 Feb 2005 02:13:01 -0000
@@ -1,2 +1,2 @@
-MD5 (mboxstats-1.3.tgz) = 14e4b1cba0b778dff00db8eb10b9291c
-SIZE (mboxstats-1.3.tgz) = 11803
+MD5 (mboxstats-1.5.tgz) = 54de1a0901f46bc844c9d1528a6c6263
+SIZE (mboxstats-1.5.tgz) = 13645
--- mboxstats-1.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050210021406.9FE763EA13D>