# $Id: smeserver-denyhosts.spec,v 1.6 2016/11/23 22:39:07 unnilennium Exp $ # Authority: unnilennium # Name: Jean-Philippe Pialasse Summary: smeserver-denyhosts %define name smeserver-denyhosts %define version 2.8 %define release 5 Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GPL Group: Applications/System Source: %{name}-%{version}.tgz Patch0: smeserver-denyhosts-2.8-regexpatch.patch Patch1: smeserver-denyhosts-2.8-bz10076-wrongIPremovedfromWL.patch #REM contribs9 Patch0: smeserver-denyhosts-2.8-locale-2013-07-14.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 Requires: smeserver-release >= 8.0 Requires: denyhosts >= 2.6 Requires: e-smith-formmagick >= 1.4.0-12 %description Integration package to mesh denyhosts with SME Server. %prep %setup %patch0 -p1 %patch1 -p1 %build /usr/bin/perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root,-) %clean rm -rf $RPM_BUILD_ROOT %post touch /etc/hosts.deny_ssh %changelog * Mon Feb 06 2017 Jean-Philipe Pialasse 2.8-5.sme - fix removing from whitelist does not remove the desired IP but a random one [SME: 10076] * Wed Nov 23 2016 Jean-Philipe Pialasse 2.8-4.sme - fix [SME: 9877] - fix regex issue import from SME9 * Mon Jun 16 2014 JP Pialasse 2.8-1.sme - new version preparing for SME9 contribs * Sun Jul 14 2013 JP Pialasse 2.7-2.sme - apply locale 2013-07-14 patch * Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme - Initial version