From 596203a116df2a7480a12859332b9d46e76b0b5b Mon Sep 17 00:00:00 2001 From: Nikita Ermakov Date: Sat, 2 Dec 2023 23:12:43 -0600 Subject: [PATCH] New package: consolelocker-1.1.0 --- .../consolelocker/files/consolelockerd/run | 3 +++ srcpkgs/consolelocker/template | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 srcpkgs/consolelocker/files/consolelockerd/run create mode 100644 srcpkgs/consolelocker/template diff --git a/srcpkgs/consolelocker/files/consolelockerd/run b/srcpkgs/consolelocker/files/consolelockerd/run new file mode 100755 index 00000000000000..aed511823193ba --- /dev/null +++ b/srcpkgs/consolelocker/files/consolelockerd/run @@ -0,0 +1,3 @@ +#!/bin/sh +exec 2>&1 +exec consolelocker -g wheel -f diff --git a/srcpkgs/consolelocker/template b/srcpkgs/consolelocker/template new file mode 100644 index 00000000000000..71f8e9a47729ef --- /dev/null +++ b/srcpkgs/consolelocker/template @@ -0,0 +1,23 @@ +# Template file for 'consolelocker' +pkgname=consolelocker +version=1.1.0 +revision=1 +build_style=gnu-makefile +short_desc="Lock sessions on the Linux console and virtual consoles" +maintainer="Nikita Ermakov " +license="GPL-2.0-or-later" +homepage="https://github.com/legionus/consolelocker" +makedepends=help2man +depends=kbd +distfiles="https://github.com/legionus/consolelocker/archive/refs/tags/${version}-alt1.tar.gz" +checksum="a26ce14bcecbe909743766cbc040afc673534300b2c21dc86c936fad9026f94d" + +do_install() { + vbin consolelock + vbin consolelocker + # Helper program and script + vmkdir usr/libexec/consolelocker 755 + vinstall vlocka 700 usr/libexec/consolelocker/ + vman consolelocker.8 + vsv consolelockerd +}