1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = Linux-PAM-%{version}
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.
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.
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/
25 source_dl = https://fedorahosted.org/releases/l/i/linux-pam/
36 configure_options += \
37 --includedir=%{includedir}/security \
38 --docdir=/usr/share/doc/Linux-PAM-%{version} \
39 --enable-read-both-confs \
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
49 # Included in setup package
50 rm -f %{BUILDROOT}/etc/environment
53 mkdir -pv %{BUILDROOT}%{mandir}/man5
54 for file in config-util.5 postlogin.5 system-auth.5; do
55 install -v -m 644 %{DIR_SOURCE}/man/${file} \
56 %{BUILDROOT}%{mandir}/man5
72 package %{name}-debuginfo