]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame_incremental - pam/pam.nm
pam: Disable support for audit
[people/arne_f/ipfire-3.x.git] / pam / pam.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = pam
7version = 1.3.0
8release = 2
9thisapp = Linux-PAM-%{version}
10
11groups = System/Base
12url = http://www.us.kernel.org/pub/linux/libs/pam/index.html
13license = BSD and GPLv2+ and BSD with advertising
14summary = An extensible library which provides authentication for applications.
15
16description
17 PAM (Pluggable Authentication Modules) is a system security tool that
18 allows system administrators to set authentication policy without
19 having to recompile programs that handle authentication.
20end
21
22# This is the old location that might be revived in future
23# source_dl = http://ftp.us.kernel.org/pub/linux/libs/pam/library/
24
25source_dl = http://www.linux-pam.org/library/
26
27build
28 requires
29 bison
30 cracklib-devel
31 flex
32 end
33
34 export LD_LIBRARY_PATH = %{DIR_APP}/libpam/.libs
35
36 configure_options += \
37 --includedir=%{includedir}/security \
38 --docdir=/usr/share/doc/Linux-PAM-%{version} \
39 --enable-read-both-confs \
40 --disable-rpath
41
42 test
43 # Temporary copy our pam config files to the sysconfdir
44 # the chroot environment. They are required by various tests
45 # of the testsuite.
46 cp -avf %{DIR_SOURCE}/pam.d %{sysconfdir}
47
48 # Run the testsuite.
49 make check
50 end
51
52 install_cmds
53 #useradd -D -b /home
54 #sed -i 's/yes/no/' %{BUILDROOT}/etc/default/useradd
55 mkdir -pv %{BUILDROOT}%{sysconfdir}/security
56 install -v -m644 %{DIR_SOURCE}/pam_env.conf \
57 %{BUILDROOT}%{sysconfdir}/security/pam_env.conf
58
59 # Included in setup package
60 rm -f %{BUILDROOT}%{sysconfdir}/environment
61
62 # Install man pages.
63 mkdir -pv %{BUILDROOT}%{mandir}/man5
64 for file in config-util.5 postlogin.5 system-auth.5; do
65 install -v -m 644 %{DIR_SOURCE}/man/${file} \
66 %{BUILDROOT}%{mandir}/man5
67 done
68 end
69end
70
71packages
72 package %{name}
73 configfiles
74 %{sysconfdir}/pam.d
75 end
76 end
77
78 package %{name}-devel
79 template DEVEL
80 end
81
82 package %{name}-debuginfo
83 template DEBUGINFO
84 end
85end