Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: consolelocker-1.1.0
@ 2023-12-03  5:16 m0bcy
  2023-12-03  5:24 ` [PR PATCH] [Updated] " m0bcy
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: m0bcy @ 2023-12-03  5:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

There is a new pull request by m0bcy against master on the void-packages repository

https://github.com/m0bcy/void-packages consolelocker-1.1.0_1
https://github.com/void-linux/void-packages/pull/47544

New package: consolelocker-1.1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

A patch file from https://github.com/void-linux/void-packages/pull/47544.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-consolelocker-1.1.0_1-47544.patch --]
[-- Type: text/x-diff, Size: 1764 bytes --]

From 42833fc0905d9347f31394fe2d70ba8198d86842 Mon Sep 17 00:00:00 2001
From: Nikita Ermakov <sh1r4s3@mail.si-head.nl>
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                | 22 +++++++++++++++++++
 2 files changed, 25 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 0000000000000..aed511823193b
--- /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 0000000000000..8ef28d68ebc71
--- /dev/null
+++ b/srcpkgs/consolelocker/template
@@ -0,0 +1,22 @@
+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 <sh1r4s3@mail.si-head.nl>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/legionus/consolelocker"
+distfiles="https://github.com/legionus/consolelocker/archive/refs/tags/${version}-alt1.tar.gz"
+checksum="a26ce14bcecbe909743766cbc040afc673534300b2c21dc86c936fad9026f94d"
+makedepends=help2man
+depends=kbd
+
+do_install() {
+    vinstall consolelock 755 usr/bin/
+    vinstall consolelocker 755 usr/bin/
+    # Helper program and script
+    vmkdir usr/libexec/consolelocker 755
+    vinstall vlocka 700 usr/libexec/consolelocker/
+    vman consolelocker.8
+    vsv consolelockerd
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-03-12  3:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-03  5:16 [PR PATCH] New package: consolelocker-1.1.0 m0bcy
2023-12-03  5:24 ` [PR PATCH] [Updated] " m0bcy
2023-12-03  5:26 ` m0bcy
2023-12-03  5:36 ` m0bcy
2023-12-04  4:52 ` m0bcy
2023-12-11  2:58 ` m0bcy
2023-12-11  5:14 ` m0bcy
2023-12-12 15:34 ` m0bcy
2024-03-12  1:44 ` github-actions
2024-03-12  3:31 ` sh1r4s3

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).