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 7 |
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 |
Packager: Stephen Noble <support@dungog.net> |
Packager: Stephen Noble <support@dungog.net> |
19 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
Requires dansguardian and smeserver-dansguardian |
Requires dansguardian and smeserver-dansguardian |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-7.sme |
38 |
|
- fix needing new dansguardian.conf template [SME: 9526] |
39 |
|
- thank you to Seve Semple to parse the file |
40 |
|
- apply locale 2016-05-26 patch |
41 |
|
|
42 |
* 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 |
43 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
44 |
|
|
207 |
%patch0 -p1 |
%patch0 -p1 |
208 |
%patch1 -p1 |
%patch1 -p1 |
209 |
%patch2 -p1 |
%patch2 -p1 |
210 |
|
%patch3 -p1 |
211 |
|
%patch4 -p1 |
212 |
|
|
213 |
%build |
%build |
214 |
perl createlinks |
perl createlinks |
222 |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
223 |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
224 |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
225 |
|
echo "none" > root/etc/e-smith/db/dungog/defaults/dansguardian/contentscanner |
226 |
|
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/reportinglevel |
227 |
|
|
228 |
|
|
229 |
|
|
230 |
for link in f0 f1 f2 f3 f4 f5 |
for link in f0 f1 f2 f3 f4 f5 |
231 |
do |
do |