From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/pam.xibuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'repo/system/pam.xibuild') diff --git a/repo/system/pam.xibuild b/repo/system/pam.xibuild index 3166ad2..b0c18c5 100644 --- a/repo/system/pam.xibuild +++ b/repo/system/pam.xibuild @@ -6,12 +6,15 @@ PKG_VER=1.5.2 SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v$PKG_VER/Linux-PAM-$PKG_VER.tar.xz DESC="PAM (Pluggable Authentication Modules) library" -build () { +patch() { # prevent install of an uneeded systemd file sed -e /service_DATA/d \ -i modules/pam_namespace/Makefile.am && autoreconf +} + +build () { ./configure --prefix=/usr \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ @@ -19,11 +22,11 @@ build () { --enable-securedir=/usr/lib/security \ --docdir=/usr/share/doc/Linux-PAM-$PKG_VER && make - - make DESTDIR=$PKG_DEST install } package () { + make DESTDIR=$PKG_DEST install + install -v -m755 -d $PKG_DEST/etc/pam.d && cat > $PKG_DEST/etc/pam.d/other << "EOF" -- cgit v1.2.1