1 |
%define name smeserver-dansguardian-panel |
%define name smeserver-dansguardian-panel |
2 |
%define version 2.11 |
%define version 2.11 |
3 |
%define release 10 |
%define release 12 |
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} |
18 |
Patch5: smeserver-dansguardian-panel-2.11-newPerlModulesPath.patch |
Patch5: smeserver-dansguardian-panel-2.11-newPerlModulesPath.patch |
19 |
Patch6: smeserver-dansguardian-panel-2.11-locale-2017-02-02.patch |
Patch6: smeserver-dansguardian-panel-2.11-locale-2017-02-02.patch |
20 |
Patch7: smeserver-dansguardian-panel-2.11-locale-2017-12-02.patch |
Patch7: smeserver-dansguardian-panel-2.11-locale-2017-12-02.patch |
21 |
|
Patch8: smeserver-dansguardian-panel-2.11-locale-2018-12-17.patch |
22 |
Packager: Stephen Noble <support@dungog.net> |
Packager: Stephen Noble <support@dungog.net> |
23 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
Requires dansguardian and smeserver-dansguardian |
Requires dansguardian and smeserver-dansguardian |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sun Dec 09 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 2.11-11 |
42 |
|
- apply locale 2018-12-17 patch |
43 |
|
|
44 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.11-10 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.11-10 |
45 |
- apply locale 2017-12-02 patch |
- apply locale 2017-12-02 patch |
46 |
|
|
228 |
%patch5 -p1 |
%patch5 -p1 |
229 |
%patch6 -p1 |
%patch6 -p1 |
230 |
%patch7 -p1 |
%patch7 -p1 |
231 |
|
%patch8 -p1 |
232 |
|
|
233 |
%build |
%build |
234 |
perl createlinks |
perl createlinks |
250 |
for link in f0 f1 f2 f3 f4 f5 |
for link in f0 f1 f2 f3 f4 f5 |
251 |
do |
do |
252 |
mkdir -p root/etc/dansguardian/lists/$link |
mkdir -p root/etc/dansguardian/lists/$link |
253 |
mkdir -p root/etc/e-smith/db/dungog/defaults/dansguardian$link |
mkdir -p root/etc/e-smith/db/dungog/defaults/dansguardian$link |
254 |
echo "settings" > root/etc/e-smith/db/dungog/defaults/dansguardian$link/type |
echo "settings" > root/etc/e-smith/db/dungog/defaults/dansguardian$link/type |
255 |
done |
done |
256 |
|
|
257 |
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 |