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 17 |
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 |
|
Patch10: smeserver-dansguardian-panel-2.11-locale-2019-01-02.patch |
24 |
|
Patch11: smeserver-dansguardian-panel-2.11-en-lang-wikiurl.patch |
25 |
|
Patch12: smeserver-dansguardian-panel-2.11-locale-2019-01-10.patch |
26 |
|
Patch13: smeserver-dansguardian-panel-2.11-locale-2019-12-07.patch |
27 |
Packager: Stephen Noble <support@dungog.net> |
Packager: Stephen Noble <support@dungog.net> |
28 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
29 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
39 |
rpm to setup dansguardian.org web content filter |
rpm to setup dansguardian.org web content filter |
40 |
with a server-manager panel, /etc/dansguardian templates |
with a server-manager panel, /etc/dansguardian templates |
41 |
and other custom modifications to tie into ongong smeserver changes. |
and other custom modifications to tie into ongong smeserver changes. |
|
|
|
42 |
Requires dansguardian and smeserver-dansguardian |
Requires dansguardian and smeserver-dansguardian |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.11-17 |
46 |
|
- apply locale 2019-12-07 patch |
47 |
|
|
48 |
|
* Fri Jan 11 2019 Terry Fage <tfage@yahoo.com.au> 2.11.16 |
49 |
|
- apply locale update 2019.01.10 [SME: 9526] |
50 |
|
|
51 |
|
* Wed Jan 08 2019 Terry Fage <tfage@yahoo.com.au> 2.11.15 |
52 |
|
- edit en lang file url for wiki help file |
53 |
|
- clean up format and bug number errors in spec file [SME: 9526] |
54 |
|
|
55 |
|
* Wed Jan 02 2019 Terry fage <tfage@yahoo.com.au> 2.11.14 |
56 |
|
- apply locale 2019-01-02 |
57 |
|
- edit mismatch tags in pootle lang file [SME: 9526] |
58 |
|
|
59 |
|
* Mon Dec 17 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 2.11-13 |
60 |
|
- Update URL wiki help |
61 |
|
- fix unknown nagivation panel error [SME: 9526] |
62 |
|
- jump release number from 12-13 due to numbering error |
63 |
|
|
64 |
|
* Sun Dec 09 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 2.11-11 |
65 |
|
- apply locale 2018-12-17 patch |
66 |
|
|
67 |
|
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.11-10 |
68 |
|
- apply locale 2017-12-02 patch |
69 |
|
|
70 |
|
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-9.sme |
71 |
|
- apply local 2017-02-02.patch |
72 |
|
|
73 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-8.sme |
74 |
|
- fix wrong path to module [SME: 9526] |
75 |
|
|
76 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-7.sme |
77 |
|
- fix needing new dansguardian.conf template [SME: 9526] |
78 |
|
- thank you to Steve Semple to parse the file |
79 |
|
- apply locale 2016-05-26 patch |
80 |
|
|
81 |
* 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 |
82 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
83 |
|
|
246 |
%patch0 -p1 |
%patch0 -p1 |
247 |
%patch1 -p1 |
%patch1 -p1 |
248 |
%patch2 -p1 |
%patch2 -p1 |
249 |
|
%patch3 -p1 |
250 |
|
%patch4 -p1 |
251 |
|
%patch5 -p1 |
252 |
|
%patch6 -p1 |
253 |
|
%patch7 -p1 |
254 |
|
%patch8 -p1 |
255 |
|
%patch9 -p1 |
256 |
|
%patch10 -p1 |
257 |
|
%patch11 -p1 |
258 |
|
%patch12 -p1 |
259 |
|
%patch13 -p1 |
260 |
|
|
261 |
%build |
%build |
262 |
perl createlinks |
perl createlinks |
270 |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
271 |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
272 |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
273 |
|
echo "none" > root/etc/e-smith/db/dungog/defaults/dansguardian/contentscanner |
274 |
|
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/reportinglevel |
275 |
|
|
276 |
|
|
277 |
|
|
278 |
for link in f0 f1 f2 f3 f4 f5 |
for link in f0 f1 f2 f3 f4 f5 |
279 |
do |
do |
280 |
mkdir -p root/etc/dansguardian/lists/$link |
mkdir -p root/etc/dansguardian/lists/$link |
281 |
mkdir -p root/etc/e-smith/db/dungog/defaults/dansguardian$link |
mkdir -p root/etc/e-smith/db/dungog/defaults/dansguardian$link |
282 |
echo "settings" > root/etc/e-smith/db/dungog/defaults/dansguardian$link/type |
echo "settings" > root/etc/e-smith/db/dungog/defaults/dansguardian$link/type |
283 |
done |
done |
284 |
|
|
285 |
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 |