1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix name of PAM policy file, so that it is actually used

- While here, install PAM policy file using @sample directive, so it
  is managed as a condfiguration file

PR:		252837
Submitted by:	genneko217@gmail.com
MFH:		2021Q1
This commit is contained in:
Guido Falsi 2021-01-19 23:04:34 +00:00
parent 97409bc904
commit bcfab3b817
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562098
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= xfce4-screensaver
PORTVERSION= 4.16.0
PORTREVISION= 1
CATEGORIES= x11 xfce
MASTER_SITES= XFCE/apps
DIST_SUBDIR= xfce4
@ -63,6 +64,6 @@ post-install:
@${REINPLACE_CMD} 's/^\(Name[^=]*=\)\(.*\)/\1XFCE \2/' ${STAGEDIR}${PREFIX}/etc/xdg/autostart/xfce4-screensaver.desktop
post-install-PAM-on:
${INSTALL_DATA} ${FILESDIR}/xfce-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xfce-screensaver
${INSTALL_DATA} ${FILESDIR}/xfce4-screensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xfce4-screensaver.sample
.include <bsd.port.post.mk>

View File

@ -2,7 +2,7 @@ bin/xfce4-screensaver
bin/xfce4-screensaver-command
bin/xfce4-screensaver-configure
bin/xfce4-screensaver-preferences
%%PAM%%etc/pam.d/xfce-screensaver
%%PAM%%@sample etc/pam.d/xfce4-screensaver.sample
etc/xdg/autostart/xfce4-screensaver.desktop
etc/xdg/menus/xfce4-screensavers.menu
libexec/xfce4-screensaver-dialog