Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1041 → Rev 1079

/conf/rpms/havp.spec
1,23 → 1,15
# $Id$
# Authority: dag
 
# Tag: rft
 
Summary: HTTP anti-virus proxy filter
Name: havp
Version: 0.92a
Release: 1%{?dist}
License: GPL
Group: System Environment/Daemons
Release: %mkrel 1.1%{?dist}
License: GPLv2+
Group: Security
URL: http://www.server-side.de/
 
Source: http://www.server-side.de/download/havp-%{version}.tar.gz
Patch0: havp-init.diff
Packager: Francois Crosnier (Crox) ALCASAR team
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: clamav-devel
 
#BuildRequires: httpd-devel, bzip2-devel, gmp-devel, curl-devel, clamav-devel, openssl-devel
BuildRequires: bzip2-devel, gmp-devel, curl-devel, clamav-devel, openssl-devel
 
%description
HAVP (HTTP AntiVirus proxy) is a proxy with an anti-virus filter.
It does not cache or filter content. At the moment the complete
32,34 → 24,19
 
%prep
%setup
%patch0 -p0 -b .init
 
%{__perl} -pi.orig \
-e 's|^# (TEMPLATEPATH) .+$|$1 /etc/havp/templates/en|;' \
-e 's|^# (WHITELIST) .+$|$1 /etc/havp/whitelist|;' \
-e 's|^# (BLACKLIST) .+$|$1 /etc/havp/blacklist|;' \
etc/havp/havp.config
 
%build
%configure \
--enable-ssl-tunnel
%configure
%make
 
%{__make} %{?_smp_mflags}
 
%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 havp/havp %{buildroot}%{_sbindir}/havp
%{__install} -Dp -m0755 etc/init.d/havp %{buildroot}%{_initrddir}/havp
rm -rf %{buildroot}
install -d %{buildroot}%{_initrddir}
cp etc/init.d/havp %{buildroot}%{_initrddir}/havp
install -d %{buildroot}%{_localstatedir}/run/havp/
install -d %{buildroot}%{_localstatedir}/log/havp/
%makeinstall
 
%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/havp/
%{__cp} -r etc/havp/* %{buildroot}%{_sysconfdir}/havp/
 
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/havp/
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/run/havp/
 
%clean
%{__rm} -rf %{buildroot}
 
%pre
if ! /usr/bin/id havp &>/dev/null; then
/usr/sbin/useradd -r -d %{_localstatedir}/log/havp -s /bin/sh -c "havp" havp || \
82,8 → 59,8
 
%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING INSTALL update-conf
%config(noreplace) %{_sysconfdir}/havp/
%doc ChangeLog COPYING INSTALL update-conf
%config %{_sysconfdir}/havp/
%config %{_initrddir}/havp
%{_sbindir}/havp
 
92,6 → 69,10
%{_localstatedir}/run/havp/
 
%changelog
* Tue Apr 30 2013 Crox <ptitois@gmail.com> - 0.92-1.1
- Created .spec file to build rpms for Mageia2 (x86_64 & i586).
- Created two rpms : havp-0.92a-1-1.mga2.x86_64.rpm & havp-0.92a-1-1.mga2.i586.rpm
 
* Sun Nov 21 2010 Rexy <richard@rexy.fr> - 0.92-1
- Updated to release 0.92a.
 
119,5 → 100,6
- Created and applied a patch to make config reflect the correct location of the files
 
* Tue May 30 2006 Jim Perrin <jperrin at gmail dot com> 0.7.9-1
- Initial build for CentOS,
- Initial build for CentOS,
- Specfile generation... still some work to do...
 
/conf/rpms/i586/havp-0.92a-1.i586.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Deleted: svn:mime-type
-application/octet-stream
\ No newline at end of property
/conf/rpms/i586/havp-0.92a-1.1.mga2.i586.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/conf/rpms/x86_64/havp-0.92a-1.x86_64.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Deleted: svn:mime-type
-application/octet-stream
\ No newline at end of property
/conf/rpms/x86_64/havp-0.92a-1.mga2.x86_64.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/conf/rpms/x86_64/havp-0.92a-1.1.mga2.x86_64.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property