1 |
%define name smeserver-dansguardian-panel |
%define name smeserver-dansguardian-panel |
2 |
%define version 2.11 |
%define version 2.11 |
3 |
%define release 6 |
%define release 13 |
4 |
Summary: SMEserver panel to set up dansguardian to filter www content. |
Summary: SMEserver panel to set up dansguardian to filter www content. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
13 |
Patch0: smeserver-dansguardian-panel-2.11-locale-2013-07-14.patch |
Patch0: smeserver-dansguardian-panel-2.11-locale-2013-07-14.patch |
14 |
Patch1: smeserver-dansguardian-panel-2.11-x64sup.patch |
Patch1: smeserver-dansguardian-panel-2.11-x64sup.patch |
15 |
Patch2: smeserver-dansguardian-panel-2.11-locale-2016-03-09.patch |
Patch2: smeserver-dansguardian-panel-2.11-locale-2016-03-09.patch |
16 |
|
Patch3: smeserver-dansguardian-panel-2.11-MainConfigTemplates.patch |
17 |
|
Patch4: smeserver-dansguardian-panel-2.11-locale-2016-05-26.patch |
18 |
|
Patch5: smeserver-dansguardian-panel-2.11-newPerlModulesPath.patch |
19 |
|
Patch6: smeserver-dansguardian-panel-2.11-locale-2017-02-02.patch |
20 |
|
Patch7: smeserver-dansguardian-panel-2.11-locale-2017-12-02.patch |
21 |
|
Patch8: smeserver-dansguardian-panel-2.11-locale-2018-12-17.patch |
22 |
|
Patch9: smeserver-dansguardian-panel-2.11-navigation.patch |
23 |
Packager: Stephen Noble <support@dungog.net> |
Packager: Stephen Noble <support@dungog.net> |
24 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
39 |
Requires dansguardian and smeserver-dansguardian |
Requires dansguardian and smeserver-dansguardian |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Mon Dec 17 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 2.11-13 |
43 |
|
- Update URL wiki help |
44 |
|
- fix unknown nagivation panel error [SME: 9526] |
45 |
|
- jump release number from 12-13 due to numbering error |
46 |
|
|
47 |
|
* Sun Dec 09 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 2.11-11 |
48 |
|
- apply locale 2018-12-17 patch |
49 |
|
|
50 |
|
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.11-10 |
51 |
|
- apply locale 2017-12-02 patch |
52 |
|
|
53 |
|
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-9.sme |
54 |
|
- apply local 2017-02-02.patch |
55 |
|
|
56 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-8.sme |
57 |
|
- fix wrong path to module [SME: 9526] |
58 |
|
|
59 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-7.sme |
60 |
|
- fix needing new dansguardian.conf template [SME: 9526] |
61 |
|
- thank you to Steve Semple to parse the file |
62 |
|
- apply locale 2016-05-26 patch |
63 |
|
|
64 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.11-6.sme |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.11-6.sme |
65 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
66 |
|
|
229 |
%patch0 -p1 |
%patch0 -p1 |
230 |
%patch1 -p1 |
%patch1 -p1 |
231 |
%patch2 -p1 |
%patch2 -p1 |
232 |
|
%patch3 -p1 |
233 |
|
%patch4 -p1 |
234 |
|
%patch5 -p1 |
235 |
|
%patch6 -p1 |
236 |
|
%patch7 -p1 |
237 |
|
%patch8 -p1 |
238 |
|
%patch9 -p1 |
239 |
|
|
240 |
%build |
%build |
241 |
perl createlinks |
perl createlinks |
249 |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
250 |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
251 |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
252 |
|
echo "none" > root/etc/e-smith/db/dungog/defaults/dansguardian/contentscanner |
253 |
|
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/reportinglevel |
254 |
|
|
255 |
|
|
256 |
|
|
257 |
for link in f0 f1 f2 f3 f4 f5 |
for link in f0 f1 f2 f3 f4 f5 |
258 |
do |
do |
259 |
mkdir -p root/etc/dansguardian/lists/$link |
mkdir -p root/etc/dansguardian/lists/$link |
260 |
mkdir -p root/etc/e-smith/db/dungog/defaults/dansguardian$link |
mkdir -p root/etc/e-smith/db/dungog/defaults/dansguardian$link |
261 |
echo "settings" > root/etc/e-smith/db/dungog/defaults/dansguardian$link/type |
echo "settings" > root/etc/e-smith/db/dungog/defaults/dansguardian$link/type |
262 |
done |
done |
263 |
|
|
264 |
for link in badwords domainsforsale gambling googlesearches illegaldrugs malware nudism pornography safelabel translation violence webmail chat drugadvocacy games gore intolerance music peer2peer proxies secretsocieties travel warezhacking conspiracy forums goodphrases idtheft legaldrugs news personals rta sport upstreamfilter weapons |
for link in badwords domainsforsale gambling googlesearches illegaldrugs malware nudism pornography safelabel translation violence webmail chat drugadvocacy games gore intolerance music peer2peer proxies secretsocieties travel warezhacking conspiracy forums goodphrases idtheft legaldrugs news personals rta sport upstreamfilter weapons |