ports/169724: [PATCH] x11/xscreensaver unbreak PAM authentication

John Marshall john.marshall at riverwillow.com.au
Mon Jul 9 01:00:23 UTC 2012


>Number:         169724
>Category:       ports
>Synopsis:       [PATCH] x11/xscreensaver unbreak PAM authentication
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 09 01:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Marshall
>Release:        FreeBSD 9.0-RELEASE-p3 i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD rwpc13 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 10:19:46 AEST 2012 root at rwpc13:/usr/obj/build/src/sys/RWPC13 i386


	
>Description:

Since the 5.17 upgrade, PAM authentication has been broken.  The port
installs (blindly) its own /usr/local/etc/pamd/xscreensaver file which,
since 5.17, refers to a non-existent 'system-auth' module:

  # Fedora Core 5:
  auth       include	system-auth

The problem is that the FreeBSD port-supplied file is now being
overwritten by the one from the xscreensaver build.  The attached patch
provides a larger hammer to ensure that the FreeBSD
files/xscreensaver.pam is once again installed.

>How-To-Repeat:
	
>Fix:

	

--- xscreensaver-5.18.diff begins here ---
diff -urN x11/xscreensaver-5.18/Makefile x11/xscreensaver/Makefile
--- x11/xscreensaver-5.18/Makefile	2012-07-05 09:46:17.000000000 +1000
+++ x11/xscreensaver/Makefile	2012-07-09 10:19:28.000000000 +1000
@@ -147,7 +147,8 @@
 	@ ${SED} -e "s#/etc/pam.d#${PREFIX}/etc/pam.d#g" \
 	    ${WRKSRC}/${f}.presed > ${WRKSRC}/${f}
 .endfor
-	@ ${CP} ${FILESDIR}/xscreensaver.pam ${WRKSRC}/driver/xscreensaver.pam
+	@ ${CP} ${FILESDIR}/xscreensaver.pam \
+	    ${WRKSRC}/driver/xscreensaver.pam.in
 .else
 	@ ${CP} ${WRKSRC}/driver/Makefile.in ${WRKSRC}/driver/Makefile.in.post
 	@ ${SED} -e "s#install-xml install-pam#install-xml#" \
--- xscreensaver-5.18.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list