X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fpam;h=2d7b319e3be343e7f17b98c55077bbcd3ac25fa5;hp=75557a499628ba50a5f0904cf24030b53a0c0c84;hb=eee037b8902c3163850069f302479e7733966bd0;hpb=16d026cbcb41e9231fe6bbc0ac350bba12f625ca diff --git a/lfs/pam b/lfs/pam index 75557a4996..2d7b319e3b 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) 2007-2018 IPFire Team # # # # 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,10 +24,10 @@ include Config -VER = 0.99.10.0 +VER = 1.3.0 THISAPP = Linux-PAM-$(VER) -DL_FILE = $(THISAPP).tar.bz2 +DL_FILE = $(THISAPP).tar.gz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = be4dd1d34ac5933408e13e48f3eb710a +$(DL_FILE)_MD5 = 642c994edb9cf39b74cb1bca0649613b install : $(TARGET) @@ -69,7 +69,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + $(UPDATE_AUTOMAKE) cd $(DIR_APP) && ./configure --libdir=/usr/lib \ --sbindir=/lib/security \ --enable-securedir=/lib/security \ @@ -77,14 +78,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --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 + + # Install configuration -mkdir -p /etc/pam.d - cp $(DIR_SRC)/config/pam/* /etc/pam.d - chown root.root -R /etc/pam.d + @rm -rf $(DIR_APP) @$(POSTBUILD)