]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame_incremental - pam/pam.nm
pam: Move everything to /usr.
[people/amarx/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.1.5
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 = https://fedorahosted.org/releases/l/i/linux-pam/
26
27build
28 requires
29 audit-devel
30 bison
31 cracklib-devel
32 flex
33 libselinux-devel
34 end
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 install_cmds
43 #useradd -D -b /home
44 #sed -i 's/yes/no/' %{BUILDROOT}/etc/default/useradd
45 mkdir -pv %{BUILDROOT}/etc/security
46 install -v -m644 %{DIR_SOURCE}/pam_env.conf \
47 %{BUILDROOT}/etc/security/pam_env.conf
48
49 # Included in setup package
50 rm -f %{BUILDROOT}/etc/environment
51 end
52end
53
54packages
55 package %{name}
56 #requires
57 # pam_ldap
58 #end
59 end
60
61 package %{name}-devel
62 template DEVEL
63 end
64
65 package %{name}-debuginfo
66 template DEBUGINFO
67 end
68end