summaryrefslogtreecommitdiff
path: root/x11/xlockmore
diff options
context:
space:
mode:
authorScott Mace <smace@FreeBSD.org>1994-11-09 22:39:07 +0000
committerScott Mace <smace@FreeBSD.org>1994-11-09 22:39:07 +0000
commit9f1c178f1bf5ac08256fbbf72b0f419276ccc6d1 (patch)
tree9490638df7242471eee993729cb5abbb21628ad2 /x11/xlockmore
parentThis port is interactive. Say so. (diff)
Import of xlockmore 1.14
Notes
Notes: svn path=/head/; revision=344
Diffstat (limited to 'x11/xlockmore')
-rw-r--r--x11/xlockmore/Makefile16
-rw-r--r--x11/xlockmore/files/patch-aa51
-rw-r--r--x11/xlockmore/pkg-comment1
-rw-r--r--x11/xlockmore/pkg-descr15
-rw-r--r--x11/xlockmore/pkg-plist4
5 files changed, 87 insertions, 0 deletions
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
new file mode 100644
index 000000000000..54d051f65b11
--- /dev/null
+++ b/x11/xlockmore/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: xlockmore
+# Version required: 1.14
+# Date created: 9 November 1994
+# Whom: smace
+#
+# $id: Makefile,v 1.0 1994/11/09 00:00:00 smace Exp $
+#
+
+DISTNAME= xlockmore-1.14
+XMKMF= xmkmf -a
+USE_IMAKE= yes
+PATCH_STRIP= -p1
+MASTER_SITES= ftp://ftp.x.org/contrib/applications/
+WRKSRC= ${WRKDIR}/xlockmore
+
+.include <bsd.port.mk>
diff --git a/x11/xlockmore/files/patch-aa b/x11/xlockmore/files/patch-aa
new file mode 100644
index 000000000000..cbe41d048b73
--- /dev/null
+++ b/x11/xlockmore/files/patch-aa
@@ -0,0 +1,51 @@
+diff -rc xlockmore.orig/XLock.ad xlockmore/XLock.ad
+*** xlockmore.orig/XLock.ad Sun Oct 23 22:23:15 1994
+--- xlockmore/XLock.ad Wed Nov 9 15:08:35 1994
+***************
+*** 1,4 ****
+! XLock.mode: blank
+ XLock.font: -b&h-lucida-medium-r-normal-sans-24-*-*-*-*-*-iso8859-1
+ XLock.background: White
+ XLock.foreground: Black
+--- 1,4 ----
+! XLock.mode: random
+ XLock.font: -b&h-lucida-medium-r-normal-sans-24-*-*-*-*-*-iso8859-1
+ XLock.background: White
+ XLock.foreground: Black
+diff -rc xlockmore.orig/xlock.c xlockmore/xlock.c
+*** xlockmore.orig/xlock.c Mon Oct 17 07:41:41 1994
+--- xlockmore/xlock.c Wed Nov 9 14:52:07 1994
+***************
+*** 530,536 ****
+ #else
+ struct passwd *pw;
+
+! #ifdef __NetBSD__
+ seteuid(0); /* Need to be root now on NetBSD */
+ #endif
+ pw = (struct passwd *)getpwnam("root");
+--- 530,536 ----
+ #else
+ struct passwd *pw;
+
+! #if defined(__FreeBSD__) || defined(__NetBSD__)
+ seteuid(0); /* Need to be root now on NetBSD */
+ #endif
+ pw = (struct passwd *)getpwnam("root");
+***************
+*** 555,561 ****
+
+ user = pw->pw_name;
+ #endif
+! #ifdef __NetBSD__
+ seteuid(getuid()); /* Don't need to be root anymore */
+ #endif
+ #endif
+--- 555,561 ----
+
+ user = pw->pw_name;
+ #endif
+! #if defined(__FreeBSD__) || defined(__NetBSD__)
+ seteuid(getuid()); /* Don't need to be root anymore */
+ #endif
+ #endif
diff --git a/x11/xlockmore/pkg-comment b/x11/xlockmore/pkg-comment
new file mode 100644
index 000000000000..956e80cdc39a
--- /dev/null
+++ b/x11/xlockmore/pkg-comment
@@ -0,0 +1 @@
+XLockmore (like XLock session locker/screen saver, but just more) v 1.14
diff --git a/x11/xlockmore/pkg-descr b/x11/xlockmore/pkg-descr
new file mode 100644
index 000000000000..ee7e881dec4b
--- /dev/null
+++ b/x11/xlockmore/pkg-descr
@@ -0,0 +1,15 @@
+ xlock locks the X server till the user enters their pass-
+ word at the keyboard. While xlock is running, all new
+ server connections are refused. The screen saver is dis-
+ abled. 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.
+
+
diff --git a/x11/xlockmore/pkg-plist b/x11/xlockmore/pkg-plist
new file mode 100644
index 000000000000..148cb8c2ff8c
--- /dev/null
+++ b/x11/xlockmore/pkg-plist
@@ -0,0 +1,4 @@
+@cwd /usr/X11R6
+bin/xlock
+lib/X11/app-defaults/XLock
+man/man1/xlock.1.gz