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

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

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


Revision 1.4 - (hide annotations) (download)
Sat Aug 13 10:50:14 2022 UTC (22 months, 1 week ago) by brianr
Branch: MAIN
CVS Tags: smeserver-webfilter-0_2_16-4_el7_sme
Changes since 1.3: +7 -1 lines
* Sat Aug 13 2022 Brian Read <brianr@bjsystems.co.uk> 0.2.16-4.sme
- Update creatlinks for systemd and fix capitalisation of squidGuard in config db [SME: 11978]
- Add in DB entries for transparent-proxying

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

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