--- rpms/smeserver-dansguardian-panel/contribs9/smeserver-dansguardian-panel.spec 2016/05/17 15:01:45 1.1 +++ rpms/smeserver-dansguardian-panel/contribs9/smeserver-dansguardian-panel.spec 2016/05/26 08:27:30 1.2 @@ -1,6 +1,6 @@ %define name smeserver-dansguardian-panel %define version 2.11 -%define release 6 +%define release 7 Summary: SMEserver panel to set up dansguardian to filter www content. Name: %{name} Version: %{version} @@ -13,7 +13,8 @@ Source: %{name}-%{version}.tar.gz Patch0: smeserver-dansguardian-panel-2.11-locale-2013-07-14.patch Patch1: smeserver-dansguardian-panel-2.11-x64sup.patch Patch2: smeserver-dansguardian-panel-2.11-locale-2016-03-09.patch - +Patch3: smeserver-dansguardian-panel-2.11-MainConfigTemplates.patch +Patch4: smeserver-dansguardian-panel-2.11-locale-2016-05-26.patch Packager: Stephen Noble BuildRoot: /var/tmp/%{name}-%{version} BuildArchitectures: noarch @@ -33,6 +34,11 @@ and other custom modifications to tie in Requires dansguardian and smeserver-dansguardian %changelog +* Thu May 26 2016 Jean-Philipe Pialasse 2.11-7.sme +- fix needing new dansguardian.conf template [SME: 9526] +- thank you to Seve Semple to parse the file +- apply locale 2016-05-26 patch + * Wed Mar 09 2016 JP Pialasse 2.11-6.sme - apply locale 2016-03-09 patch @@ -201,7 +207,8 @@ Requires dansguardian and smeserver-dans %patch0 -p1 %patch1 -p1 %patch2 -p1 - +%patch3 -p1 +%patch4 -p1 %build perl createlinks @@ -215,6 +222,10 @@ echo "2" > root/etc/e-smith/db echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/logfileformat echo "8080" > root/etc/e-smith/db/dungog/defaults/dansguardian/port echo "transparent" > root/etc/e-smith/db/dungog/defaults/dansguardian/proxyaccess +echo "none" > root/etc/e-smith/db/dungog/defaults/dansguardian/contentscanner +echo "3" > root/etc/e-smith/db/dungog/defaults/dansguardian/reportinglevel + + for link in f0 f1 f2 f3 f4 f5 do