/[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.6 - (show annotations) (download)
Fri Sep 6 10:54:16 2024 UTC (2 weeks, 3 days ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-webfilter-0_2_16-6_el7_sme, HEAD
Changes since 1.5: +6 -1 lines
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 0.2.16-6.sme
- apply locale 2024-09-06.patch

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

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