bin/squidGuard @unexec if cmp -s %D/etc/squid/squidGuard.conf.sample %D/etc/squid/squidGuard.conf; then rm -f %D/etc/squid/squidGuard.conf; fi etc/squid/squidGuard.conf.sample @exec if [ ! -f %D/etc/squid/squidGuard.conf ]; then cp -p %D/%F %B/squidGuard.conf; fi %%PORTDOCS%%%%DOCSDIR%%/LDAPFlow.txt %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/authentication.html %%PORTDOCS%%%%DOCSDIR%%/authentication.txt %%PORTDOCS%%%%DOCSDIR%%/configuration.html %%PORTDOCS%%%%DOCSDIR%%/configuration.txt %%PORTDOCS%%%%DOCSDIR%%/configure.html %%PORTDOCS%%%%DOCSDIR%%/configure.txt %%PORTDOCS%%%%DOCSDIR%%/expressionlist.html %%PORTDOCS%%%%DOCSDIR%%/expressionlist.txt %%PORTDOCS%%%%DOCSDIR%%/extended.html %%PORTDOCS%%%%DOCSDIR%%/extended.txt %%PORTDOCS%%%%DOCSDIR%%/faq.html %%PORTDOCS%%%%DOCSDIR%%/faq.txt %%PORTDOCS%%%%DOCSDIR%%/features.html %%PORTDOCS%%%%DOCSDIR%%/features.txt %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTDOCS%%%%DOCSDIR%%/install.html %%PORTDOCS%%%%DOCSDIR%%/install.txt %%PORTDOCS%%%%DOCSDIR%%/installation.html %%PORTDOCS%%%%DOCSDIR%%/installation.txt %%PORTDOCS%%%%DOCSDIR%%/ldap-ad-tips.html %%PORTDOCS%%%%DOCSDIR%%/ldap-ad-tips.txt %%PORTDOCS%%%%DOCSDIR%%/ldap.html %%PORTDOCS%%%%DOCSDIR%%/ldap.txt %%PORTDOCS%%%%DOCSDIR%%/runtimeops.html %%PORTDOCS%%%%DOCSDIR%%/runtimeops.txt %%PORTDOCS%%%%DOCSDIR%%/troubleshoot.html %%PORTDOCS%%%%DOCSDIR%%/troubleshoot.txt %%PORTDOCS%%%%DOCSDIR%%/squidGuard.gif %%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/ads/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/ads/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/ads %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/aggressive/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/aggressive/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/aggressive %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/audio-video/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/audio-video/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/audio-video %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/drugs/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/drugs/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/drugs %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/gambling/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/gambling/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/gambling %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/hacking/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/hacking/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/hacking %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/mail/domains %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/mail %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/porn/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/porn/expressions %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/porn/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/porn %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/proxy/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/proxy/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/proxy %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/violence/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/violence/expressions %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/violence/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/violence %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/warez/domains %%PORTEXAMPLES%%%%EXAMPLESDIR%%/blacklists/warez/urls %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists/warez %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/blacklists %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.blacklists %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTEXAMPLES%%@exec chown -R %%SQUID_UID%%:%%SQUID_GID%% %D/%%EXAMPLESDIR%%/blacklists %%PORTEXAMPLES%%@exec chmod -R 550 %D/%%EXAMPLESDIR%%/blacklists @exec mkdir -p %%DATADIR%% || true @exec mkdir -p %%LOGDIR%% || true %%PORTEXAMPLES%%@exec chown -R %%SQUID_UID%%:%%SQUID_GID%% %%LOGDIR%% @unexec rmdir %%DATADIR%% 2>/dev/null || true @unexec rmdir %%LOGDIR%% 2>/dev/null || true