summaryrefslogtreecommitdiff
path: root/x11/xlockmore-obsd
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2021-09-02 19:45:50 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2021-09-02 19:45:50 +0200
commit85279f8c1fe0d70935f5f363cf4817df692a7c2e (patch)
tree31ef2d9de75952c7d309f30787358abe949e055c /x11/xlockmore-obsd
parentaac9d4e5e8df3a4376290ef724ef4f22b5ff3179 (diff)
add xlockmore-obsd 5.22
Diffstat (limited to 'x11/xlockmore-obsd')
-rw-r--r--x11/xlockmore-obsd/Makefile39
-rw-r--r--x11/xlockmore-obsd/distinfo2
-rw-r--r--x11/xlockmore-obsd/pkg/DESCR21
-rw-r--r--x11/xlockmore-obsd/pkg/PLIST4
4 files changed, 66 insertions, 0 deletions
diff --git a/x11/xlockmore-obsd/Makefile b/x11/xlockmore-obsd/Makefile
new file mode 100644
index 0000000..812fa8e
--- /dev/null
+++ b/x11/xlockmore-obsd/Makefile
@@ -0,0 +1,39 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+
+COMMENT = lockscreen program for X
+DISTNAME = xlockmore-obsd-5.22
+
+CATEGORIES = x11
+
+HOMEPAGE = https://www.openbsd.org/
+
+MAINTAINER = xenocara@openbsd.org
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+WANTLIB = ICE SM X11 Xau Xdmcp Xext Xmu Xpm freetype xcb
+WANTLIB += ${COMPILER_LIBCXX} c m z
+
+MASTER_SITES = https://xenocara.org/distfiles/app
+
+MODULES = xenocara
+
+LIB_DEPENDS = print/freetype2 x11/libXext x11/libXpm
+
+CONFIGURE_STYLE = simple
+WRKDIST = ${WRKDIR}/xlockmore
+
+post-patch:
+ @chmod a+rx ${WRKSRC}/configure
+
+CONFIGURE_ARGS = --datarootdir=${X11BASE} \
+ --enable-appdefaultdir=${X11BASE}/share/X11/app-defaults \
+ --enable-syslog --without-motif --without-ttf \
+ --without-gtk2 --without-gtk --without-esound \
+ --without-rplay --without-ftgl \
+ --without-opengl --without-mesa
+
+SEPARATE_BUILD = tes
+
+.include <bsd.port.mk>
diff --git a/x11/xlockmore-obsd/distinfo b/x11/xlockmore-obsd/distinfo
new file mode 100644
index 0000000..4edda70
--- /dev/null
+++ b/x11/xlockmore-obsd/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xlockmore-obsd-5.22.tar.gz) = 1KgeG0UyTgTgp0AOv7gJURpqWsPUPa7n4tAvx5LOwB0=
+SIZE (xlockmore-obsd-5.22.tar.gz) = 1986825
diff --git a/x11/xlockmore-obsd/pkg/DESCR b/x11/xlockmore-obsd/pkg/DESCR
new file mode 100644
index 0000000..345f97c
--- /dev/null
+++ b/x11/xlockmore-obsd/pkg/DESCR
@@ -0,0 +1,21 @@
+xlock locks the X server till the user enters their password at the
+keyboard. While xlock is running, all new server connections are
+refused. The screen saver is disabled. 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.
+
+In the lower part of the password screen a text is displayed. This
+message is taken from the first file of the following that exists:
+$HOME/.xlocktext, $HOME/.plan, or $HOME/.signature.
+
+On systems which support new BSD style authentication, the password may
+be prefixed by an authentication style followed by a colon (i.e.
+"style:password"). See the login.conf(5) for more information on
+authentication styles.
+
diff --git a/x11/xlockmore-obsd/pkg/PLIST b/x11/xlockmore-obsd/pkg/PLIST
new file mode 100644
index 0000000..8dccd63
--- /dev/null
+++ b/x11/xlockmore-obsd/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $OpenBSD: PLIST,v$
+@bin bin/xlock
+@man man/man1/xlock.1
+share/X11/app-defaults/XLock