Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102859989
D36425.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D36425.diff
View Options
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -1,5 +1,6 @@
PORTNAME= xscreensaver
PORTVERSION= 6.04
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://www.jwz.org/xscreensaver/
@@ -10,7 +11,8 @@
RUN_DEPENDS= giftopnm:graphics/netpbm \
p5-libwww>0:www/p5-libwww \
- p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https
+ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \
+ unix-selfauth-helper>0:security/unix-selfauth-helper
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgle.so:graphics/gle \
@@ -35,6 +37,7 @@
--with-gtk \
--with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
--with-jpeg=${LOCALBASE} \
+ --with-pam \
--with-pixbuf \
--with-randr-ext \
--with-xdbe-ext \
@@ -43,18 +46,15 @@
--with-xft \
--with-xinerama-ext \
--with-xshm-ext \
- --without-kerberos
+ --without-kerberos \
+ --without-shadow
MAKE_ARGS+= install_prefix=${STAGEDIR}
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= FIREF NLS NSFW PAM SETUID_HACKS XAOS1 XDALI XEARTH \
+OPTIONS_DEFINE= FIREF NLS NSFW SETUID_HACKS XAOS1 XDALI XEARTH \
XMOUN XPLANET XSNOW
-OPTIONS_DEFAULT= PAM
OPTIONS_SUB= yes
-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
@@ -104,8 +104,6 @@
${INSTALL_DATA} ${FILESDIR}/x*.xml ${STAGEDIR}${DATADIR}/config/
${INSTALL_DATA} ${WRKDIR}/*.desktop ${STAGEDIR}${PREFIX}/share/applications/
${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver.pam
-
-post-install-PAM-on:
${INSTALL_DATA} ${WRKDIR}/xscreensaver.pam ${STAGEDIR}${PREFIX}/etc/pam.d/xscreensaver
.include <bsd.port.mk>
diff --git a/x11/xscreensaver/files/patch-driver_Makefile.in b/x11/xscreensaver/files/patch-driver_Makefile.in
--- a/x11/xscreensaver/files/patch-driver_Makefile.in
+++ b/x11/xscreensaver/files/patch-driver_Makefile.in
@@ -1,15 +1,6 @@
---- driver/Makefile.in.orig 2021-10-12 01:04:31 UTC
+--- driver/Makefile.in.orig 2022-09-02 09:08:36 UTC
+++ driver/Makefile.in
-@@ -46,7 +46,7 @@ DEPEND_FLAGS = @DEPEND_FLAGS@
- DEPEND_DEFINES = @DEPEND_DEFINES@
-
- INSTALL = @INSTALL@
--SUID_FLAGS = -o root -m 4755
-+SUID_FLAGS = -m 4555
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SETUID = $(INSTALL_PROGRAM) $(SUID_FLAGS)
- INSTALL_DATA = @INSTALL_DATA@
-@@ -76,7 +76,7 @@ INTL_LIBS = @INTLLIBS@
+@@ -78,7 +78,7 @@ INTL_LIBS = @INTLLIBS@
AD_DIR = @APPDEFAULTS@
# $(sysconfdir) is either /usr/local/etc or /usr/etc but this must be /etc.
diff --git a/x11/xscreensaver/pkg-plist b/x11/xscreensaver/pkg-plist
--- a/x11/xscreensaver/pkg-plist
+++ b/x11/xscreensaver/pkg-plist
@@ -258,7 +258,7 @@
bin/xscreensaver-hacks/xspirograph
bin/xscreensaver-hacks/zoom
bin/xscreensaver-settings
-%%PAM%%etc/pam.d/xscreensaver
+etc/pam.d/xscreensaver
lib/X11/app-defaults/XScreenSaver
man/man1/xscreensaver-command.1.gz
man/man1/xscreensaver-demo.1.gz
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 2:44 AM (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14708999
Default Alt Text
D36425.diff (3 KB)
Attached To
Mode
D36425: x11/xscreensaver: Remove PAM option
Attached
Detach File
Event Timeline
Log In to Comment