Eerste test

This commit is contained in:
nils 2024-12-27 21:17:14 +01:00
commit ecd3198a88
7 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST v0.1.10.tar.gz 41144 BLAKE2B 69e291a8855c83efbdd8434743e54c4634d2b676cae19119d242a78187e0785f6e27953add380614af292e465238849a0667b9a540e1500a9a4ec0381dc6353a SHA512 739e11a01cfcb6c7ae58445619e1986cc6a84f93eae4ebf36b76f1f003baec90bf357eb81da2c116df3564631dff7b3b97c0eb6878d2d14de6457ba66dad5068

View file

@ -0,0 +1,6 @@
#!/sbin/openrc-run
name=turnstiled
command="/usr/bin/turnstiled"
command_background=true
pidfile="/run/$RC_SVCNAME.pid"

View file

@ -0,0 +1,31 @@
# No copyright
EAPI=8
inherit meson
DESCRIPTION="Independent session/login tracker"
HOMEPAGE="https://github.com/chimera-linux/turnstile"
SRC_URI="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${PV}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+man pam"
DEPEND="pam? ( sys-libs/pam )"
RDEPEND="${DEPEND}"
#BDEPEND=""
src_configure() {
local emesonargs=(
$(meson_use man)
-Ddinit=disabled
)
meson_src_configure
}
src_install() {
newinitd "${FILESDIR}"/${P}-init.d turnstiled
meson_src_install
}