pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/slock New package.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4103f220a250
branches:  trunk
changeset: 538525:4103f220a250
user:      reed <reed%pkgsrc.org@localhost>
date:      Mon Feb 11 22:48:17 2008 +0000

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

diffstat:

 x11/slock/DESCR    |   5 +++++
 x11/slock/Makefile |  34 ++++++++++++++++++++++++++++++++++
 x11/slock/PLIST    |   4 ++++
 x11/slock/distinfo |   5 +++++
 4 files changed, 48 insertions(+), 0 deletions(-)

diffs (64 lines):

diff -r 718a8b22a9e9 -r 4103f220a250 x11/slock/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/slock/DESCR   Mon Feb 11 22:48:17 2008 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 718a8b22a9e9 -r 4103f220a250 x11/slock/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/slock/Makefile        Mon Feb 11 22:48:17 2008 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/11 22:48:17 reed Exp $
+
+DISTNAME=              slock-0.7
+CATEGORIES=            x11
+MASTER_SITES=          http://suckless.org/download/
+
+MAINTAINER=            reed%reedmedia.net@localhost
+HOMEPAGE=              http://www.suckless.org/wiki/tools/xlib
+COMMENT=               Simple X11 screen locker
+
+NO_CONFIGURE=          yes
+INSTALLATION_DIRS=     bin share/doc/slock
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !(${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin")
+CFLAGS+=-DHAVE_SHADOW_H
+.endif
+
+# TODO: handle -lcrypt too
+LIBS+= -lcrypt
+
+do-build:
+       cd ${WRKSRC} && ${CC} -c -DVERSION=\"0.7\" ${CFLAGS} slock.c && \
+               ${CC} -o slock slock.o -lc ${LIBS} ${X11_LDFLAGS} -lX11
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/slock ${PREFIX}/bin/
+       ${CHMOD} 555 ${PREFIX}/bin/slock
+       ${CHMOD} u+s ${PREFIX}/bin/slock
+       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/slock/
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 718a8b22a9e9 -r 4103f220a250 x11/slock/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/slock/PLIST   Mon Feb 11 22:48:17 2008 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/11 22:48:17 reed Exp $
+bin/slock
+share/doc/slock/README
+@dirrm share/doc/slock
diff -r 718a8b22a9e9 -r 4103f220a250 x11/slock/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/slock/distinfo        Mon Feb 11 22:48:17 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/11 22:48:17 reed Exp $
+
+SHA1 (slock-0.7.tar.gz) = 351355d6e09be739119e5fd6b1606c79b5b5e777
+RMD160 (slock-0.7.tar.gz) = 5765ffa0621abaf28718513e81190696df287bbe
+Size (slock-0.7.tar.gz) = 3487 bytes



Home | Main Index | Thread Index | Old Index