Commit graph

13 commits

Author SHA1 Message Date
leot
fbf7c4e93b Update x11/slock to slock-1.4
Changes:
1.4
---
- fix CVE-2016-6866
- add proper priviledge dropping
- use explicit_bzero from OpenBSD to clear password from memory
- major code audit and rewrite of some parts (thanks, Laslo!)

Approved by <reed>
2016-11-23 08:20:21 +00:00
joerg
ee9f0cc078 Needs libXrandr. 2016-02-28 19:49:06 +00:00
leot
d3e9981b42 Various minor fixes.
o slock also needs x11/libXinerama
o Bump _XOPEN_SOURCE version to 600 in order to avoid build issues on SunOS.
o While here also fix some cosmetical issues providing a better SUBST_MESSAGE
  for "makefile" class and also accept possible user-defined CPPFLAGS.
2016-02-18 18:52:54 +00:00
leot
63c43a2866 Update x11/slock to 1.3.
pkgsrc changes:
- Delete NO_CONFIGURE (it is not needed and sometimes can be harmful)

Changes:
The changes since version 1.2 are:
- bugfix: The cover window now resizes correctly when new screens are added or
  the resolution is changed while the lock is active.
- new: slock now has a third color. The three colors are used for startup,
  typing and failed login attempt.
- new: slock now allows to run any command after the screen has been locked, for
  example suspending to ram.
- slock now has a man page.
- a few small fixes and code style updates to make it more consistent with the
  rest of the suckless projects.

ok reed@
2016-02-16 17:47:19 +00:00
agc
d8f09469bb Add SHA512 digests for distfiles for x11 category
Problems found locating distfiles:
        Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
        Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
        Package xservers: missing distfile xservers-3.3.6.5.tar.bz2
        Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
        Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 03:28:24 +00:00
joerg
7b493c581a Fix dependencies. 2015-01-09 14:34:54 +00:00
mef
dcbe329147 Update 1.0 to 1.2 based on PR pkg/49063 by Leonardo Taccari.
(pkgsrc)
  - Instead of using do-* in Makefile adjust config.mk and use the
    official Makefile like other suckless.org packages (e.g. x11/dmenu).
  - Do not install README: the only useful information for the user was:
    Simply invoke the 'slock' command. To get out of it, enter your
    password. The user can read that in x11/slock/DESCR by
    pkg_info slock.
(upstream)
  * slock-1.2:
    - Colors are now specified via config.h
    - Minor bug fixes

  * slock-1.1:
    - Eckhards dualcolor patch
    - Minor bug fixes
2015-01-06 13:32:25 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
reed
1e6e672a69 Upgrade slock to 1.0
Add license and change homepage.

No changes file included in source distribution.
Changes can be seen at http://hg.suckless.org/slock/ (see changelog
for last few versions).

One important fix is:
added XRaiseWindow workaround when new clients are launched

See http://secunia.com/advisories/48700/ for the security issue.
2012-05-23 17:10:50 +00:00
asau
1ecb1661d3 Build fix: treat DragonFly as other BSDs.
From Alexander Polakov, PR pkg/43118
2010-04-05 00:06:24 +00:00
joerg
68b9420872 user-destdir support 2009-07-07 18:14:15 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
reed
ee5484df34 New package.
Based on package from pkgsrc-wip, but updated. I changed
the maintainer because I didn't hear back about my changes.

From description:

Simple screen locker for X.

It blanks the screen and hides the pointer.  To unlock, type in
your password and press Enter.  The Escape key resets input and it
beeps on wrong password.
2008-02-11 22:48:17 +00:00