Compare commits

...

17 Commits

Author SHA1 Message Date
Daniel Berteaud bb81624abb Automatic commit of package [squidclamav] minor release [7.1-1]. 6 years ago
Daniel Berteaud 58f126e1fd Automatic commit of package [squidclamav] minor release [7.1-0.beta1]. 6 years ago
Daniel Berteaud dbb05fc14e Update to 7.1 6 years ago
Daniel Berteaud 28d2f72ba5 Update tito to use GitLfsBuilder 6 years ago
Daniel Berteaud f1e4d67d7f Track tgz with LFS 6 years ago
Daniel Berteaud deeabb5b24 Automatic commit of package [squidclamav] minor release [6.16-3]. 7 years ago
Daniel Berteaud 7ca7bcb97b Automatic commit of package [squidclamav] minor release [6.16-2]. 7 years ago
Daniel Berteaud ff717a2e9c Update summary and description to match v6 7 years ago
Daniel Berteaud fdea569737 Automatic commit of package [squidclamav] minor release [6.16-1]. 7 years ago
Daniel Berteaud 178296eeab Clean changelog 7 years ago
Daniel Berteaud 7d44bbb71e Remove README from /usr/share/squidclamav 7 years ago
Daniel Berteaud 9f492eed90 Include cgi 7 years ago
Daniel Berteaud a57e16b7c1 Don't try to include non existing lib 7 years ago
Daniel Berteaud abdce63c79 Automatic commit of package [squidclamav] minor release [6.16-0.beta3]. 7 years ago
Daniel Berteaud 92d41cb6fb Adapt spec for v 6 7 years ago
Daniel Berteaud 496f00390c Automatic commit of package [squidclamav] minor release [6.16-0.beta2]. 7 years ago
Daniel Berteaud 1912930012 Require c-icap 7 years ago
  1. 1
      .gitattributes
  2. 2
      .tito/packages/squidclamav
  3. 2
      .tito/tito.props
  4. 1
      squidclamav-6.16.tar.gz
  5. BIN
      squidclamav-7.1.tar.gz
  6. 87
      squidclamav.spec

1
.gitattributes vendored

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

@ -1 +1 @@
6.16-0.beta1 ./ 7.1-1 ./

@ -1,5 +1,5 @@
[buildconfig] [buildconfig]
builder = tito.builder.GitAnnexBuilder builder = fws.builder.GitLfsBuilder
tagger = tito.tagger.ReleaseTagger tagger = tito.tagger.ReleaseTagger
changelog_do_not_remove_cherrypick = 0 changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae) changelog_format = %s (%ae)

@ -1 +0,0 @@
.git/annex/objects/pJ/Q9/SHA256E-s444046--ed724841923f3e5a96dd7192a3cfd176df106eda250b417e7c85f515440c4978.tar.gz/SHA256E-s444046--ed724841923f3e5a96dd7192a3cfd176df106eda250b417e7c85f515440c4978.tar.gz

BIN
squidclamav-7.1.tar.gz (Stored with Git LFS)

Binary file not shown.

