ports/99174: update [www/sitecopy]

Alex Samorukov samm at os2.kiev.ua
Mon Jun 19 10:00:36 UTC 2006


>Number:         99174
>Category:       ports
>Synopsis:       update [www/sitecopy]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 19 10:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Samorukov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
Shevchenko Didkovskiy and Partners 
>Environment:


System: FreeBSD 6.1-RELEASE #0: Tue May 23 18:35:28 EEST 2006
    root at samm.loc:/usr/obj/usr/src/sys/GENERIC



>Description:


This patch will:
1) Update sitecopy to 0.16.3 version
2) Fix large (>2Gb) file support in sitecopy


>How-To-Repeat:


w/o proposed patch sitecopy will fail with large files.


>Fix:


diff -r -u --new-file sitecopy/Makefile sitecopy-new/Makefile
--- sitecopy/Makefile	Tue May 23 14:59:18 2006
+++ sitecopy-new/Makefile	Mon Jun 19 11:34:15 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	sitecopy
-PORTVERSION=	0.16.1
-PORTREVISION?=	1
+PORTVERSION=	0.16.3
 CATEGORIES=	www
 MASTER_SITES=	http://www.lyra.org/sitecopy/
 
diff -r -u --new-file sitecopy/distinfo sitecopy-new/distinfo
--- sitecopy/distinfo	Fri Apr 28 13:00:34 2006
+++ sitecopy-new/distinfo	Mon Jun 19 11:36:41 2006
@@ -1,3 +1,3 @@
-MD5 (sitecopy-0.16.1.tar.gz) = 25b611feea1d98f4bb5b4e4ebac4044d
-SHA256 (sitecopy-0.16.1.tar.gz) = 0a5441c7455f22064ee230a01135ada679aa4f0b382fa36590ae43e2ee2ca096
-SIZE (sitecopy-0.16.1.tar.gz) = 947056
+MD5 (sitecopy-0.16.3.tar.gz) = df48499ad81b333a9d255c1709e09a1a
+SHA256 (sitecopy-0.16.3.tar.gz) = 9dd46581717bff65e1bca852490366b85077809afb64a1ad3458da35011911a9
+SIZE (sitecopy-0.16.3.tar.gz) = 961799
diff -r -u --new-file sitecopy/files/patch-sitestore.c sitecopy-new/files/patch-sitestore.c
--- sitecopy/files/patch-sitestore.c	Thu Jan  1 03:00:00 1970
+++ sitecopy-new/files/patch-sitestore.c	Mon Jun 19 12:26:42 2006
@@ -0,0 +1,13 @@
+--- src/sitestore.c.orig	Mon Jun 19 12:07:52 2006
++++ src/sitestore.c	Mon Jun 19 12:08:24 2006
+@@ -340,8 +340,8 @@
+ 	}
+ 	break;
+     case SITE_ELM_size:
+-	doc->stored.size = strtol(cdata, NULL, 10);
+-	if (doc->stored.size == LONG_MAX) {
++	doc->stored.size = strtoll(cdata, NULL, 10);
++	if (doc->stored.size == LLONG_MAX) {
+         }
+ 	break;
+     case SITE_ELM_protection:


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



More information about the freebsd-ports-bugs mailing list