Marcel Telka
2023-10-26 935cb546e72c130d4eafd1784d30ba4ebffb600c
cups: drop /etc/pam.d/cups

1 files added
3 files modified
25 ■■■■ changed files
components/print/cups/Makefile 1 ●●●● patch | view | raw | blame | history
components/print/cups/cups.p5m 2 ●●●●● patch | view | raw | blame | history
components/print/cups/manifests/sample-manifest.p5m 2 ●●●●● patch | view | raw | blame | history
components/print/cups/patches/05-no-pam.d.patch 20 ●●●●● patch | view | raw | blame | history
components/print/cups/Makefile
@@ -28,6 +28,7 @@
COMPONENT_NAME=        cups
COMPONENT_VERSION=    2.4.7
COMPONENT_REVSION=    1
COMPONENT_SRC=        $(COMPONENT_NAME)-$(HUMAN_VERSION)
COMPONENT_PROJECT_URL=    https://openprinting.github.io/cups/
COMPONENT_ARCHIVE=    $(COMPONENT_SRC)-source.tar.gz
components/print/cups/cups.p5m
@@ -125,8 +125,6 @@
#file path=etc/cups/snmp.conf.N
file path=etc/cups/snmp.conf.default
file path=etc/dbus-1/system.d/cups.conf
file path=etc/pam.d/cups
#file path=etc/pam.d/cups.N
#file path=lib/svc/manifest/application/cups.xml
# usr/bin/$(MACH32) is being filtered out by a transform rule:
components/print/cups/manifests/sample-manifest.p5m
@@ -33,8 +33,6 @@
file path=etc/cups/snmp.conf.N
file path=etc/cups/snmp.conf.default
file path=etc/dbus-1/system.d/cups.conf
file path=etc/pam.d/cups
file path=etc/pam.d/cups.N
file path=lib/svc/manifest/application/cups.xml
file path=usr/bin/$(MACH32)/cancel
file path=usr/bin/$(MACH32)/cups-config
components/print/cups/patches/05-no-pam.d.patch
New file
@@ -0,0 +1,20 @@
We do not support /etc/pam.d directory.
See https://www.illumos.org/issues/2947
--- cups-2.4.7/config-scripts/cups-pam.m4.orig    2023-10-25 19:36:00.681132879 +0200
+++ cups-2.4.7/config-scripts/cups-pam.m4    2023-10-25 19:36:23.527933638 +0200
@@ -43,14 +43,6 @@
     ], [
         PAMLIBS="-lpam"
     ])
-
-    # Find the PAM configuration directory, if any...
-    for dir in /private/etc/pam.d /etc/pam.d; do
-        AS_IF([test -d $dir], [
-        PAMDIR="$dir"
-        break;
-        ])
-    done
     ])
     LIBS="$SAVELIBS"