Commit f0f85b01 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated Linux-PAM to 1.4.0

parent a125dcb6
all: pam.d-other all: pam.d-other
tar xf Linux-PAM-1.3.1.tar.xz tar xf Linux-PAM-1.4.0.tar.xz
cd Linux-PAM-1.3.1 && ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-regenerate-docu --enable-securedir=/lib/security --docdir=/usr/share/doc/Linux-PAM-1.3.1 cd Linux-PAM-1.4.0 && ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-regenerate-docu --enable-securedir=/lib/security --docdir=/usr/share/doc/Linux-PAM-1.4.0
$(MAKE) -C Linux-PAM-1.3.1 $(MAKE) -C Linux-PAM-1.4.0
install -v -m755 -d /etc/pam.d install -v -m755 -d /etc/pam.d
@echo "$$PAM_OTHER" > /etc/pam.d/other @echo "$$PAM_OTHER" > /etc/pam.d/other
$(MAKE) -C Linux-PAM-1.3.1 check $(MAKE) -C Linux-PAM-1.4.0 check
rm -fv /etc/pam.d/* rm -fv /etc/pam.d/*
$(MAKE) -C Linux-PAM-1.3.1 install $(MAKE) -C Linux-PAM-1.4.0 install
chmod -v 4755 /sbin/unix_chkpwd chmod -v 4755 /sbin/unix_chkpwd
for file in pam pam_misc pamc ; do \ for file in pam pam_misc pamc ; do \
mv -v /usr/lib/lib$${file}.so.* /lib ; \ mv -v /usr/lib/lib$${file}.so.* /lib ; \
...@@ -14,7 +14,7 @@ all: pam.d-other ...@@ -14,7 +14,7 @@ all: pam.d-other
done done
cp /usr/share/factory/etc/pam.d/system-auth /etc/pam.d/system-auth cp /usr/share/factory/etc/pam.d/system-auth /etc/pam.d/system-auth
cp /usr/share/factory/etc/pam.d/other /etc/pam.d/other cp /usr/share/factory/etc/pam.d/other /etc/pam.d/other
rm -rf Linux-PAM-1.3.1 rm -rf Linux-PAM-1.4.0
pam.d-other: pam.d-other:
define PAM_OTHER define PAM_OTHER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment