update to 20110617 [release 20110617-1mamba;Fri Jun 17 2011]
This commit is contained in:
parent
0f226c7c15
commit
90ae1c3b7d
@ -1,2 +1,4 @@
|
||||
# squidGuard-blacklists-UT1
|
||||
|
||||
UT1 (Université Toulouse 1) content filtering blacklists for squidGuard.
|
||||
|
||||
|
237
squidGuard-blacklists-UT1-conf
Normal file
237
squidGuard-blacklists-UT1-conf
Normal file
@ -0,0 +1,237 @@
|
||||
logdir /var/log/squid
|
||||
dbhome /var/lib/squidGuard/db
|
||||
|
||||
dest ads {
|
||||
domainlist blacklists/ads/domains
|
||||
expressionlist blacklists/ads/expressions
|
||||
urllist blacklists/ads/urls
|
||||
}
|
||||
|
||||
dest adult {
|
||||
domainlist blacklists/adult/domains
|
||||
expressionlist blacklists/adult/expressions
|
||||
urllist blacklists/adult/urls
|
||||
}
|
||||
|
||||
dest aggressive {
|
||||
domainlist blacklists/aggressive/domains
|
||||
expressionlist blacklists/aggressive/expressions
|
||||
urllist blacklists/aggressive/urls
|
||||
}
|
||||
|
||||
dest arjel {
|
||||
domainlist blacklists/arjel/domains
|
||||
}
|
||||
|
||||
dest astrology {
|
||||
domainlist blacklists/astrology/domains
|
||||
urllist blacklists/astrology/urls
|
||||
}
|
||||
|
||||
dest audio-video {
|
||||
domainlist blacklists/audio-video/domains
|
||||
urllist blacklists/audio-video/urls
|
||||
}
|
||||
|
||||
dest bank {
|
||||
domainlist blacklists/bank/domains
|
||||
}
|
||||
|
||||
dest blog {
|
||||
domainlist blacklists/blog/domains
|
||||
urllist blacklists/blog/urls
|
||||
}
|
||||
|
||||
dest celebrity {
|
||||
domainlist blacklists/celebrity/domains
|
||||
urllist blacklists/celebrity/urls
|
||||
}
|
||||
|
||||
dest chat {
|
||||
domainlist blacklists/chat/domains
|
||||
urllist blacklists/chat/urls
|
||||
}
|
||||
|
||||
dest child {
|
||||
domainlist blacklists/child/domains
|
||||
urllist blacklists/child/urls
|
||||
}
|
||||
|
||||
dest cleaning {
|
||||
domainlist blacklists/cleaning/domains
|
||||
urllist blacklists/cleaning/urls
|
||||
}
|
||||
|
||||
dest dangerous_material {
|
||||
domainlist blacklists/dangerous_material/domains
|
||||
urllist blacklists/dangerous_material/urls
|
||||
}
|
||||
|
||||
dest dating {
|
||||
domainlist blacklists/dating/domains
|
||||
urllist blacklists/dating/urls
|
||||
}
|
||||
|
||||
dest drugs {
|
||||
domainlist blacklists/drugs/domains
|
||||
urllist blacklists/drugs/urls
|
||||
}
|
||||
|
||||
dest filehosting {
|
||||
domainlist blacklists/filehosting/domains
|
||||
urllist blacklists/filehosting/urls
|
||||
}
|
||||
|
||||
dest financial {
|
||||
domainlist blacklists/financial/domains
|
||||
urllist blacklists/financial/urls
|
||||
}
|
||||
|
||||
dest forums {
|
||||
domainlist blacklists/forums/domains
|
||||
expressionlist blacklists/forums/expressions
|
||||
urllist blacklists/forums/urls
|
||||
}
|
||||
|
||||
dest gambling {
|
||||
domainlist blacklists/gambling/domains
|
||||
urllist blacklists/gambling/urls
|
||||
}
|
||||
|
||||
dest games {
|
||||
domainlist blacklists/games/domains
|
||||
urllist blacklists/games/urls
|
||||
}
|
||||
|
||||
dest hacking {
|
||||
domainlist blacklists/hacking/domains
|
||||
urllist blacklists/hacking/urls
|
||||
}
|
||||
|
||||
dest jobsearch {
|
||||
domainlist blacklists/jobsearch/domains
|
||||
}
|
||||
|
||||
dest liste_bu {
|
||||
domainlist blacklists/liste_bu/domains
|
||||
urllist blacklists/liste_bu/urls
|
||||
}
|
||||
|
||||
dest malware {
|
||||
domainlist blacklists/malware/domains
|
||||
expressionlist blacklists/malware/expressions
|
||||
urllist blacklists/malware/urls
|
||||
}
|
||||
|
||||
dest manga {
|
||||
domainlist blacklists/manga/domains
|
||||
urllist blacklists/manga/urls
|
||||
}
|
||||
|
||||
dest marketingware {
|
||||
domainlist blacklists/marketingware/domains
|
||||
urllist blacklists/marketingware/urls
|
||||
}
|
||||
|
||||
dest mixed_adult {
|
||||
domainlist blacklists/mixed_adult/domains
|
||||
urllist blacklists/mixed_adult/urls
|
||||
}
|
||||
|
||||
dest mobile-phone {
|
||||
domainlist blacklists/mobile-phone/domains
|
||||
urllist blacklists/mobile-phone/urls
|
||||
}
|
||||
|
||||
dest phishing {
|
||||
domainlist blacklists/phishing/domains
|
||||
urllist blacklists/phishing/urls
|
||||
}
|
||||
|
||||
dest press {
|
||||
domainlist blacklists/press/domains
|
||||
urllist blacklists/press/urls
|
||||
}
|
||||
|
||||
dest radio {
|
||||
domainlist blacklists/radio/domains
|
||||
urllist blacklists/radio/urls
|
||||
}
|
||||
|
||||
dest reaffected {
|
||||
domainlist blacklists/reaffected/domains
|
||||
urllist blacklists/reaffected/urls
|
||||
}
|
||||
|
||||
dest redirector {
|
||||
domainlist blacklists/redirector/domains
|
||||
expressionlist blacklists/redirector/expressions
|
||||
urllist blacklists/redirector/urls
|
||||
}
|
||||
|
||||
dest remote-control {
|
||||
domainlist blacklists/remote-control/domains
|
||||
urllist blacklists/remote-control/urls
|
||||
}
|
||||
|
||||
dest sect {
|
||||
domainlist blacklists/sect/domains
|
||||
urllist blacklists/sect/urls
|
||||
}
|
||||
|
||||
dest sexual_education {
|
||||
domainlist blacklists/sexual_education/domains
|
||||
urllist blacklists/sexual_education/urls
|
||||
}
|
||||
|
||||
dest shopping {
|
||||
domainlist blacklists/shopping/domains
|
||||
urllist blacklists/shopping/urls
|
||||
}
|
||||
|
||||
dest social_networks {
|
||||
domainlist blacklists/social_networks/domains
|
||||
}
|
||||
|
||||
dest sports {
|
||||
domainlist blacklists/sports/domains
|
||||
}
|
||||
|
||||
dest strict_redirector {
|
||||
domainlist blacklists/strict_redirector/domains
|
||||
expressionlist blacklists/strict_redirector/expressions
|
||||
urllist blacklists/strict_redirector/urls
|
||||
}
|
||||
|
||||
dest strong_redirector {
|
||||
domainlist blacklists/strong_redirector/domains
|
||||
expressionlist blacklists/strong_redirector/expressions
|
||||
urllist blacklists/strong_redirector/urls
|
||||
}
|
||||
|
||||
dest tricheur {
|
||||
domainlist blacklists/tricheur/domains
|
||||
urllist blacklists/tricheur/urls
|
||||
}
|
||||
|
||||
dest warez {
|
||||
domainlist blacklists/warez/domains
|
||||
expressionlist blacklists/warez/expressions
|
||||
urllist blacklists/warez/urls
|
||||
}
|
||||
|
||||
dest webmail {
|
||||
domainlist blacklists/webmail/domains
|
||||
urllist blacklists/webmail/urls
|
||||
}
|
||||
|
||||
dest white {
|
||||
domainlist blacklists/white/domains
|
||||
}
|
||||
|
||||
acl {
|
||||
default {
|
||||
pass white !ads !adult !aggressive !arjel !audio-video !drugs !gambling !malware !manga !phishing !redirector !strict_redirector !strong_redirector !tricheur !warez
|
||||
redirect http://localhost/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&url=%u
|
||||
}
|
||||
}
|
69
squidGuard-blacklists-UT1.spec
Normal file
69
squidGuard-blacklists-UT1.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: squidGuard-blacklists-UT1
|
||||
Version: 20110617
|
||||
Release: 1mamba
|
||||
Summary: UT1 (Université Toulouse 1) content filtering blacklists for squidGuard
|
||||
Group: Network/Monitoring
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://cri.univ-tlse1.fr/blacklists/
|
||||
Source0: ftp://ftp.univ-tlse1.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz
|
||||
Source1: %{name}-conf
|
||||
License: Public Domain
|
||||
Provides: squidguard_blacklists
|
||||
BuildArch: noarch
|
||||
Requires(post):squidGuard
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
UT1 (Université Toulouse 1) content filtering blacklists for squidGuard.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
install -d %{buildroot}/var/lib/squidGuard/db
|
||||
tar xzvf %{S:0} -C %{buildroot}/var/lib/squidGuard/db
|
||||
|
||||
# fix permissions
|
||||
find %{buildroot}/var/lib/squidGuard/db/ -type d \
|
||||
-exec chmod 700 {} \;
|
||||
|
||||
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/squid/squidGuard.conf
|
||||
|
||||
install -d %{buildroot}/var/lib/squidGuard/db/blacklists/white
|
||||
touch %{buildroot}/var/lib/squidGuard/db/blacklists/white/domains
|
||||
|
||||
install -d %{buildroot}/var/lib/squidGuard/db/blacklists/custom
|
||||
touch %{buildroot}/var/lib/squidGuard/db/blacklists/custom/domains
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
if [ $1 -ge 1 ]; then
|
||||
squidGuard -C all -c %{_sysconfdir}/squid/squidGuard.conf
|
||||
chown squid.squid %{_localstatedir}/lib/squidGuard/db/blacklists/* -R
|
||||
fi
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %{_sysconfdir}/squid/squidGuard.conf
|
||||
%dir %attr(0700,squid,squid) %{_localstatedir}/lib/squidGuard/db/blacklists
|
||||
%attr(0700,squid,squid) %{_localstatedir}/lib/squidGuard/db/blacklists
|
||||
%config(noreplace) %{_localstatedir}/lib/squidGuard/db/blacklists/white/domains
|
||||
%config(noreplace) %{_localstatedir}/lib/squidGuard/db/blacklists/custom/domains
|
||||
|
||||
%changelog
|
||||
* Fri Jun 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 20110617-1mamba
|
||||
- update to 20110617
|
||||
|
||||
* Mon May 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 20110412-2mamba
|
||||
- configured for whitelist support
|
||||
|
||||
* Tue Apr 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 20110412-1mamba
|
||||
- package created
|
Loading…
Reference in New Issue
Block a user