Skip to content

Commit

Permalink
x11/xscreensaver: Drop custom PAM policy
Browse files Browse the repository at this point in the history
Instead, symlink to the unix-selfauth policy now delivered with
security/unix-selfauth-helper.

Approved by:		x11 (manu)
Differential Revision:	https://reviews.freebsd.org/D41174
  • Loading branch information
Zirias committed Jul 26, 2023
1 parent f7d5da3 commit 93a3cca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 5 additions & 5 deletions x11/xscreensaver/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xscreensaver
DISTVERSION= 6.06
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://www.jwz.org/xscreensaver/

Expand Down Expand Up @@ -86,8 +86,7 @@ XSNOW_DESC= Add extra port x11/xsnow
XSNOW_RUN_DEPENDS= xsnow:x11/xsnow

SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \
xscreensaver-start.desktop xscreensaver-stop.desktop \
xscreensaver.pam
xscreensaver-start.desktop xscreensaver-stop.desktop

post-patch:
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
Expand All @@ -104,7 +103,8 @@ post-patch-NSFW-off:
post-install:
${INSTALL_DATA} ${FILESDIR}/x*.xml ${STAGEDIR}${DATADIR}/config/
${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/
${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam
${INSTALL_DATA} ${WRKDIR}/xscreensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver
${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver
${LN} -s ${LOCALBASE}/etc/pam.d/unix-selfauth \
${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver

.include <bsd.port.mk>
4 changes: 0 additions & 4 deletions x11/xscreensaver/files/xscreensaver.pam.in

This file was deleted.

0 comments on commit 93a3cca

Please sign in to comment.