/[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.3 - (hide annotations) (download)
Fri Aug 5 08:45:09 2022 UTC (22 months, 3 weeks ago) by brianr
Branch: MAIN
CVS Tags: smeserver-webfilter-0_2_16-3_el7_sme
Changes since 1.2: +13 -1 lines
* Thu Aug 04 2022 Brian Read <brianr@bjsystems.co.uk> 0.2.16-3.sme
- update to httpd 2.4 syntax [SME: 12065]
- Thanks to Zsolt Vasarhelyi
- Add ---ignoredirs directive to fix Transaction check error

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

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