deskutils/i3lock: simplify PAM config after ca20c3923e

PR:		273073
Approved by:	bapt (maintainer)
This commit is contained in:
Jan Beich 2023-08-11 15:55:04 +02:00
parent 552ebd5e9b
commit ceb11769e9
2 changed files with 2 additions and 10 deletions

View file

@ -30,8 +30,6 @@ PLIST_FILES= bin/i3lock \
man/man1/i3lock.1.gz \
etc/pam.d/i3lock
SUB_FILES= i3lock.pam
USES= gmake iconv localbase pkgconfig tar:bzip2 xorg
LDFLAGS+= ${ICONV_LIB}
USE_XORG= x11 xcb xt xorgproto xext
@ -47,7 +45,8 @@ OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock
@${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
@${INSTALL_DATA} ${WRKDIR}/i3lock.pam ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
@${LN} -s ${LOCALBASE}/etc/pam.d/unix-selfauth \
${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View file

@ -1,7 +0,0 @@
#
# PAM configuration for the "i3lock" service. i3lock(1) only uses
# auth facilities.
#
auth sufficient pam_exec.so return_prog_exit_status expose_authtok %%LOCALBASE%%/libexec/unix-selfauth-helper
auth include system