
Receipt for package "pam"
# SliTaz package receipt. PACKAGE="pam" VERSION="1.5.2" CATEGORY="system-tools" SHORT_DESC="Pluggable Authentication Modules." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD GPL2" SOURCE="Linux-PAM" TARBALL="$SOURCE-$VERSION.tar.xz" WEB_SITE="http://www.linux-pam.org/" WGET_URL="https://github.com/linux-pam/linux-pam/releases/download/v$VERSION/$TARBALL" HOST_ARCH="i486 arm x86_64" DEPENDS="glibc-base libdb" BUILD_DEPENDS="flex db-dev libdb" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { # Patch CVE-2024-22365 # see https://seclists.org/oss-sec/2024/q1/31 patch -p1 < $stuff/CVE-2024-22365.patch sed -i 's|(uname -m)|(echo i686)|;s|`uname -m`|`echo i686`|' \ configure build-aux/config.guess ./configure --sysconfdir=/etc \ --libdir=/lib \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/lib cp -a $install/etc $fs cp -a $install/sbin $fs cp -a $install/lib/*so* $fs/lib cp -a $install/lib/security $fs/lib rm -f $fs/lib/security/*.la cp -a $stuff/etc $fs } pre_remove() { # If busybox-pam is installed, trigger its removal right now. Once pam shared # library will be removed, it will be too late. Don't worry about this, while # removing busybox-pam will replace itself by a non-pam busybox. if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then tazpkg remove busybox-pam --auto fi }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)