pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/xlockmore
Module Name: pkgsrc
Committed By: micha
Date: Mon Jan 24 18:05:59 UTC 2022
Modified Files:
pkgsrc/x11/xlockmore: Makefile Makefile.common PLIST distinfo
pkgsrc/x11/xlockmore/patches: patch-modes_Makefile.in
Added Files:
pkgsrc/x11/xlockmore/files: INSTALL.pkgsrc
pkgsrc/x11/xlockmore/patches: patch-configure patch-xlock_XLock.ad
Removed Files:
pkgsrc/x11/xlockmore: MESSAGE
pkgsrc/x11/xlockmore/patches: patch-aa patch-ab patch-ad
patch-config.cygport patch-xglock_Makefile.in
Log Message:
x11/xlockmore: Update to 5.68
This update should fix CVE-2006-0061 if option "pam" is disabled.
OK from wiz@.
5.68
Updated xscreensaver port for xscreensaver-6.02.
Various NetBsd install issues fixed including config.cygport.
pam vulnerabiliy patch added thanks to Elmar Hoffmann, elho AT elho.net.
Card vulnerability may remain, see README.
module fixes for deluxe, eyes, starfish, swirl, text3d2, module use is
still experimental.
biof mode removed again (though was not building by default).
5.67
Fixing specified bound equals destination size warning in iostuff.c.
Port updated for xscreensaver-6.01. With help from EoflaOE ViceCity.
Also removed some warnings.
maze3d.c updated for VMS as CRTL now contains more standard functions,
thanks to Jouk Jansen.
5.66
GL mode atunnels, juggler3d, atlantis, lament, invert, solitaire, text3d,
and text3d2 fixed up by EoflaOE ViceCity and myself to build in
xscreensaver.
bomb, helix, lightning, penrose, petal, scooter fixes for xscreensaver
port (clear screen issue). Clock fixed to run by changing a spot from
"Clock" to "CLOCK".
A few updates from xscreensaver-5.44/hacks/xlockmore.c for xscreensaver
port.
Duplicate resources and unloadable resources for xscreensaver port fixed
by EoflaOE.
Double free removed for xscreensaver port fixed by EoflaOE and myself.
Removed some warnings in xscreensaver port in fzort, rubik, skewb, and
sproingies.
Xpm textures added to xscreensaver ports that need them.
image, puzzle, decay, bat now work but use xscreensaver bitmap/pixmap
in xscreensaver port.
Bug fix in qix and toneclock for xscreensaver port, xlock was not
affected by negative NRAND input.
euler2d synced up with xscreensaver version.
Change to fzort to use __asm__ instead of asm as its probably more
likely to work.
Fixed solitaire so deckPile changes just a little bit as it doles
out cards.
Updated bomb to use size 18 font when USE_MB is not set as it seems
34 is not widely available anymore.
pacman now has different colored ghosts (no green ghost) and also
oscillating dress and eyes. See README for a notice for this mode.
Fixed some bad drawings in solitaire and pacman noticed on
Windows side.
Warnings removed for -Wstrict-prototypes -Wmissing-prototypes
-Wdeclaration-after-statement
5.65
Fix from Jan Kratochvil and Adrian Reber, adrian AT lisas.de for Fedora.
xlock -startCmd true... would core on Fedora, exit() replaced with
_exit().
Update for magick.c to use strncpy thanks to Jouk Jansen.
5.64
Fix for hyper mode from original author, for potential but not
likely memory leak and free(NULL) issue John Heidemann, johnh
AT isi.edu.
More buffer gcc warnings removed for dclock.c, image.c, and
scrnsave.c.
ras.c/magick.c gcc 10 fix from Adrian Reber, adrian AT lisas.de .
VMS already handles this in make.com.
5.63
Lots of spelling errors fixed due to codespell
https://manpages.debian.org/testing/codespell/codespell.1.en.html
A few more gl modes (molecule, invert) fixed up by
EoflaOE ViceCity to run in xscreensaver.
Added additional changes to solitaire and invert. invert will
build in xscreensaver with some coaxing, see README in
xscreensaver directory.
Removed buffer gcc warning about nose.c.
5.62
Fix from brett.diamond AT gmail.com to get "xlock -help" from
crashing.
As a Blake's 7 fan, I had to add the Liberator to star mode.
5.61
Same fix from Jouk Jansen and Adrian Reber, adrian AT lisas.de
for juggler3d.cc in previous release.
Change from Denys Vlasenko (thanks to Adrian Reber for pointing out)
https://bugzilla.redhat.com/show_bug.cgi?id=874484
This helps xlock's parent process to know xlock crashed.
ico mode added truncated octahedron.
Another gl mode, sierpinski3d, fixed up by EoflaOE ViceCity to run
in xscreensaver.
5.60
Updated references to website to https. https://www.sillycycle.com
A few more gl modes (incl. maze3d, pipe, sproingies) fixed up by
EoflaOE ViceCity to run in xscreensaver.
5.59
Thanks to tobik, ohartmann AT walstatt.org, and Jason Helfman,
jgh AT FreeBSD.org for xglock fixes for "failed due to signal" for
clang.
Syncing with xscreensaver and many modes modified, more than
half working there. pacman and puzzle run but need some
obvious work, others run too fast or flash on the screen.
Various fixes from Jouk Jansen and EoflaOE ViceCity.
Updated GL modes also, inaddition to overlap: biof, skewb, and
fire (needs images). See xscreensaver/README for new directions.
Updated in linux to build with modules, must have broken somewhere
down the line. imake build fixed too.
bomb mode fixed for xlock.
5.58
Syncing with xscreensaver. Much has changed since last time this
was done and much left to do. Nonglx "a"'s and some "b"'s done
so far. Automata modes like ant.c should use automata.c and
automata.h supplied by xlockmore.
ball bat not working right there yet. Also bouboule to do right will
require changes to xlockmore files from xscreensaver.
See new xscreensaver/README for instructions.
While testing uncovered old security bug in anenome mode and fixed.
5.57
life updates to use a more standard notation for nontotalistic cellular
automata.
ax_pthread.m4 needed for autoconf, added back in, oops.
Removed VMS caddr_t fix from matrix.c, cage.c, gears.c, glplanet.c,
invert.c, juggler3d.c, lament.c, moebius.c, molecule.c, morph3d.c,
noof.c, pipes.c, rubik.c, sierpinski3d.c, skewb.c, stairs.c,
superquadrics.c as no longer needed. Thanks to Jouk Jansen.
boxed and maze3d modes added thanks mainly to Jouk Jansen.
boxed added to xlock95.scr. xlock95 Makefile now builds to 64 bit.
5.56
Thanks to Jason Helfman, jgh AT FreeBSD.org for sound installation fixes.
Thanks to Tobias Kortkamp, for his patch for glock compile issue with
CLANG 6.0.0.
Fixing warnings using clang for back.xpm, nose.c, passwd.c.
Fixing errors using g++ for deluxe.c, also various casting added.
Fixing potential some buffer overruns pointed out in mingw in
apollonian.c and hyper.c.
Fixing potential error of using null pointer thanks again to mingw in
xlock.c.
pyro2 was not showing anything on screen due to it not finding font,
changed it to default to mode_font if can not find.
5.55
Thanks to Dave Odell, dmo2118 AT gmail.com for his fzort mode update to
use the functions in xshm.c and fixes crash when running X11 over network.
Note from Dave Odell:
<https://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz>. MI_INIT() is
defined and documented in hacks/xlockmore.h, with related functions
defined in hacks/xlockmore.c. MI_INIT() currently takes three parameters:
the ModeInfo *, the state array, and a function pointer for the new free
hook. FWIW, it could instead be just the first two parameters, with the
free hook being set up like the other ModeHooks; this would be a bit
nicer, I think. But I was going for something that could be applied
incrementally to individual screenhacks in XScreenSaver, and could -- in
theory -- be brought back to xlockmore with minimal impact.
ant mode resync'd with xscreensaver... Thanks to David Odell redoing my
sad attempt.
-sound configuration changed around so it should work on more machines,
now uses DEF_PLAY and play.sh by default.
Thanks to Stanislav Brabec, sbrabec AT suse.cz for his "hack" to fix for
PAM with non-English locales. He notes to fix properly a "Password"
prompt list should be obtained at the initial phase of authentication.
Added PAM_PASSWORD_PROMPT for using old way.
Fixed leak in scooter thanks to Valgrind.
5.54
Thanks to Dave Odell, dmo2118 AT gmail.com for his strange mode
updates to include aligned_malloc.[ch], thread_util.[ch], xshm.[ch],
and visual_pixmap_depth() from XScreenSaver. Also updates for building
macOS and Debian for crypt. Made safe for VMS by Jouk Jansen.
juggle fixed for multiscreens.
5.53
Goofed on last VMS xmlock update.
dclock fix for led bounce. :) Added to windows port but only graphical
part.
Windows port fixed petri black screen. Added anemone and deluxe but turned
off double buffering to get default black screen.
5.52
Install changes for fortune. VMS xmlock build update.
Thanks to Dave Odell, dmo2118 AT gmail.com for his strange mode
updates. New options -points N and -curve N . Also now working
for windows port (which led to bubble and ifs porting easily).
5.51
life3d updates including a distinct 18 neighborhood using rhombic
dodecahedrons (neighoborhood -18 as there is already 18
neighborhood), and a 22 neighborhood using tetrahedrons, i.e. the
tetrahedral part of alternated cubic honeycomb
Less compile warnings and configure update.
5.50
-messagefont was broken if USE_MB set (default from 5.42). E.g.:
-mode dclock -messagefont "-*-times-*-*-*-*-18-*-*-*-*-*-*-*"
Changed default message font to above.
Should now compile with less warnings.
spiral erase mode changed from 100 iterations to 8.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 pkgsrc/x11/xlockmore/MESSAGE
cvs rdiff -u -r1.156 -r1.157 pkgsrc/x11/xlockmore/Makefile
cvs rdiff -u -r1.82 -r1.83 pkgsrc/x11/xlockmore/Makefile.common
cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/xlockmore/PLIST
cvs rdiff -u -r1.58 -r1.59 pkgsrc/x11/xlockmore/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xlockmore/files/INSTALL.pkgsrc
cvs rdiff -u -r1.7 -r0 pkgsrc/x11/xlockmore/patches/patch-aa
cvs rdiff -u -r1.25 -r0 pkgsrc/x11/xlockmore/patches/patch-ab
cvs rdiff -u -r1.9 -r0 pkgsrc/x11/xlockmore/patches/patch-ad
cvs rdiff -u -r1.1 -r0 pkgsrc/x11/xlockmore/patches/patch-config.cygport
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xlockmore/patches/patch-configure \
pkgsrc/x11/xlockmore/patches/patch-xlock_XLock.ad
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/xlockmore/patches/patch-modes_Makefile.in
cvs rdiff -u -r1.2 -r0 pkgsrc/x11/xlockmore/patches/patch-xglock_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/xlockmore/Makefile
diff -u pkgsrc/x11/xlockmore/Makefile:1.156 pkgsrc/x11/xlockmore/Makefile:1.157
--- pkgsrc/x11/xlockmore/Makefile:1.156 Wed Dec 8 16:07:17 2021
+++ pkgsrc/x11/xlockmore/Makefile Mon Jan 24 18:05:58 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.156 2021/12/08 16:07:17 adam Exp $
+# $NetBSD: Makefile,v 1.157 2022/01/24 18:05:58 micha Exp $
-PKGREVISION= 34
+#PKGREVISION= 1
.include "Makefile.common"
COMMENT= Like the XLock session-locker/screensaver, but with more
Index: pkgsrc/x11/xlockmore/Makefile.common
diff -u pkgsrc/x11/xlockmore/Makefile.common:1.82 pkgsrc/x11/xlockmore/Makefile.common:1.83
--- pkgsrc/x11/xlockmore/Makefile.common:1.82 Mon Mar 22 17:46:06 2021
+++ pkgsrc/x11/xlockmore/Makefile.common Mon Jan 24 18:05:58 2022
@@ -1,21 +1,22 @@
-# $NetBSD: Makefile.common,v 1.82 2021/03/22 17:46:06 wiz Exp $
+# $NetBSD: Makefile.common,v 1.83 2022/01/24 18:05:58 micha Exp $
#
-# used by ../../x11/xlockmore/Makefile
-# used by ../../x11/xlockmore-lite/Makefile
+# used by x11/xlockmore/Makefile
+# used by x11/xlockmore-lite/Makefile
-DISTNAME= xlockmore-5.46
+DISTNAME= xlockmore-5.68
CATEGORIES= x11
MASTER_SITES= http://sillycycle.com/xlock/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://sillycycle.com/xlockmore.html
+# Similar to BSD license, but uses different words (see xlockmore.spec)
+LICENSE= 2-clause-bsd
DISTINFO_FILE?= ${.CURDIR}/../../x11/xlockmore/distinfo
PATCHDIR?= ${.CURDIR}/../../x11/xlockmore/patches
PLIST_SRC?= ${.CURDIR}/../../x11/xlockmore/PLIST
FILESDIR?= ${.CURDIR}/../../x11/xlockmore/files
-MESSAGE_SRC?= ${.CURDIR}/../../x11/xlockmore/MESSAGE
.include "../../mk/bsd.prefs.mk"
@@ -33,9 +34,7 @@ PKG_OPTIONS_LEGACY_VARS+= XLOCK_NO_DPMS:
USE_LANGUAGES= c c++
USE_TOOLS+= xmkmf
-XLOCK_SOUNDDIR= ${PREFIX}/lib/X11/xlock/sounds
XLOCK_MODULEDIR= ${PREFIX}/lib/X11/xlock/modules
-
DEFINES+= -DDEF_MODULEPATH="\"${XLOCK_MODULEDIR}\""
CPPFLAGS+= ${DEFINES}
CXXFLAGS+= ${DEFINES}
@@ -98,6 +97,7 @@ SPECIAL_PERMS+= bin/xlock ${REAL_ROOT_US
EGDIR= ${PREFIX}/share/examples/xlock
MESSAGE_SUBST+= EGDIR=${EGDIR:Q}
INSTALLATION_DIRS+= ${EGDIR}/pam.d
+INSTALLATION_DIRS+= share/doc/xlockmore
# XXX framework bug: while we don't need it, this would kill
# the inherited full dependency
@@ -114,28 +114,35 @@ INSTALLATION_DIRS+= ${EGDIR}/pam.d
XINERAMA_ENV= no_xenerama= ac_xinerama_includes=${BUILDLINK_PREFIX.libXinerama}/include ac_xinerama_libraries=${BUILDLINK_PREFIX.libXinerama}/lib
CONFIGURE_ENV+= ac_cv_path_xinerama=${XINERAMA_ENV:Q}
-# Set the complete paths to the sound files and set the default xlock
-# mode/screensaver.
-#
+# Modify paths in application defaults
+SUBST_CLASSES+= adef
+SUBST_STAGE.adef= pre-configure
+SUBST_MESSAGE.adef= Preparing paths in xlock/XLock.ad file ...
+SUBST_FILES.adef= xlock/XLock.ad
+SUBST_SED.adef= -e 's|/usr/lib/|${PREFIX}/lib/|g'
+SUBST_SED.adef+= -e 's|/usr/local/share/|${PREFIX}/share/|g'
+
+# Set the default xlock mode/screensaver.
+# XLOCK_DEFAULT_MODE can be defined by the user in mk.conf
+SUBST_CLASSES+= mode
+SUBST_STAGE.mode= pre-configure
+SUBST_MESSAGE.mode= Preparing default mode in xlock/XLock.ad file ...
+SUBST_FILES.mode= xlock/XLock.ad
+SUBST_SED.mode= -e 's|^\(XLock.mode:[ ]*\).*|\1${XLOCK_DEFAULT_MODE}|'
+
+# Configure INSTALL.pkgsrc (formerly displayed as MESSAGE)
+SUBST_CLASSES+= install
+SUBST_STAGE.install= post-configure
+SUBST_MESSAGE.install= Preparing INSTALL.pkgsrc file ...
+SUBST_FILES.install= ${WRKDIR}/INSTALL.pkgsrc
+SUBST_VARS.install= PREFIX
+SUBST_VARS.install+= EGDIR
+
post-patch:
- cd ${WRKSRC}/xlock; \
- ${MV} -f XLock.ad XLock.ad.presed; \
- ${SED} -e "s|/usr/lib/|${PREFIX}/lib/|g" \
- XLock.ad.presed > XLock.ad; \
- ${RM} -f XLock.ad.presed
-.if defined(XLOCK_DEFAULT_MODE) && !empty(XLOCK_DEFAULT_MODE)
- cd ${WRKSRC}/xlock; \
- ${MV} -f XLock.ad XLock.ad.presed; \
- ${SED} -e "s|^\(XLock.mode:[ ]*\).*|\1${XLOCK_DEFAULT_MODE}|" \
- XLock.ad.presed > XLock.ad; \
- ${RM} -f XLock.ad.presed
-.endif
+ ${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}
post-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${XLOCK_SOUNDDIR}
- cd ${WRKSRC}/sounds; \
- for file in *.au; do \
- ${INSTALL_DATA} $$file ${DESTDIR}${XLOCK_SOUNDDIR}; \
- done
${INSTALL_DATA} ${FILESDIR}/pam-xlock-NetBSD \
${DESTDIR}${EGDIR}/pam.d/xlock-NetBSD
+ ${INSTALL_DATA} ${WRKDIR}/INSTALL.pkgsrc \
+ ${DESTDIR}${PREFIX}/share/doc/xlockmore/INSTALL.pkgsrc
Index: pkgsrc/x11/xlockmore/PLIST
diff -u pkgsrc/x11/xlockmore/PLIST:1.10 pkgsrc/x11/xlockmore/PLIST:1.11
--- pkgsrc/x11/xlockmore/PLIST:1.10 Mon Mar 22 17:46:06 2021
+++ pkgsrc/x11/xlockmore/PLIST Mon Jan 24 18:05:58 2022
@@ -1,11 +1,13 @@
-@comment $NetBSD: PLIST,v 1.10 2021/03/22 17:46:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2022/01/24 18:05:58 micha Exp $
+bin/play.sh
${LITE}bin/xglock
bin/xlock
-lib/X11/xlock/sounds/complete.au
-lib/X11/xlock/sounds/identify-please.au
-lib/X11/xlock/sounds/not-programmed.au
-lib/X11/xlock/sounds/thank-you.au
man/man1/xlock.1
+share/doc/xlockmore/INSTALL.pkgsrc
share/examples/xlock/app-defaults/XLock
share/examples/xlock/pam.d/xlock-NetBSD
+share/xlock/sounds/complete.au
+share/xlock/sounds/identify-please.au
+share/xlock/sounds/not-programmed.au
+share/xlock/sounds/thank-you.au
${LITE}share/xlock/xglockrc
Index: pkgsrc/x11/xlockmore/distinfo
diff -u pkgsrc/x11/xlockmore/distinfo:1.58 pkgsrc/x11/xlockmore/distinfo:1.59
--- pkgsrc/x11/xlockmore/distinfo:1.58 Tue Oct 26 11:34:51 2021
+++ pkgsrc/x11/xlockmore/distinfo Mon Jan 24 18:05:58 2022
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.58 2021/10/26 11:34:51 nia Exp $
+$NetBSD: distinfo,v 1.59 2022/01/24 18:05:58 micha Exp $
-BLAKE2s (xlockmore-5.46.tar.xz) = ed9e61d105a888823680689ee011c33ea6626faf7ded865d23572409090ed61a
-SHA512 (xlockmore-5.46.tar.xz) = 4be4c70f72f9a820e26204fbd8450f2f920b6ed1583d413ba3983c4ced778c9d4e6dfa40a4c7919557b3fa7ecccba08e1a0bb0403924fa84770401d6758c7d9c
-Size (xlockmore-5.46.tar.xz) = 1610356 bytes
-SHA1 (patch-aa) = a8af264d041df95d0773cbe27984f9461e865722
-SHA1 (patch-ab) = 918be6904fb2a1b616dfbf7ac3d9759cc39d1608
-SHA1 (patch-ad) = 619c3413ae4bfdb420c77867062670dce336f5d8
-SHA1 (patch-config.cygport) = c120f9b9f9ca6a9ba60f8e46e9c2dd23225079d9
-SHA1 (patch-modes_Makefile.in) = bb32f1394224f44adbe2c2f4a17e084aa5aa5143
-SHA1 (patch-xglock_Makefile.in) = 697182ddac24cc624b82420c5f6e3d66fd6b0679
+BLAKE2s (xlockmore-5.68.tar.xz) = f202cfb7dc5c427d60c53705e881646e304b61280ee5619d97528d9e13dade2c
+SHA512 (xlockmore-5.68.tar.xz) = e884ac8395bfee21eedecbe0652eaa8bcae10e8f56896d7f3f5e970d40a87f002b7fb248caa0d981ea815e0fcfda6a1e8529c618c8c073b7f0b44b58abde17d4
+Size (xlockmore-5.68.tar.xz) = 1998852 bytes
+SHA1 (patch-configure) = eb2706b4de9d6212ab183ddf4faeaac6f598ca86
+SHA1 (patch-modes_Makefile.in) = 256c762e3bb02600da0bc14bc16b06604eb41eaa
+SHA1 (patch-xlock_XLock.ad) = f4754850a171530465be1949b0ea4f49b359bb3a
Index: pkgsrc/x11/xlockmore/patches/patch-modes_Makefile.in
diff -u pkgsrc/x11/xlockmore/patches/patch-modes_Makefile.in:1.2 pkgsrc/x11/xlockmore/patches/patch-modes_Makefile.in:1.3
--- pkgsrc/x11/xlockmore/patches/patch-modes_Makefile.in:1.2 Mon Mar 22 17:46:06 2021
+++ pkgsrc/x11/xlockmore/patches/patch-modes_Makefile.in Mon Jan 24 18:05:58 2022
@@ -1,39 +1,21 @@
-$NetBSD: patch-modes_Makefile.in,v 1.2 2021/03/22 17:46:06 wiz Exp $
+$NetBSD: patch-modes_Makefile.in,v 1.3 2022/01/24 18:05:58 micha Exp $
-Honour LDFLAGS.
Use INSTALL properly.
+First part was rejected by upstream.
+Second part is not suitable for upstream.
---- modes/Makefile.in.orig 2015-02-13 04:24:37.000000000 +0000
+--- modes/Makefile.in.orig 2021-12-17 04:47:25.000000000 +0000
+++ modes/Makefile.in
-@@ -334,7 +334,7 @@ CFLAGS = @CFLAGS@
- CXXFLAGS = @CXXFLAGS@
- #CFLAGS = -O
- #CFLAGS = -g
--XLOCKLDFLAGS = @XLOCKLDFLAGS@ $(CHECKLDFLAG)
-+XLOCKLDFLAGS = @XLOCKLDFLAGS@ $(CHECKLDFLAG) @LDFLAGS@
- XLIBS = @XLIBS@
- XLOCKLIBS = $(MODULELIB) @XLOCKLIBS@ -lcrypt
-
-@@ -600,21 +600,22 @@ install : install-program install-man in
- @ $(ECHO) ""
+@@ -633,7 +633,7 @@ install : install-program install-man in
install-program : xlock
-- $(top_srcdir)/mkinstalldirs $(bindir)
-- $(INSTALL_PROGRAM) $(INSTPGMFLAGS) $(UTILOBJDIR)xlock$(E) $(bindir)
-- @MODULES@mkdir -p $(DEF_MODULEPATH)
-- @MODULES@cp *.xlk $(DEF_MODULEPATH)
-- @MODULES@cp glx/*.xlk $(DEF_MODULEPATH)
-+ $(top_srcdir)/mkinstalldirs ${DESTDIR}$(bindir)
-+ $(INSTALL_PROGRAM) $(UTILOBJDIR)xlock$(E) ${DESTDIR}$(bindir)
-+ @MODULES@mkdir -p ${DESTDIR}$(DEF_MODULEPATH)
-+ @MODULES@cp *.xlk ${DESTDIR}$(DEF_MODULEPATH)
-+ @MODULES@cp glx/*.xlk ${DESTDIR}$(DEF_MODULEPATH)
-
- install-man :
-- $(top_srcdir)/mkinstalldirs $(mandir)
-- $(INSTALL_DATA) $(UTILDIR)xlock.man $(mandir)/xlock.1
-+ $(top_srcdir)/mkinstalldirs ${DESTDIR}$(mandir)
-+ $(INSTALL_DATA) $(UTILDIR)xlock.man ${DESTDIR}$(mandir)/xlock.1
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+- $(INSTALL_PROGRAM) $(INSTPGMFLAGS) $(UTILOBJDIR)xlock$(E) $(DESTDIR)$(bindir)
++ $(INSTALL_PROGRAM) $(UTILOBJDIR)xlock$(E) $(DESTDIR)$(bindir)
+ @MODULES@mkdir -p $(DESTDIR)$(DEF_MODULEPATH)
+ @MODULES@cp *.xlk $(DESTDIR)$(DEF_MODULEPATH)
+ @MODULES@cp glx/*.xlk $(DESTDIR)$(DEF_MODULEPATH)
+@@ -644,9 +644,10 @@ install-man :
install-ad :
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(xapploaddir)
@@ -45,4 +27,4 @@ Use INSTALL properly.
+ @FORTUNE@$(INSTALL_DATA) $(UTILOBJDIR)XLock.ad.tmp $(DESTDIR)${datarootdir}/examples/xlock/app-defaults/XLock
@FORTUNE@rm -f $(UTILOBJDIR)XLock.ad.tmp
- uninstall : uninstall-program uninstall-man uninstall-ad
+ install-sound :
Added files:
Index: pkgsrc/x11/xlockmore/files/INSTALL.pkgsrc
diff -u /dev/null pkgsrc/x11/xlockmore/files/INSTALL.pkgsrc:1.1
--- /dev/null Mon Jan 24 18:05:59 2022
+++ pkgsrc/x11/xlockmore/files/INSTALL.pkgsrc Mon Jan 24 18:05:58 2022
@@ -0,0 +1,18 @@
+If xlockmore is built with the "pam" option:
+In order to make unlocking work, you need to add an
+xlock file to your pam configuration directory (usually
+/etc/pam.d). You can find a sample file in:
+
+ @EGDIR@/pam.d/xlock-NetBSD
+
+On NetBSD, the "pam_pwauth_suid.so" module can be used to authenticate
+against a shadow password database. Note that use of this module might
+allow programs with your privileges to get a copy of your plaintext
+password as typed in for unlocking. The advantage is that with that
+module, the suid bit of the
+
+ @PREFIX@/bin/xlock
+
+executable can be removed.
+Per default, xlockmore is installed setuid root. Since this is a
+relatively complex program, there is the risk of other exploits.
Index: pkgsrc/x11/xlockmore/patches/patch-configure
diff -u /dev/null pkgsrc/x11/xlockmore/patches/patch-configure:1.1
--- /dev/null Mon Jan 24 18:05:59 2022
+++ pkgsrc/x11/xlockmore/patches/patch-configure Mon Jan 24 18:05:58 2022
@@ -0,0 +1,46 @@
+$NetBSD: patch-configure,v 1.1 2022/01/24 18:05:58 micha Exp $
+
+Modify handling of LDFLAGS.
+Rejected by upstream.
+
+--- configure.orig 2020-06-04 14:43:47.000000000 +0000
++++ configure
+@@ -10833,10 +10833,10 @@ $as_echo "#define LESS_THAN_AIX3_2 1" >>
+ dirname=`which gcc`
+ dirname=`dirname $dirname`
+ dirname=`dirname $dirname`/lib
+- if test "$dirname" != "/lib"; then
+- XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
+- XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
+- fi
++# if test "$dirname" != "/lib"; then
++# XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
++# XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
++# fi
+ fi
+ case "${canonical}" in
+ *-*-freebsd* )
+@@ -10896,6 +10896,8 @@ _ACEOF
+ if test "x$ac_cv_header_elf_h" = xyes; then :
+
+ $as_echo "#define HAVE_SHADOW 1" >>confdefs.h
++XLOCKLDFLAGS="${COMPILER_RPATH_FLAG}${XLOCK_LDFLAGS}"
++XMLOCKLDFLAGS="${COMPILER_RPATH_FLAG}${XMLOCK_LDFLAGS}"
+
+ fi
+
+@@ -11006,10 +11008,10 @@ $as_echo "#define SVR4 1" >>confdefs.h
+ dirname=`which gcc`
+ dirname=`dirname $dirname`
+ dirname=`dirname $dirname`/lib
+- if test "$dirname" != "/lib"; then
+- XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
+- XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
+- fi
++# if test "$dirname" != "/lib"; then
++# XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
++# XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
++# fi
+ fi
+ XLOCKLDFLAGS="-R${XLOCK_LDFLAGS}"
+ XMLOCKLDFLAGS="-R${XMLOCK_LDFLAGS}"
Index: pkgsrc/x11/xlockmore/patches/patch-xlock_XLock.ad
diff -u /dev/null pkgsrc/x11/xlockmore/patches/patch-xlock_XLock.ad:1.1
--- /dev/null Mon Jan 24 18:05:59 2022
+++ pkgsrc/x11/xlockmore/patches/patch-xlock_XLock.ad Mon Jan 24 18:05:58 2022
@@ -0,0 +1,22 @@
+$NetBSD: patch-xlock_XLock.ad,v 1.1 2022/01/24 18:05:58 micha Exp $
+
+Modify path for fortune.
+Not suitable for upstream.
+
+--- xlock/XLock.ad.orig 2019-05-30 01:30:03.000000000 +0000
++++ xlock/XLock.ad
+@@ -67,12 +67,12 @@ XLock.left3d: Red
+ XLock.both3d: Magenta
+
+ ! For marquee & nose modes
+-XLock.program: fortune -s
++!XLock.program: fortune -s
+ !XLock.program: fortune -o
+ !XLock.program: fortune -s
+ !XLock.program: fortune
+ !XLock.program: /usr/games/fortune -o
+-!XLock.program: /usr/games/fortune -s
++XLock.program: /usr/games/fortune -s
+ !XLock.program: /usr/games/fortune
+ !XLock.program: finger
+ !XLock.messagesfile: fortune.dat
Home |
Main Index |
Thread Index |
Old Index