Signed-off-by: Marcel Lorenz marcel.lorenz@ipfire.org --- config/rootfiles/common/pam | 27 +++++++++++++++++++++------ lfs/pam | 27 +++++++++++++++------------ 2 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/config/rootfiles/common/pam b/config/rootfiles/common/pam index 3335a54..060ed00 100644 --- a/config/rootfiles/common/pam +++ b/config/rootfiles/common/pam @@ -17,12 +17,13 @@ etc/security #etc/security/pam_env.conf #etc/security/time.conf lib/libpam.so.0 -lib/libpam.so.0.81.10 +lib/libpam.so.0.84.2 lib/libpam_misc.so.0 -lib/libpam_misc.so.0.81.3 +lib/libpam_misc.so.0.82.1 lib/libpamc.so.0 -lib/libpamc.so.0.81.0 +lib/libpamc.so.0.82.1 #lib/security +#lib/security/mkhomedir_helper #lib/security/pam_access.la lib/security/pam_access.so #lib/security/pam_debug.la @@ -71,6 +72,8 @@ lib/security/pam_mail.so lib/security/pam_nologin.so #lib/security/pam_permit.la lib/security/pam_permit.so +#lib/security/pam_pwhistory.la +lib/security/pam_pwhistory.so #lib/security/pam_rhosts.la lib/security/pam_rhosts.so #lib/security/pam_rootok.la @@ -85,8 +88,14 @@ lib/security/pam_shells.so #lib/security/pam_succeed_if.so #lib/security/pam_tally.la #lib/security/pam_tally.so +#lib/security/pam_tally2 +#lib/security/pam_tally2.la +lib/security/pam_tally2.so #lib/security/pam_time.la #lib/security/pam_time.so +#lib/security/pam_timestamp.la +lib/security/pam_timestamp.so +#lib/security/pam_timestamp_check #lib/security/pam_umask.la #lib/security/pam_umask.so #lib/security/pam_unix.la @@ -133,6 +142,9 @@ usr/lib/libpamc.so #usr/share/man/man3/pam_end.3 #usr/share/man/man3/pam_error.3 #usr/share/man/man3/pam_fail_delay.3 +#usr/share/man/man3/pam_get_authtok.3 +#usr/share/man/man3/pam_get_authtok_noverify.3 +#usr/share/man/man3/pam_get_authtok_verify.3 #usr/share/man/man3/pam_get_data.3 #usr/share/man/man3/pam_get_item.3 #usr/share/man/man3/pam_get_user.3 @@ -163,6 +175,7 @@ usr/lib/libpamc.so #usr/share/man/man3/pam_vsyslog.3 #usr/share/man/man3/pam_xauth_data.3 #usr/share/man/man5/access.conf.5 +#usr/share/man/man5/environment.5 #usr/share/man/man5/group.conf.5 #usr/share/man/man5/limits.conf.5 #usr/share/man/man5/namespace.conf.5 @@ -171,9 +184,9 @@ usr/lib/libpamc.so #usr/share/man/man5/pam_env.conf.5 #usr/share/man/man5/time.conf.5 #usr/share/man/man8/PAM.8 +#usr/share/man/man8/mkhomedir_helper.8 #usr/share/man/man8/pam.8 #usr/share/man/man8/pam_access.8 -#usr/share/man/man8/pam_cracklib.8 #usr/share/man/man8/pam_debug.8 #usr/share/man/man8/pam_deny.8 #usr/share/man/man8/pam_echo.8 @@ -196,14 +209,17 @@ usr/lib/libpamc.so #usr/share/man/man8/pam_namespace.8 #usr/share/man/man8/pam_nologin.8 #usr/share/man/man8/pam_permit.8 +#usr/share/man/man8/pam_pwhistory.8 #usr/share/man/man8/pam_rhosts.8 #usr/share/man/man8/pam_rootok.8 #usr/share/man/man8/pam_securetty.8 #usr/share/man/man8/pam_shells.8 #usr/share/man/man8/pam_succeed_if.8 #usr/share/man/man8/pam_tally.8 +#usr/share/man/man8/pam_tally2.8 #usr/share/man/man8/pam_time.8 -#usr/share/man/man8/pam_tty_audit.8 +#usr/share/man/man8/pam_timestamp.8 +#usr/share/man/man8/pam_timestamp_check.8 #usr/share/man/man8/pam_umask.8 #usr/share/man/man8/pam_unix.8 #usr/share/man/man8/pam_userdb.8 @@ -212,4 +228,3 @@ usr/lib/libpamc.so #usr/share/man/man8/pam_xauth.8 #usr/share/man/man8/unix_chkpwd.8 #usr/share/man/man8/unix_update.8 -#var/run/sepermit diff --git a/lfs/pam b/lfs/pam index 75557a4..351f73a 100644 --- a/lfs/pam +++ b/lfs/pam @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2016 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@
include Config
-VER = 0.99.10.0 +VER = 1.3.0
THISAPP = Linux-PAM-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = be4dd1d34ac5933408e13e48f3eb710a +$(DL_FILE)_MD5 = da4b2289b7cfb19583d54e9eaaef1c3a
install : $(TARGET)
@@ -69,20 +69,23 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --libdir=/usr/lib \ - --sbindir=/lib/security \ - --enable-securedir=/lib/security \ - --enable-docdir=/usr/share/doc/Linux-PAM-$(VER) \ - --enable-read-both-confs --disable-nls + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --libdir=/usr/lib \ + --sysconfdir=/etc \ + --libdir=/usr/lib \ + --sbindir=/lib/security \ + --enable-securedir=/lib/security \ + --enable-docdir=/usr/share/doc/Linux-PAM-$(VER) \ + --enable-read-both-confs \ + --disable-nls cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install chmod -v 4755 /lib/security/unix_chkpwd mv -v /lib/security/pam_tally /sbin mv -v /usr/lib/libpam*.so.0* /lib - ln -v -sf ../../lib/libpam.so.0.81.10 /usr/lib/libpam.so - ln -v -sf ../../lib/libpamc.so.0.81.0 /usr/lib/libpamc.so - ln -v -sf ../../lib/libpam_misc.so.0.81.3 /usr/lib/libpam_misc.so + ln -sfv /lib/libpam.so.0.84.2 /usr/lib/libpam.so + ln -sfv /lib/libpamc.so.0.82.1 /usr/lib/libpamc.so + ln -sfv /lib/libpam_misc.so.0.82.1 /usr/lib/libpam_misc.so -mkdir -p /etc/pam.d cp $(DIR_SRC)/config/pam/* /etc/pam.d chown root.root -R /etc/pam.d