ports/145182: [MAINTAINER] www/thundercache: update to 4.0 snap 29032010
Patrick Tracanelli
eksffa at freebsdbrasil.com.br
Mon Mar 29 20:40:05 UTC 2010
>Number: 145182
>Category: ports
>Synopsis: [MAINTAINER] www/thundercache: update to 4.0 snap 29032010
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 29 20:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Patrick Tracanelli
>Release: FreeBSD 8.0-STABLE i386
>Organization:
FreeBSD Brasil LTDA
>Environment:
System: FreeBSD treinamento196.lab1.bh.freebsdbrasil.com.br 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Mar 12 15:26:31 BRT 2010
>Description:
- Update to 4.0 snap 29032010
- Forget about sudo depend
- Create /var/run/thunder
- Update plist accordingly
- Update pkg-message
- Fix a typo/bug in log.sh
Removed file(s):
- files/thunder-rcNG.in
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- thundercache-4.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/thundercache/Makefile /usr/ports/www/thundercache.n/Makefile
--- /usr/ports/www/thundercache/Makefile 2010-03-18 18:42:30.000000000 -0300
+++ /usr/ports/www/thundercache.n/Makefile 2010-03-29 16:35:47.000000000 -0300
@@ -12,7 +12,7 @@
MASTER_SITES= http://www.bmsoftware.org/freebsd/ \
http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \
${MASTER_SITE_LOCAL}/jmelo
-DISTNAME= thunder32bits_17032010
+DISTNAME= thunder32bits_29032010
MAINTAINER= eksffa at freebsdbrasil.com.br
COMMENT= High-performance and high-eficiency caching proxy system
@@ -37,7 +37,7 @@
.endif
.if ${ARCH} == "amd64"
-DISTNAME= thunder64bits_17032010
+DISTNAME= thunder64bits_29032010
.endif
WRKSRC= ${WRKDIR}/thunder
@@ -48,8 +48,7 @@
USE_APACHE= 2.0+
LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl:install
-RUN_DEPENDS+= sudo:${PORTSDIR}/security/sudo \
- postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server \
+RUN_DEPENDS+= postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server \
${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
SUB_FILES= pkg-message log.sh
@@ -77,6 +76,7 @@
do-install:
@${CP} -r ${WRKSRC} ${PREFIX}/
${INSTALL_SCRIPT} ${WRKDIR}/log.sh ${PREFIX}/thunder/sbin/
+ @${MKDIR} -m 755 /var/run/thunder
post-install:
@${CAT} ${PKGMESSAGE}
diff -ruN --exclude=CVS /usr/ports/www/thundercache/distinfo /usr/ports/www/thundercache.n/distinfo
--- /usr/ports/www/thundercache/distinfo 2010-03-18 15:35:19.000000000 -0300
+++ /usr/ports/www/thundercache.n/distinfo 2010-03-29 16:35:01.000000000 -0300
@@ -1,6 +1,6 @@
-MD5 (thunder32bits_17032010.tar.bz2) = 83a1c3319f50b30e9c126efe446218f6
-SHA256 (thunder32bits_17032010.tar.bz2) = 49a310295360feba0fda20ef043d861a4769b30c57f2fe14c046ea4d40d3f7e0
-SIZE (thunder32bits_17032010.tar.bz2) = 2729811
-MD5 (thunder64bits_17032010.tar.bz2) = ef1af778432abe887033b503a2ba6bdc
-SHA256 (thunder64bits_17032010.tar.bz2) = 4ab6b36159ac1b25855feb70a933a96fb750ea6a81306c026dceae0cc8081535
-SIZE (thunder64bits_17032010.tar.bz2) = 3870257
+MD5 (thunder32bits_29032010.tar.bz2) = 51a940e7255abcaa278619efb6bf67fa
+SHA256 (thunder32bits_29032010.tar.bz2) = f3ede1ffe3d77c11f349f839c473368c73acee85c5e6db8e677f4d8aa177abf9
+SIZE (thunder32bits_29032010.tar.bz2) = 1396108
+MD5 (thunder64bits_29032010.tar.bz2) = 5ab1831934092519b820e3377884267a
+SHA256 (thunder64bits_29032010.tar.bz2) = 9fd65a917e211c939be9d864a250583d5e20d9740ab2562d5eabc82f11f7ac3e
+SIZE (thunder64bits_29032010.tar.bz2) = 1456262
diff -ruN --exclude=CVS /usr/ports/www/thundercache/files/log.sh.in /usr/ports/www/thundercache.n/files/log.sh.in
--- /usr/ports/www/thundercache/files/log.sh.in 2010-03-18 15:35:20.000000000 -0300
+++ /usr/ports/www/thundercache.n/files/log.sh.in 2010-03-29 12:19:29.000000000 -0300
@@ -23,5 +23,5 @@
:> ${LOG}/access.log
-$PHP $THUNDERLOG $HOST $DB $USER $PASS $LOGTEMP/access.log >>$ {SCRIPTLOG} 2>&1 && rm -f $LOGTEMP/access.log
+$PHP $THUNDERLOG $HOST $DB $USER $PASS $LOGTEMP/access.log >>${SCRIPTLOG} 2>&1 && rm -f $LOGTEMP/access.log
diff -ruN --exclude=CVS /usr/ports/www/thundercache/files/pkg-message.in /usr/ports/www/thundercache.n/files/pkg-message.in
--- /usr/ports/www/thundercache/files/pkg-message.in 2010-03-18 15:35:20.000000000 -0300
+++ /usr/ports/www/thundercache.n/files/pkg-message.in 2010-03-24 13:45:32.000000000 -0300
@@ -35,5 +35,10 @@
@hourly root %%PREFIX%%/thunder/sbin/log.sh
-Configure %%PREFIX%%/thunder/etc/thunder.conf accordingly.
+Configure %%PREFIX%%/thunder/etc/thunder.conf accordingly and finally, add
+the following line to rc.conf:
+
+ thundercache_enable="YES"
+
+And start it from %%PREFIX%%/etc/rc.d/thundercache
diff -ruN --exclude=CVS /usr/ports/www/thundercache/files/thunder-rcNG.in /usr/ports/www/thundercache.n/files/thunder-rcNG.in
--- /usr/ports/www/thundercache/files/thunder-rcNG.in 2010-03-17 16:26:49.000000000 -0300
+++ /usr/ports/www/thundercache.n/files/thunder-rcNG.in 1969-12-31 21:00:00.000000000 -0300
@@ -1,21 +0,0 @@
-#!/bin/sh
-#
-# PROVIDE: thunder
-# REQUIRE: LOGIN
-#
-# Remember to thunder_enable="YES" in /etc/rc.conf
-#
-# FreeBSD Brasil LTDA <consultoria at freebsdbrasil.com.br>
-#
-
-. /etc/rc.subr
-
-name="thunder"
-rcvar=`set_rcvar`
-command="%%PREFIX%%/thunder/sbin/thunder ${thunder_flags}"
-pidfile="/var/run/thunder/thunder.pid"
-: ${thunder_enable="NO"}
-: ${thunder_flags="-c %%PREFIX%%/thunder/etc/thunder.conf"}
-load_rc_config $name
-run_rc_command "$1"
-
diff -ruN --exclude=CVS /usr/ports/www/thundercache/pkg-plist /usr/ports/www/thundercache.n/pkg-plist
--- /usr/ports/www/thundercache/pkg-plist 2010-03-18 15:35:19.000000000 -0300
+++ /usr/ports/www/thundercache.n/pkg-plist 2010-03-29 16:37:10.000000000 -0300
@@ -1,65 +1,69 @@
+thunder/etc/thunder_postgre.sql
thunder/etc/thunder.conf
thunder/etc/log.sh
thunder/etc/thunder.php
-thunder/etc/thunder_postgre.sql
thunder/logs/error.log
thunder/logs/access.log
-thunder/plugins/4shared.com.so
-thunder/plugins/avast.com.so
+thunder/plugins/youtube.com.so
+thunder/plugins/xvideos.com.so
+thunder/plugins/vimeo.com.so
+thunder/plugins/rapidshare.com.so
+thunder/plugins/grisoft.com.so
thunder/plugins/avg.com.so
+thunder/plugins/dailymotion.com.so
+thunder/plugins/viddler.com.so
+thunder/plugins/globo.com.so
+thunder/plugins/windowsupdate.com.so
+thunder/plugins/terra.com.so
+thunder/plugins/ziddu.com.so
+thunder/plugins/photobucket.com.so
+thunder/plugins/video.msn.com.so
thunder/plugins/avgate.com.so
+thunder/plugins/etrustdownloads.ca.com.so
+thunder/plugins/update.nai.com.so
+thunder/plugins/metacafe.com.so
thunder/plugins/avgate.net.so
+thunder/plugins/kaspersky-labs.com.so
+thunder/plugins/pornhub.com.so
+thunder/plugins/nai.com.so
+thunder/plugins/mediafire.com.so
thunder/plugins/bitgravity.com.so
-thunder/plugins/dailymotion.com.so
+thunder/plugins/grandchase.com.br.so
thunder/plugins/doubleclick.net.so
-thunder/plugins/edgecastcdn.net.so
-thunder/plugins/eset.com.so
-thunder/plugins/etrustdownloads.ca.com.so
+thunder/plugins/pop6.com.so
thunder/plugins/freeav.com.so
+thunder/plugins/googlevideo.com.so
+thunder/plugins/edgecastcdn.net.so
thunder/plugins/freeav.net.so
-thunder/plugins/globo.com.so
+thunder/plugins/tube8.com.so
+thunder/plugins/microsoft.com.so
thunder/plugins/sambatech.com.br.so
-thunder/plugins/googlevideo.com.so
-thunder/plugins/grandchase.com.br.so
-thunder/plugins/grisoft.com.so
-thunder/plugins/nai.com.so
thunder/plugins/grisoft.cz.so
-thunder/plugins/kaspersky-labs.com.so
-thunder/plugins/kaspersky.com.so
-thunder/plugins/mccont.com.so
-thunder/plugins/mediafire.com.so
-thunder/plugins/megaupload.com.so
+thunder/plugins/symantecliveupdate.com.so
+thunder/plugins/rad.msn.com.so
thunder/plugins/megavideo.com.so
-thunder/plugins/metacafe.com.so
-thunder/plugins/microsoft.com.so
-thunder/plugins/orkut.com.br.so
+thunder/plugins/kaspersky.com.so
thunder/plugins/orkut.com.so
-thunder/plugins/photobucket.com.so
-thunder/plugins/pop6.com.so
-thunder/plugins/pornhub.com.so
-thunder/plugins/pornotube.com.so
-thunder/plugins/rad.msn.com.so
-thunder/plugins/rapidshare.com.so
-thunder/plugins/redtube.com.so
-thunder/plugins/symantecliveupdate.com.so
-thunder/plugins/terra.com.so
-thunder/plugins/tube8.com.so
thunder/plugins/uol.com.br.so
-thunder/plugins/update.nai.com.so
-thunder/plugins/viddler.com.so
-thunder/plugins/video.msn.com.so
-thunder/plugins/vimeo.com.so
-thunder/plugins/windowsupdate.com.so
+thunder/plugins/avast.com.so
+thunder/plugins/eset.com.so
thunder/plugins/xtube.com.so
-thunder/plugins/xvideos.com.so
-thunder/plugins/youtube.com.so
-thunder/plugins/ziddu.com.so
-thunder/sbin/thunder
+thunder/plugins/redtube.com.so
+thunder/plugins/4shared.com.so
+thunder/plugins/pornotube.com.so
+thunder/plugins/orkut.com.br.so
+thunder/plugins/megaupload.com.so
+thunder/plugins/mccont.com.so
thunder/sbin/thunderlog.php
+thunder/sbin/diskinfo
+thunder/sbin/thunder
thunder/sbin/log.sh
@dirrm thunder/etc
@dirrm thunder/logs/tmp
@dirrm thunder/logs
@dirrm thunder/plugins
@dirrm thunder/sbin
+ at dirrm thunder/cache
@dirrm thunder
+ at unexec /bin/rm /var/run/thunder/thunder.pid 2>/dev/null || true
+ at unexec /bin/rmdir /var/run/thunder 2>/dev/null || true
--- thundercache-4.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list