/[smecontribs]/rpms/smeserver-webfilter/contribs10/smeserver-webfilter.spec
ViewVC logotype

Contents of /rpms/smeserver-webfilter/contribs10/smeserver-webfilter.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Fri Nov 11 16:24:05 2022 UTC (18 months, 4 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-webfilter-0_2_16-5_el7_sme, HEAD
Changes since 1.4: +6 -1 lines
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.16-5.sme
- apply locale 2022-11-11 patch

1 %define version 0.2.16
2 %define release 5
3 %define name smeserver-webfilter
4
5
6 Summary: web filtering proxy for SME Server
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}%{?dist}
10 Epoch: 9
11 License: GPL
12 Group: Networking/Daemons
13 Source: %{name}-%{version}.tar.gz
14
15 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16 BuildArchitectures: noarch
17 BuildRequires: e-smith-devtools
18
19 Requires: squidGuard >= 1.4
20 Requires: squidclamav
21 Requires: perl(File::Tail)
22 Requires: perl(Getopt::Long)
23 Requires: perl(DBI)
24 Requires: perl(URI)
25 Requires: e-smith-apache >= 2.6.0-19
26 Requires: smeserver-php >= 3.0.0-43
27
28 Obsoletes: smeserver-squidguard
29 Provides: smeserver-squidguard
30 AutoReqProv: no
31
32 Patch0: smeserver-webfilter-0.2.16-bz12065-24syntax.patch
33 Patch1: smeserver-webfilter-0.2.16-Update-createlinks-and-Get-capitalisation-correct-in-db.patch
34 Patch2: smeserver-webfilter-0.2.16-locale-2022-11-11.patch
35
36 %description
37 Web proxy filtering based on squidguard and squidclamav
38
39
40 %changelog
41 * Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.16-5.sme
42 - apply locale 2022-11-11 patch
43
44 * Sat Aug 13 2022 Brian Read <brianr@bjsystems.co.uk> 0.2.16-4.sme
45 - Update creatlinks for systemd and fix capitalisation of squidGuard in config db [SME: 11978]
46 - Add in DB entries for transparent-proxying
47
48 * Thu Aug 04 2022 Brian Read <brianr@bjsystems.co.uk> 0.2.16-3.sme
49 - update to httpd 2.4 syntax [SME: 12065]
50 - Thanks to Zsolt Vasarhelyi
51 - Add ---ignoredirs directive to fix Transaction check error
52
53 * Wed May 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.16-2.sme
54 - import to SME 10 and Koozali buildsys [SME: 11978]
55
56 * Thu Nov 19 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.16-1
57 - Add pt-br localization (by Jรกder Marasca)
58
59 * Fri May 15 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.15-1
60 - Add Danish localization (by Jan B Thygesen)
61
62 * Wed Jun 25 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.14-1
63 - fix cleanup cronjob on EL6
64 - Pre-create log files to prevent warnings
65
66 * Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.13-1
67 - New branch for SME9
68
69 * Fri Sep 6 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.12-1
70 - Correctly handle more than two unrestricted IP or network
71
72 * Wed Jan 23 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.11-1
73 - It's now possible to log on a remote MySQL server
74
75 * Wed Oct 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.10-1
76 - Don't rotate tables, just purge old entries
77
78 * Wed Oct 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1
79 - Handle error:unsupported-request-method in squid logs
80
81 * Wed Oct 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1
82 - Add it locale for the panel, thanks to Nicola Tiana <Sistemi@chester-perry.it>
83
84 * Mon Oct 22 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.7-1
85 - Use UTF-8 for de locale file
86
87 * Mon Oct 22 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.6-1
88 - Add de locale to the panel, thanks to Daniel Schiffer <danielschiffer@freenet.de>
89
90 * Fri Oct 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1
91 - Fix processing of denied CONNECT in squidGuard logs
92 - Properly escape domain names
93
94 * Fri Oct 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1
95 - Use larger varchar for URL and domain names
96
97 * Thu Oct 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1
98 - Optimize database inserts
99 - Log stderr to stdout in squid-db-logd run script
100 - Add missing dbuser option in squid-db-logd
101
102 * Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
103 - Fix processing CONNECT lines
104
105 * Sun Oct 14 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
106 - Ignore stats requests from squidclient
107
108 * Sun Oct 7 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
109 - Include Squid Database Logging Daemon (squid-db-logd)
110
111 * Sun Oct 7 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1
112 - Fix hidding disabled caegories
113
114 * Tue Sep 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.3-1
115 - Add whitelists to squidclamav
116
117 * Mon Aug 27 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1
118 - Fix en-us locale (label AV Filtering)
119
120 * Fri Jul 6 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1
121 - Spawn more redirect children
122
123 * Mon Apr 16 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1
124 - Rename to smeserver-webfilter
125 - Add AV filtering with squidclamav
126 - Simplified panel
127 - Log cron job to dev null
128 - Use quiet rsync arg
129
130 * Tue Apr 03 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1
131 - Fix ownership of log files
132
133 * Tue Mar 27 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1
134 - Add .log suffix to log files
135
136 * Tue Mar 27 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1
137 - Move to git
138
139 * Tue Feb 21 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
140 - initial release
141
142 %prep
143 %setup -q -n %{name}-%{version}
144 %patch0 -p1
145 %patch1 -p1
146 %patch2 -p1
147
148 %build
149 %{__mkdir_p} root/var/log/squid-db-logd
150 perl createlinks
151
152 %install
153 /bin/rm -rf $RPM_BUILD_ROOT
154 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
155 /bin/rm -f %{name}-%{version}-filelist
156 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
157 --dir /var/squidGuard/blacklists 'attr(0750,squid,squid)' \
158 --dir /var/log/squid-db-logd 'attr(0770,smelog,smelog)' \
159 --file /usr/bin/squid-db-logd 'attr(0755,root,root)' \
160 --file /var/service/squid-db-logd/run 'attr(0755,root,root)' \
161 --file /var/service/squid-db-logd/log/run 'attr(0755,root,root)' \
162 --file /var/squidGuard/blacklists/black/domains 'attr(0640,squid,squid) %config(noreplace)' \
163 --file /var/squidGuard/blacklists/black/urls 'attr(0640,squid,squid) %config(noreplace)' \
164 --file /var/squidGuard/blacklists/white/domains 'attr(0640,squid,squid) %config(noreplace)' \
165 --file /var/squidGuard/blacklists/white/urls 'attr(0640,squid,squid) %config(noreplace)' \
166 --file /etc/cron.daily/squid-db-cleanup 'attr(0755,root,root)' \
167 --ignoredir "/var/log/squidGuard" \
168 --file /var/log/squidGuard/deny.log 'attr(0640,squid,squid) %config(noreplace)' \
169 --file /var/log/squidGuard/white.log 'attr(0640,squid,squid) %config(noreplace)' \
170 --file /var/log/squidGuard/squidGuard.log 'attr(0640,squid,squid) %config(noreplace)' \
171 > %{name}-%{version}-filelist
172
173 echo "%doc CHANGELOG.git" >> %{name}-%{version}-filelist
174 echo "%doc squid_log.sql" >> %{name}-%{version}-filelist
175 %files -f %{name}-%{version}-filelist
176 %defattr(-,root,root)
177
178 %clean
179 rm -rf $RPM_BUILD_ROOT
180
181 %post
182 %preun
183

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed