Stub ancient xautolock port
This commit is contained in:
parent
be6611a11f
commit
6aa2a33bc8
@ -3,21 +3,18 @@
|
||||
# Date created: 16 March 1998
|
||||
# Whom: Thomas Graichen
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.5 2000/04/09 17:38:47 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2000/06/09 16:20:33 espie Exp $
|
||||
#
|
||||
|
||||
NEED_VERSION= 1.293
|
||||
DISTNAME= xautolock-pl11
|
||||
CATEGORIES= x11
|
||||
FAKE=No
|
||||
|
||||
COMES_WITH= 2.3
|
||||
COMMENT=-fire up programs in case of user inactivity under X
|
||||
MIRROR_DISTFILE=no
|
||||
|
||||
MASTER_SITES= ftp://ftp.science.unitn.it/pub/unix/X11/utilities/
|
||||
|
||||
MAINTAINER= graichen@OpenBSD.ORG
|
||||
|
||||
USE_IMAKE= yes
|
||||
ALL_TARGET= Makefiles all
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +0,0 @@
|
||||
MD5 (xautolock-pl11.tar.gz) = 06e0cdd98aa7645366a31f4b895801bc
|
@ -1,28 +0,0 @@
|
||||
--- xautolock.c.org Thu Feb 19 15:30:29 1998
|
||||
+++ xautolock.c Thu Feb 19 15:32:27 1998
|
||||
@@ -308,7 +308,7 @@
|
||||
#endif /* !NOSTDHDRS */
|
||||
|
||||
#if !defined (apollo) && !defined (VMS)
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#endif /* !apollo && !VMS */
|
||||
|
||||
@@ -1842,14 +1842,14 @@
|
||||
#else /* VMS */
|
||||
if (locker_pid)
|
||||
{
|
||||
-#if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
|
||||
+#if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4) && !defined(__OpenBSD__)
|
||||
union wait status; /* childs process status */
|
||||
#else /* !UTEKV && !SYSV && !SVR4 */
|
||||
int status = 0; /* childs process status */
|
||||
#endif /* !UTEKV && !SYSV && !SVR4 */
|
||||
|
||||
|
||||
-#if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
|
||||
+#if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4) && !defined(__OpenBSD__)
|
||||
if (wait3 (&status, WNOHANG, (struct rusage*) NULL))
|
||||
#else /* !UTEKV && !SYSV && !SVR4 */
|
||||
if (waitpid (-1, &status, WNOHANG))
|
@ -1 +0,0 @@
|
||||
fire up programs in case of user inactivity under X
|
@ -1,12 +0,0 @@
|
||||
Xautolock monitors the user activity on an X Window dis-
|
||||
play. If none is detected within mins minutes, a program
|
||||
is started as specified by the -locker option. Xautolock
|
||||
will typically be used to lock the screen (hence its pri-
|
||||
mary name) but it really doesn't care what program you
|
||||
make it start. For this reason, xautolock does not inter-
|
||||
fere with the default X screen saver, unless the -reset-
|
||||
saver option is used. This implies that it is the job of
|
||||
the locker or the user to take the appropriate actions if
|
||||
the default screen saver is to be disabled. The only real
|
||||
assumption made by xautolock is that a new countdown
|
||||
starts as soon as the locker exits.
|
@ -1,2 +0,0 @@
|
||||
bin/xautolock
|
||||
man/cat1/xautolock.0
|
Loading…
Reference in New Issue
Block a user