ports/contrib (3.6): [notify] yubico-pam: removed obsolete dependencies

crux at crux.nu crux at crux.nu
Sun Aug 15 15:18:15 UTC 2021


commit 41e8eac82edd51f3820b35f7e4b87b1fb65516ff
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Aug 15 16:35:33 2021 +0200

    [notify] yubico-pam: removed obsolete dependencies

diff --git a/yubico-pam/.footprint b/yubico-pam/.footprint
index 8aaf54e1f..f4ef6b493 100644
--- a/yubico-pam/.footprint
+++ b/yubico-pam/.footprint
@@ -5,9 +5,3 @@ drwxr-xr-x	root/root	lib/security/
 drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/bin/
 -rwxr-xr-x	root/root	usr/bin/ykpamcfg
-drwxr-xr-x	root/root	usr/share/
-drwxr-xr-x	root/root	usr/share/man/
-drwxr-xr-x	root/root	usr/share/man/man1/
--rw-r--r--	root/root	usr/share/man/man1/ykpamcfg.1.gz
-drwxr-xr-x	root/root	usr/share/man/man8/
--rw-r--r--	root/root	usr/share/man/man8/pam_yubico.8.gz
diff --git a/yubico-pam/.signature b/yubico-pam/.signature
index bad598319..1b1aa9426 100644
--- a/yubico-pam/.signature
+++ b/yubico-pam/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF310vAzhz4kJrNt8GJMxhnZsthVeNr8znwjCoi+Oee8osw2FIuv8KMAVqClvXiRuIDoa4bad4+zjZAi11Gtw4swA=
-SHA256 (Pkgfile) = e0b8d6cae5a4197c040a7a4537a5878dfded1bf7f57856d55c1455193d711237
-SHA256 (.footprint) = c70062ef917bcc3bffeee3bcf9c3be84bbce30b133c599193a662c5eb6697cf6
+RWSagIOpLGJF3yQe6p1pc9VwYjy4wWmp1dIEO38jj859/Zmzp+FqXYHd1qCqfF7WCd/um6NGyNPYC9Xc2jJt6HycMHT39LPMoAg=
+SHA256 (Pkgfile) = 96e1d5460e82f8a33470630dc4899390ff12aaecacec77eb15be8404f28d4ca2
+SHA256 (.footprint) = 03c767880ad6a8ea314cc2bd3fdfda4c5e9b9a4751079655daaf5f6e3a690540
 SHA256 (yubico-pam-2.27.tar.gz) = 04f5a3698c877bd36391ef052c2975ff86e5655610b82276b307146c17787b1d
diff --git a/yubico-pam/Pkgfile b/yubico-pam/Pkgfile
index d87fa801e..3176a3d73 100644
--- a/yubico-pam/Pkgfile
+++ b/yubico-pam/Pkgfile
@@ -1,17 +1,22 @@
 # Description: Yubico Pluggable Authentication Module (PAM)
 # URL: https://github.com/Yubico/yubico-pam
 # Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: linux-pam json-c openldap yubikey-personalization
+# Depends on: linux-pam json-c yubikey-personalization
+# Optional: asciidoc openldap
 
 name=yubico-pam
 version=2.27
-release=1
+release=2
 source=(https://github.com/Yubico/yubico-pam/archive/$version/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
+
+  prt-get isinst asciidoc || PKGMK_YUBICOPAM+=' --disable-documentation'
+  prt-get isinst openldap || PKGMK_YUBICOPAM+=' --without-ldap'
+
   autoreconf -fi
-  ./configure --prefix=/usr \
+  ./configure --prefix=/usr $PKGMK_YUBICOPAM \
     --with-pam-dir=/lib/security \
     --disable-static
   make


More information about the CRUX mailing list