Files
bpfire/lfs/pam
Adolf Belka 5a7fe40a6a pam: Update to version 1.5.3
- Update from version 1.5.2 to 1.5.3
- Update of rootfile
- Changelog
Release 1.5.3
	* configure: added options to configure stylesheets.
	* configure: added --enable-logind option to use logind instead of utmp
	  in pam_issue and pam_timestamp.
	* pam_modutil_getlogin: changed to use getlogin() from libc instead of parsing
          utmp.
	* Added libeconf support to pam_env and pam_shells.
	* Added vendor directory support to pam_access, pam_env, pam_group, pam_faillock,
	  pam_limits, pam_namespace, pam_pwhistory, pam_sepermit, pam_shells, and pam_time.
	* pam_limits: changed to not fail on missing config files.
	* pam_pwhistory: added conf= option to specify config file location.
	* pam_pwhistory: added file= option to specify password history file location.
	* pam_shells: added shells.d support when libeconf and vendordir are enabled.
	* Deprecated pam_lastlog: this module is no longer built by default because
	  it uses utmp, wtmp, btmp and lastlog, but none of them are Y2038 safe,
	  even on 64bit architectures.
	  pam_lastlog will be removed in one of the next releases, consider using
	  pam_lastlog2 (from https://github.com/thkukuk/lastlog2) and/or
	  pam_wtmpdb (from https://github.com/thkukuk/wtmpdb) instead.
	* Deprecated _pam_overwrite(), _pam_overwrite_n(), and _pam_drop_reply() macros
	  provided by _pam_macros.h; the memory override performed by these macros can
	  be optimized out by the compiler and therefore can no longer be relied upon.
	* Multiple minor bug fixes, portability fixes, documentation improvements,
	  and translation updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-06-15 09:36:39 +00:00

88 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.5.3
THISAPP = Linux-PAM-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 362c939f3afc343e6f4e78e7f6ba6f7a9c6ee0a9948bb5a4fc34cecfd29e9fa974082534d4ceedd04d8d3e34c7b3ef43d2a07ba5f41d26da04ec8330fc3790fb
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@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 \
--enable-read-both-confs \
--disable-nls
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
# Install configuration
-mkdir -p /etc/pam.d
@rm -rf $(DIR_APP)
@$(POSTBUILD)