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.
This commit is contained in:
reed 2012-05-23 17:10:50 +00:00
parent c3600f3c30
commit 1e6e672a69
3 changed files with 12 additions and 10 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2012,v 1.1574 2012/05/23 16:46:40 dholland Exp $
$NetBSD: CHANGES-2012,v 1.1575 2012/05/23 17:10:50 reed Exp $
Changes to the packages collection and infrastructure in 2012:
@ -2473,3 +2473,4 @@ Changes to the packages collection and infrastructure in 2012:
Added editors/edt version 1.9 [abs 2012-05-23]
Updated lang/sbcl to 1.0.57 [asau 2012-05-23]
Updated games/moria to 5.5.2nb3 [dholland 2012-05-23]
Updated x11/slock to 1.0 [reed 2012-05-23]

View file

@ -1,12 +1,13 @@
# $NetBSD: Makefile,v 1.3 2010/04/05 00:06:24 asau Exp $
# $NetBSD: Makefile,v 1.4 2012/05/23 17:10:50 reed Exp $
DISTNAME= slock-0.7
DISTNAME= slock-1.0
CATEGORIES= x11
MASTER_SITES= http://suckless.org/download/
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.suckless.org/wiki/tools/xlib
HOMEPAGE= http://tools.suckless.org/slock
COMMENT= Simple X11 screen locker
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
@ -23,7 +24,7 @@ CFLAGS+=-DHAVE_SHADOW_H
LIBS+= -lcrypt
do-build:
cd ${WRKSRC} && ${CC} -c -DVERSION=\"0.7\" ${CFLAGS} slock.c && \
cd ${WRKSRC} && ${CC} -c -DVERSION=\"1.0\" ${CFLAGS} slock.c && \
${CC} -o slock slock.o -lc ${LIBS} ${X11_LDFLAGS} -lX11
SPECIAL_PERMS+= bin/slock ${SETUID_ROOT_PERMS}

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2008/02/11 22:48:17 reed Exp $
$NetBSD: distinfo,v 1.2 2012/05/23 17:10:50 reed Exp $
SHA1 (slock-0.7.tar.gz) = 351355d6e09be739119e5fd6b1606c79b5b5e777
RMD160 (slock-0.7.tar.gz) = 5765ffa0621abaf28718513e81190696df287bbe
Size (slock-0.7.tar.gz) = 3487 bytes
SHA1 (slock-1.0.tar.gz) = 38cef8503d512252e8f3f8275200e802990892c5
RMD160 (slock-1.0.tar.gz) = 3fc1aa6c6aae9bfba59049a44f0330bef702f2df
Size (slock-1.0.tar.gz) = 4313 bytes