Index: x11/xscreensaver/Makefile =================================================================== --- x11/xscreensaver/Makefile +++ x11/xscreensaver/Makefile @@ -1,7 +1,7 @@ # Created by: dom@myrddin.demon.co.uk PORTNAME= xscreensaver -PORTVERSION= 6.02 +PORTVERSION= 6.03 CATEGORIES= x11 MASTER_SITES= http://www.jwz.org/xscreensaver/ @@ -17,8 +17,8 @@ libgle.so:graphics/gle \ libharfbuzz.so:print/harfbuzz -USES= autoreconf cpe gettext gl gmake gnome jpeg localbase:ldflags perl5 \ - pkgconfig xorg +USES= autoreconf cpe gettext gl gmake gnome jpeg localbase:ldflags \ + perl5 pkgconfig xorg USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libglade2 libxml2 USE_PERL5= run @@ -52,8 +52,8 @@ OPTIONS_DEFAULT= PAM XFT OPTIONS_SUB= yes -PAM_CONFIGURE_WITH= passwd-helper=${PREFIX}/bin/pam_helper -PAM_RUN_DEPENDS= pam_helper:security/pam_helper +PAM_CONFIGURE_WITH= pam +PAM_RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper SETUID_HACKS_DESC= Install sonar hack suid so it can ping SETUID_HACKS_CONFIGURE_WITH= setuid-hacks @@ -88,7 +88,8 @@ XSNOW_RUN_DEPENDS= xsnow:x11/xsnow SUB_FILES= xscreensaver-blank.desktop xscreensaver-lock.desktop \ - xscreensaver-start.desktop xscreensaver-stop.desktop + xscreensaver-start.desktop xscreensaver-stop.desktop \ + xscreensaver.pam post-patch: ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ @@ -108,6 +109,6 @@ ${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam post-install-PAM-on: - ${INSTALL_DATA} ${FILESDIR}/xscreensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver + ${INSTALL_DATA} ${WRKDIR}/xscreensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver .include Index: x11/xscreensaver/distinfo =================================================================== --- x11/xscreensaver/distinfo +++ x11/xscreensaver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1635508283 -SHA256 (xscreensaver-6.02.tar.gz) = 5e6d6cb09033ad562cfe6d46bf9312e4451f7946bed8a4671aa9344df9193184 -SIZE (xscreensaver-6.02.tar.gz) = 22672643 +TIMESTAMP = 1653894371 +SHA256 (xscreensaver-6.03.tar.gz) = 328d51797352acf58ca5bab49e76fbf26034e7cad785f651ea11ce7b43fba25a +SIZE (xscreensaver-6.03.tar.gz) = 25703584 Index: x11/xscreensaver/files/patch-config.h.in =================================================================== --- x11/xscreensaver/files/patch-config.h.in +++ x11/xscreensaver/files/patch-config.h.in @@ -1,6 +1,6 @@ ---- config.h.in.orig 2021-05-08 15:22:06 UTC +--- config.h.in.orig 2022-02-20 19:12:54 UTC +++ config.h.in -@@ -315,6 +315,9 @@ +@@ -311,6 +311,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UTIL_H Index: x11/xscreensaver/files/patch-configure.ac =================================================================== --- x11/xscreensaver/files/patch-configure.ac +++ x11/xscreensaver/files/patch-configure.ac @@ -1,71 +1,6 @@ ---- configure.ac.orig 2021-10-04 22:18:28 UTC +--- configure.ac.orig 2022-02-20 21:05:40 UTC +++ configure.ac -@@ -274,8 +274,8 @@ AH_TEMPLATE([HAVE_ADJUNCT_PASSWD], - AH_TEMPLATE([HAVE_HPUX_PASSWD], - [Define this for HPUX so-called "Secure Passwords".]) - --#AH_TEMPLATE([PASSWD_HELPER_PROGRAM], --# [Define this to use a third-party password helper program.]) -+AH_TEMPLATE([PASSWD_HELPER_PROGRAM], -+ [Define this to use a third-party password helper program.]) - - AH_TEMPLATE([HAVE_SYSLOG], - [Define this if you have openlog/syslog/closelog.]) -@@ -2725,31 +2725,31 @@ fi - # - ############################################################################### - --#have_passwd_helper=no --#with_passwd_helper_req=unspecified --# --#AC_ARG_WITH(passwd-helper, --#[ --with-passwd-helper Include support for external password verification.], --# [with_passwd_helper="$withval"; with_passwd_helper_req="$withval"],[with_passwd_helper=no]) --## no HANDLE_X_PATH_ARG for this one --# --#if test "$enable_locking" = no ; then --# with_passwd_helper_req=no --# with_passwd_helper=no --#fi --# --#case "$with_passwd_helper" in --# ""|no) : ;; --# /*) --# AC_DEFINE_UNQUOTED(PASSWD_HELPER_PROGRAM, "$with_passwd_helper") --# have_passwd_helper=yes;; --# *) --# echo "error: --with-passwd-helper needs full pathname of helper (not '$with_passwd_helper')." >&2 --# exit 1 --#esac -+have_passwd_helper=no -+with_passwd_helper_req=unspecified - -+AC_ARG_WITH(passwd-helper, -+[ --with-passwd-helper Include support for external password verification.], -+ [with_passwd_helper="$withval"; with_passwd_helper_req="$withval"],[with_passwd_helper=no]) -+# no HANDLE_X_PATH_ARG for this one - -+if test "$enable_locking" = no ; then -+ with_passwd_helper_req=no -+ with_passwd_helper=no -+fi - -+case "$with_passwd_helper" in -+ ""|no) : ;; -+ /*) -+ AC_DEFINE_UNQUOTED(PASSWD_HELPER_PROGRAM, "$with_passwd_helper") -+ have_passwd_helper=yes;; -+ *) -+ echo "error: --with-passwd-helper needs full pathname of helper (not '$with_passwd_helper')." >&2 -+ exit 1 -+esac -+ -+ -+ - # Most of the above shadow mechanisms will have set setuid_auth to yes, - # if they were found. But, on some systems, we need setuid even when - # using plain old vanilla passwords. -@@ -4011,7 +4011,7 @@ fi +@@ -3986,7 +3986,7 @@ fi ############################################################################### PTY_LIBS= @@ -74,18 +9,3 @@ AC_CHECK_X_LIB(util, forkpty, [PTY_LIBS="-lutil" ac_have_forkpty=yes -@@ -4174,10 +4174,10 @@ if test "$enable_pam_check_account_type" = yes; then - else - COMMENT_PAM_CHECK_ACCOUNT="#" - fi --#if test "$have_passwd_helper" = yes; then --# PASSWD_SRCS="$PASSWD_SRCS \$(PWHELPER_SRCS)" --# PASSWD_OBJS="$PASSWD_OBJS \$(PWHELPER_OBJS)" --#fi -+if test "$have_passwd_helper" = yes; then -+ PASSWD_SRCS="$PASSWD_SRCS \$(PWHELPER_SRCS)" -+ PASSWD_OBJS="$PASSWD_OBJS \$(PWHELPER_OBJS)" -+fi - PASSWD_SRCS="$PASSWD_SRCS \$(PWENT_SRCS)" - PASSWD_OBJS="$PASSWD_OBJS \$(PWENT_OBJS)" - Index: x11/xscreensaver/files/patch-driver_passwd-helper.c =================================================================== --- x11/xscreensaver/files/patch-driver_passwd-helper.c +++ /dev/null @@ -1,11 +0,0 @@ ---- driver/passwd-helper.c.orig 2021-10-04 22:18:28 UTC -+++ driver/passwd-helper.c -@@ -20,8 +20,6 @@ - - *****************************************************************************/ - --#error "email jwz@jwz.org about passwd-helper.c" -- - - /* The idea here is to be able to run xscreensaver without any setuid bits. - * Password verification happens through an external program that you feed Index: x11/xscreensaver/files/xscreensaver.pam =================================================================== --- x11/xscreensaver/files/xscreensaver.pam +++ /dev/null @@ -1,2 +0,0 @@ -auth include system -account include system Index: x11/xscreensaver/files/xscreensaver.pam.in =================================================================== --- /dev/null +++ x11/xscreensaver/files/xscreensaver.pam.in @@ -0,0 +1,4 @@ +auth sufficient pam_exec.so return_prog_exit_status \ + expose_authtok %%LOCALBASE%%/libexec/unix-selfauth-helper +auth include system +account include system Index: x11/xscreensaver/pkg-plist =================================================================== --- x11/xscreensaver/pkg-plist +++ x11/xscreensaver/pkg-plist @@ -138,6 +138,8 @@ bin/xscreensaver-hacks/lockward bin/xscreensaver-hacks/loop bin/xscreensaver-hacks/m6502 +bin/xscreensaver-hacks/mapscroller +bin/xscreensaver-hacks/mapscroller.pl bin/xscreensaver-hacks/marbling bin/xscreensaver-hacks/maze bin/xscreensaver-hacks/maze3d @@ -181,7 +183,7 @@ bin/xscreensaver-hacks/queens bin/xscreensaver-hacks/raverhoop bin/xscreensaver-hacks/razzledazzle -bin/xscreensaver-hacks/rd-bomb +bin/xscreensaver-hacks/rdbomb bin/xscreensaver-hacks/ripples bin/xscreensaver-hacks/rocks bin/xscreensaver-hacks/romanboy @@ -197,6 +199,7 @@ bin/xscreensaver-hacks/skytentacles bin/xscreensaver-hacks/slidescreen bin/xscreensaver-hacks/slip +bin/xscreensaver-hacks/squirtorus bin/xscreensaver-hacks/xscreensaver-auth bin/xscreensaver-hacks/xscreensaver-getimage bin/xscreensaver-hacks/xscreensaver-getimage-file @@ -403,6 +406,7 @@ man/man6/lcdscrub.6.gz man/man6/lockward.6.gz man/man6/loop.6.gz +man/man6/mapscroller.6.gz man/man6/marbling.6.gz man/man6/maze.6.gz man/man6/maze3d.6.gz @@ -445,7 +449,7 @@ man/man6/queens.6.gz man/man6/raverhoop.6.gz man/man6/razzledazzle.6.gz -man/man6/rd-bomb.6.gz +man/man6/rdbomb.6.gz man/man6/ripples.6.gz man/man6/rocks.6.gz man/man6/romanboy.6.gz @@ -470,6 +474,7 @@ man/man6/spotlight.6.gz man/man6/sproingies.6.gz man/man6/squiral.6.gz +man/man6/squirtorus.6.gz man/man6/stairs.6.gz man/man6/starfish.6.gz man/man6/starwars.6.gz @@ -680,6 +685,7 @@ %%DATADIR%%/config/lockward.xml %%DATADIR%%/config/loop.xml %%DATADIR%%/config/m6502.xml +%%DATADIR%%/config/mapscroller.xml %%DATADIR%%/config/marbling.xml %%DATADIR%%/config/maze.xml %%DATADIR%%/config/maze3d.xml @@ -723,7 +729,7 @@ %%DATADIR%%/config/queens.xml %%DATADIR%%/config/raverhoop.xml %%DATADIR%%/config/razzledazzle.xml -%%DATADIR%%/config/rd-bomb.xml +%%DATADIR%%/config/rdbomb.xml %%DATADIR%%/config/ripples.xml %%DATADIR%%/config/rocks.xml %%DATADIR%%/config/romanboy.xml @@ -748,6 +754,7 @@ %%DATADIR%%/config/spotlight.xml %%DATADIR%%/config/sproingies.xml %%DATADIR%%/config/squiral.xml +%%DATADIR%%/config/squirtorus.xml %%DATADIR%%/config/stairs.xml %%DATADIR%%/config/starfish.xml %%DATADIR%%/config/starwars.xml