git: 33030bf25ace - main - www/thundercache: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Sep 2024 19:12:06 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=33030bf25aceb2e932dfa694582a44011f8d4146 commit 33030bf25aceb2e932dfa694582a44011f8d4146 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2024-09-30 19:12:02 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-09-30 19:12:02 +0000 www/thundercache: Remove expired port 2024-09-30 www/thundercache: Deprecated and outdated, product is still being maintained upstream --- MOVED | 1 + www/Makefile | 1 - www/thundercache/Makefile | 109 --------------------------------- www/thundercache/distinfo | 4 -- www/thundercache/files/log.sh.in | 27 -------- www/thundercache/files/pkg-message.in | 48 --------------- www/thundercache/files/test-deps.sh.in | 16 ----- www/thundercache/files/thundercache.in | 26 -------- www/thundercache/pkg-descr | 10 --- www/thundercache/pkg-plist | 13 ---- 10 files changed, 1 insertion(+), 254 deletions(-) diff --git a/MOVED b/MOVED index 008eaeb78d61..7ecb533a1d1c 100644 --- a/MOVED +++ b/MOVED @@ -3495,3 +3495,4 @@ devel/libdsp||2024-09-30|Has expired: Abandonware, last release upstream in 2005 devel/libxs||2024-09-30|Has expired: Upstream is gone and repo is deleted games/adonthell-wastesedge||2024-09-30|Has expired: Depends on deprecated port games/adonthell games/adonthell||2024-09-30|Has expired: Unmaintained in tree and broken for months +www/thundercache||2024-09-30|Has expired: Deprecated and outdated, product is still being maintained upstream diff --git a/www/Makefile b/www/Makefile index aaa127e5281d..84499c4e4094 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2397,7 +2397,6 @@ SUBDIR += threema-web SUBDIR += thttpd SUBDIR += thumbnail_index - SUBDIR += thundercache SUBDIR += tidy SUBDIR += tidy-html5 SUBDIR += tikiwiki diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile deleted file mode 100644 index de15e4c518e6..000000000000 --- a/www/thundercache/Makefile +++ /dev/null @@ -1,109 +0,0 @@ -PORTNAME= thundercache -PORTVERSION= 6.1 -PORTREVISION= 16 -CATEGORIES= www -MASTER_SITES= http://www.thundercache.com.br/dist/ \ - http://www.bmsoftware.org/packs/ \ - http://www8.freebsdbrasil.com.br/~eksffa/thunder/ \ - http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \ - LOCAL/jmelo -DISTNAME= thundercache-6.1.201104260900-${BITS}-fbsd - -MAINTAINER= eksffa@freebsdbrasil.com.br -COMMENT= High-performance and high-efficiency caching proxy system -WWW= https://www.bmsoftware.org - -LICENSE= commercial -LICENSE_NAME= commercial -LICENSE_TEXT= Commercial software with shareware license to 50 threads -LICENSE_PERMS= dist-mirror pkg-mirror auto-accept - -DEPRECATED= Deprecated and outdated, product is still being maintained upstream -EXPIRATION_DATE=2024-09-30 - -OPTIONS_DEFINE= DEPENDACK APACHE PHP PGSQL -OPTIONS_DEFAULT=DEPENDACK APACHE PHP PGSQL -DEPENDACK_DESC= I have read and understood the depends needs -APACHE_DESC= Install apache for reporting viewing -PHP_DESC= Install PHP for reporting generating -PGSQL_DESC= Install PostgreSQL (report data storing) - -USES= php shebangfix tar:bzip2 ssl -SHEBANG_FILES= sbin/thunderlog.php -USE_GCC= yes - -ONLY_FOR_ARCHS= i386 amd64 - -USE_RC_SUBR= thundercache - -NO_BUILD= yes - -.include <bsd.port.options.mk> - -BITS= ${ARCH:S/amd64/64/:S/x86_64/64/:S/i386/32/}bits -WRKSRC= ${WRKDIR}/thunder - -.if ${PORT_OPTIONS:MAPACHE} -USES+= apache:run -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USES+= pgsql -WANT_PGSQL= server -.endif - -.if ${PORT_OPTIONS:MPHP} -USE_PHP+= curl bcmath pdo mcrypt session -. if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pdo_pgsql pgsql -. endif -.endif - -LIB_DEPENDS+= libcurl.so:ftp/curl \ - libutil.so:misc/compat8x - -SUB_FILES= pkg-message log.sh test-deps.sh -SUB_LIST= "GREP=${GREP}" - -show-info: - @${ECHO_MSG} "" - @${ECHO_MSG} "ATTENTION:" - @${ECHO_MSG} "" - @${ECHO_MSG} " It is very important that you carefully read and respect" - @${ECHO_MSG} " the special build options for the following depends:" - @${ECHO_MSG} "" - @${ECHO_MSG} " ftp/curl LIBSSH2=yes OPENSSL=yes PROXY=yes" - @${ECHO_MSG} " security/openssl ZLIB=yes" - @${ECHO_MSG} " devel/php5-pcre BUNDLED_PCRE=yes (for apache20)" - @${ECHO_MSG} " postgresql${PGSQL_VER}-server \ - NLS=yes PAM=yes OPTIMIZED_CFLAGS=yes TZDATA=yes" - @${ECHO_MSG} "" - @${ECHO_MSG} " After you understood it correctly, select DEPENDACK on" - @${ECHO_MSG} " the OPTIONS screen. Run ''make config'' to acknowledge" - @${ECHO_MSG} "" -.if ! ${PORT_OPTIONS:MDEPENDACK} - @${FALSE} -.endif - -pre-everything::show-info - -do-install: - @${CP} -r ${WRKSRC} ${STAGEDIR}${PREFIX}/ - @${INSTALL_SCRIPT} ${WRKDIR}/log.sh ${STAGEDIR}${PREFIX}/thunder/sbin/ - @${MKDIR} -m 755 ${STAGEDIR}/var/run/thunder - - @(${CHMOD} +x ${WRKDIR}/test-deps.sh ; \ - if ! ${WRKDIR}/test-deps.sh > /dev/null 2>&1 ; then \ - ${ECHO_MSG} "**** FATAL **** " ; \ - ${ECHO_MSG} "**** THIS PORT MAY NOT WORK PROPERLY **** " ; \ - ${ECHO_MSG} "Some depends are not built with required features." ; \ - ${ECHO_MSG} "You must always honor at least the following options" ; \ - ${ECHO_MSG} "depends as listed:" ; \ - ${ECHO_MSG} "" ; \ - ${ECHO_MSG} "ftp/curl LIBSSH2=yes OPENSSL=yes PROXY=yes" ; \ - ${ECHO_MSG} "" ; \ - ${ECHO_MSG} "Type ''make show-info'' to read further information." ; \ - ${ECHO_MSG} "" ; \ - fi) - -.include <bsd.port.mk> diff --git a/www/thundercache/distinfo b/www/thundercache/distinfo deleted file mode 100644 index 126dbff3cd5a..000000000000 --- a/www/thundercache/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (thundercache-6.1.201104260900-32bits-fbsd.tar.bz2) = 7f8056028ad49871603f8089324231636906939e0d6d26248c35a7cecc867fb7 -SIZE (thundercache-6.1.201104260900-32bits-fbsd.tar.bz2) = 221484 -SHA256 (thundercache-6.1.201104260900-64bits-fbsd.tar.bz2) = ae2961f3807e84123cca22e9911016fcb0fcb715d9790859a817fb078eeff655 -SIZE (thundercache-6.1.201104260900-64bits-fbsd.tar.bz2) = 232629 diff --git a/www/thundercache/files/log.sh.in b/www/thundercache/files/log.sh.in deleted file mode 100644 index 74975c4df19c..000000000000 --- a/www/thundercache/files/log.sh.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin" -# -# Patrick Tracanelli <eksffa@freebsdbrasil.com.br> -# -# Config -# -PHP="%%PREFIX%%/bin/php" -THUNDERLOG="%%PREFIX%%/thunder/sbin/thunderlog.php" -DB="thunder" -HOST="localhost" -USER="thunder" -PASS="thundercache" -LOG="%%PREFIX%%/thunder/logs" -LOGTEMP="%%PREFIX%%/thunder/logs/tmp" -SCRIPTLOG="/dev/null" # mude para /tmp/scriptlog.log para debugar se preciso - -# -# Simply populate some stats andresets access.log -# - -cp -f ${LOG}/access.log ${LOGTEMP}/access.log - -:> ${LOG}/access.log - -$PHP $THUNDERLOG $HOST $DB $USER $PASS $LOGTEMP/access.log >>${SCRIPTLOG} 2>&1 && rm -f $LOGTEMP/access.log - diff --git a/www/thundercache/files/pkg-message.in b/www/thundercache/files/pkg-message.in deleted file mode 100644 index d8c0744e5c75..000000000000 --- a/www/thundercache/files/pkg-message.in +++ /dev/null @@ -1,48 +0,0 @@ -[ -{ type: install - message: <<EOM -Please note that you have just installed ThunderCache Pro on - - %%PREFIX%%/thunder - -Now you have to configure your system according to these instructions: - -Enable PostgreSQL database and set a special login class o rc.conf: - - postgresql_enable="YES" - postgresql_class="postgres" - -Create the special login class on login.conf: - - postgres:\ - :lang=en_US.UTF-8:\ - :setenv=LC_COLLATE=C:\ - :tc=default: - -Update the login database: - - cap_mkdb /etc/login.conf - -Create the needed database: - - %%PREFIX%%/bin/psql postgres -U pgsql < \ - %%PREFIX%%/thunder/etc/thunder_postgre.sql - -Copy %%PREFIX%%/thunder/etc/thunder.php to some adequated place, like: - - cp -p %%PREFIX%%/thunder/etc/thunder.php \ - %%PREFIX%%/www/data/ - -Add %%PREFIX%%/thunder/sbin/log.sh to /etc/crontab according to your needs: - - @hourly root %%PREFIX%%/thunder/sbin/log.sh - -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 -EOM -} -] diff --git a/www/thundercache/files/test-deps.sh.in b/www/thundercache/files/test-deps.sh.in deleted file mode 100644 index bdefb6316c3e..000000000000 --- a/www/thundercache/files/test-deps.sh.in +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - if ! ldd %%PREFIX%%/bin/curl | %%GREP%% "libssh" >/dev/null 2>&1 ; then - BARRIER=1 - fi - if ! ldd %%PREFIX%%/bin/curl | %%GREP%% "libssl" >/dev/null 2>&1 ; then - BARRIER=1 - fi - if ! %%PREFIX%%/bin/curl -h | %%GREP%% "proxy <host" >/dev/null 2>&1 ; then - BARRIER=1 - fi - - if [ "${BARRIER}" = 1 ] ; then - false - else - true - fi diff --git a/www/thundercache/files/thundercache.in b/www/thundercache/files/thundercache.in deleted file mode 100644 index 976e7c92942b..000000000000 --- a/www/thundercache/files/thundercache.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# PROVIDE: thundercache -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Remember to thundercache_enable="YES" in /etc/rc.conf -# You can also add optional flags to thundercache_flags -# -# FreeBSD Brasil LTDA <consultoria@freebsdbrasil.com.br> -# - -. /etc/rc.subr - -name="thundercache" -rcvar=thundercache_enable - -command="%%PREFIX%%/thunder/sbin/thunder" -required_files="%%PREFIX%%/thunder/etc/thunder.conf" -command_args="-c $required_files" -pidfile="/var/run/thunder/thunder.pid" - -load_rc_config $name -: ${thundercache_enable="NO"} - -run_rc_command "$1" diff --git a/www/thundercache/pkg-descr b/www/thundercache/pkg-descr deleted file mode 100644 index c2f3b27c30d9..000000000000 --- a/www/thundercache/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -ThunderCache Pro is an enhaced standalone high-performance web caching system. - -It's main goal is to be able to cache dynamic contents, the content most -proxing systems are unable to do caching. This is how ThunderCache becomes -high-performance and high-eficiency. - -ThunderCache is freeware up to 50 concurrent sessions, and needs commercial -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. diff --git a/www/thundercache/pkg-plist b/www/thundercache/pkg-plist deleted file mode 100644 index 26cbd337703d..000000000000 --- a/www/thundercache/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -thunder/etc/thunder_postgre.sql -thunder/etc/thunder.conf -thunder/etc/thunder.php -thunder/logs/error.log -thunder/logs/access.log -thunder/sbin/thunderlog.php -thunder/sbin/diskinfo -thunder/sbin/thunder -thunder/sbin/log.sh -@dir thunder/logs/tmp -@dir thunder/cache -@rmtry /var/run/thunder/thunder.pid -@dir(,,755) /var/run/thunder