diff options
author | marino <marino@FreeBSD.org> | 2014-09-16 20:04:06 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-09-16 20:04:06 +0800 |
commit | a8f51749ac4245f239b9e236780a32a4115b61ae (patch) | |
tree | c59796f597afaafacf4a28feeb003bb021fadea7 | |
parent | 3b9445b6205400e392e56ed30f675e6aeef37ab4 (diff) | |
download | freebsd-ports-gnome-a8f51749ac4245f239b9e236780a32a4115b61ae.tar.gz freebsd-ports-gnome-a8f51749ac4245f239b9e236780a32a4115b61ae.tar.zst freebsd-ports-gnome-a8f51749ac4245f239b9e236780a32a4115b61ae.zip |
Remove www/squid32 and 4 ports dependent on www/squid (v2.7)
The www/squid port, which is also expired, will be upgraded to Squid
version 3.4 rather than removing it.
43 files changed, 5 insertions, 2269 deletions
@@ -57,7 +57,6 @@ cos-* java/cos Special conditions apply for commercial use cosmo/* games/cosmo Possible copyright infringement CrystalSVGforGnomeIcons* x11-themes/gnome-icons-crystal Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights. cyberbit/* x11-fonts/cyberbit-ttfonts Not free for commercial use -dansguardian-2.[678]* www/dansguardian Redistribution and commercial download is restricted. Check http://dansguardian.org/index.php?page=copyright2 for more info darwinia-demo* games/linux-darwinia-demo Redistribution is limited, see license datamodeler databases/datamodeler Packaging prohibited by Oracle license dbvis java/dbvis Redistribution is not permitted @@ -7074,3 +7074,8 @@ security/mate-keyring||2014-09-10|removed textproc/mate-doc-utils||2014-09-10|removed x11-toolkits/libmatewnck||2014-09-10|removed net/ruby-net-geoip|net/rubygem-geoip|2014-09-13|Has expired: Broken +www/bannerfilter||Depends on www/squid (v2.7) which is two years past EOL +www/dansguardian||Depends on www/squid (v2.7) which is two years past EOL +www/dansguardian-devel||Depends on www/squid (v2.7) which is two years past EOL +www/videocache||Depends on www/squid (v2.7) which is two years past EOL +www/squid32||Readed EOL on 14 August 2012 diff --git a/www/Makefile b/www/Makefile index 61a6aec3c4c0..4bef7a0b7aab 100644 --- a/www/Makefile +++ b/www/Makefile @@ -43,7 +43,6 @@ SUBDIR += b2evolution SUBDIR += bacula-web SUBDIR += baikal - SUBDIR += bannerfilter SUBDIR += bblog SUBDIR += bigbluebutton SUBDIR += bins @@ -105,8 +104,6 @@ SUBDIR += ctemplate SUBDIR += cutycapt SUBDIR += dalbum - SUBDIR += dansguardian - SUBDIR += dansguardian-devel SUBDIR += davical SUBDIR += dddbl SUBDIR += decss @@ -1916,7 +1913,6 @@ SUBDIR += spreadlogd SUBDIR += sqstat SUBDIR += squid - SUBDIR += squid32 SUBDIR += squid33 SUBDIR += squid_radius_auth SUBDIR += squidclamav @@ -2083,7 +2079,6 @@ SUBDIR += vdradmin-am SUBDIR += vee SUBDIR += vertx - SUBDIR += videocache SUBDIR += vimb SUBDIR += visitors SUBDIR += volta diff --git a/www/bannerfilter/Makefile b/www/bannerfilter/Makefile deleted file mode 100644 index 8147195fc2d7..000000000000 --- a/www/bannerfilter/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# Created by: Emanuel Haupt <ehaupt@critical.ch> -# $FreeBSD$ - -PORTNAME= bannerfilter -PORTVERSION= 1.31 -CATEGORIES= www -MASTER_SITES= http://phroggy.com/files/unix/ \ - CRITICAL - -MAINTAINER= ports@FreeBSD.org -COMMENT= Squid redirect script for filtering web banners - -DEPRECATED= Depends on www/squid which is two years past EOL -EXPIRATION_DATE=2014-09-15 - -LICENSE= GPLv2 - -RUN_DEPENDS= squid:${PORTSDIR}/www/squid - -USES= shebangfix perl5 -NO_BUILD= yes - -WWW_ROOT?= www -PLIST_SUB+= WWW_ROOT="${WWW_ROOT}" -CONFIG_FILES= bannerfilter.conf banners.data banners.local.data \ - exceptions.data exceptions.local.data frames.data \ - frames.local.data popups.data popups.local.data - -SHEBANG_FILES= redirector.pl - -post-patch: - @${REINPLACE_CMD} -e \ - 's|^;\ \(DATA\ =\ \).*|\1${PREFIX}/etc/${PORTNAME}/|' \ - ${WRKSRC}/${PORTNAME}.conf - @${REINPLACE_CMD} -e \ - 's|^\(CONFIGDIR=\).*|\1"${PREFIX}/etc/${PORTNAME}"|' \ - ${WRKSRC}/update.sh - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} - ${INSTALL_SCRIPT} ${WRKSRC}/redirector.pl ${STAGEDIR}${PREFIX}/libexec/${PORTNAME} - ${INSTALL_SCRIPT} ${WRKSRC}/update.sh \ - ${STAGEDIR}${PREFIX}/bin/update-bannerfilter-rules - @${MKDIR} ${STAGEDIR}${ETCDIR} -.for f in ${CONFIG_FILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ETCDIR}/${f}.default -.if !exists(${STAGEDIR}${ETCDIR}/${f}) - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ETCDIR} -.endif -.endfor - ${CP} -R ${WRKSRC}/www ${STAGEDIR}${PREFIX}/${WWW_ROOT}/${PORTNAME} - -post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} "===========================================================================" - @${ECHO_MSG} "" - @${ECHO_MSG} "Please add the following redirector config directive to your squid.conf:" - @${ECHO_MSG} " redirect_program ${PREFIX}/libexec/bannerfilter/redirector.pl" - @${ECHO_MSG} "" - @${ECHO_MSG} "Make sure ${PREFIX}/${WWW_ROOT}/${PORTNAME} is available under" - @${ECHO_MSG} " http://localhost/${PORTNAME}" - @${ECHO_MSG} "" - @${ECHO_MSG} "===========================================================================" - @${ECHO_MSG} "" - -.include <bsd.port.mk> diff --git a/www/bannerfilter/distinfo b/www/bannerfilter/distinfo deleted file mode 100644 index 8d003cd24106..000000000000 --- a/www/bannerfilter/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (bannerfilter-1.31.tar.gz) = eb4ce6719e5835804433e0580d2d86e660af40960cdc2d6d44ad39a1672dbdc9 -SIZE (bannerfilter-1.31.tar.gz) = 36294 diff --git a/www/bannerfilter/files/patch-update.sh b/www/bannerfilter/files/patch-update.sh deleted file mode 100644 index 0d959b31e47d..000000000000 --- a/www/bannerfilter/files/patch-update.sh +++ /dev/null @@ -1,138 +0,0 @@ ---- update.sh.orig Mon May 31 23:52:25 2004 -+++ update.sh Sun Aug 14 17:51:57 2005 -@@ -21,14 +21,21 @@ - # running as, or if you don't have killall, change RELOAD to 0. - - # Choose your HTTP downloader: --CMD="lynx -source" -+# CMD="lynx -source" - # CMD="wget -q -O -" - # CMD="curl -s" -+CMD="fetch -q -o -" - - # Reload with "killall -HUP redirector.pl" if the files have changed? - RELOAD=1 - # RELOAD=0 - -+# Directory with the data files -+CONFIGDIR="/usr/local/etc/bannerfilter" -+ -+# temp dir -+TEMPDIR="/tmp" -+ - ########################################################################## - - # Earliest version of BannerFilter compatible with your data files: -@@ -37,18 +44,18 @@ - # Read the data files from the current directory, and get the modification - # date from each. Redirect errors to /dev/null. If the files don't exist, - # we get blank values. --OLDBANNERS=`grep "^# last modified " banners.data 2>/dev/null|cut -d " " -f4` --OLDPOPUPS=`grep "^# last modified " popups.data 2>/dev/null|cut -d " " -f4` --OLDFRAMES=`grep "^# last modified " frames.data 2>/dev/null|cut -d " " -f4` --OLDEXCEPTIONS=`grep "^# last modified " exceptions.data 2>/dev/null|cut -d " " -f4` -+OLDBANNERS=`grep "^# last modified " $CONFIGDIR/banners.data 2>/dev/null|cut -d " " -f4` -+OLDPOPUPS=`grep "^# last modified " $CONFIGDIR/popups.data 2>/dev/null|cut -d " " -f4` -+OLDFRAMES=`grep "^# last modified " $CONFIGDIR/frames.data 2>/dev/null|cut -d " " -f4` -+OLDEXCEPTIONS=`grep "^# last modified " $CONFIGDIR/exceptions.data 2>/dev/null|cut -d " " -f4` - - # Get the earliest version of BannerFilter compatible with the - # new data files, and see whether we need to upgrade --$CMD http://phroggy.com/bannerfilter/version.txt>version.tmp \ -+$CMD http://phroggy.com/bannerfilter/version.txt> $TEMPDIR/version.tmp \ - || { echo "Error retrieving version.txt"; exit; } --if ( grep "^version " version.tmp>/dev/null ); then -- NEW=`grep "^version " version.tmp|cut -d " " -f2` -- rm version.tmp -+if ( grep "^version " $TEMPDIR/version.tmp>/dev/null ); then -+ NEW=`grep "^version " $TEMPDIR/version.tmp|cut -d " " -f2` -+ rm $TEMPDIR/version.tmp - else - echo "Error: something unexpected in version.txt" - exit -@@ -64,55 +71,63 @@ - - # Download all four data files - --$CMD http://phroggy.com/bannerfilter/banners.data>banners.data.tmp \ --&& grep "^# banners.data$" banners.data.tmp>/dev/null \ -+$CMD http://phroggy.com/bannerfilter/banners.data>$CONFIGDIR/banners.data.tmp \ -+&& grep "^# banners.data$" $CONFIGDIR/banners.data.tmp>/dev/null \ - || { echo "Error retrieving banners.data"; exit; } - --$CMD http://phroggy.com/bannerfilter/popups.data>popups.data.tmp \ --&& grep "^# popups.data$" popups.data.tmp>/dev/null \ -+$CMD http://phroggy.com/bannerfilter/popups.data>$CONFIGDIR/popups.data.tmp \ -+&& grep "^# popups.data$" $CONFIGDIR/popups.data.tmp>/dev/null \ - || { echo "Error retrieving popups.data"; exit; } - --$CMD http://phroggy.com/bannerfilter/frames.data>frames.data.tmp \ --&& grep "^# frames.data$" frames.data.tmp>/dev/null \ -+$CMD http://phroggy.com/bannerfilter/frames.data>$CONFIGDIR/frames.data.tmp \ -+&& grep "^# frames.data$" $CONFIGDIR/frames.data.tmp>/dev/null \ - || { echo "Error retrieving frames.data"; exit; } - --$CMD http://phroggy.com/bannerfilter/exceptions.data>exceptions.data.tmp \ --&& grep "^# exceptions.data$" exceptions.data.tmp>/dev/null \ -+$CMD http://phroggy.com/bannerfilter/exceptions.data>$CONFIGDIR/exceptions.data.tmp \ -+&& grep "^# exceptions.data$" $CONFIGDIR/exceptions.data.tmp>/dev/null \ - || { echo "Error retrieving exceptions.data"; exit; } - - # Get the modification dates of the files we just downloaded, compare - # them to what we already have, and only overwrite if necessary. - # By using cat to overwrite, we preserve ownership and permissions. - --NEWBANNERS=`grep "^# last modified " banners.data.tmp|cut -d " " -f4` --NEWPOPUPS=`grep "^# last modified " popups.data.tmp|cut -d " " -f4` --NEWFRAMES=`grep "^# last modified " frames.data.tmp|cut -d " " -f4` --NEWEXCEPTIONS=`grep "^# last modified " exceptions.data.tmp|cut -d " " -f4` -+NEWBANNERS=`grep "^# last modified " $CONFIGDIR/banners.data.tmp|cut -d " " -f4` -+NEWPOPUPS=`grep "^# last modified " $CONFIGDIR/popups.data.tmp|cut -d " " -f4` -+NEWFRAMES=`grep "^# last modified " $CONFIGDIR/frames.data.tmp|cut -d " " -f4` -+NEWEXCEPTIONS=`grep "^# last modified " $CONFIGDIR/exceptions.data.tmp|cut -d " " -f4` - CHANGED=0 - if [ "$OLDBANNERS" != "$NEWBANNERS" ]; then -- cat banners.data.tmp > banners.data -+ cat $CONFIGDIR/banners.data.tmp > $CONFIGDIR/banners.data - CHANGED=1 - fi - if [ "$OLDPOPUPS" != "$NEWPOPUPS" ]; then -- cat popups.data.tmp > popups.data -+ cat $CONFIGDIR/popups.data.tmp > $CONFIGDIR/popups.data - CHANGED=1 - fi - if [ "$OLDFRAMES" != "$NEWFRAMES" ]; then -- cat frames.data.tmp > frames.data -+ cat $CONFIGDIR/frames.data.tmp > $CONFIGDIR/frames.data - CHANGED=1 - fi - if [ "$OLDEXCEPTIONS" != "$NEWEXCEPTIONS" ]; then -- cat exceptions.data.tmp > exceptions.data -+ cat $CONFIGDIR/exceptions.data.tmp > $CONFIGDIR/exceptions.data - CHANGED=1 - fi - - # Clean up our temp files --rm banners.data.tmp --rm popups.data.tmp --rm frames.data.tmp --rm exceptions.data.tmp -+rm $CONFIGDIR/banners.data.tmp -+rm $CONFIGDIR/popups.data.tmp -+rm $CONFIGDIR/frames.data.tmp -+rm $CONFIGDIR/exceptions.data.tmp - - # Send all instances of redirector.pl a signal to reload the data files --if [ $RELOAD == 1 ] && [ $CHANGED == 1 ]; then -- killall -HUP redirector.pl -+if [ "$RELOAD" = "1" ] && [ "$CHANGED" = "1" ]; then -+ echo -n "Sending signal HUP to all redirector.pl instances... " -+ for pid in $(ps wwwax | grep -i redirector.pl | grep -v grep | awk '{print $1}') -+ do -+ echo -n "$pid " -+ kill -HUP $pid -+ done -+ echo -+else -+ echo "No changes." - fi diff --git a/www/bannerfilter/pkg-descr b/www/bannerfilter/pkg-descr deleted file mode 100644 index 1fe25291262e..000000000000 --- a/www/bannerfilter/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -BannerFilter is a redirect script for the Squid proxy server, designed to block -advertising banners on the Web. Unlike most other solutions, it also -automatically closes popup windows. - -WWW: http://phroggy.com/bannerfilter/ diff --git a/www/bannerfilter/pkg-plist b/www/bannerfilter/pkg-plist deleted file mode 100644 index 77724efcc89c..000000000000 --- a/www/bannerfilter/pkg-plist +++ /dev/null @@ -1,47 +0,0 @@ -bin/update-bannerfilter-rules -@unexec if cmp -s %D/etc/bannerfilter/bannerfilter.conf %D/etc/bannerfilter/bannerfilter.conf.default; then rm -f %D/etc/bannerfilter/bannerfilter.conf; fi -etc/bannerfilter/bannerfilter.conf.default -@exec [ -f %B/bannerfilter.conf ] || cp %B/%f %B/bannerfilter.conf -@unexec if cmp -s %D/etc/bannerfilter/banners.data %D/etc/bannerfilter/banners.data.default; then rm -f %D/etc/bannerfilter/banners.data; fi -etc/bannerfilter/banners.data.default -@exec [ -f %B/banners.data ] || cp %B/%f %B/banners.data -@unexec if cmp -s %D/etc/bannerfilter/banners.local.data %D/etc/bannerfilter/banners.local.data.default; then rm -f %D/etc/bannerfilter/banners.local.data; fi -etc/bannerfilter/banners.local.data.default -@exec [ -f %B/banners.local.data ] || cp %B/%f %B/banners.local.data -@unexec if cmp -s %D/etc/bannerfilter/exceptions.data %D/etc/bannerfilter/exceptions.data.default; then rm -f %D/etc/bannerfilter/exceptions.data; fi -etc/bannerfilter/exceptions.data.default -@exec [ -f %B/exceptions.data ] || cp %B/%f %B/exceptions.data -@unexec if cmp -s %D/etc/bannerfilter/exceptions.local.data %D/etc/bannerfilter/exceptions.local.data.default; then rm -f %D/etc/bannerfilter/exceptions.local.data; fi -etc/bannerfilter/exceptions.local.data.default -@exec [ -f %B/exceptions.local.data ] || cp %B/%f %B/exceptions.local.data -@unexec if cmp -s %D/etc/bannerfilter/frames.data %D/etc/bannerfilter/frames.data.default; then rm -f %D/etc/bannerfilter/frames.data; fi -etc/bannerfilter/frames.data.default -@exec [ -f %B/frames.data ] || cp %B/%f %B/frames.data -@unexec if cmp -s %D/etc/bannerfilter/frames.local.data %D/etc/bannerfilter/frames.local.data.default; then rm -f %D/etc/bannerfilter/frames.local.data; fi -etc/bannerfilter/frames.local.data.default -@exec [ -f %B/frames.local.data ] || cp %B/%f %B/frames.local.data -@unexec if cmp -s %D/etc/bannerfilter/popups.data %D/etc/bannerfilter/popups.data.default; then rm -f %D/etc/bannerfilter/popups.data; fi -etc/bannerfilter/popups.data.default -@exec [ -f %B/popups.data ] || cp %B/%f %B/popups.data -@unexec if cmp -s %D/etc/bannerfilter/popups.local.data %D/etc/bannerfilter/popups.local.data.default; then rm -f %D/etc/bannerfilter/popups.local.data; fi -etc/bannerfilter/popups.local.data.default -@exec [ -f %B/popups.local.data ] || cp %B/%f %B/popups.local.data -libexec/bannerfilter/redirector.pl -%%WWW_ROOT%%/bannerfilter/banner.gif -%%WWW_ROOT%%/bannerfilter/blocked.html -%%WWW_ROOT%%/bannerfilter/empty.js -%%WWW_ROOT%%/bannerfilter/flash.swf -%%WWW_ROOT%%/bannerfilter/goatsecx.gif -%%WWW_ROOT%%/bannerfilter/header_tile.gif -%%WWW_ROOT%%/bannerfilter/hometown.html -%%WWW_ROOT%%/bannerfilter/namezero.html -%%WWW_ROOT%%/bannerfilter/nbci.html -%%WWW_ROOT%%/bannerfilter/null.gif -%%WWW_ROOT%%/bannerfilter/popup.html -%%WWW_ROOT%%/bannerfilter/test.html -%%WWW_ROOT%%/bannerfilter/xbbackground.gif -%%WWW_ROOT%%/bannerfilter/xoom.html -%%WWW_ROOT%%/bannerfilter/yahoo.html -@dirrmtry etc/bannerfilter -@dirrm libexec/bannerfilter -@dirrm %%WWW_ROOT%%/bannerfilter diff --git a/www/dansguardian-devel/Makefile b/www/dansguardian-devel/Makefile deleted file mode 100644 index fc97ec7ddd34..000000000000 --- a/www/dansguardian-devel/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -# Created by: Freddie Cash <fjwcash@gmail.com> -# $FreeBSD$ - -PORTNAME= dansguardian -PORTVERSION= 2.12.0.3 -PORTREVISION= 2 -CATEGORIES= www -MASTER_SITES= SF/dansguardian -PKGNAMESUFFIX= -devel - -MAINTAINER= garga@FreeBSD.org -COMMENT= Fast, feature-rich web content filter for Squid proxy servers - -DEPRECATED= Depends on www/squid which is two years past EOL -EXPIRATION_DATE=2014-09-15 - -LICENSE= GPLv2 - -RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid -LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre - -USE_RC_SUBR= dansguardian -USES= iconv pkgconfig shebangfix tar:bzip2 - -CONFLICTS= dansguardian-2.10.* - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=/var \ - --with-logdir=/var/log \ - --with-piddir=/var/run \ - ${ICONV_CONFIGURE_BASE} \ - --enable-fancydm - -PORTDOCS= * - -SHEBANG_FILES= ${WRKSRC}/data/dansguardian.pl - -OPTIONS_DEFINE= APACHE TRICKLE CLISCAN CLAMD ICAP KAV NTLM EMAIL DEBUG SSL DOCS -OPTIONS_DEFAULT=APACHE TRICKLE DOCS -OPTIONS_SUB= yes - -APACHE_DESC= Enable Apache support for access denied page -TRICKLE_DESC= Enable the trickle download manager -CLISCAN_DESC= Enable support for CLI content scanners -CLAMD_DESC= Enable ClamAV daemon support (clamd) -ICAP_DESC= Enable ICAP AV content scanner support (testing) -KAV_DESC= Enable Kaspersky AV support (testing) -EMAIL_DESC= Enable e-mail reporting support - -DG_URL= http://dansguardian.org/index.php?page=copyright2 -CONFDIR= ${PREFIX}/etc/dansguardian - -RESTRICTED= Redistribution and commercial download is restricted. Check ${DG_URL} for more info - -APACHE_USE= APACHE_RUN=22+ -TRICKLE_CONFIGURE_ENABLE= trickledm -CLISCAN_CONFIGURE_ENABLE= commandline -CLAMD_CONFIGURE_ENABLE= clamd -CLAMD_RUN_DEPENDS= ${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav -ICAP_CONFIGURE_ENABLE= icap -KAV_CONFIGURE_ENABLE= kavd -NTLM_CONFIGURE_ENABLE= ntlm -EMAIL_CONFIGURE_ENABLE= email -DEBUG_CONFIGURE_ON= --with-dgdebug -DEBUG_CONFIGURE_OFF= --with-dgdebug=off -SSL_LDFLAGS= -lssl -lcrypto -SSL_CFLAGS= -D__SSLMITM -D__SSLCERT - -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MCLAMD} || ${PORT_OPTIONS:MICAP} || \ - ${PORT_OPTIONS:MKAV} || ${PORT_OPTIONS:MCLISCAN} -PLIST_SUB+= SCANNERS="" -.else -PLIST_SUB+= SCANNERS="@comment " -.endif - -post-patch: -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e '/install-data-am/ s|install-dist_docDATA||' \ - ${WRKSRC}/doc/Makefile.in -.endif -.if ${PORT_OPTIONS:MSSL} - @${REINPLACE_CMD} -e 's|ifdef __SSLCERT|ifdef __SSLCERT_ERROR_AUTH|' \ - ${WRKSRC}/src/Auth.cpp -.endif - -.include <bsd.port.post.mk> diff --git a/www/dansguardian-devel/distinfo b/www/dansguardian-devel/distinfo deleted file mode 100644 index 4a5eba81661d..000000000000 --- a/www/dansguardian-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (dansguardian-2.12.0.3.tar.bz2) = c74e9a32b97f9a9a056fced3da23fe48fca2bc6aa9af670afe9a53dc819414f5 -SIZE (dansguardian-2.12.0.3.tar.bz2) = 577701 diff --git a/www/dansguardian-devel/files/dansguardian.in b/www/dansguardian-devel/files/dansguardian.in deleted file mode 100644 index 857a5b27cdd7..000000000000 --- a/www/dansguardian-devel/files/dansguardian.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# PROVIDE: dansguardian -# REQUIRE: NETWORKING SERVERS squid -# KEYWORD: shutdown - -# Define these dansguardian_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/dansguardian -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -# dansguardian_enable="YES" -# dansguardian_flags="<set as needed>" - -dansguardian_enable=${dansguardian_enable:-"NO"} -dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"} - -. /etc/rc.subr - -name="dansguardian" -rcvar=dansguardian_enable -command="%%PREFIX%%/sbin/${name}" - -load_rc_config $name - -pidfile="${dansguardian_pidfile}" - -run_rc_command "$1" diff --git a/www/dansguardian-devel/files/patch-src__ConnectionHandler.cpp b/www/dansguardian-devel/files/patch-src__ConnectionHandler.cpp deleted file mode 100644 index 852e663cc2b5..000000000000 --- a/www/dansguardian-devel/files/patch-src__ConnectionHandler.cpp +++ /dev/null @@ -1,14 +0,0 @@ ---- ./src/ConnectionHandler.cpp.orig 2012-09-29 17:06:45.000000000 -0300 -+++ ./src/ConnectionHandler.cpp 2013-01-16 03:04:07.000000000 -0200 -@@ -1488,8 +1488,11 @@ - - //if we cant write the certificate its not the end of the world but it is slow - if (!writecert){ -+#ifdef DGDEBUG - std::cout << dbgPeerPort << " -Couldn't save certificate to on disk cache" << std::endl; -+#endif - syslog(LOG_ERR,"Couldn't save certificate to on disk cache"); -+ - } - #ifdef DGDEBUG - diff --git a/www/dansguardian-devel/files/patch-src__OptionContainer.cpp b/www/dansguardian-devel/files/patch-src__OptionContainer.cpp deleted file mode 100644 index a643490b3d08..000000000000 --- a/www/dansguardian-devel/files/patch-src__OptionContainer.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/OptionContainer.cpp.orig 2013-01-25 02:31:02.000000000 +0000 -+++ ./src/OptionContainer.cpp 2013-01-25 02:31:25.000000000 +0000 -@@ -612,7 +612,7 @@ - } - - // if the more than one port is being used, validate the combination of auth plugins -- if (authplugins.size() > 1) { -+ if (authplugins.size() > 1 and filter_ports.size() > 1) { - std::deque<Plugin*>::iterator it = authplugins.begin(); - String firstPlugin; - bool sslused = false; diff --git a/www/dansguardian-devel/pkg-descr b/www/dansguardian-devel/pkg-descr deleted file mode 100644 index 1fc44ff0d35f..000000000000 --- a/www/dansguardian-devel/pkg-descr +++ /dev/null @@ -1,19 +0,0 @@ -DansGuardian is a web content filtering proxy for Linux, FreeBSD, OpenBSD, -and Solaris. It relies on a proxy server for all fetching of pages. It has -been most extensively tested with Squid; however, DansGuardian should work -with any proxy server. - -It filters using multiple methods, including: - - URL and domain filtering - content phrase filtering - - PICS filtering - MIME filtering - - file extension filtering - POST filtering - - username and source IP filtering - virus filtering - -This version also includes support for filter groups (simple ACLs), -pre-emptive blocking, improved URL caches, and fork pooling for -improved performance under heavy load. - -This is the development version of DansGuardian and is still -considered to be Beta quality. - -WWW: http://dansguardian.org diff --git a/www/dansguardian-devel/pkg-message b/www/dansguardian-devel/pkg-message deleted file mode 100644 index 6b13852a12f7..000000000000 --- a/www/dansguardian-devel/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ -===> Please Note: - -******************************************************************************* - This port has created a log file named dansguardian.log that can get - quite large. Please read the newsyslog(8) man page for instructions - on configuring log rotation and compression. - - This port has been converted to the new RC framework and should work - correctly via rcorder. Please read the comments in the startup script - for instructions on enabling the daemon. - - WITH_CLAMAV, WITH_ICAP, WITH_KASP, WITH_NTLM are all experimental - options that I am not currently able to test. Let me know how these - work (or not) for you. (Patches always welcome.) -******************************************************************************* diff --git a/www/dansguardian-devel/pkg-plist b/www/dansguardian-devel/pkg-plist deleted file mode 100644 index b9eaafec71f3..000000000000 --- a/www/dansguardian-devel/pkg-plist +++ /dev/null @@ -1,297 +0,0 @@ -sbin/dansguardian -%%DATADIR%%/blockedflash.swf -%%DATADIR%%/languages/arspanish/messages -%%DATADIR%%/languages/arspanish/fancydmtemplate.html -%%DATADIR%%/languages/arspanish/template.html -%%DATADIR%%/languages/spanish/messages -%%DATADIR%%/languages/spanish/fancydmtemplate.html -%%DATADIR%%/languages/spanish/template.html -%%DATADIR%%/languages/mxspanish/messages -%%DATADIR%%/languages/mxspanish/fancydmtemplate.html -%%DATADIR%%/languages/mxspanish/template.html -%%DATADIR%%/languages/japanese/messages -%%DATADIR%%/languages/japanese/fancydmtemplate.html -%%DATADIR%%/languages/japanese/template.html -%%DATADIR%%/languages/malay/messages -%%DATADIR%%/languages/malay/fancydmtemplate.html -%%DATADIR%%/languages/malay/template.html -%%DATADIR%%/languages/czech/messages -%%DATADIR%%/languages/czech/fancydmtemplate.html -%%DATADIR%%/languages/czech/template.html -%%DATADIR%%/languages/hungarian/messages -%%DATADIR%%/languages/hungarian/fancydmtemplate.html -%%DATADIR%%/languages/hungarian/template.html -%%DATADIR%%/languages/ptbrazilian/messages -%%DATADIR%%/languages/ptbrazilian/fancydmtemplate.html -%%DATADIR%%/languages/ptbrazilian/template.html -%%DATADIR%%/languages/hebrew/messages -%%DATADIR%%/languages/hebrew/fancydmtemplate.html -%%DATADIR%%/languages/hebrew/template.html -%%DATADIR%%/languages/turkish/messages -%%DATADIR%%/languages/turkish/fancydmtemplate.html -%%DATADIR%%/languages/turkish/template.html -%%DATADIR%%/languages/bulgarian/messages -%%DATADIR%%/languages/bulgarian/fancydmtemplate.html -%%DATADIR%%/languages/bulgarian/template.html -%%DATADIR%%/languages/danish/messages -%%DATADIR%%/languages/danish/fancydmtemplate.html -%%DATADIR%%/languages/danish/template.html -%%DATADIR%%/languages/indonesian/messages -%%DATADIR%%/languages/indonesian/fancydmtemplate.html -%%DATADIR%%/languages/indonesian/template.html -%%DATADIR%%/languages/russian-1251/messages -%%DATADIR%%/languages/russian-1251/fancydmtemplate.html -%%DATADIR%%/languages/russian-1251/template.html -%%DATADIR%%/languages/ukenglish/messages -%%DATADIR%%/languages/ukenglish/fancydmtemplate.html -%%DATADIR%%/languages/ukenglish/template.html -%%DATADIR%%/languages/chinesebig5/messages -%%DATADIR%%/languages/chinesebig5/fancydmtemplate.html -%%DATADIR%%/languages/chinesebig5/template.html -%%DATADIR%%/languages/dutch/messages -%%DATADIR%%/languages/dutch/fancydmtemplate.html -%%DATADIR%%/languages/dutch/template.html -%%DATADIR%%/languages/italian/messages -%%DATADIR%%/languages/italian/fancydmtemplate.html -%%DATADIR%%/languages/italian/template.html -%%DATADIR%%/languages/russian-koi8-r/messages -%%DATADIR%%/languages/russian-koi8-r/fancydmtemplate.html -%%DATADIR%%/languages/russian-koi8-r/template.html -%%DATADIR%%/languages/chinesegb2312/messages -%%DATADIR%%/languages/chinesegb2312/fancydmtemplate.html -%%DATADIR%%/languages/chinesegb2312/template.html -%%DATADIR%%/languages/french/messages -%%DATADIR%%/languages/french/fancydmtemplate.html -%%DATADIR%%/languages/french/template.html -%%DATADIR%%/languages/lithuanian/messages -%%DATADIR%%/languages/lithuanian/fancydmtemplate.html -%%DATADIR%%/languages/lithuanian/template.html -%%DATADIR%%/languages/polish/messages -%%DATADIR%%/languages/polish/fancydmtemplate.html -%%DATADIR%%/languages/polish/template.html -%%DATADIR%%/languages/slovak/messages -%%DATADIR%%/languages/slovak/fancydmtemplate.html -%%DATADIR%%/languages/slovak/template.html -%%DATADIR%%/languages/german/messages -%%DATADIR%%/languages/german/fancydmtemplate.html -%%DATADIR%%/languages/german/template.html -%%DATADIR%%/languages/portuguese/messages -%%DATADIR%%/languages/portuguese/fancydmtemplate.html -%%DATADIR%%/languages/portuguese/template.html -%%DATADIR%%/languages/swedish/messages -%%DATADIR%%/languages/swedish/fancydmtemplate.html -%%DATADIR%%/languages/swedish/template.html -%%DATADIR%%/transparent1x1.gif -%%DATADIR%%/dansguardian.pl -%%DATADIR%%/scripts/dansguardian -%%DATADIR%%/scripts/logrotation -%%DATADIR%%/scripts/bsd-init -%%DATADIR%%/scripts/solaris-init -%%DATADIR%%/scripts/systemv-init -man/man8/dansguardian.8.gz -etc/dansguardian/authplugins/ident.conf -etc/dansguardian/authplugins/ip.conf -etc/dansguardian/authplugins/proxy-basic.conf -etc/dansguardian/authplugins/proxy-digest.conf -%%NTLM%%etc/dansguardian/authplugins/proxy-ntlm.conf -etc/dansguardian/lists/authplugins/ipgroups -etc/dansguardian/lists/bannedrooms/default -etc/dansguardian/lists/exceptionextensionlist -etc/dansguardian/lists/exceptionfilesitelist -etc/dansguardian/lists/exceptionmimetypelist -etc/dansguardian/lists/bannedregexpheaderlist -etc/dansguardian/lists/exceptionfileurllist -etc/dansguardian/lists/headerregexplist -etc/dansguardian/lists/logregexpurllist -etc/dansguardian/lists/logsitelist -etc/dansguardian/lists/logurllist -etc/dansguardian/lists/blacklists/ads/domains -etc/dansguardian/lists/blacklists/ads/urls -etc/dansguardian/lists/downloadmanagers/managedextensionlist -etc/dansguardian/lists/downloadmanagers/managedmimetypelist -etc/dansguardian/lists/phraselists/badwords/weighted_dutch -etc/dansguardian/lists/phraselists/badwords/weighted_french -etc/dansguardian/lists/phraselists/badwords/weighted_german -etc/dansguardian/lists/phraselists/badwords/weighted_portuguese -etc/dansguardian/lists/phraselists/badwords/weighted_spanish -etc/dansguardian/lists/phraselists/chat/weighted -etc/dansguardian/lists/phraselists/chat/weighted_italian -etc/dansguardian/lists/phraselists/drugadvocacy/weighted -etc/dansguardian/lists/phraselists/gambling/weighted -etc/dansguardian/lists/phraselists/gambling/weighted_portuguese -etc/dansguardian/lists/phraselists/gambling/banned -etc/dansguardian/lists/phraselists/gambling/banned_portuguese -etc/dansguardian/lists/phraselists/games/weighted -etc/dansguardian/lists/phraselists/goodphrases/weighted_general -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_danish -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_dutch -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_malay -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_polish -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_portuguese -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_swedish -etc/dansguardian/lists/phraselists/goodphrases/weighted_news -etc/dansguardian/lists/phraselists/goodphrases/exception -etc/dansguardian/lists/phraselists/goodphrases/exception_email -etc/dansguardian/lists/phraselists/googlesearches/banned -etc/dansguardian/lists/phraselists/gore/weighted -etc/dansguardian/lists/phraselists/gore/weighted_portuguese -etc/dansguardian/lists/phraselists/illegaldrugs/weighted -etc/dansguardian/lists/phraselists/illegaldrugs/weighted_portuguese -etc/dansguardian/lists/phraselists/illegaldrugs/banned -etc/dansguardian/lists/phraselists/intolerance/weighted -etc/dansguardian/lists/phraselists/intolerance/weighted_portuguese -etc/dansguardian/lists/phraselists/intolerance/banned_portuguese -etc/dansguardian/lists/phraselists/legaldrugs/weighted -etc/dansguardian/lists/phraselists/malware/weighted -etc/dansguardian/lists/phraselists/news/weighted -etc/dansguardian/lists/phraselists/nudism/weighted -etc/dansguardian/lists/phraselists/peer2peer/weighted -etc/dansguardian/lists/phraselists/personals/weighted -etc/dansguardian/lists/phraselists/personals/weighted_portuguese -etc/dansguardian/lists/phraselists/pornography/banned -etc/dansguardian/lists/phraselists/pornography/banned_portuguese -etc/dansguardian/lists/phraselists/pornography/weighted -etc/dansguardian/lists/phraselists/pornography/weighted_chinese -etc/dansguardian/lists/phraselists/pornography/weighted_danish -etc/dansguardian/lists/phraselists/pornography/weighted_dutch -etc/dansguardian/lists/phraselists/pornography/weighted_french -etc/dansguardian/lists/phraselists/pornography/weighted_german -etc/dansguardian/lists/phraselists/pornography/weighted_italian -etc/dansguardian/lists/phraselists/pornography/weighted_japanese -etc/dansguardian/lists/phraselists/pornography/weighted_malay -etc/dansguardian/lists/phraselists/pornography/weighted_norwegian -etc/dansguardian/lists/phraselists/pornography/weighted_polish -etc/dansguardian/lists/phraselists/pornography/weighted_portuguese -etc/dansguardian/lists/phraselists/pornography/weighted_russian -etc/dansguardian/lists/phraselists/pornography/weighted_russian_utf8 -etc/dansguardian/lists/phraselists/pornography/weighted_spanish -etc/dansguardian/lists/phraselists/pornography/weighted_swedish -etc/dansguardian/lists/phraselists/proxies/weighted -etc/dansguardian/lists/phraselists/sport/weighted -etc/dansguardian/lists/phraselists/violence/weighted -etc/dansguardian/lists/phraselists/violence/weighted_portuguese -etc/dansguardian/lists/phraselists/warezhacking/weighted -etc/dansguardian/lists/phraselists/weapons/weighted -etc/dansguardian/lists/phraselists/weapons/weighted_portuguese -etc/dansguardian/lists/phraselists/webmail/weighted -etc/dansguardian/lists/phraselists/conspiracy/weighted -etc/dansguardian/lists/phraselists/domainsforsale/weighted -etc/dansguardian/lists/phraselists/forums/weighted -etc/dansguardian/lists/phraselists/idtheft/weighted -etc/dansguardian/lists/phraselists/music/weighted -etc/dansguardian/lists/phraselists/rta/banned -etc/dansguardian/lists/phraselists/safelabel/banned -etc/dansguardian/lists/phraselists/secretsocieties/weighted -etc/dansguardian/lists/phraselists/translation/weighted -etc/dansguardian/lists/phraselists/travel/weighted -etc/dansguardian/lists/phraselists/upstreamfilter/weighted -etc/dansguardian/lists/bannedextensionlist -etc/dansguardian/lists/bannediplist -etc/dansguardian/lists/bannedmimetypelist -etc/dansguardian/lists/bannedregexpurllist -etc/dansguardian/lists/bannedsitelist -etc/dansguardian/lists/bannedurllist -etc/dansguardian/lists/contentregexplist -etc/dansguardian/lists/exceptioniplist -etc/dansguardian/lists/exceptionsitelist -etc/dansguardian/lists/exceptionurllist -etc/dansguardian/lists/filtergroupslist -etc/dansguardian/lists/greysitelist -etc/dansguardian/lists/greyurllist -etc/dansguardian/lists/pics -etc/dansguardian/lists/bannedphraselist -etc/dansguardian/lists/weightedphraselist -etc/dansguardian/lists/exceptionphraselist -etc/dansguardian/lists/urlregexplist -etc/dansguardian/lists/exceptionregexpurllist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirusmimetypelist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirusextensionlist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirussitelist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirusurllist -etc/dansguardian/downloadmanagers/default.conf -etc/dansguardian/downloadmanagers/fancy.conf -%%CLAMD%%etc/dansguardian/contentscanners/clamdscan.conf -%%KAV%%etc/dansguardian/contentscanners/kavdscan.conf -%%ICAP%%etc/dansguardian/contentscanners/icapscan.conf -%%CLISCAN%%etc/dansguardian/contentscanners/commandlinescan.conf -%%TRICKLE%%etc/dansguardian/downloadmanagers/trickle.conf -etc/dansguardian/dansguardian.conf -etc/dansguardian/dansguardianf1.conf -@dirrm %%DATADIR%%/scripts -@dirrm %%DATADIR%%/languages/arspanish -@dirrm %%DATADIR%%/languages/bulgarian -@dirrm %%DATADIR%%/languages/chinesebig5 -@dirrm %%DATADIR%%/languages/chinesegb2312 -@dirrm %%DATADIR%%/languages/czech -@dirrm %%DATADIR%%/languages/danish -@dirrm %%DATADIR%%/languages/dutch -@dirrm %%DATADIR%%/languages/french -@dirrm %%DATADIR%%/languages/german -@dirrm %%DATADIR%%/languages/hebrew -@dirrm %%DATADIR%%/languages/hungarian -@dirrm %%DATADIR%%/languages/indonesian -@dirrm %%DATADIR%%/languages/italian -@dirrm %%DATADIR%%/languages/japanese -@dirrm %%DATADIR%%/languages/lithuanian -@dirrm %%DATADIR%%/languages/malay -@dirrm %%DATADIR%%/languages/mxspanish -@dirrm %%DATADIR%%/languages/polish -@dirrm %%DATADIR%%/languages/portuguese -@dirrm %%DATADIR%%/languages/ptbrazilian -@dirrm %%DATADIR%%/languages/russian-1251 -@dirrm %%DATADIR%%/languages/russian-koi8-r -@dirrm %%DATADIR%%/languages/slovak -@dirrm %%DATADIR%%/languages/spanish -@dirrm %%DATADIR%%/languages/swedish -@dirrm %%DATADIR%%/languages/turkish -@dirrm %%DATADIR%%/languages/ukenglish -@dirrm %%DATADIR%%/languages -@dirrm %%DATADIR%% -@dirrm etc/dansguardian/lists/bannedrooms -@dirrm etc/dansguardian/lists/phraselists/badwords -@dirrm etc/dansguardian/lists/phraselists/chat -@dirrm etc/dansguardian/lists/phraselists/drugadvocacy -@dirrm etc/dansguardian/lists/phraselists/gambling -@dirrm etc/dansguardian/lists/phraselists/games -@dirrm etc/dansguardian/lists/phraselists/goodphrases -@dirrm etc/dansguardian/lists/phraselists/googlesearches -@dirrm etc/dansguardian/lists/phraselists/gore -@dirrm etc/dansguardian/lists/phraselists/illegaldrugs -@dirrm etc/dansguardian/lists/phraselists/intolerance -@dirrm etc/dansguardian/lists/phraselists/legaldrugs -@dirrm etc/dansguardian/lists/phraselists/malware -@dirrm etc/dansguardian/lists/phraselists/news -@dirrm etc/dansguardian/lists/phraselists/nudism -@dirrm etc/dansguardian/lists/phraselists/peer2peer -@dirrm etc/dansguardian/lists/phraselists/personals -@dirrm etc/dansguardian/lists/phraselists/pornography -@dirrm etc/dansguardian/lists/phraselists/proxies -@dirrm etc/dansguardian/lists/phraselists/sport -@dirrm etc/dansguardian/lists/phraselists/violence -@dirrm etc/dansguardian/lists/phraselists/warezhacking -@dirrm etc/dansguardian/lists/phraselists/weapons -@dirrm etc/dansguardian/lists/phraselists/webmail -@dirrm etc/dansguardian/lists/phraselists/conspiracy -@dirrm etc/dansguardian/lists/phraselists/domainsforsale -@dirrm etc/dansguardian/lists/phraselists/forums -@dirrm etc/dansguardian/lists/phraselists/idtheft -@dirrm etc/dansguardian/lists/phraselists/music -@dirrm etc/dansguardian/lists/phraselists/rta -@dirrm etc/dansguardian/lists/phraselists/safelabel -@dirrm etc/dansguardian/lists/phraselists/secretsocieties -@dirrm etc/dansguardian/lists/phraselists/translation -@dirrm etc/dansguardian/lists/phraselists/travel -@dirrm etc/dansguardian/lists/phraselists/upstreamfilter -@dirrm etc/dansguardian/lists/phraselists -@dirrm etc/dansguardian/lists/downloadmanagers -%%SCANNERS%%@dirrm etc/dansguardian/lists/contentscanners -@dirrm etc/dansguardian/lists/blacklists/ads -@dirrm etc/dansguardian/lists/blacklists -@dirrm etc/dansguardian/lists/authplugins -@dirrm etc/dansguardian/lists -@dirrm etc/dansguardian/downloadmanagers -%%SCANNERS%%@dirrm etc/dansguardian/contentscanners -@dirrm etc/dansguardian/authplugins -@dirrm etc/dansguardian -@unexec echo If permanently deleting this package, /var/log/dansguardian.log must be removed manually -@unexec echo If permanently deleting this package, custom configuration files must be removed manually diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile deleted file mode 100644 index 1f795f891c5e..000000000000 --- a/www/dansguardian/Makefile +++ /dev/null @@ -1,86 +0,0 @@ -# Created by: Freddie Cash <fcash@sd73.bc.ca> -# $FreeBSD$ - -PORTNAME= dansguardian -PORTVERSION= 2.10.1.1 -PORTREVISION= 6 -CATEGORIES= www -MASTER_SITES= # empty, see below - -MAINTAINER= garga@FreeBSD.org -COMMENT= Fast, feature-rich web content filter for Squid proxy servers - -DEPRECATED= Depends on www/squid which is two years past EOL -EXPIRATION_DATE=2014-09-15 - -LICENSE= GPLv2 - -RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid -LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre - -USE_RC_SUBR= dansguardian -USES= pkgconfig iconv shebangfix - -CONFLICTS= dansguardian-devel-2.12.* - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=/var \ - --with-logdir=/var/log \ - --with-piddir=/var/run \ - ${ICONV_CONFIGURE_BASE} \ - --enable-fancydm - -PORTDOCS= * - -SHEBANG_FILES= ${WRKSRC}/data/dansguardian.pl - -OPTIONS_DEFINE= APACHE TRICKLE CLISCAN CLAMD ICAP KAV NTLM EMAIL DEBUG DOCS -OPTIONS_DEFAULT=APACHE TRICKLE DOCS -OPTIONS_SUB= yes - -APACHE_DESC= Enable Apache support for access denied page -TRICKLE_DESC= Enable the trickle download manager -CLISCAN_DESC= Enable support for CLI content scanners -CLAMD_DESC= Enable ClamAV daemon support (clamd) -ICAP_DESC= Enable ICAP AV content scanner support (testing) -KAV_DESC= Enable Kaspersky AV support (testing) -EMAIL_DESC= Enable e-mail reporting support - -DG_URL= http://dansguardian.org/index.php?page=copyright2 -CONFDIR= ${PREFIX}/etc/dansguardian - -RESTRICTED= Redistribution and commercial download is restricted. Check ${DG_URL} for more info - -APACHE_USE= APACHE_RUN=22+ -TRICKLE_CONFIGURE_ENABLE= trickledm -CLISCAN_CONFIGURE_ENABLE= commandline -CLAMD_CONFIGURE_ENABLE= clamd -CLAMD_RUN_DEPENDS= ${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav -ICAP_CONFIGURE_ENABLE= icap -KAV_CONFIGURE_ENABLE= kavd -NTLM_CONFIGURE_ENABLE= ntlm -EMAIL_CONFIGURE_ENABLE= email -DEBUG_CONFIGURE_ON= --with-dgdebug -DEBUG_CONFIGURE_OFF= --with-dgdebug=off - -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MCLAMD} || ${PORT_OPTIONS:MICAP} || \ - ${PORT_OPTIONS:MKAV} || ${PORT_OPTIONS:MCLISCAN} -PLIST_SUB+= SCANNERS="" -.else -PLIST_SUB+= SCANNERS="@comment " -.endif - -# User needs to manually download the distfile -.if !(exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})) -IGNORE= commercial source download is restricted. Please visit and read ${DG_URL} and download ${DISTNAME}${EXTRACT_SUFX} into ${DISTDIR} before running make -.endif - -post-patch: -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} -e '/install-data-am/ s|install-dist_docDATA||' \ - ${WRKSRC}/doc/Makefile.in -.endif - -.include <bsd.port.post.mk> diff --git a/www/dansguardian/distinfo b/www/dansguardian/distinfo deleted file mode 100644 index 4dc4d4a6c698..000000000000 --- a/www/dansguardian/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (dansguardian-2.10.1.1.tar.gz) = c245d58cf37f79f8a8e50b684d62b797a9f6ce1bb775e140969002dff7e11f92 -SIZE (dansguardian-2.10.1.1.tar.gz) = 516800 diff --git a/www/dansguardian/files/dansguardian.in b/www/dansguardian/files/dansguardian.in deleted file mode 100644 index 857a5b27cdd7..000000000000 --- a/www/dansguardian/files/dansguardian.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# PROVIDE: dansguardian -# REQUIRE: NETWORKING SERVERS squid -# KEYWORD: shutdown - -# Define these dansguardian_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/dansguardian -# -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -# dansguardian_enable="YES" -# dansguardian_flags="<set as needed>" - -dansguardian_enable=${dansguardian_enable:-"NO"} -dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"} - -. /etc/rc.subr - -name="dansguardian" -rcvar=dansguardian_enable -command="%%PREFIX%%/sbin/${name}" - -load_rc_config $name - -pidfile="${dansguardian_pidfile}" - -run_rc_command "$1" diff --git a/www/dansguardian/files/patch-src__RegEx.cpp b/www/dansguardian/files/patch-src__RegEx.cpp deleted file mode 100644 index 59c433265200..000000000000 --- a/www/dansguardian/files/patch-src__RegEx.cpp +++ /dev/null @@ -1,40 +0,0 @@ ---- src/RegExp.cpp.orig 2008-11-18 11:27:04.000000000 +0000 -+++ src/RegExp.cpp 2012-07-05 09:03:46.555469692 +0100 -@@ -161,14 +161,17 @@ - offsets.clear(); - lengths.clear(); - imatched = false; -- regmatch_t *pmatch = new regmatch_t[reg.re_nsub + 1]; // to hold result -+ int num_sub_expressions = MAX_SUB_EXPRESSIONS; -+ if(reg.re_nsub < num_sub_expressions) -+ num_sub_expressions = reg.re_nsub; -+ regmatch_t *pmatch = new regmatch_t[num_sub_expressions + 1]; // to hold result - if (!pmatch) { // if it failed - delete[]pmatch; - imatched = false; - return false; - // exception? - } -- if (regexec(®, pos, reg.re_nsub + 1, pmatch, 0)) { // run regex -+ if (regexec(®, pos, num_sub_expressions + 1, pmatch, 0)) { // run regex - delete[]pmatch; - imatched = false; - // #ifdef DGDEBUG -@@ -182,7 +185,7 @@ - int error = 0; - while (error == 0) { - largestoffset = 0; -- for (i = 0; i <= (signed) reg.re_nsub; i++) { -+ for (i = 0; i <= (signed) num_sub_expressions; i++) { - if (pmatch[i].rm_so != -1) { - matchlen = pmatch[i].rm_eo - pmatch[i].rm_so; - submatch = new char[matchlen + 1]; -@@ -199,7 +202,7 @@ - } - if (largestoffset > 0) { - pos += largestoffset; -- error = regexec(®, pos, reg.re_nsub + 1, pmatch, REG_NOTBOL); -+ error = regexec(®, pos, num_sub_expressions + 1, pmatch, REG_NOTBOL); - } else { - error = -1; - } diff --git a/www/dansguardian/files/patch-src__RegExp.hpp b/www/dansguardian/files/patch-src__RegExp.hpp deleted file mode 100644 index a16451789087..000000000000 --- a/www/dansguardian/files/patch-src__RegExp.hpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/RegExp.hpp.orig 2008-11-18 11:27:04.000000000 +0000 -+++ src/RegExp.hpp 2012-07-05 09:03:46.555469692 +0100 -@@ -22,6 +22,7 @@ - #ifndef __HPP_REGEXP - #define __HPP_REGEXP - -+#define MAX_SUB_EXPRESSIONS 1024 - - // INCLUDES - diff --git a/www/dansguardian/pkg-descr b/www/dansguardian/pkg-descr deleted file mode 100644 index 1fc44ff0d35f..000000000000 --- a/www/dansguardian/pkg-descr +++ /dev/null @@ -1,19 +0,0 @@ -DansGuardian is a web content filtering proxy for Linux, FreeBSD, OpenBSD, -and Solaris. It relies on a proxy server for all fetching of pages. It has -been most extensively tested with Squid; however, DansGuardian should work -with any proxy server. - -It filters using multiple methods, including: - - URL and domain filtering - content phrase filtering - - PICS filtering - MIME filtering - - file extension filtering - POST filtering - - username and source IP filtering - virus filtering - -This version also includes support for filter groups (simple ACLs), -pre-emptive blocking, improved URL caches, and fork pooling for -improved performance under heavy load. - -This is the development version of DansGuardian and is still -considered to be Beta quality. - -WWW: http://dansguardian.org diff --git a/www/dansguardian/pkg-message b/www/dansguardian/pkg-message deleted file mode 100644 index 6b13852a12f7..000000000000 --- a/www/dansguardian/pkg-message +++ /dev/null @@ -1,15 +0,0 @@ -===> Please Note: - -******************************************************************************* - This port has created a log file named dansguardian.log that can get - quite large. Please read the newsyslog(8) man page for instructions - on configuring log rotation and compression. - - This port has been converted to the new RC framework and should work - correctly via rcorder. Please read the comments in the startup script - for instructions on enabling the daemon. - - WITH_CLAMAV, WITH_ICAP, WITH_KASP, WITH_NTLM are all experimental - options that I am not currently able to test. Let me know how these - work (or not) for you. (Patches always welcome.) -******************************************************************************* diff --git a/www/dansguardian/pkg-plist b/www/dansguardian/pkg-plist deleted file mode 100644 index 778d3d696e96..000000000000 --- a/www/dansguardian/pkg-plist +++ /dev/null @@ -1,293 +0,0 @@ -sbin/dansguardian -%%DATADIR%%/languages/arspanish/messages -%%DATADIR%%/languages/arspanish/fancydmtemplate.html -%%DATADIR%%/languages/arspanish/template.html -%%DATADIR%%/languages/spanish/messages -%%DATADIR%%/languages/spanish/fancydmtemplate.html -%%DATADIR%%/languages/spanish/template.html -%%DATADIR%%/languages/mxspanish/messages -%%DATADIR%%/languages/mxspanish/fancydmtemplate.html -%%DATADIR%%/languages/mxspanish/template.html -%%DATADIR%%/languages/japanese/messages -%%DATADIR%%/languages/japanese/fancydmtemplate.html -%%DATADIR%%/languages/japanese/template.html -%%DATADIR%%/languages/malay/messages -%%DATADIR%%/languages/malay/fancydmtemplate.html -%%DATADIR%%/languages/malay/template.html -%%DATADIR%%/languages/czech/messages -%%DATADIR%%/languages/czech/fancydmtemplate.html -%%DATADIR%%/languages/czech/template.html -%%DATADIR%%/languages/hungarian/messages -%%DATADIR%%/languages/hungarian/fancydmtemplate.html -%%DATADIR%%/languages/hungarian/template.html -%%DATADIR%%/languages/ptbrazilian/messages -%%DATADIR%%/languages/ptbrazilian/fancydmtemplate.html -%%DATADIR%%/languages/ptbrazilian/template.html -%%DATADIR%%/languages/hebrew/messages -%%DATADIR%%/languages/hebrew/fancydmtemplate.html -%%DATADIR%%/languages/hebrew/template.html -%%DATADIR%%/languages/turkish/messages -%%DATADIR%%/languages/turkish/fancydmtemplate.html -%%DATADIR%%/languages/turkish/template.html -%%DATADIR%%/languages/bulgarian/messages -%%DATADIR%%/languages/bulgarian/fancydmtemplate.html -%%DATADIR%%/languages/bulgarian/template.html -%%DATADIR%%/languages/danish/messages -%%DATADIR%%/languages/danish/fancydmtemplate.html -%%DATADIR%%/languages/danish/template.html -%%DATADIR%%/languages/indonesian/messages -%%DATADIR%%/languages/indonesian/fancydmtemplate.html -%%DATADIR%%/languages/indonesian/template.html -%%DATADIR%%/languages/russian-1251/messages -%%DATADIR%%/languages/russian-1251/fancydmtemplate.html -%%DATADIR%%/languages/russian-1251/template.html -%%DATADIR%%/languages/ukenglish/messages -%%DATADIR%%/languages/ukenglish/fancydmtemplate.html -%%DATADIR%%/languages/ukenglish/template.html -%%DATADIR%%/languages/chinesebig5/messages -%%DATADIR%%/languages/chinesebig5/fancydmtemplate.html -%%DATADIR%%/languages/chinesebig5/template.html -%%DATADIR%%/languages/dutch/messages -%%DATADIR%%/languages/dutch/fancydmtemplate.html -%%DATADIR%%/languages/dutch/template.html -%%DATADIR%%/languages/italian/messages -%%DATADIR%%/languages/italian/fancydmtemplate.html -%%DATADIR%%/languages/italian/template.html -%%DATADIR%%/languages/russian-koi8-r/messages -%%DATADIR%%/languages/russian-koi8-r/fancydmtemplate.html -%%DATADIR%%/languages/russian-koi8-r/template.html -%%DATADIR%%/languages/chinesegb2312/messages -%%DATADIR%%/languages/chinesegb2312/fancydmtemplate.html -%%DATADIR%%/languages/chinesegb2312/template.html -%%DATADIR%%/languages/french/messages -%%DATADIR%%/languages/french/fancydmtemplate.html -%%DATADIR%%/languages/french/template.html -%%DATADIR%%/languages/lithuanian/messages -%%DATADIR%%/languages/lithuanian/fancydmtemplate.html -%%DATADIR%%/languages/lithuanian/template.html -%%DATADIR%%/languages/polish/messages -%%DATADIR%%/languages/polish/fancydmtemplate.html -%%DATADIR%%/languages/polish/template.html -%%DATADIR%%/languages/slovak/messages -%%DATADIR%%/languages/slovak/fancydmtemplate.html -%%DATADIR%%/languages/slovak/template.html -%%DATADIR%%/languages/german/messages -%%DATADIR%%/languages/german/fancydmtemplate.html -%%DATADIR%%/languages/german/template.html -%%DATADIR%%/languages/portuguese/messages -%%DATADIR%%/languages/portuguese/fancydmtemplate.html -%%DATADIR%%/languages/portuguese/template.html -%%DATADIR%%/languages/swedish/messages -%%DATADIR%%/languages/swedish/fancydmtemplate.html -%%DATADIR%%/languages/swedish/template.html -%%DATADIR%%/transparent1x1.gif -%%DATADIR%%/dansguardian.pl -%%DATADIR%%/scripts/dansguardian -%%DATADIR%%/scripts/logrotation -%%DATADIR%%/scripts/bsd-init -%%DATADIR%%/scripts/solaris-init -%%DATADIR%%/scripts/systemv-init -man/man8/dansguardian.8.gz -etc/dansguardian/authplugins/ident.conf -etc/dansguardian/authplugins/ip.conf -etc/dansguardian/authplugins/proxy-basic.conf -etc/dansguardian/authplugins/proxy-digest.conf -%%NTLM%%etc/dansguardian/authplugins/proxy-ntlm.conf -etc/dansguardian/lists/authplugins/ipgroups -etc/dansguardian/lists/exceptionextensionlist -etc/dansguardian/lists/exceptionfilesitelist -etc/dansguardian/lists/exceptionmimetypelist -etc/dansguardian/lists/bannedregexpheaderlist -etc/dansguardian/lists/exceptionfileurllist -etc/dansguardian/lists/headerregexplist -etc/dansguardian/lists/logregexpurllist -etc/dansguardian/lists/logsitelist -etc/dansguardian/lists/logurllist -etc/dansguardian/lists/blacklists/ads/domains -etc/dansguardian/lists/blacklists/ads/urls -etc/dansguardian/lists/downloadmanagers/managedextensionlist -etc/dansguardian/lists/downloadmanagers/managedmimetypelist -etc/dansguardian/lists/phraselists/badwords/weighted_dutch -etc/dansguardian/lists/phraselists/badwords/weighted_french -etc/dansguardian/lists/phraselists/badwords/weighted_german -etc/dansguardian/lists/phraselists/badwords/weighted_portuguese -etc/dansguardian/lists/phraselists/badwords/weighted_spanish -etc/dansguardian/lists/phraselists/chat/weighted -etc/dansguardian/lists/phraselists/chat/weighted_italian -etc/dansguardian/lists/phraselists/drugadvocacy/weighted -etc/dansguardian/lists/phraselists/gambling/weighted -etc/dansguardian/lists/phraselists/gambling/weighted_portuguese -etc/dansguardian/lists/phraselists/gambling/banned -etc/dansguardian/lists/phraselists/gambling/banned_portuguese -etc/dansguardian/lists/phraselists/games/weighted -etc/dansguardian/lists/phraselists/goodphrases/weighted_general -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_danish -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_dutch -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_malay -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_polish -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_portuguese -etc/dansguardian/lists/phraselists/goodphrases/weighted_general_swedish -etc/dansguardian/lists/phraselists/goodphrases/weighted_news -etc/dansguardian/lists/phraselists/goodphrases/exception -etc/dansguardian/lists/phraselists/goodphrases/exception_email -etc/dansguardian/lists/phraselists/googlesearches/banned -etc/dansguardian/lists/phraselists/gore/weighted -etc/dansguardian/lists/phraselists/gore/weighted_portuguese -etc/dansguardian/lists/phraselists/illegaldrugs/weighted -etc/dansguardian/lists/phraselists/illegaldrugs/weighted_portuguese -etc/dansguardian/lists/phraselists/illegaldrugs/banned -etc/dansguardian/lists/phraselists/intolerance/weighted -etc/dansguardian/lists/phraselists/intolerance/weighted_portuguese -etc/dansguardian/lists/phraselists/intolerance/banned_portuguese -etc/dansguardian/lists/phraselists/legaldrugs/weighted -etc/dansguardian/lists/phraselists/malware/weighted -etc/dansguardian/lists/phraselists/news/weighted -etc/dansguardian/lists/phraselists/nudism/weighted -etc/dansguardian/lists/phraselists/peer2peer/weighted -etc/dansguardian/lists/phraselists/personals/weighted -etc/dansguardian/lists/phraselists/personals/weighted_portuguese -etc/dansguardian/lists/phraselists/pornography/banned -etc/dansguardian/lists/phraselists/pornography/banned_portuguese -etc/dansguardian/lists/phraselists/pornography/weighted -etc/dansguardian/lists/phraselists/pornography/weighted_chinese -etc/dansguardian/lists/phraselists/pornography/weighted_danish -etc/dansguardian/lists/phraselists/pornography/weighted_dutch -etc/dansguardian/lists/phraselists/pornography/weighted_french -etc/dansguardian/lists/phraselists/pornography/weighted_german -etc/dansguardian/lists/phraselists/pornography/weighted_italian -etc/dansguardian/lists/phraselists/pornography/weighted_japanese -etc/dansguardian/lists/phraselists/pornography/weighted_malay -etc/dansguardian/lists/phraselists/pornography/weighted_norwegian -etc/dansguardian/lists/phraselists/pornography/weighted_polish -etc/dansguardian/lists/phraselists/pornography/weighted_portuguese -etc/dansguardian/lists/phraselists/pornography/weighted_russian -etc/dansguardian/lists/phraselists/pornography/weighted_spanish -etc/dansguardian/lists/phraselists/pornography/weighted_swedish -etc/dansguardian/lists/phraselists/proxies/weighted -etc/dansguardian/lists/phraselists/sport/weighted -etc/dansguardian/lists/phraselists/violence/weighted -etc/dansguardian/lists/phraselists/violence/weighted_portuguese -etc/dansguardian/lists/phraselists/warezhacking/weighted -etc/dansguardian/lists/phraselists/weapons/weighted -etc/dansguardian/lists/phraselists/weapons/weighted_portuguese -etc/dansguardian/lists/phraselists/webmail/weighted -etc/dansguardian/lists/phraselists/conspiracy/weighted -etc/dansguardian/lists/phraselists/domainsforsale/weighted -etc/dansguardian/lists/phraselists/forums/weighted -etc/dansguardian/lists/phraselists/idtheft/weighted -etc/dansguardian/lists/phraselists/music/weighted -etc/dansguardian/lists/phraselists/rta/banned -etc/dansguardian/lists/phraselists/safelabel/banned -etc/dansguardian/lists/phraselists/secretsocieties/weighted -etc/dansguardian/lists/phraselists/translation/weighted -etc/dansguardian/lists/phraselists/travel/weighted -etc/dansguardian/lists/phraselists/upstreamfilter/weighted -etc/dansguardian/lists/bannedextensionlist -etc/dansguardian/lists/bannediplist -etc/dansguardian/lists/bannedmimetypelist -etc/dansguardian/lists/bannedregexpurllist -etc/dansguardian/lists/bannedsitelist -etc/dansguardian/lists/bannedurllist -etc/dansguardian/lists/contentregexplist -etc/dansguardian/lists/exceptioniplist -etc/dansguardian/lists/exceptionsitelist -etc/dansguardian/lists/exceptionurllist -etc/dansguardian/lists/filtergroupslist -etc/dansguardian/lists/greysitelist -etc/dansguardian/lists/greyurllist -etc/dansguardian/lists/pics -etc/dansguardian/lists/bannedphraselist -etc/dansguardian/lists/weightedphraselist -etc/dansguardian/lists/exceptionphraselist -etc/dansguardian/lists/urlregexplist -etc/dansguardian/lists/exceptionregexpurllist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirusmimetypelist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirusextensionlist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirussitelist -%%SCANNERS%%etc/dansguardian/lists/contentscanners/exceptionvirusurllist -etc/dansguardian/downloadmanagers/default.conf -etc/dansguardian/downloadmanagers/fancy.conf -%%CLAMD%%etc/dansguardian/contentscanners/clamdscan.conf -%%KAV%%etc/dansguardian/contentscanners/kavdscan.conf -%%ICAP%%etc/dansguardian/contentscanners/icapscan.conf -%%CLISCAN%%etc/dansguardian/contentscanners/commandlinescan.conf -%%TRICKLE%%etc/dansguardian/downloadmanagers/trickle.conf -etc/dansguardian/dansguardian.conf -etc/dansguardian/dansguardianf1.conf -@dirrm %%DATADIR%%/scripts -@dirrm %%DATADIR%%/languages/arspanish -@dirrm %%DATADIR%%/languages/bulgarian -@dirrm %%DATADIR%%/languages/chinesebig5 -@dirrm %%DATADIR%%/languages/chinesegb2312 -@dirrm %%DATADIR%%/languages/czech -@dirrm %%DATADIR%%/languages/danish -@dirrm %%DATADIR%%/languages/dutch -@dirrm %%DATADIR%%/languages/french -@dirrm %%DATADIR%%/languages/german -@dirrm %%DATADIR%%/languages/hebrew -@dirrm %%DATADIR%%/languages/hungarian -@dirrm %%DATADIR%%/languages/indonesian -@dirrm %%DATADIR%%/languages/italian -@dirrm %%DATADIR%%/languages/japanese -@dirrm %%DATADIR%%/languages/lithuanian -@dirrm %%DATADIR%%/languages/malay -@dirrm %%DATADIR%%/languages/mxspanish -@dirrm %%DATADIR%%/languages/polish -@dirrm %%DATADIR%%/languages/portuguese -@dirrm %%DATADIR%%/languages/ptbrazilian -@dirrm %%DATADIR%%/languages/russian-1251 -@dirrm %%DATADIR%%/languages/russian-koi8-r -@dirrm %%DATADIR%%/languages/slovak -@dirrm %%DATADIR%%/languages/spanish -@dirrm %%DATADIR%%/languages/swedish -@dirrm %%DATADIR%%/languages/turkish -@dirrm %%DATADIR%%/languages/ukenglish -@dirrm %%DATADIR%%/languages -@dirrm %%DATADIR%% -@dirrm etc/dansguardian/lists/phraselists/badwords -@dirrm etc/dansguardian/lists/phraselists/chat -@dirrm etc/dansguardian/lists/phraselists/drugadvocacy -@dirrm etc/dansguardian/lists/phraselists/gambling -@dirrm etc/dansguardian/lists/phraselists/games -@dirrm etc/dansguardian/lists/phraselists/goodphrases -@dirrm etc/dansguardian/lists/phraselists/googlesearches -@dirrm etc/dansguardian/lists/phraselists/gore -@dirrm etc/dansguardian/lists/phraselists/illegaldrugs -@dirrm etc/dansguardian/lists/phraselists/intolerance -@dirrm etc/dansguardian/lists/phraselists/legaldrugs -@dirrm etc/dansguardian/lists/phraselists/malware -@dirrm etc/dansguardian/lists/phraselists/news -@dirrm etc/dansguardian/lists/phraselists/nudism -@dirrm etc/dansguardian/lists/phraselists/peer2peer -@dirrm etc/dansguardian/lists/phraselists/personals -@dirrm etc/dansguardian/lists/phraselists/pornography -@dirrm etc/dansguardian/lists/phraselists/proxies -@dirrm etc/dansguardian/lists/phraselists/sport -@dirrm etc/dansguardian/lists/phraselists/violence -@dirrm etc/dansguardian/lists/phraselists/warezhacking -@dirrm etc/dansguardian/lists/phraselists/weapons -@dirrm etc/dansguardian/lists/phraselists/webmail -@dirrm etc/dansguardian/lists/phraselists/conspiracy -@dirrm etc/dansguardian/lists/phraselists/domainsforsale -@dirrm etc/dansguardian/lists/phraselists/forums -@dirrm etc/dansguardian/lists/phraselists/idtheft -@dirrm etc/dansguardian/lists/phraselists/music -@dirrm etc/dansguardian/lists/phraselists/rta -@dirrm etc/dansguardian/lists/phraselists/safelabel -@dirrm etc/dansguardian/lists/phraselists/secretsocieties -@dirrm etc/dansguardian/lists/phraselists/translation -@dirrm etc/dansguardian/lists/phraselists/travel -@dirrm etc/dansguardian/lists/phraselists/upstreamfilter -@dirrm etc/dansguardian/lists/phraselists -@dirrm etc/dansguardian/lists/downloadmanagers -%%SCANNERS%%@dirrm etc/dansguardian/lists/contentscanners -@dirrm etc/dansguardian/lists/blacklists/ads -@dirrm etc/dansguardian/lists/blacklists -@dirrm etc/dansguardian/lists/authplugins -@dirrm etc/dansguardian/lists -@dirrm etc/dansguardian/downloadmanagers -%%SCANNERS%%@dirrm etc/dansguardian/contentscanners -@dirrm etc/dansguardian/authplugins -@dirrm etc/dansguardian -@unexec echo If permanently deleting this package, /var/log/dansguardian.log must be removed manually -@unexec echo If permanently deleting this package, custom configuration files must be removed manually diff --git a/www/squid32/Makefile b/www/squid32/Makefile deleted file mode 100644 index bce5d1a90ac2..000000000000 --- a/www/squid32/Makefile +++ /dev/null @@ -1,508 +0,0 @@ -# Created by: Thomas-Martin Seck <tmseck@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= squid -PORTVERSION= 3.2.${SQUID_STABLE_VER} -PORTREVISION= 3 -CATEGORIES= www ipv6 -MASTER_SITES= http://www.squid-cache.org/Versions/v3/3.2/ \ - http://www2.us.squid-cache.org/Versions/v3/3.2/ \ - http://www1.at.squid-cache.org/Versions/v3/3.2/ \ - http://www.eu.squid-cache.org/Versions/v3/3.2/ \ - http://www1.jp.squid-cache.org/Versions/v3/3.2/ -MASTER_SITE_SUBDIR= squid -PKGNAMESUFFIX= 32 -DIST_SUBDIR= squid3.2 - -PATCH_SITES= http://www.squid-cache.org/%SUBDIR%/ \ - http://www2.us.squid-cache.org/%SUBDIR%/ \ - http://www1.at.squid-cache.org/%SUBDIR%/ \ - http://www.eu.squid-cache.org/%SUBDIR%/ \ - http://www1.jp.squid-cache.org/%SUBDIR%/ -PATCH_SITE_SUBDIR= Versions/v3/3.2/changesets -PATCHFILES= #empty - -MAINTAINER= ports@FreeBSD.org -COMMENT= HTTP Caching Proxy - -DEPRECATED= Reached EOL when Squid Cache 3.3 was released (3.4 is out now) -EXPIRATION_DATE=2014-09-15 - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -SQUID_STABLE_VER= 13 - -CONFLICTS_INSTALL= squid-2.[0-9].* squid33-* cacheboy-[0-9]* lusca-head-[0-9]* -USES= perl5 tar:bzip2 shebangfix -SHEBANG_FILES= scripts/*.pl contrib/*.pl src/*.pl tools/*.pl -GNU_CONFIGURE= yes -USE_RC_SUBR= squid - -USERS= squid -GROUPS= squid - -docs= QUICKSTART README RELEASENOTES.html doc/debug-sections.txt -PORTDOCS= ${docs:T} -PORTEXAMPLES= * -SUB_FILES+= pkg-install pkg-message - -OPTIONS_DEFINE= ARP_ACL AUTH_KERB AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB \ - CACHE_DIGESTS DEBUG DELAY_POOLS DNS_HELPER ECAP ESI \ - FOLLOW_XFF FS_AUFS FS_COSS HTCP ICAP ICMP IDENT IPV6 KQUEUE \ - LARGEFILE SNMP SSL SSL_CRTD STACKTRACES STRICT_HTTP \ - TP_IPF TP_IPFW TP_PF VIA_DB WCCP WCCPV2 DOCS EXAMPLES - -ARP_ACL_DESC= Enable ARP/MAC/EUI based authentification -AUTH_KERB_DESC= Install Kerberos authentication helpers -AUTH_LDAP_DESC= Install LDAP authentication helpers -AUTH_NIS_DESC= Install NIS/YP authentication helpers -AUTH_SASL_DESC= Install SASL authentication helpers -AUTH_SMB_DESC= Install SMB auth. helpers (req. Samba) -CACHE_DIGESTS_DESC= Use cache digests -DEBUG_DESC= Build with extended debugging support -DELAY_POOLS_DESC= Enable delay pools (bandwidth limiting) -DNS_HELPER_DESC= Use external dnsserver processes for DNS -ECAP_DESC= Enable loadable content adaptation modules -ESI_DESC= Enable support for ESI -FOLLOW_XFF_DESC= Enable support for the X-Following-For header -FS_AUFS_DESC= Enable AUFS (async-io) support -FS_COSS_DESC= Enable COSS (not stable yet) -HTCP_DESC= Enable HTCP support -ICAP_DESC= Enable the ICAP client -ICMP_DESC= Enable ICMP pinging and network measurement -IDENT_DESC= Enable Ident lookups (RFC 931) -KQUEUE_DESC= Enable kqueue(2) support -LARGEFILE_DESC= Support large (>2GB) cache and log files -SNMP_DESC= Enable SNMP support -SSL_CRTD_DESC= Use ssl_crtd to handle SSL cert requests -SSL_DESC= Enable SSL gatewaying support -STACKTRACES_DESC= Enable automatic backtraces on fatal errors -STRICT_HTTP_DESC= Make Squid strictly HTTP compliant -TP_IPFW_DESC= Enable transparent proxying with IPFW -TP_IPF_DESC= Enable transparent proxying with IPFilter -TP_PF_DESC= Enable transparent proxying with PF -VIA_DB_DESC= Enable Forward/Via database -WCCPV2_DESC= Enable Web Cache Coordination Protocol v2 -WCCP_DESC= Enable Web Cache Coordination Protocol - -OPTIONS_DEFAULT= AUTH_KERB AUTH_NIS FS_AUFS HTCP IDENT KQUEUE \ - SNMP WCCP WCCPV2 - -ECAP_USES= pkgconfig:build - -etc_files= squid/cachemgr.conf.default \ - squid/errorpage.css.default \ - squid/mib.txt \ - squid/mime.conf.default \ - squid/msntauth.conf.default \ - squid/squid.conf.default \ - squid/squid.conf.documented - -icon_silk_files= application.png arrow_up.png bomb.png box.png \ - bricks.png bullet_red.png cd.png chart_line.png \ - compress.png computer_link.png css.png cup.png \ - database.png database_table.png drive_disk.png \ - film.png film_key.png folder.png folder_table.png \ - image.png information.png layers.png layout.png \ - link.png music.png package.png package_go.png \ - page_code.png page_excel.png page_green.png \ - page_white.png page_white_acrobat.png page_white_c.png \ - page_white_cplusplus.png page_white_flash.png \ - page_white_magnify.png page_white_picture.png \ - page_white_powerpoint.png page_white_stack.png \ - page_white_text.png page_world.png \ - page_white_word.png page_white_zip.png photo.png \ - picture.png plugin.png plugin_add.png script.png \ - script_gear.png script_palette.png - -error_files= ERR_ACCESS_DENIED ERR_ACL_TIME_QUOTA_EXCEEDED \ - ERR_AGENT_CONFIGURE ERR_AGENT_WPAD \ - ERR_CACHE_ACCESS_DENIED \ - ERR_CACHE_MGR_ACCESS_DENIED ERR_CONFLICT_HOST \ - ERR_CANNOT_FORWARD ERR_CONNECT_FAIL \ - ERR_DIR_LISTING ERR_DNS_FAIL \ - ERR_ESI ERR_FORWARDING_DENIED \ - ERR_FTP_DISABLED ERR_FTP_FAILURE ERR_FTP_FORBIDDEN \ - ERR_FTP_NOT_FOUND ERR_FTP_PUT_CREATED \ - ERR_FTP_PUT_ERROR ERR_FTP_PUT_MODIFIED ERR_FTP_UNAVAILABLE \ - ERR_GATEWAY_FAILURE \ - ERR_ICAP_FAILURE ERR_INVALID_REQ ERR_INVALID_RESP \ - ERR_INVALID_URL ERR_LIFETIME_EXP ERR_NO_RELAY \ - ERR_ONLY_IF_CACHED_MISS ERR_PRECONDITION_FAILED \ - ERR_READ_ERROR ERR_READ_TIMEOUT \ - ERR_SECURE_CONNECT_FAIL ERR_SHUTTING_DOWN ERR_SOCKET_FAILURE \ - ERR_TOO_BIG ERR_UNSUP_REQ ERR_UNSUP_HTTPVERSION \ - ERR_URN_RESOLVE ERR_WRITE_ERROR ERR_ZERO_SIZE_OBJECT \ - error-details.txt - -error_dirs= af ar az bg ca cs da de el en es et fa fi fr he hu hy id it \ - ja ko lt lv ms nl oc pl pt pt-br ro ru sk sl sr-cyrl sr-latn \ - sv \ - th tr uk uz \ - vi zh-cn zh-tw \ - templates - -error_dir_links= ar-ae ar-bh ar-dz ar-eg ar-iq ar-jo ar-kw ar-lb \ - ar-ly ar-ma ar-om ar-qa ar-sa ar-sy ar-tn ar-ye \ - az-az bg-bg cs-cz da-dk \ - de-at de-ch de-de de-li de-lu \ - el-gr \ - en-au en-bz en-ca en-gb en-ie en-in en-jm en-nz \ - en-ph en-sg en-tt en-uk en-us en-za en-zw \ - es-ar es-bo es-cl es-co es-cr es-do es-ec es-es \ - es-gt es-hn es-mx es-ni es-pa es-pe es-pr es-py \ - es-sv es-uy es-ve \ - et-ee \ - fa-fa fa-ir fi-fi \ - fr-be fr-ca fr-ch fr-fr fr-lu fr-mc \ - he-il hu-hu hy-am hy-armn id-id it-ch it-it \ - ja-jp ko-kp ko-kr lt-lt lv-lv ms-my nl-nl \ - pl-pl pt-pt ro-md ro-ro ru-ru \ - sk-sk sl-si sr sr-latn-cs sr-sp sv-fi sv-se \ - th-th tr-tr uk-ua vi-vn zh-hk zh-mo zh-sg - -libexec= cachemgr.cgi \ - diskd \ - helper-mux.pl - -.if !defined(SQUID_CONFIGURE_ARGS) || ${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == "" -libexec+= unlinkd -.endif - -sbin= purge squidclient squid - -CONFIGURE_ARGS= --with-default-user=squid \ - --bindir=${PREFIX}/sbin \ - --sbindir=${PREFIX}/sbin \ - --datadir=${ETCDIR} \ - --libexecdir=${PREFIX}/libexec/squid \ - --localstatedir=/var \ - --sysconfdir=${ETCDIR} \ - --with-logdir=/var/log/squid \ - --with-pidfile=/var/run/squid/squid.pid \ - --with-swapdir=/var/squid/cache/squid \ - --enable-auth \ - --enable-build-info \ - --enable-loadable-modules \ - --enable-removal-policies="lru heap" \ - --disable-epoll \ - --disable-linux-netfilter \ - --disable-linux-tproxy \ - --disable-translation - -.include <bsd.port.options.mk> - -.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" \ - || ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024 -CXXFLAGS+= -Wno-unused-private-field -.endif - -# Authentication methods and modules: - -basic_auth= DB MSNT MSNT-multi-domain NCSA PAM POP3 RADIUS \ - fake getpwnam -digest_auth= file -external_acl= file_userip unix_group -ntlm_auth= fake smb_lm -libexec+= basic_db_auth \ - basic_fake_auth \ - basic_getpwnam_auth \ - basic_ncsa_auth \ - basic_msnt_auth \ - basic_msnt_multi_domain_auth \ - basic_pam_auth \ - basic_pop3_auth \ - basic_radius_auth \ - digest_file_auth \ - ext_file_userip_acl \ - ext_unix_group_acl \ - ntlm_fake_auth \ - ntlm_smb_lm_auth -PLIST_FILES+= basic_getpwnam_auth.8.gz basic_ncsa_auth.8.gz \ - basic_pam_auth.8.gz basic_radius_auth.8.gz \ - basic_db_auth.8.gz digest_file_auth.8.gz \ - ext_file_userip_acl.8.gz ext_unix_group_acl.8.gz -.if ${PORT_OPTIONS:MAUTH_LDAP} -USE_OPENLDAP= yes -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES+= basic_ldap_auth.8.gz ext_ldap_group_acl.8.gz -basic_auth+= LDAP -external_acl+= LDAP_group -libexec+= basic_ldap_auth ext_ldap_group_acl -.endif -.if ${PORT_OPTIONS:MAUTH_SASL} -LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 -CFLAGS+= -I${LOCALBASE}/include -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES+= basic_sasl_auth.8.gz -basic_auth+= SASL -libexec+= basic_sasl_auth -.endif -.if ${PORT_OPTIONS:MAUTH_SMB} -BUILD_DEPENDS+= smbclient:${PORTSDIR}/net/samba36 -RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba36 -basic_auth+= SMB -external_acl+= wbinfo_group -libexec+= basic_smb_auth basic_smb_auth.sh \ - ext_wbinfo_group_acl -PLIST_FILES+= ext_wbinfo_group_acl.8.gz -.endif -# POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: -.if ${PORT_OPTIONS:MAUTH_NIS} && !defined(NO_NIS) && !defined(WITHOUT_NIS) -basic_auth+= NIS -libexec+= basic_nis_auth -.endif -# POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too: -.if ${PORT_OPTIONS:MAUTH_KERB} && !defined(NO_KERBEROS) && !defined(WITHOUT_KERBEROS) -negotiate_auth= kerberos wrapper -libexec+= negotiate_kerberos_auth negotiate_kerberos_auth_test \ - negotiate_wrapper_auth -PLIST_FILES+= negotiate_kerberos_auth.8.gz -# the kerberos_ldap_group external helper depends on LDAP and SASL: -.if ${PORT_OPTIONS:MAUTH_LDAP} && ${PORT_OPTIONS:MAUTH_SASL} -external_acl+= kerberos_ldap_group -libexec+= ext_kerberos_ldap_group_acl \ - cert_tool -# XXX: this manpage is present in Squid's source but is not being -# built/installed yet (Squid 3.2.3 as at 11/2012). -.endif -.else -negotiate_auth= none -.endif - -CONFIGURE_ARGS+= --enable-auth-basic="${basic_auth}" \ - --enable-auth-digest="${digest_auth}" \ - --enable-external-acl-helpers="${external_acl}" \ - --enable-auth-negotiate="${negotiate_auth}" \ - --enable-auth-ntlm="${ntlm_auth}" - -# Storage schemes: - -storage_schemes= diskd rock ufs -diskio_modules= AIO Blocking DiskDaemon IpcIo Mmapped -.if ${PORT_OPTIONS:MFS_AUFS} -storage_schemes+= aufs -diskio_modules+= DiskThreads -# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS, -# e.g. SQUID_CONFIGURE_ARGS=--with-aufs-threads=N -LDFLAGS+= -pthread -.else -CONFIGURE_ARGS+= --without-pthreads -.endif -.if ${PORT_OPTIONS:MFS_COSS} -storage_schemes+= coss -.endif -CONFIGURE_ARGS+= --enable-storeio="${storage_schemes}" -CONFIGURE_ARGS+= --enable-disk-io="${diskio_modules}" - -# Log daemon helpers: - -logdaemon_helpers= file -CONFIGURE_ARGS+= --enable-log-daemon-helpers="${logdaemon_helpers}" -libexec+= log_file_daemon - -# Rewrite helpers: - -rewrite_helpers= fake -CONFIGURE_ARGS+= --enable-url-rewrite-helpers="${rewrite_helpers}" -libexec+= url_fake_rewrite url_fake_rewrite.sh - -# Other options set via 'make config': - -.if empty(PORT_OPTIONS:MIPV6) || defined(WITHOUT_IPV6) -CONFIGURE_ARGS+= --disable-ipv6 -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-cf.data.pre.noipv6 -.endif -.if ${PORT_OPTIONS:MDELAY_POOLS} -CONFIGURE_ARGS+= --enable-delay-pools -.endif -.if empty(PORT_OPTIONS:MSNMP) -CONFIGURE_ARGS+= --disable-snmp -.endif -.if ${PORT_OPTIONS:MSSL} -# we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only -# works when it is defined before bsd.port{.pre}.mk is .included. -# This makes it currently impossible to combine this macro with OPTIONS to -# conditionally include OpenSSL support. -# XXX: is this still true with OptionsNG as of 2012-10? -.include "${PORTSDIR}/Mk/bsd.openssl.mk" -CONFIGURE_ARGS+= --enable-ssl \ - --with-openssl="${OPENSSLBASE}" -CFLAGS+= -I${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} -.endif -.if ${PORT_OPTIONS:MSSL_CRTD} -CONFIGURE_ARGS+= --enable-ssl-crtd -libexec+= ssl_crtd -.endif -.if ${PORT_OPTIONS:MICMP} -CONFIGURE_ARGS+= --enable-icmp -libexec+= pinger -.endif -.if ${PORT_OPTIONS:MDNS_HELPER} -CONFIGURE_ARGS+= --disable-internal-dns -libexec+= dnsserver -.endif -.if empty(PORT_OPTIONS:MHTCP) -CONFIGURE_ARGS+= --disable-htcp -.else -CONFIGURE_ARGS+= --enable-htcp -.endif -.if ${PORT_OPTIONS:MVIA_DB} -CONFIGURE_ARGS+= --enable-forw-via-db -.else -CONFIGURE_ARGS+= --disable-forw-via-db -.endif -.if ${PORT_OPTIONS:MCACHE_DIGESTS} -CONFIGURE_ARGS+= --enable-cache-digests -.else -CONFIGURE_ARGS+= --disable-cache-digests -.endif -.if ${PORT_OPTIONS:MWCCP} -CONFIGURE_ARGS+= --enable-wccp -.else -CONFIGURE_ARGS+= --disable-wccp -.endif -.if ${PORT_OPTIONS:MWCCPV2} -CONFIGURE_ARGS+= --enable-wccpv2 -.else -CONFIGURE_ARGS+= --disable-wccpv2 -.endif -.if ${PORT_OPTIONS:MSTRICT_HTTP} -CONFIGURE_ARGS+= --disable-http-violations -.endif -.if empty(PORT_OPTIONS:MIDENT) -CONFIGURE_ARGS+= --disable-ident-lookups -.endif -.if ${PORT_OPTIONS:MARP_ACL} -CONFIGURE_ARGS+= --enable-eui -.else -CONFIGURE_ARGS+= --disable-eui -.endif -.if ${PORT_OPTIONS:MTP_IPFW} -CONFIGURE_ARGS+= --enable-ipfw-transparent -.else -CONFIGURE_ARGS+= --disable-ipfw-transparent -.endif -.if ${PORT_OPTIONS:MTP_PF} -CONFIGURE_ARGS+= --enable-pf-transparent -.else -CONFIGURE_ARGS+= --disable-pf-transparent -.endif -.if ${PORT_OPTIONS:MTP_IPF} -CONFIGURE_ARGS+= --enable-ipf-transparent -.else -CONFIGURE_ARGS+= --disable-ipf-transparent -.endif -.if ${PORT_OPTIONS:MFOLLOW_XFF} -CONFIGURE_ARGS+= --enable-follow-x-forwarded-for -.else -CONFIGURE_ARGS+= --disable-follow-x-forwarded-for -.endif -.if ${PORT_OPTIONS:MECAP} -CONFIGURE_ARGS+= --enable-ecap -LIB_DEPENDS+= libecap.so:${PORTSDIR}/www/libecap -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.else -CONFIGURE_ARGS+= --disable-ecap -.endif -.if ${PORT_OPTIONS:MICAP} -CONFIGURE_ARGS+= --enable-icap-client -.else -CONFIGURE_ARGS+= --disable-icap-client -.endif -.if ${PORT_OPTIONS:MESI} -CONFIGURE_ARGS+= --enable-esi -LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 \ - libxml2.so:${PORTSDIR}/textproc/libxml2 -CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 -LDFLAGS+= -L${LOCALBASE}/lib -.else -CONFIGURE_ARGS+= --disable-esi -.endif -.if empty(PORT_OPTIONS:MKQUEUE) -# Squid-3's kqueue support is still marked as experimental, so it is not yet -# enabled automatically as in Squid-2. We are explicit about disabling it, -# nonetheless: -CONFIGURE_ARGS+= --disable-kqueue -.else -CONFIGURE_ARGS+= --enable-kqueue -.endif -.if ${PORT_OPTIONS:MLARGEFILE} -CONFIGURE_ARGS+= --with-large-files -.endif -.if ${PORT_OPTIONS:MSTACKTRACES} -CONFIGURE_ARGS+= --enable-stacktraces -CFLAGS+= -g -STRIP= -.endif -.if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG) -CONFIGURE_ARGS+= --disable-optimizations --enable-debug-cbdata -WITH_DEBUG?= yes -.endif - -# Finally, add additional user specified configuration options: -CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS} - -PLIST_DIRS= %%ETCDIR%%/icons/silk %%ETCDIR%%/icons libexec/squid -PLIST_FILES= ${etc_files:S,^,etc/,} \ - %%ETCDIR%%/icons/SN.png \ - ${icon_silk_files:S,^,%%ETCDIR%%/icons/silk/,} \ - ${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,} \ - man/man8/cachemgr.cgi.8.gz \ - man/man8/basic_db_auth.8.gz \ - man/man8/basic_getpwnam_auth.8.gz \ - man/man8/basic_ncsa_auth.8.gz \ - man/man8/basic_pam_auth.8.gz \ - man/man8/basic_radius_auth.8.gz \ - man/man8/digest_file_auth.8.gz \ - man/man8/ext_file_userip_acl.8.gz \ - man/man8/ext_unix_group_acl.8.gz \ - man/man8/negotiate_kerberos_auth.8.gz \ - man/man8/squid.8.gz \ - man/man1/squidclient.1.gz \ - %%ETCDIR%%/cachemgr.conf \ - %%ETCDIR%%/mime.conf \ - %%ETCDIR%%/msntauth.conf \ - %%ETCDIR%%/squid.conf \ - %%ETCDIR%%/errorpage.css - -PLIST_FILES+= %%ETCDIR%%/errors/COPYRIGHT %%ETCDIR%%/errors/TRANSLATORS -.for d in ${error_dirs} -PLIST_DIRS+= %%ETCDIR%%/errors/${d} -PLIST_FILES+= ${error_files:S,^,%%ETCDIR%%/errors/${d}/,} -.endfor -PLIST_FILES+= ${error_dir_links:S,^,%%ETCDIR%%/errors/,} -PLIST_DIRS+= %%ETCDIR%%/errors -PLIST_DIRSTRY+= %%ETCDIR%% /var/log/squid /var/run/squid \ - /var/squid/cache/squid /var/squid/cache \ - /var/squid/logs /var/squid - -post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/src/cf.data.pre -# Prevent installation of .orig files by deleting them. - @${FIND} ${WRKSRC} -name '*.bak' -delete - @${FIND} ${WRKSRC} -name '*.orig' -delete - -post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/helpers/basic_auth/DB/passwd.sql \ - ${STAGEDIR}${EXAMPLESDIR} -.endif -.if ${PORT_OPTIONS:MICMP} - ${CHMOD} 4510 ${STAGEDIR}${PREFIX}/libexec/squid/pinger; \ - ${CHGRP} squid ${STAGEDIR}${PREFIX}/libexec/squid/pinger -.endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${STAGEDIR}${DOCSDIR} -.endif - ${MKDIR} ${STAGEDIR}/var/squid/logs - -.include <bsd.port.mk> diff --git a/www/squid32/distinfo b/www/squid32/distinfo deleted file mode 100644 index 65148586d13f..000000000000 --- a/www/squid32/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (squid3.2/squid-3.2.13.tar.bz2) = 92144b72088ac93de7a0d387266172238bfd4e36ed90996af676e406c0c64e35 -SIZE (squid3.2/squid-3.2.13.tar.bz2) = 2898293 diff --git a/www/squid32/files/extra-patch-src-cf.data.pre.noipv6 b/www/squid32/files/extra-patch-src-cf.data.pre.noipv6 deleted file mode 100644 index ecb6c38c012c..000000000000 --- a/www/squid32/files/extra-patch-src-cf.data.pre.noipv6 +++ /dev/null @@ -1,13 +0,0 @@ ---- src/cf.data.pre.orig 2013-04-27 05:07:29.000000000 +0200 -+++ src/cf.data.pre 2013-04-28 21:30:23.000000000 +0200 -@@ -733,8 +733,8 @@ - LOC: Config.aclList - DEFAULT: all src all - DEFAULT: manager url_regex -i ^cache_object:// +i ^https?://[^/]+/squid-internal-mgr/ --DEFAULT: localhost src 127.0.0.1/32 ::1 --DEFAULT: to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 -+DEFAULT: localhost src 127.0.0.1/32 -+DEFAULT: to_localhost dst 127.0.0.0/8 0.0.0.0/32 - DEFAULT_DOC: ACLs all, manager, localhost, and to_localhost are predefined. - DOC_START - Defining an Access List diff --git a/www/squid32/files/patch-compat-stdio.h b/www/squid32/files/patch-compat-stdio.h deleted file mode 100644 index ecbb01fb7728..000000000000 --- a/www/squid32/files/patch-compat-stdio.h +++ /dev/null @@ -1,11 +0,0 @@ ---- compat/stdio.h.orig 2013-07-13 15:22:32.000000000 +0200 -+++ compat/stdio.h 2013-11-11 12:56:24.000000000 +0100 -@@ -46,7 +46,7 @@ - #endif /* __USE_FILE_OFFSET64 && !__REDIRECT */ - - // Finally import the <cstdio> stuff we actually use --#if HAVE_CSTDIO -+#if defined(__cplusplus) && HAVE_CSTDIO - #include<cstdio> - #endif - diff --git a/www/squid32/files/patch-configure b/www/squid32/files/patch-configure deleted file mode 100644 index 78f4029929cb..000000000000 --- a/www/squid32/files/patch-configure +++ /dev/null @@ -1,80 +0,0 @@ ---- configure.orig 2013-07-13 10:23:28.000000000 -0300 -+++ configure 2014-02-18 01:53:05.000000000 -0300 -@@ -18416,7 +18416,7 @@ - GCCVER2=`echo $GCCVER | awk '{print $1 * 100}'` - case "$host" in - i386-*-freebsd*) -- if test $GCCVER2 -lt 300 ; then -+ if test "x$GCCVER" != x -a $GCCVER2 -lt 300 ; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 - $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - as_fn_error $? "GCC $GCCVER causes a coredump on $host. -@@ -22154,7 +22154,7 @@ - - done - -- if test "x$ac_heimdal" == "x" ; then -+ if test "x$ac_heimdal" = "x" ; then - for ac_header in gssapi/gssapi_generic.h - do : - ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default" -@@ -22351,7 +22351,7 @@ - - - ac_com_error_message=no -- if test "x$ac_cv_header_com_err_h" == "xyes" ; then -+ if test "x$ac_cv_header_com_err_h" = "xyes" ; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include <com_err.h> -@@ -22363,7 +22363,7 @@ - fi - rm -f conftest* - -- elif test "x$ac_cv_header_et_com_err_h" == "xyes" ; then -+ elif test "x$ac_cv_header_et_com_err_h" = "xyes" ; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - #include <et/com_err.h> -@@ -22424,7 +22424,7 @@ - - fi - -- if test `echo $KRB5LIBS | grep -c com_err` -ne 0 -a "x$ac_com_error_message" == "xyes" ; then -+ if test `echo $KRB5LIBS | grep -c com_err` -ne 0 -a "x$ac_com_error_message" = "xyes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5 - $as_echo_n "checking for error_message in -lcom_err... " >&6; } - if ${ac_cv_lib_com_err_error_message+:} false; then : -@@ -22467,7 +22467,7 @@ - - fi - -- elif test "x$ac_com_error_message" == "xyes" ; then -+ elif test "x$ac_com_error_message" = "xyes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lkrb5" >&5 - $as_echo_n "checking for error_message in -lkrb5... " >&6; } - if ${ac_cv_lib_krb5_error_message+:} false; then : -@@ -24033,6 +24033,7 @@ - cassert \ - crypt.h \ - cstdarg \ -+ cstdio \ - cstdlib \ - cstring \ - list \ -@@ -24341,12 +24342,12 @@ - #if HAVE_NETINET_IP_H - #include <netinet/ip.h> - #endif --#if HAVE_NETINET_IP_COMPAT_H --#include <netinet/ip_compat.h> --#endif - #if HAVE_NET_IF_H - #include <net/if.h> - #endif -+#if HAVE_NETINET_IP_COMPAT_H -+#include <netinet/ip_compat.h> -+#endif - #if HAVE_NETINET_IP_FIL_H - #include <netinet/ip_fil.h> - #endif diff --git a/www/squid32/files/patch-include-Array.h b/www/squid32/files/patch-include-Array.h deleted file mode 100644 index 3cabae2cbeca..000000000000 --- a/www/squid32/files/patch-include-Array.h +++ /dev/null @@ -1,33 +0,0 @@ ---- include/Array.h.orig 2013-07-13 15:22:32.000000000 +0200 -+++ include/Array.h 2013-11-11 13:32:43.000000000 +0100 -@@ -44,12 +44,19 @@ - #include "compat/assert.h" - - /* iterator support */ -+#include <iterator> - - template <class C> - class VectorIteratorBase - { - - public: -+ typedef typename C::value_type value_type; -+ typedef std::forward_iterator_tag iterator_category; -+ typedef typename C::pointer pointer; -+ typedef typename C::reference reference; -+ typedef typename C::difference_type difference_type; -+ - VectorIteratorBase(); - VectorIteratorBase(C &); - VectorIteratorBase(size_t, C &); -@@ -81,8 +88,10 @@ - public: - typedef E value_type; - typedef E* pointer; -+ typedef E& reference; - typedef VectorIteratorBase<Vector<E> > iterator; - typedef VectorIteratorBase<Vector<E> const> const_iterator; -+ typedef ptrdiff_t difference_type; - - void *operator new (size_t); - void operator delete (void *); diff --git a/www/squid32/files/patch-include-autoconf.h.in b/www/squid32/files/patch-include-autoconf.h.in deleted file mode 100644 index d725c56ff4b1..000000000000 --- a/www/squid32/files/patch-include-autoconf.h.in +++ /dev/null @@ -1,12 +0,0 @@ ---- include/autoconf.h.in.orig 2013-07-13 15:22:53.000000000 +0200 -+++ include/autoconf.h.in 2013-11-11 13:04:46.000000000 +0100 -@@ -151,6 +151,9 @@ - /* Define to 1 if you have the <cstdarg> header file. */ - #undef HAVE_CSTDARG - -+/* Define to 1 if you have the <cstdio> header file. */ -+#undef HAVE_CSTDIO -+ - /* Define to 1 if you have the <cstdlib> header file. */ - #undef HAVE_CSTDLIB - diff --git a/www/squid32/files/patch-src-cf.data.pre b/www/squid32/files/patch-src-cf.data.pre deleted file mode 100644 index b3831a3132ef..000000000000 --- a/www/squid32/files/patch-src-cf.data.pre +++ /dev/null @@ -1,13 +0,0 @@ ---- src/cf.data.pre.orig 2012-10-20 14:39:49.000000000 +0200 -+++ src/cf.data.pre 2012-10-28 11:28:18.000000000 +0100 -@@ -3479,6 +3479,10 @@ - LOC: Config.pidFilename - DOC_START - A filename to write the process-id to. To disable, enter "none". -+ -+ Note: If you change this setting, you need to set squid_pidfile -+ in /etc/rc.conf to reflect the new value. Please see -+ %%PREFIX%%/etc/rc.d/squid for details. - DOC_END - - NAME: log_fqdn diff --git a/www/squid32/files/pkg-install.in b/www/squid32/files/pkg-install.in deleted file mode 100644 index 83356057826d..000000000000 --- a/www/squid32/files/pkg-install.in +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -PATH=/bin:/usr/bin:/usr/sbin -pkgname=$1 -squid_homedir="/var/squid" -squid_cache_basedir="${squid_homedir}/cache" -squid_confdir="${PKG_PREFIX:-%%PREFIX%%}/etc/squid" -squid_logdir="/var/log/squid" -squid_rundir="/var/run/squid" -# these are hardcoded, see /usr/ports/UIDs and /usr/ports/GIDs: -squid_user=squid -squid_group=squid -squid_gid=100 -squid_uid=100 -case $2 in -PRE-INSTALL) - echo "===> Pre-installation configuration for ${pkgname}" - ;; -POST-INSTALL) - # Since we usually start the Squid master process as ${squid_user} - # instead of root make sure that ${squid_homedir} is writable for it. - if [ ! -d ${squid_homedir} ]; then - echo "Creating ${squid_homedir}..." - install -d -o root -g ${squid_group} \ - -m 0775 ${squid_homedir} - else - chgrp ${squid_group} ${squid_homedir} - chmod g+w ${squid_homedir} - fi - if [ ! -d ${squid_cache_basedir} ]; then - echo "Creating ${squid_cache_basedir} ..." - install -d -o ${squid_user} -g ${squid_group} \ - -m 0750 ${squid_cache_basedir} - else - chown ${squid_user} ${squid_cache_basedir} - chgrp ${squid_group} ${squid_cache_basedir} - chmod 0750 ${squid_cache_basedir} - fi - if [ ! -d ${squid_confdir} ]; then - echo "Creating ${squid_confdir}..." - install -d -o root -g ${squid_group} \ - -m 0755 ${squid_confdir} - else - chgrp ${squid_group} ${squid_confdir} - fi - if [ ! -d ${squid_logdir} ]; then - echo "Creating ${squid_logdir}..." - install -d -o ${squid_user} -g ${squid_group} \ - -m 0750 ${squid_logdir} - else - chown ${squid_user} ${squid_logdir} - chgrp ${squid_group} ${squid_logdir} - fi - if [ ! -d ${squid_rundir} ]; then - echo "Creating ${squid_rundir}..." - install -d -o ${squid_user} -g ${squid_group} \ - -m 0755 ${squid_rundir} - else - chown ${squid_user} ${squid_rundir} - chgrp ${squid_group} ${squid_rundir} - fi - for file in cachemgr.conf errorpage.css mime.conf msntauth.conf squid.conf; do - if [ ! -f ${squid_confdir}/${file} \ - -a -f ${squid_confdir}/${file}.default ]; then - echo "Creating ${file} from default..." - install -c -o root -g ${squid_group} -m 0640 \ - ${squid_confdir}/${file}.default \ - ${squid_confdir}/${file} - fi - done - ;; -*) - exit 64 - ;; -esac -exit 0 diff --git a/www/squid32/files/pkg-message.in b/www/squid32/files/pkg-message.in deleted file mode 100644 index 0624eb361b76..000000000000 --- a/www/squid32/files/pkg-message.in +++ /dev/null @@ -1,33 +0,0 @@ - o You can find the configuration files for this package in the - directory %%PREFIX%%/etc/squid. - - o The default cache directory is /var/squid/cache/squid/. - The default log directory is /var/log/squid/. - - Note: - You must initialize new cache directories before you can start - squid. Do this by running "squid -z" as 'root' or 'squid'. - If your cache directories are already initialized (e.g. after an - upgrade of squid) you do not need to initialize them again. - - o The default configuration will deny everyone but the local host and - local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and - 4291 for IPv6 access to the proxy service. Edit the "http_access - allow/deny" directives in %%PREFIX%%/etc/squid/squid.conf - to suit your needs. - - To enable Squid, set squid_enable=yes in either - /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid - Please see %%PREFIX%%/etc/rc.d/squid for further details. - - Note: - If you just updated your Squid installation from an earlier version, - make sure to check your Squid configuration against the 3.2 default - configuration file %%PREFIX%%/etc/squid/squid.conf.default. - - %%PREFIX%%/etc/squid/squid.conf.documented is a fully annotated - configuration file you can consult for further reference. - - Additionally, you should check your configuration by calling - 'squid -f /path/to/squid.conf -k parse' before starting Squid. - diff --git a/www/squid32/files/squid.in b/www/squid32/files/squid.in deleted file mode 100644 index 81695299345f..000000000000 --- a/www/squid32/files/squid.in +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: squid -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Note: -# Set "squid_enable=yes" in either /etc/rc.conf, /etc/rc.conf.local or -# /etc/rc.conf.d/squid to activate Squid. -# -# Additional variables you can define in one of these files: -# -# squid_chdir: the directory into which the rc system moves into before -# starting Squid. Default: /var/squid -# -# squid_conf: The configuration file that Squid should use. -# Default: %%PREFIX%%/etc/squid/squid.conf -# -# squid_fib: The alternative routing table id that Squid should use. -# Default: none -# See setfib(1) for further details. Note that the setfib(2) -# system call is not available in FreeBSD versions prior to 7.1. -# -# squid_user: The user id that should be used to run the Squid master -# process. Default: squid. -# Note that you probably need to define "squid_user=root" if -# you want to run Squid in reverse proxy setups or if you want -# Squid to listen on a "privileged" port < 1024. -# -# squid_pidfile: -# The name (including the full path) of the Squid -# master process' PID file. -# Default: /var/run/squid/squid.pid. -# You only need to change this if you changed the -# corresponding entry in your Squid configuration. -# -# squid_flags: Additional commandline arguments for Squid you might want to -# use. See squid(8) for further details. -# - -. /etc/rc.subr - -name=squid -rcvar=squid_enable - -load_rc_config ${name} - -: ${squid_chdir:=/var/squid} -: ${squid_conf:=%%PREFIX%%/etc/squid/squid.conf} -: ${squid_enable:=NO} -: ${squid_pidfile:=/var/run/squid/squid.pid} -: ${squid_user:=squid} - -command=%%PREFIX%%/sbin/squid - -# Make sure that we invoke squid with "-f ${squid_conf}"; define this -# variable early so reload_cmd and stop_precmd pick it up: - -command_args="-f ${squid_conf}" -extra_commands=reload -reload_cmd="${command} ${command_args} ${squid_flags} -k reconfigure" -start_precmd=squid_setfib -stop_precmd="${command} ${command_args} ${squid_flags} -k check 2>/dev/null" -stop_cmd=squid_stop - -pidfile=${squid_pidfile} -procname=squid-1 -required_dirs=${squid_chdir} - -# squid(8) will not start if ${squid_conf} is not present so try -# to catch that beforehand via ${required_files} rather than make -# squid(8) crash. - -required_files=${squid_conf} - -squid_setfib() -{ - if command -v check_namevarlist > /dev/null 2>&1; then - check_namevarlist fib && return 0 - fi - - ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 - - squid_fib=${squid_fib:-"NONE"} - if [ "x${squid_fib}" != "xNONE" ]; then - command="setfib -F ${squid_fib} ${command}" - else - return 0 - fi -} - -squid_stop() -{ - echo "Stopping ${name}." - ${command} ${command_args} ${squid_flags} -k shutdown - run_rc_command poll -} - -run_rc_command $1 diff --git a/www/squid32/pkg-deinstall b/www/squid32/pkg-deinstall deleted file mode 100644 index e1c103ae57c2..000000000000 --- a/www/squid32/pkg-deinstall +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -PATH=/bin:/usr/bin:/usr/sbin -squid_homedir="/var/squid" -squid_cache_basedir="${squid_homedir}/cache" -squid_confdir=${PKG_PREFIX}/etc/squid -squid_logdir="/var/log/squid" -squid_rundir="/var/run/squid" - -case $2 in -DEINSTALL) - cd ${squid_confdir} || exit 1 - for f in cachemgr.conf errorpage.css mime.conf msntauth.conf squid.conf; do - cmp -s -z ${f} ${f}.default && rm ${f} - done - # try to cleanup directories in /var: - for d in ${squid_cache_basedir}/squid ${squid_cache_basedir} ${squid_homedir} ${squid_logdir} ${squid_rundir}; do - rmdir ${d} 2>/dev/null - done - ;; -POST-DEINSTALL) - echo "===> post-deinstallation information for $1:" - echo "" - echo " Note:" - echo " Squid related user accounts and groups were not removed." - echo "" - echo " To remove the 'squid' user and the 'squid' group which were" - echo " created by a default installation of this package, run" - echo "" - echo " pw userdel -n squid -u 100" - if [ -d ${squid_homedir} -o -d ${squid_confdir} -o -d ${squid_logdir} -o -d ${squid_rundir} ] ; then - echo "" - echo " In order to ease updates the cache and log directories" - echo " and all configuration files modified by you were preserved." - echo "" - echo " Please remove them manually if you do not want to use" - echo " Squid any longer." - fi - echo "" - ;; -*) - exit 64 - ;; -esac -exit 0 diff --git a/www/squid32/pkg-descr b/www/squid32/pkg-descr deleted file mode 100644 index bf8b272763c4..000000000000 --- a/www/squid32/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite) -HTTP/1.1 compliant. Squid offers a rich access control, authorization and -logging environment to develop web proxy and content serving applications. - -WWW: http://www.squid-cache.org/ diff --git a/www/videocache/Makefile b/www/videocache/Makefile deleted file mode 100644 index 0a37e2c9ccc9..000000000000 --- a/www/videocache/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Created by: Murilo Opsfelder <mopsfelder@gmail.com> -# $FreeBSD$ - -PORTNAME= videocache -PORTVERSION= 1.9.2 -CATEGORIES= www -MASTER_SITES= http://secure.thrallingpenguin.com/hosting_files/ \ - http://distcache.freebsd.org/ports-distfiles/ \ - http://old.cachevideos.com/sites/default/files/pub/videocache/ - -MAINTAINER= mopsfelder@gmail.com -COMMENT= Squid URL rewriter for bandwidth optimization - -DEPRECATED= Depends on www/squid which is two years past EOL -EXPIRATION_DATE=2014-09-15 - -RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid \ - ${PYTHON_SITELIBDIR}/urlgrabber/grabber.py:${PORTSDIR}/www/py-urlgrabber \ - ${PYTHON_SITELIBDIR}/iniparse/ini.py:${PORTSDIR}/devel/py-iniparse - -NO_BUILD= yes -USE_PYTHON= yes - -PORTDOCS= CHANGELOG COPYING Readme -PORTEXAMPLES= squid.conf -SUB_FILES= pkg-message - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/update-vc ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/videocache.8.gz ${STAGEDIR}${MAN1PREFIX}/man/man8 - ${INSTALL_DATA} ${WRKSRC}/videocache-sysconfig.conf ${STAGEDIR}${PREFIX}/etc/videocache.conf.sample - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/videocache/*.py ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${FILESDIR}/squid.conf.example ${STAGEDIR}${EXAMPLESDIR}/squid.conf - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} -.endfor - -.include <bsd.port.mk> diff --git a/www/videocache/distinfo b/www/videocache/distinfo deleted file mode 100644 index b50b62842e60..000000000000 --- a/www/videocache/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (videocache-1.9.2.tar.gz) = 2c267b8d8e61e4cb623515253af499057e25a70699f0193e1a055f3e434bbb2a -SIZE (videocache-1.9.2.tar.gz) = 67572 diff --git a/www/videocache/files/pkg-message.in b/www/videocache/files/pkg-message.in deleted file mode 100644 index 391fca09d838..000000000000 --- a/www/videocache/files/pkg-message.in +++ /dev/null @@ -1,3 +0,0 @@ -See the following sample file to configure your ACL's on squid.conf: - - %%EXAMPLESDIR%%/squid.conf diff --git a/www/videocache/files/squid.conf.example b/www/videocache/files/squid.conf.example deleted file mode 100644 index 163ac52ed6e8..000000000000 --- a/www/videocache/files/squid.conf.example +++ /dev/null @@ -1,32 +0,0 @@ -============================================================================== - -Add the following sample lines to your squid.conf: - -# --BEGIN-- videocache config for squid -url_rewrite_program %%PREFIX%%/bin/python %%DATADIR%%/videocache/videocache.py -url_rewrite_children 7 -acl videocache_allow_url url_regex -i \.youtube\.com\/get_video\? -acl videocache_allow_url url_regex -i \.googlevideo\.com\/videoplayback \.googlevideo\.com\/videoplay \.googlevideo\.com\/get_video\? -acl videocache_allow_url url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\? -acl videocache_allow_url url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\? -acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\? -acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\? -acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\? -acl videocache_allow_url url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/ -acl videocache_allow_url url_regex -i vid\.akm\.dailymotion\.com\/ -acl videocache_allow_url url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv -acl videocache_allow_url url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/ -acl videocache_allow_url url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]? -acl videocache_allow_url url_regex -i \.files\.youporn\.com\/(.*)\/flv\/ -acl videocache_allow_url url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv -acl videocache_allow_url url_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\.ta-z0-9]?[a-z0-9]?\.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram) -acl videocache_allow_url url_regex -i video\.break\.com\/(.*)\.(flv|mp4) -acl videocache_allow_dom dstdomain .mccont.com dl.redtube.com .cdn.dailymotion.com -acl videocache_deny_url url_regex -i http:\/\/[a-z][a-z]\.youtube\.com http:\/\/www\.youtube\.com -url_rewrite_access deny videocache_deny_url -url_rewrite_access allow videocache_allow_url -url_rewrite_access allow videocache_allow_dom -redirector_bypass on -# --END-- videocache config for squid - -============================================================================== diff --git a/www/videocache/pkg-descr b/www/videocache/pkg-descr deleted file mode 100644 index 0d7dff602c15..000000000000 --- a/www/videocache/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Videocache is a Squid URL rewriter plugin written in Python -for bandwidth optimization while browsing famous video -sharing portals/websites like Youtube, Metacafe etc. -It helps you save bandwidth when a particular video is -requested more than once from the same network/machine. - -WWW: http://www.cachevideos.com/ diff --git a/www/videocache/pkg-plist b/www/videocache/pkg-plist deleted file mode 100644 index 84151e0360b6..000000000000 --- a/www/videocache/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -bin/update-vc -@sample etc/videocache.conf.sample -%%DATADIR%%/Errors.py -%%DATADIR%%/__init__.py -%%DATADIR%%/config.py -%%DATADIR%%/parser.py -%%DATADIR%%/videocache.py -man/man8/videocache.8.gz -@dirrm %%DATADIR%% |