-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
exec 2>&1 | ||
exec consolelocker -g wheel -f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>" | ||
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 | ||
} |