From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 31 18:20:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8BFA16A418 for ; Thu, 31 Jan 2008 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9A21A13C4E3 for ; Thu, 31 Jan 2008 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0VIK1ki000434 for ; Thu, 31 Jan 2008 18:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0VIK1Ta000433; Thu, 31 Jan 2008 18:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 31 Jan 2008 18:20:01 GMT Resent-Message-Id: <200801311820.m0VIK1Ta000433@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Gerzo Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E62C916A419 for ; Thu, 31 Jan 2008 18:12:29 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7622F13C442 for ; Thu, 31 Jan 2008 18:12:29 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 52B405C28 for ; Thu, 31 Jan 2008 18:57:17 +0100 (CET) Received: by mail.rulez.sk (Postfix, from userid 1001) id 3F89C5C3F; Thu, 31 Jan 2008 18:57:11 +0100 (CET) Message-Id: <20080131175711.3F89C5C3F@mail.rulez.sk> Date: Thu, 31 Jan 2008 18:57:11 +0100 (CET) From: Daniel Gerzo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/120188: [patch] update www/xcache to 1.2.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 18:20:01 -0000 >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: