ports/120188: [patch] update www/xcache to 1.2.2

Daniel Gerzo danger at FreeBSD.org
Thu Jan 31 18:20:01 UTC 2008


>Number:         120188
>Category:       ports
>Synopsis:       [patch] update www/xcache to 1.2.2
>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 Jan 31 18:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Gerzo
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD 6.2-STABLE #1: Thu Sep 13 19:21:16 CEST 2007
>Description:
Update the www/xcache port to the latest version.
>How-To-Repeat:
http://xcache.lighttpd.net/browser/tags/1.2.2/ChangeLog
>Fix:

--- xcache.diff begins here ---
diff -ruN xcache.orig/Makefile xcache/Makefile
--- xcache.orig/Makefile	2007-07-25 18:14:24.000000000 +0200
+++ xcache/Makefile	2008-01-31 18:38:51.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xcache
-DISTVERSION=	1.2.1
+DISTVERSION=	1.2.2
 CATEGORIES=	www
 MASTER_SITES=	http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/
 
diff -ruN xcache.orig/distinfo xcache/distinfo
--- xcache.orig/distinfo	2007-07-25 18:14:24.000000000 +0200
+++ xcache/distinfo	2008-01-31 18:51:25.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (xcache-1.2.1.tar.bz2) = 42133468871c573c397b8375dc8c19b6
-SHA256 (xcache-1.2.1.tar.bz2) = 67d56b7507005d4b88fda4de4876fe2ff6022c16360493486aabf94821f6ac67
-SIZE (xcache-1.2.1.tar.bz2) = 209708
+MD5 (xcache-1.2.2.tar.bz2) = 0907f62536e6f8b10f900e54e37090b9
+SHA256 (xcache-1.2.2.tar.bz2) = 2c37ad89627379a79e5f26e204ca4a61c2d13cd097161d78aa67a6881448786b
+SIZE (xcache-1.2.2.tar.bz2) = 210835
diff -ruN xcache.orig/files/patch-xcache.ini xcache/files/patch-xcache.ini
--- xcache.orig/files/patch-xcache.ini	2007-07-25 18:14:25.000000000 +0200
+++ xcache/files/patch-xcache.ini	2008-01-31 18:50:25.000000000 +0100
@@ -1,5 +1,5 @@
---- xcache.ini.orig	Sun Oct 29 23:03:49 2006
-+++ xcache.ini	Wed Nov  8 08:49:51 2006
+--- xcache.ini.orig	2008-01-31 18:46:33.000000000 +0100
++++ xcache.ini	2008-01-31 18:49:46.000000000 +0100
 @@ -1,17 +1,13 @@
  [xcache-common]
 -;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
@@ -7,29 +7,28 @@
 -; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
 -;; For windows users, replace xcache.so with php_xcache.dll
 -zend_extension_ts = c:/php/extensions/php_xcache.dll
--;; or install as extension, make sure your extension_dir setting is correct
--; extension = xcache.so
--;; or win32:
--; extension = php_xcache.dll
 +;; install as zend extension (recommended, but not working yet)
 +; zend_extension = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so
 +; zend_extension_ts = %%LOCALBASE%%/lib/php/%%PHP_EXT_DIR%%/xcache.so
-+;; or install as extension
+ ;; or install as extension, make sure your extension_dir setting is correct
+-; extension = xcache.so
+-;; or win32:
+-; extension = php_xcache.dll
 +extension = xcache.so
  
  [xcache.admin]
- xcache.admin.auth = On
+ xcache.admin.enable_auth = On
 -xcache.admin.user = "mOo"
 +xcache.admin.user = "admin"
  ; xcache.admin.pass = md5($your_password)
  xcache.admin.pass = ""
  
-@@ -22,7 +18,7 @@
- xcache.shm_scheme =        "mmap"
- ; to disable: xcache.size=0
- ; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
--xcache.size  =                0M
-+xcache.size  =               64M
- ; set to cpu count (cat /proc/cpuinfo |grep -c processor)
- xcache.count =                 1
- ; just a hash hints, you can always store count(items) > slots
+@@ -33,7 +29,7 @@
+ xcache.gc_interval =           0
+ 
+ ; same as aboves but for variable cache
+-xcache.var_size  =            0M
++xcache.var_size  =           64M
+ xcache.var_count =             1
+ xcache.var_slots =            8K
+ ; default ttl
--- xcache.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list