Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 23:04:35 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562098 - in head/x11/xfce4-screensaver: . files
Message-ID:  <202101192304.10JN4ZM9065101@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Jan 19 23:04:34 2021
New Revision: 562098
URL: https://svnweb.freebsd.org/changeset/ports/562098

Log:
  - 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

Added:
     - copied unchanged from r562097, head/x11/xfce4-screensaver/files/xfce-screensaver.pam
Directory Properties:
  head/x11/xfce4-screensaver/files/xfce4-screensaver.pam   (props changed)
Deleted:
  head/x11/xfce4-screensaver/files/xfce-screensaver.pam
Modified:
  head/x11/xfce4-screensaver/Makefile
  head/x11/xfce4-screensaver/pkg-plist

Modified: head/x11/xfce4-screensaver/Makefile
==============================================================================
--- head/x11/xfce4-screensaver/Makefile	Tue Jan 19 22:54:01 2021	(r562097)
+++ head/x11/xfce4-screensaver/Makefile	Tue Jan 19 23:04:34 2021	(r562098)
@@ -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>

Copied: head/x11/xfce4-screensaver/files/xfce4-screensaver.pam (from r562097, head/x11/xfce4-screensaver/files/xfce-screensaver.pam)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xfce4-screensaver/files/xfce4-screensaver.pam	Tue Jan 19 23:04:34 2021	(r562098, copy of r562097, head/x11/xfce4-screensaver/files/xfce-screensaver.pam)
@@ -0,0 +1,2 @@
+auth            include         system
+account         include         system

Modified: head/x11/xfce4-screensaver/pkg-plist
==============================================================================
--- head/x11/xfce4-screensaver/pkg-plist	Tue Jan 19 22:54:01 2021	(r562097)
+++ head/x11/xfce4-screensaver/pkg-plist	Tue Jan 19 23:04:34 2021	(r562098)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101192304.10JN4ZM9065101>