]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pam/pam.nm
e2fsprogs: Update to 1.42.2.
[people/arne_f/ipfire-3.x.git] / pam / pam.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pam
7 version = 1.1.5
8 release = 1
9 thisapp = Linux-PAM-%{version}
10
11 groups = System/Base
12 url = http://www.us.kernel.org/pub/linux/libs/pam/index.html
13 license = BSD and GPLv2+ and BSD with advertising
14 summary = An extensible library which provides authentication for applications.
15
16 description
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.
20 end
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
25 source_dl = https://fedorahosted.org/releases/l/i/linux-pam/
26
27 build
28 requires
29 audit-devel
30 bison
31 cracklib-devel
32 flex
33 libselinux-devel
34 end
35
36 configure_options += \
37 --libdir=/%{lib} \
38 --includedir=%{includedir}/security \
39 --docdir=/usr/share/doc/Linux-PAM-%{version} \
40 --enable-read-both-confs \
41 --disable-rpath
42
43 install_cmds
44 mkdir -pv %{BUILDROOT}%{libdir}
45 for LINK in libpam{,c,_misc}.so; do
46 ln -v -sf ../../%{lib}/$(readlink %{BUILDROOT}/%{lib}/${LINK}) \
47 %{BUILDROOT}%{libdir}/${LINK}
48 rm -v %{BUILDROOT}/%{lib}/${LINK}
49 done
50
51 #useradd -D -b /home
52 #sed -i 's/yes/no/' %{BUILDROOT}/etc/default/useradd
53 mkdir -pv %{BUILDROOT}/etc/security
54 install -v -m644 %{DIR_SOURCE}/pam_env.conf \
55 %{BUILDROOT}/etc/security/pam_env.conf
56
57 # Included in setup package
58 rm -f %{BUILDROOT}/etc/environment
59 end
60 end
61
62 packages
63 package %{name}
64 #requires
65 # pam_ldap
66 #end
67 end
68
69 package %{name}-devel
70 template DEVEL
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76 end