pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xlockmore x11/xlockmore: Update to 5.68



details:   https://anonhg.NetBSD.org/pkgsrc/rev/891dbabfae61
branches:  trunk
changeset: 372420:891dbabfae61
user:      micha <micha%pkgsrc.org@localhost>
date:      Mon Jan 24 18:05:58 2022 +0000

description:
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.

diffstat:

 x11/xlockmore/MESSAGE                          |  18 -------
 x11/xlockmore/Makefile                         |   4 +-
 x11/xlockmore/Makefile.common                  |  61 ++++++++++++++-----------
 x11/xlockmore/PLIST                            |  12 ++--
 x11/xlockmore/distinfo                         |  17 ++----
 x11/xlockmore/files/INSTALL.pkgsrc             |  18 +++++++
 x11/xlockmore/patches/patch-aa                 |  55 -----------------------
 x11/xlockmore/patches/patch-ab                 |  43 ------------------
 x11/xlockmore/patches/patch-ad                 |  23 ---------
 x11/xlockmore/patches/patch-config.cygport     |  19 --------
 x11/xlockmore/patches/patch-configure          |  46 +++++++++++++++++++
 x11/xlockmore/patches/patch-modes_Makefile.in  |  44 +++++-------------
 x11/xlockmore/patches/patch-xglock_Makefile.in |  35 --------------
 x11/xlockmore/patches/patch-xlock_XLock.ad     |  22 +++++++++
 14 files changed, 149 insertions(+), 268 deletions(-)

diffs (truncated from 537 to 300 lines):

diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/MESSAGE
--- a/x11/xlockmore/MESSAGE     Mon Jan 24 16:24:27 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2012/03/28 20:21:46 drochner Exp $
-
-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.
-===========================================================================
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/Makefile
--- a/x11/xlockmore/Makefile    Mon Jan 24 16:24:27 2022 +0000
+++ b/x11/xlockmore/Makefile    Mon Jan 24 18:05:58 2022 +0000
@@ -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
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/Makefile.common
--- a/x11/xlockmore/Makefile.common     Mon Jan 24 16:24:27 2022 +0000
+++ b/x11/xlockmore/Makefile.common     Mon Jan 24 18:05:58 2022 +0000
@@ -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 @@
 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 @@
 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 @@
 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
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/PLIST
--- a/x11/xlockmore/PLIST       Mon Jan 24 16:24:27 2022 +0000
+++ b/x11/xlockmore/PLIST       Mon Jan 24 18:05:58 2022 +0000
@@ -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
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/distinfo
--- a/x11/xlockmore/distinfo    Mon Jan 24 16:24:27 2022 +0000
+++ b/x11/xlockmore/distinfo    Mon Jan 24 18:05:58 2022 +0000
@@ -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
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/files/INSTALL.pkgsrc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xlockmore/files/INSTALL.pkgsrc        Mon Jan 24 18:05:58 2022 +0000
@@ -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.
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/patches/patch-aa
--- a/x11/xlockmore/patches/patch-aa    Mon Jan 24 16:24:27 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2015/04/15 07:31:15 spz Exp $
-
---- xlock/XLock.ad.orig        2015-03-12 13:34:33.000000000 +0000
-+++ xlock/XLock.ad
-@@ -46,10 +46,10 @@ XLock.icongeometry: 64x64
- !XLock.icongeometry: 256x256
- 
- ! For sound
--XLock.locksound: /usr/lib/X11/xlock/sounds/complete.au
--XLock.infosound: /usr/lib/X11/xlock/sounds/identify-please.au
--XLock.validsound: /usr/lib/X11/xlock/sounds/thank-you.au
--XLock.invalidsound: /usr/lib/X11/xlock/sounds/not-programmed.au
-+XLock.locksound: /usr/pkg/lib/X11/xlock/sounds/complete.au
-+XLock.infosound: /usr/pkg/lib/X11/xlock/sounds/identify-please.au
-+XLock.validsound: /usr/pkg/lib/X11/xlock/sounds/thank-you.au
-+XLock.invalidsound: /usr/pkg/lib/X11/xlock/sounds/not-programmed.au
- !XLock.locksound: complete.au
- !XLock.infosound: identify-please.au
- !XLock.validsound: thank-you.au
-@@ -63,12 +63,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
-@@ -81,7 +81,7 @@ XLock.messagefont: *8x16*
- ! For modes with images
- !XLock.*.bitmap: bitmaps/m-xlock.xbm
- !XLock.*.bitmap: pixmaps/m-xlock.xpm
--!XLock.*.bitmap: /usr/lib/X11/xlock/bitmaps
-+!XLock.*.bitmap: /usr/pkg/lib/X11/xlock/bitmaps
- 
- ! For mailbox check application
- !XLock.mailCmd: /usr/ucb/mail -e
-@@ -847,9 +847,9 @@ XLock.text3d.delay: 100000
- !XLock.text3d.cycles: 1
- !XLock.text3d.size: 1
- XLock.text3d.saturation: 1.0
--!XLock.text3d.ttfont: /usr/lib/X11/xlock/fonts/arial.ttf
-+!XLock.text3d.ttfont: /usr/pkg/lib/X11/xlock/fonts/arial.ttf
- ! Directory of only *.ttf fonts. symbol.ttf and wingding.ttf should be excluded
--!XLock.text3d.ttfont: /usr/lib/X11/xlock/fonts/
-+!XLock.text3d.ttfont: /usr/pkg/lib/X11/xlock/fonts/
- XLock.text3d.extrusion: 25.0
- XLock.text3d.rot_amplitude: 1.0
- XLock.text3d.rot_frequency: 0.001
diff -r 56f27e814e61 -r 891dbabfae61 x11/xlockmore/patches/patch-ab
--- a/x11/xlockmore/patches/patch-ab    Mon Jan 24 16:24:27 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-$NetBSD: patch-ab,v 1.25 2015/04/15 07:31:15 spz Exp $
-
---- configure.orig     2015-03-03 01:05:29.000000000 +0000
-+++ configure
-@@ -9508,10 +9508,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
-     XLOCKLDFLAGS="-Wl,-R${XLOCK_LDFLAGS}"
-     XMLOCKLDFLAGS="-Wl,-R${XMLOCK_LDFLAGS}"
-@@ -9566,6 +9566,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
- 
-@@ -9673,10 +9675,10 @@ $as_echo "#define SVR4 1" >>confdefs.h
-         dirname=`which gcc`
-         dirname=`dirname $dirname`
-         dirname=`dirname $dirname`/lib



Home | Main Index | Thread Index | Old Index