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 8 |
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 |
Packager: Stephen Noble <support@dungog.net> |
Packager: Stephen Noble <support@dungog.net> |
20 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
Requires dansguardian and smeserver-dansguardian |
Requires dansguardian and smeserver-dansguardian |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-8.sme |
39 |
|
- fix wrong path to module [SME: 9526] |
40 |
|
|
41 |
|
* Thu May 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.11-7.sme |
42 |
|
- fix needing new dansguardian.conf template [SME: 9526] |
43 |
|
- thank you to Steve Semple to parse the file |
44 |
|
- apply locale 2016-05-26 patch |
45 |
|
|
46 |
* 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 |
47 |
- apply locale 2016-03-09 patch |
- apply locale 2016-03-09 patch |
48 |
|
|
211 |
%patch0 -p1 |
%patch0 -p1 |
212 |
%patch1 -p1 |
%patch1 -p1 |
213 |
%patch2 -p1 |
%patch2 -p1 |
214 |
|
%patch3 -p1 |
215 |
|
%patch4 -p1 |
216 |
|
%patch5 -p1 |
217 |
|
|
218 |
|
|
219 |
%build |
%build |
228 |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat |
229 |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port |
230 |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess |
231 |
|
echo "none" > root/etc/e-smith/db/dungog/defaults/dansguardian/contentscanner |
232 |
|
echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/reportinglevel |
233 |
|
|
234 |
|
|
235 |
|
|
236 |
for link in f0 f1 f2 f3 f4 f5 |
for link in f0 f1 f2 f3 f4 f5 |
237 |
do |
do |