/[smeserver]/rpms/pam_abl/sme10/pam_abl.spec
ViewVC logotype

Annotation of /rpms/pam_abl/sme10/pam_abl.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Mar 18 10:53:17 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: pam_abl-0_2_3-2_el7_sme, HEAD
Initial import

1 unnilennium 1.1 # $Id: pam_abl.spec 7981 2009-11-03 03:05:34Z dag $
2     # Authority: dag
3    
4     %define _libdir /%{_lib}
5    
6     Summary: PAM module for auto blacklisting
7     Name: pam_abl
8     %define version 0.2.3
9     %define release 2
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: System Environment/Base
14     URL: http://www.hexten.net/sw/pam_abl/
15    
16     Packager: Dag Wieers <dag@wieers.com>
17     Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
18    
19     Source: http://dl.sf.net/sourceforge/pam-abl/pam_abl-%{version}.tar.gz
20     Patch0: pam_abl-0.2.3-fixes.patch
21     BuildRequires: pam-devel
22     BuildRequires: libdb4-devel
23     BuildRequires: libdb4
24     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
25    
26     %description
27     Provides auto blacklisting of hosts and users responsible for repeated failed
28     authentication attempts. Generally configured so that blacklisted users still
29     see normal login prompts but are guaranteed to fail to authenticate.
30    
31     A command line tool allows to query or purge the databases used by the pam_abl
32     module.
33    
34     %prep
35     %setup -n %{name}
36     %patch0 -p1
37    
38     %build
39     %{__make} %{?_smp_mflags}
40    
41     %install
42     %{__rm} -rf %{buildroot}
43     %{__install} -Dp -m0755 pam_abl.so %{buildroot}%{_libdir}/security/pam_abl.so
44     %{__install} -Dp -m0644 conf/pam_abl.conf %{buildroot}%{_sysconfdir}/security/pam_abl.conf
45     %{__install} -Dp -m0755 tools/pam_abl %{buildroot}%{_sbindir}/pam_abl
46     %{__install} -Dp -m0644 doc/pam_abl.1 %{buildroot}%{_mandir}/man1/pam_abl.1
47     %{__install} -d -m0755 %{buildroot}%{_localstatedir}/lib/abl/
48    
49     ### Clean up docdir
50     %{__rm} -rf doc/{CVS,._pam_abl.html,pam_abl.1}
51    
52     %clean
53     %{__rm} -rf %{buildroot}
54    
55     %files
56     %defattr(-, root, root, 0755)
57     %doc AUTHORS CONFIGURATION COPYING Copyright NEWS QUICKSTART THANKS
58     %doc conf/system-auth doc/
59     %doc %{_mandir}/man1/pam_abl.1*
60     %config(noreplace) %{_sysconfdir}/security/pam_abl.conf
61     %{_libdir}/security/pam_abl.so
62     %dir %{_localstatedir}/lib/abl/
63     %{_sbindir}/pam_abl
64    
65     %changelog
66     * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.2.3-2.sme
67     - import in SME [SME: 9341]
68     - added release and version define
69     - changed BuildRequires: db4-devel to libdb4-devel for EPEL7
70    
71     * Mon Jan 15 2007 Dag Wieers <dag@wieers.com> - 0.2.3-1 - 7981+/dag
72     - Initial package. (using DAR)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed