./x11/xlockmore-lite, lite version of xlockmore

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2012Q3, Version: 5.38nb2, Package name: xlockmore-lite-5.38nb2, Maintainer: pkgsrc-users

xlock locks the X server until the user enters their password at the
keyboard. While xlock is running, all new server connections are
refused. The screen saver is disabled. The mouse cursor is turned
off. The screen is blanked and a changing pattern is put on the
screen. If a key or a mouse button is pressed then the user is
prompted for the password of the user who started xlock.

If the correct password is typed, then the screen is unlocked and the
X server is restored. When typing the password, Control-U and
Control-H are active as kill and erase respectively. To return to the
locked screen, click in the small icon version of the changing
pattern.

This is the "lite" version of xlockmore, without support for GL,
TrueType and XPM pixmaps.


Required to build:
[pkgtools/x11-links] [x11/xextproto] [x11/inputproto] [devel/imake]

Package options: xlockmore-allow-root, xlockmore-dpms

Master sites: (Expand)

SHA1: 5a0fd27209dfc0966a1ec691f9ea4416587082bf
RMD160: 227a2c13c8cf1ddb027138dc520874accf5c0f72
Filesize: 1924.561 KB

Version history: (Expand)


CVS history: (Expand)


   2012-10-17 21:22:10 by Matthias Scheler | Files touched by this commit (4)
Log message:
Pullup ticket #3949 - requested by is
x11/xlockmore: security patch
x11/xlockmore-lite: security patch

Revisions pulled up:
- x11/xlockmore-lite/Makefile                             1.16-1.17
- x11/xlockmore/Makefile                                  1.100-1.101 via patch
- x11/xlockmore/distinfo                                  1.49-1.50
- x11/xlockmore/patches/patch-modes_dclock.c              1.1-1.2

---
   Module Name:	pkgsrc
   Committed By:	is
   Date:		Mon Oct 15 15:29:11 UTC 2012

   Modified Files:
   	pkgsrc/x11/xlockmore: Makefile distinfo
   	pkgsrc/x11/xlockmore-lite: Makefile
   Added Files:
   	pkgsrc/x11/xlockmore/patches: patch-modes_dclock.c

   Log message:
   xlock -mode dclock would segfault on OSes with sizeof(time_t)>sizeof(long);
   this includes NetBSD-6 on 32bit systems.

   As a result, xlock -mode random (the default) would eventually unlock
   the screen, without the user being aware of this (as she/he's can be
   presumed to have left the monitor).

   The reason was that some variables in dclock.c were declared long, but
   contain essentially time_t values. In on case, a pointer to such a
   variable was casted to (struct time_t *) and passed to localtime(),
   and the resulting pointer is not checked for error before being used.

   The variables have been changed to time_t and the typecast has been
   removed.

---
   Module Name:	pkgsrc
   Committed By:	is
   Date:		Mon Oct 15 20:47:57 UTC 2012

   Modified Files:
   	pkgsrc/x11/xlockmore: Makefile distinfo
   	pkgsrc/x11/xlockmore-lite: Makefile
   	pkgsrc/x11/xlockmore/patches: patch-modes_dclock.c

   Log message:
   A missed case of last problem.... dclock -veg and dclock -lab.