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 = http://www.linux-pam.org/library/
35 export LD_LIBRARY_PATH = %{DIR_APP}/libpam/.libs
37 configure_options += \
38 --includedir=%{includedir}/security \
39 --docdir=/usr/share/doc/Linux-PAM-%{version} \
40 --enable-read-both-confs \
44 # Temporary copy our pam config files to the sysconfdir
45 # the chroot environment. They are required by various tests
47 cp -avf %{DIR_SOURCE}/pam.d %{sysconfdir}
55 #sed -i 's/yes/no/' %{BUILDROOT}/etc/default/useradd
56 mkdir -pv %{BUILDROOT}%{sysconfdir}/security
57 install -v -m644 %{DIR_SOURCE}/pam_env.conf \
58 %{BUILDROOT}%{sysconfdir}/security/pam_env.conf
60 # Included in setup package
61 rm -f %{BUILDROOT}%{sysconfdir}/environment
64 mkdir -pv %{BUILDROOT}%{mandir}/man5
65 for file in config-util.5 postlogin.5 system-auth.5; do
66 install -v -m 644 %{DIR_SOURCE}/man/${file} \
67 %{BUILDROOT}%{mandir}/man5
83 package %{name}-debuginfo