wok-4.x view pam/receipt @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (14 months ago)
parents 79d46277d7f9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Pluggable Authentication Modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Linux-PAM"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/"
11 # Download sources from a non-https mirror so that tazwok can
12 # cook the toolchain (pam is a build-depend of busybox).
13 # It's because at this moment tazwok doesn't have access to https
14 # compatible wget.
15 #WGET_URL="http://gentoo.osuosl.org/distfiles/$TARBALL"
16 WGET_URL="http://mirror.slitaz.org/sources/packages-4.0/L/$TARBALL"
18 DEPENDS="glibc-base libdb"
19 BUILD_DEPENDS="flex db db-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 patch -p1 < $stuff/$SOURCE-$VERSION-glibc-2.16.patch
26 ./configure --sysconfdir=/etc $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/lib
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/var $fs
36 cp -a $_pkg/sbin $fs
37 cp -a $_pkg/lib/*so* $fs/lib
38 cp -a $_pkg/lib/security $fs/lib
39 rm -f $fs/lib/security/*.la
40 cp -a $stuff/* $fs
41 }
43 pre_remove()
44 {
45 # If busybox-pam is installed, trigger its removal right now. Once pam shared
46 # library will be removed, it will be too late. Don't worry about this, while
47 # removing busybox-pam will replace itself by a non-pam busybox.
48 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
49 tazpkg remove busybox-pam --auto
50 fi
51 }