diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile index d9646b3..6d6c7d7 100644 --- a/www/thundercache/Makefile +++ b/www/thundercache/Makefile @@ -22,7 +22,7 @@ PHP_DESC= Install PHP for reporting generating PGSQL_DESC= Install PostgreSQL (report data storing) USE_OPENSSL= yes -USE_BZIP2= yes +USES= tar:bzip2 ONLY_FOR_ARCHS= i386 amd64 @@ -35,7 +35,6 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LICENSE_TEXT= Commercial software with shareware license to 50 threads RESTRICTED= Commercial software with shareware license to 50 threads -NO_STAGE= yes .include .if ${ARCH} == "i386" @@ -63,7 +62,9 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pgsql.so:${PORTSDIR}/databases USE_PHP+= curl pcre bcmath pdo mcrypt mhash session .endif -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl +LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl \ + libstdc++.so:${PORTSDIR}/lang/gcc \ + libutil.so:${PORTSDIR}/misc/compat8x SUB_FILES= pkg-message log.sh test-deps.sh SUB_LIST= "GREP=${GREP}" @@ -91,12 +92,11 @@ show-info: pre-everything::show-info do-install: - @${CP} -r ${WRKSRC} ${PREFIX}/ - ${INSTALL_SCRIPT} ${WRKDIR}/log.sh ${PREFIX}/thunder/sbin/ - @${MKDIR} -m 755 /var/run/thunder + @${CP} -r ${WRKSRC} ${STAGEDIR}${PREFIX}/ + @${INSTALL_SCRIPT} ${WRKDIR}/log.sh ${STAGEDIR}${PREFIX}/thunder/sbin/ + @${MKDIR} -m 755 ${STAGEDIR}/var/run/thunder post-install: - @${CAT} ${PKGMESSAGE} @(${CHMOD} +x ${WRKDIR}/test-deps.sh ; \ if ! ${WRKDIR}/test-deps.sh > /dev/null 2>&1 ; then \ ${ECHO_MSG} "**** FATAL **** " ; \ diff --git a/www/thundercache/pkg-descr b/www/thundercache/pkg-descr index 42c1430..5bfc5d7 100644 --- a/www/thundercache/pkg-descr +++ b/www/thundercache/pkg-descr @@ -9,4 +9,4 @@ license to run more than 50 concurrent sessions. It's designed to run on FreeBSD. Advanced features include TProxy support (IP_BINDANY), ToS/DiffService marking. -WWW: http://www.bmsoftware.org +WWW: http://www.bmsoftware.org diff --git a/www/thundercache/pkg-plist b/www/thundercache/pkg-plist index 5f70198..f63852a 100644 --- a/www/thundercache/pkg-plist +++ b/www/thundercache/pkg-plist @@ -7,6 +7,8 @@ thunder/sbin/thunderlog.php thunder/sbin/diskinfo thunder/sbin/thunder thunder/sbin/log.sh +@exec mkdir -p /var/run/thunder +@exec chmod 755 /var/run/thunder @dirrm thunder/etc @dirrm thunder/logs/tmp @dirrm thunder/logs