SPECS: pam-pam_abl.spec (NEW) - another new spec provided by Marci...

bartowl bartowl at pld-linux.org
Thu Mar 30 11:34:18 CEST 2006


Author: bartowl                      Date: Thu Mar 30 09:34:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- another new spec provided by Marcin Biczan <bibiak at magma-net.pl> - tested, STBR

---- Files affected:
SPECS:
   pam-pam_abl.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pam-pam_abl.spec
diff -u /dev/null SPECS/pam-pam_abl.spec:1.1
--- /dev/null	Thu Mar 30 11:34:18 2006
+++ SPECS/pam-pam_abl.spec	Thu Mar 30 11:34:12 2006
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define 	modulename pam_abl
+Summary:	PAM abl module
+Summary(pl):	Moduł PAM automatycznie dopisujący do blacklisty
+Name:		pam-%{modulename}
+Version:	0.2.3
+Release:	0.1
+Epoch:		0
+License:	GPL v2
+Vendor:		Andy Armstrong <tagishandy at users.sourceforge.net>
+Group:		Applications/System
+Source0:	http://dl.sourceforge.net/pam-abl/pam_abl-%{version}.tar.gz
+# Source0-md5:	fbcf97067e9647fa1d9257d4e6133cba
+URL:		http://www.hexten.net/pam_abl/
+BuildRequires:	pam-devel
+Obsoletes:	pam_abl
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PAM module which provides auto blacklisting of hosts and users responsible for repeated failed authentication attempts.
+
+%description -l pl
+Moduł PAM automatycznie dopisujący adres ip lub usera do blacklisty po wykryciu powtarzających się błędów autentykacji.
+
+%prep
+%setup -q -n %{modulename}
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/etc/security,/%{_lib}/security,/usr/sbin,/var/lib/abl}
+
+install pam_abl.so $RPM_BUILD_ROOT/%{_lib}/security
+install conf/pam_abl.conf $RPM_BUILD_ROOT/etc/security/pam_abl.conf
+install tools/pam_abl $RPM_BUILD_ROOT/usr/sbin
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/copying.html doc/index.html doc/pam_abl.html doc/style.css
+%attr(755,root,root) /%{_lib}/security/pam_abl.so
+%attr(755,root,root) /usr/sbin/pam_abl
+%config(noreplace) %verify(not md5 mtime size) /etc/security/pam_abl.conf
+%attr(700,root,root) %dir /var/lib/abl
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
================================================================


More information about the pld-cvs-commit mailing list