diff options
author | ale <ale@FreeBSD.org> | 2013-12-17 22:56:56 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2013-12-17 22:56:56 +0800 |
commit | 62df0f82d788ccffac75e57bf3d62cb78b998230 (patch) | |
tree | fe0a49d6bc996ff7b9ca9e4f5e6b2bde708651f4 | |
parent | fa6c8f4b8b156c02044dfb69ed908b56fc7081fb (diff) | |
download | freebsd-ports-gnome-62df0f82d788ccffac75e57bf3d62cb78b998230.tar.gz freebsd-ports-gnome-62df0f82d788ccffac75e57bf3d62cb78b998230.tar.zst freebsd-ports-gnome-62df0f82d788ccffac75e57bf3d62cb78b998230.zip |
Update to 3.1.0 release and stagify.
-rw-r--r-- | www/xcache/Makefile | 18 | ||||
-rw-r--r-- | www/xcache/distinfo | 4 | ||||
-rw-r--r-- | www/xcache/files/patch-xcache.ini | 14 |
3 files changed, 17 insertions, 19 deletions
diff --git a/www/xcache/Makefile b/www/xcache/Makefile index 7ba5409b028e..fbffcb3188c8 100644 --- a/www/xcache/Makefile +++ b/www/xcache/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= xcache -DISTVERSION= 3.0.1 +DISTVERSION= 3.1.0 CATEGORIES= www MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${DISTVERSION}/ @@ -10,7 +10,6 @@ MAINTAINER= ale@FreeBSD.org COMMENT= A fast and stable php opcode cacher LICENSE= BSD -LICENSE_FILE= ${WRKSRC}/COPYING USE_BZIP2= yes USE_PHP= yes @@ -30,7 +29,6 @@ PLIST_DIRSTRY= lib/php/%%PHP_EXT_DIR%% PORTEXAMPLES= * -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MCONSTANT} @@ -45,15 +43,13 @@ PLIST_SUB+= COVERAGER="@comment " .endif do-install: - @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ - ${PREFIX}/lib/php/${PHP_EXT_DIR} - @${MKDIR} ${EXAMPLESDIR} + ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/xcache.ini \ - ${EXAMPLESDIR} - @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs ${EXAMPLESDIR} - -post-install: - @${CAT} ${PKGMESSAGE} + ${STAGEDIR}${EXAMPLESDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} htdocs \ + ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/www/xcache/distinfo b/www/xcache/distinfo index b5604c86f1e3..a4ff0a2b53c5 100644 --- a/www/xcache/distinfo +++ b/www/xcache/distinfo @@ -1,2 +1,2 @@ -SHA256 (xcache-3.0.1.tar.bz2) = 16a72c04e1c8737800a730bf7107a81d352c0e90bb5b2f632e929e272115c459 -SIZE (xcache-3.0.1.tar.bz2) = 142206 +SHA256 (xcache-3.1.0.tar.bz2) = 86af3e08a8983648d9755f5e1d0e32ad5b952d3e92a83fcaf3acbac9ffd65ee9 +SIZE (xcache-3.1.0.tar.bz2) = 146444 diff --git a/www/xcache/files/patch-xcache.ini b/www/xcache/files/patch-xcache.ini index 0e54c1f5be64..617bc5358270 100644 --- a/www/xcache/files/patch-xcache.ini +++ b/www/xcache/files/patch-xcache.ini @@ -1,6 +1,6 @@ ---- xcache.ini.orig 2012-10-10 14:05:11.000000000 +0200 -+++ xcache.ini 2012-11-08 12:26:54.000000000 +0100 -@@ -1,13 +1,10 @@ +--- xcache.ini.orig 2013-09-25 03:38:01.000000000 +0000 ++++ xcache.ini 2013-12-16 15:35:05.366947401 +0000 +@@ -1,15 +1,12 @@ ;; this is an example, it won't work unless properly configured into php.ini [xcache-common] -;; non-Windows example: @@ -10,8 +10,10 @@ [xcache.admin] xcache.admin.enable_auth = On + + ; use http://xcache.lighttpd.net/demo/cacher/mkpassword.php to generate your encrypted password -xcache.admin.user = "mOo" +xcache.admin.user = "admin" - ; set xcache.admin.pass = md5($your_password) - ; login use $your_password - xcache.admin.pass = "" + xcache.admin.pass = "md5 encrypted password" + + [xcache] |