Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2007 17:58:27 +0200 (CEST)
From:      Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@FreeBSD.org
Subject:   ports/113857: [PATCH] mail/mboxstats: update to 3.0
Message-ID:  <20070619155827.60BA4D5@imhotep.yuckfou.org>
Resent-Message-ID: <200706191600.l5JG09Qk055129@freefall.freebsd.org>

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

>Number:         113857
>Category:       ports
>Synopsis:       [PATCH] mail/mboxstats: update to 3.0
>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:   Tue Jun 19 16:00:08 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nils Vogels
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
IS-Root
>Environment:
System: FreeBSD imhotep.yuckfou.org 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Fri Aug  5 19:36:46 CEST
>Description:
- Update to 3.0

Added file(s):
- files/patch-br.cpp: Workaround use of strndup

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

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

--- mboxstats-3.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/mboxstats/Makefile /disk/3/home/nivo/ports/mboxstats/Makefile
--- /usr/ports/mail/mboxstats/Makefile	Mon Aug 14 06:21:58 2006
+++ /disk/3/home/nivo/ports/mboxstats/Makefile	Sat Jun 16 17:16:47 2007
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	mboxstats
-PORTVERSION=	2.9
+PORTVERSION=	3.0
 CATEGORIES=	mail
 MASTER_SITES=	http://vanheusden.com/mboxstats/
 EXTRACT_SUFX=	.tgz
diff -ruN --exclude=CVS /usr/ports/mail/mboxstats/distinfo /disk/3/home/nivo/ports/mboxstats/distinfo
--- /usr/ports/mail/mboxstats/distinfo	Sun Jan 22 13:50:26 2006
+++ /disk/3/home/nivo/ports/mboxstats/distinfo	Sat Jun 16 17:16:51 2007
@@ -1,3 +1,3 @@
-MD5 (mboxstats-2.9.tgz) = 527c73a6adaa90a1e928f65342fa8da4
-SHA256 (mboxstats-2.9.tgz) = 9d3843c5bb523f3dd335b559e4b95d20dc25da3cef866b538f5ff2806d9ce247
-SIZE (mboxstats-2.9.tgz) = 19293
+MD5 (mboxstats-3.0.tgz) = d6f222f036342f3502640e76f48c6a68
+SHA256 (mboxstats-3.0.tgz) = c3d3f83a84cddc08b825d7da9954c3c0a858bfad81c57479a4d36efa369f773e
+SIZE (mboxstats-3.0.tgz) = 20075
diff -ruN --exclude=CVS /usr/ports/mail/mboxstats/files/patch-br.cpp /disk/3/home/nivo/ports/mboxstats/files/patch-br.cpp
--- /usr/ports/mail/mboxstats/files/patch-br.cpp	Thu Jan  1 01:00:00 1970
+++ /disk/3/home/nivo/ports/mboxstats/files/patch-br.cpp	Tue Jun 19 17:55:51 2007
@@ -0,0 +1,19 @@
+--- br.cpp.orig	Tue Jun 19 17:54:16 2007
++++ br.cpp	Tue Jun 19 17:55:30 2007
+@@ -160,6 +160,16 @@
+ 	return n_read;
+ }
+ 
++char *strndup(char *in, int size)
++{
++        char *out = (char *)malloc(size + 1);
++
++        memcpy(out, in, size);
++        out[size] = 0x00;
++
++        return out;
++}
++
+ char * buffered_reader::read_line(void)
+ {
+ 	char *out = NULL;
--- mboxstats-3.0.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?20070619155827.60BA4D5>