@ -1,7 +1,7 @@
Name: squidclamav Name: squidclamav
Version: 6.16 Version: 7.1
Release: 0.beta1%{?dist} Release: 1%{?dist}
Summary: A Clamav Antivirus Redirector for Squid Summary: A c-icap module for ClamAV
Group: Applications/System Group: Applications/System
License: GPLv3+ License: GPLv3+
@ -9,38 +9,16 @@ URL: http://squidclamav.darold.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: clamav-devel >= 0.82 BuildRequires: clamav-devel >= 0.82
BuildRequires: curl-devel >= 7.12.1 BuildRequires: curl-devel >= 7.12.1
Requires: squid BuildRequires: c-icap-devel
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: c-icap
%description %description
%{name} Antivirus redirector for Squid proxy based on the Awards winnings SquidClamav is an antivirus for Squid proxy based on the
ClamAv anti-virus toolkit. Using it will help you securing your home or Awards winnings ClamAv anti-virus toolkit.
enterprise network web traffic. SquidClamav is the most efficient Squid
Redirector anti-virus tool for HTTP traffic available for free, it is written
in C and can handle thousand of connections.
%prep %prep
%setup -q %setup -q
# create README.RPM
%{__cat} > README.RPM << __EOF
1. Edit an modify configuration file %{_sysconfdir}/%{name}.conf to match
your installation.
2. Create a redirect CGI script or HTML where you want your users to be
redirected when a virus is found and set the 'redirect' configuration
directive to that URL. You have a CGI script sample in different languages
in %{_libexecdir}/%{name}/
3. If you use squidclamav log remember that squidclamav will run as squid
user, so the path to %{name}.log must be writable by this user.
You can have more information on how to configure and use %{name} by reading
documentation at http://squidclamav.darold.net/ or with squidclamav man page.
__EOF
%build %build
%configure --prefix=%{_prefix} %configure --prefix=%{_prefix}
%{__make} %{__make}
@ -48,41 +26,48 @@ __EOF
%install %install
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
# set up path structure # set up path structure
%{__install} -d -m 0755 %{buildroot}/%{_bindir} %{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}/c-icap
%{__install} -d -m 0755 %{buildroot}/%{_sysconfdir}
%{__install} -d -m 0755 %{buildroot}/%{_libexecdir}
# Make distrib files # Make distrib files
%{__make} install \ %{__make} install \
DESTDIR=%{buildroot} DESTDIR=%{buildroot}
# README will be handled in %doc
%{__install} -D -m 0644 doc/%{name}.1 \ %{__rm} -f %{buildroot}%{_datadir}/%{name}/README
%{buildroot}/%{_mandir}/man1/%{name}.1 # Remove .la file
%{__rm} -f %{buildroot}%{_libdir}/c_icap/%{name}.la
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc Change* INSTALL README README.RPM %doc ChangeLog INSTALL README
%attr(0755,root,root) %{_bindir}/%{name} %attr(640,root,squid) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/c-icap/squidclamav.conf
%attr(0644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf %{_sysconfdir}/c-icap/squidclamav.conf.default
%attr(0644,root,root) %{_mandir}/man1/%{name}.1.gz %{_libdir}/c_icap/%{name}.*
%attr(0644,root,root) %{_datadir}/%{name}/README %{_datadir}/c_icap/templates/squidclamav
%attr(0755,root,root) %{_libexecdir}/%{name}/clwarn.cgi %{_mandir}/man1/squidclamav.1*
%attr(0755,root,root) %{_libexecdir}/%{name}/clwarn.cgi.de_DE %{_libexecdir}/%{name}/clwarn.cgi*
%attr(0755,root,root) %{_libexecdir}/%{name}/clwarn.cgi.en_EN
%attr(0755,root,root) %{_libexecdir}/%{name}/clwarn.cgi.fr_FR
%attr(0755,root,root) %{_libexecdir}/%{name}/clwarn.cgi.pt_BR
%attr(0755,root,root) %{_libexecdir}/%{name}/clwarn.cgi.ru_RU
%dir %{_libexecdir}/%{name}
%changelog %changelog
* Sat Feb 17 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-0.beta1 * Wed Apr 17 2019 Daniel Berteaud <daniel@firewall-services.com> 7.1-1
- new package built with tito - Update to 7.1 (daniel@firewall-services.com)
- Update tito to use GitLfsBuilder (daniel@firewall-services.com)
* Sat Feb 17 2018 Daniel Berteaud <daniel@firewall-services.com> - 6.16-1 - Track tgz with LFS (daniel@firewall-services.com)
* Tue Feb 20 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-3
- Update summary and description to match v6 (daniel@firewall-services.com)
- Remove .la file
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-1
- Clean changelog (daniel@firewall-services.com)
- Remove README from /usr/share/squidclamav (daniel@firewall-services.com)
- Include cgi (daniel@firewall-services.com)
- Don't try to include non existing lib (daniel@firewall-services.com)
* Sun Feb 18 2018 Daniel Berteaud <daniel@firewall-services.com> 6.16-0.beta3
- Update to 6.16 - Update to 6.16
- Build using tito
- Adapt spec for v 6 (daniel@firewall-services.com)
* Fri Nov 15 2013 Daniel Berteaud <daniel@firewall-services.com> - 5.11-2 * Fri Nov 15 2013 Daniel Berteaud <daniel@firewall-services.com> - 5.11-2
- Spec file cleanup - Spec file cleanup

Loading…
Cancel
Save