/[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.1 - (hide annotations) (download)
Wed May 25 02:20:10 2022 UTC (2 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-webfilter-0_2_16-1_el6_fws
Initial import

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

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