From 4a212a8cad9f4dd2427d74ecf2ec2531bd684192 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 21 Sep 2021 20:26:25 +0200 Subject: [PATCH] linux-pam: move pkgconfig files from /lib to /usr/lib --- linux-pam/.footprint | 11 ++++------- linux-pam/.signature | 6 +++--- linux-pam/Pkgfile | 7 +++++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/linux-pam/.footprint b/linux-pam/.footprint index 7710db0..1cb3fb6 100644 --- a/linux-pam/.footprint +++ b/linux-pam/.footprint @@ -30,10 +30,6 @@ lrwxrwxrwx root/root lib/libpam_misc.so.0 -> libpam_misc.so.0.82.1 lrwxrwxrwx root/root lib/libpamc.so -> libpamc.so.0.82.1 lrwxrwxrwx root/root lib/libpamc.so.0 -> libpamc.so.0.82.1 -rwxr-xr-x root/root lib/libpamc.so.0.82.1 -drwxr-xr-x root/root lib/pkgconfig/ --rw-r--r-- root/root lib/pkgconfig/pam.pc --rw-r--r-- root/root lib/pkgconfig/pam_misc.pc --rw-r--r-- root/root lib/pkgconfig/pamc.pc drwxr-xr-x root/root lib/security/ -rwxr-xr-x root/root lib/security/pam_access.la -rwxr-xr-x root/root lib/security/pam_access.so @@ -139,9 +135,10 @@ drwxr-xr-x root/root usr/include/security/ -rw-r--r-- root/root usr/include/security/pam_modules.h -rw-r--r-- root/root usr/include/security/pam_modutil.h drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/systemd/ -drwxr-xr-x root/root usr/lib/systemd/system/ --rw-r--r-- root/root usr/lib/systemd/system/pam_namespace.service +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/pam.pc +-rw-r--r-- root/root usr/lib/pkgconfig/pam_misc.pc +-rw-r--r-- root/root usr/lib/pkgconfig/pamc.pc drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man3/ diff --git a/linux-pam/.signature b/linux-pam/.signature index 095bc4a..65c6c65 100644 --- a/linux-pam/.signature +++ b/linux-pam/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/core-arm.pub -RWTMGLGEHsm4dT2g7mVKWlgJEbG3W84EkIDryEpN2wUZjJm0XJF3YAt3E6klP2EKQe8tSIpQs9k/cjylj6nwdynNoBFcVlZwgAw= -SHA256 (Pkgfile) = 928d5cfc6fb27c64186c37cbc540b9f4069e9166958913650a4b564a7a18dc46 -SHA256 (.footprint) = 742cee8ceb6290d3e9adffb71804f8821812c78d2a3a43860358879a99cf4713 +RWTMGLGEHsm4dci86plHYNzHwWbCJafNBiJsmn8prkbi1TiyA0WTTcEGozQzc7SVLWbjvrXolt1k3r94wSr9FukuenT+iC1PHAs= +SHA256 (Pkgfile) = 121d230f961253e111e32059539b2f13f8aac9dde0b26eb8c11a8649388615e4 +SHA256 (.footprint) = 61506ab0d42eb8c61e8051581d901a4b025858b44cdf90d0b150278ab14b2db3 SHA256 (Linux-PAM-1.5.2.tar.xz) = e4ec7131a91da44512574268f493c6d8ca105c87091691b8e9b56ca685d4f94d SHA256 (common-account) = 63b6d073e0a05d45260912fd900e27ccac3304ca23cd05df68ce88da34a5d832 SHA256 (common-auth) = c8f2c471572147fafddfe2062b763d360bbb6d21aa8017c725785f96667e9b02 diff --git a/linux-pam/Pkgfile b/linux-pam/Pkgfile index fd51efd..fb36654 100644 --- a/linux-pam/Pkgfile +++ b/linux-pam/Pkgfile @@ -5,7 +5,7 @@ name=linux-pam version=1.5.2 -release=1 +release=2 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \ common-account common-auth common-password common-session \ other) @@ -18,9 +18,12 @@ build() { --disable-nls \ --disable-prelude \ --enable-db=no + make make DESTDIR=$PKG install + mv $PKG/lib/pkgconfig $PKG/usr/lib + # unix_chkpwd needs to be setuid root chmod u+s $PKG/sbin/unix_chkpwd @@ -29,5 +32,5 @@ build() { $SRC/{common-*,other} \ $PKG/etc/pam.d/ - rm -r $PKG/usr/share/doc + rm -r $PKG/usr/{lib/systemd,share/doc} } -- 2.26.2