6,7 → 6,7 |
Group: Security |
URL: http://www.server-side.de/ |
Source: http://www.server-side.de/download/havp-%{version}.tar.gz |
Packager: Francois Crosnier (Crox) ALCASAR team |
Packager: jb (ALCASAR team) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRequires: clamav-devel |
|
33,6 → 33,8 |
rm -rf %{buildroot} |
install -d %{buildroot}%{_initrddir} |
cp etc/init.d/havp %{buildroot}%{_initrddir}/havp |
install -d %{buildroot}/lib/systemd/system/ |
cp lib/systemd/system/havp.service %{buildroot}/lib/systemd/system/ |
install -d %{buildroot}%{_localstatedir}/run/havp/ |
install -d %{buildroot}%{_localstatedir}/log/havp/ |
%makeinstall |
44,17 → 46,18 |
fi |
|
%post |
/sbin/chkconfig --add havp |
/usr/bin/systemctl -q enable havp.service |
|
%preun |
if [ $1 -eq 0 ]; then |
/sbin/service havp stop &>/dev/null || : |
/sbin/chkconfig --del havp |
/usr/bin/systemctl havp stop |
/usr/bin/systemctl -q disable havp.service |
fi |
|
%postun |
if [ $1 -eq 0 ]; then |
/usr/sbin/userdel havp || %logmsg "User \"havp\" could not be deleted." |
rm -f /lib/systemd/system/havp.service |
fi |
|
%files |
63,6 → 66,7 |
%config %{_sysconfdir}/havp/ |
%config %{_initrddir}/havp |
%{_sbindir}/havp |
/lib/systemd/system/havp.service |
|
%defattr(-, havp, havp, 0755) |
%{_localstatedir}/log/havp/ |
69,11 → 73,16 |
%{_localstatedir}/run/havp/ |
|
%changelog |
* Thu Jul 07 2014 jb <jeanbaptiste.couprit@gmail.com> (x86_64 & i586) - 0.92-1.1 |
- Created .spec file to build rpms for Mageia4 (x86_64 & i586). |
- Created two rpms : havp-0.92a-1-1.mga4.x86_64.rpm & havp-0.92a-1-1.mga4.i586.rpm with Libclamav patch (OpenSSL) |
|
* 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. |
|
* Sun May 9 2010 Rexy <richard@irexy.fr> - 0.91-1 |