summaryrefslogtreecommitdiff
path: root/sys-apps/turnstile
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-22 03:04:36 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-22 03:04:36 -0500
commit63ccd2e4ddd6295605ea83ff6f5e2337785496e5 (patch)
treec2e8b95c36b14703e41de0de4fe7cb686ee24eea /sys-apps/turnstile
parent805088e14f2164ec415b97288657da8492869f97 (diff)
downloadbaldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.tar.gz
baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.tar.xz
baldeagleos-repo-63ccd2e4ddd6295605ea83ff6f5e2337785496e5.zip
Adding metadata
Diffstat (limited to 'sys-apps/turnstile')
-rw-r--r--sys-apps/turnstile/Manifest1
-rw-r--r--sys-apps/turnstile/metadata.xml19
-rw-r--r--sys-apps/turnstile/turnstile-0.1.11.ebuild52
-rw-r--r--sys-apps/turnstile/turnstile-9999.ebuild52
4 files changed, 124 insertions, 0 deletions
diff --git a/sys-apps/turnstile/Manifest b/sys-apps/turnstile/Manifest
new file mode 100644
index 000000000000..6757e316e09b
--- /dev/null
+++ b/sys-apps/turnstile/Manifest
@@ -0,0 +1 @@
+DIST turnstile-0.1.11.tar.gz 41799 BLAKE2B d5de1bc65b71a1025cd4c6c458dcabc0fe2f8a3371ec55acadaf081d1af7d133fab16cf694399ebee2ada90ce842fa46b0a1bc56636deffc3b2fe602f091ebe9 SHA512 dc53396e3fe4eb2155d1d10680e22696f69f57a2b345fac541671618a8db9a7c24cf937ae4454598aa67c025da698d4bc14dc34b2b77b59b53328c157315b92c
diff --git a/sys-apps/turnstile/metadata.xml b/sys-apps/turnstile/metadata.xml
new file mode 100644
index 000000000000..fbb6fc6a931b
--- /dev/null
+++ b/sys-apps/turnstile/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reedy.sailors.8t@icloud.com</email>
+ <name>Emi</name>
+ </maintainer>
+ <use>
+ <flag name="dinit">Install Dinit-related backend and data</flag>
+ <flag name="runit">Install runit-related backend and data</flag>
+ <flag name="rundir">Enable rundir management by default</flag>
+ </use>
+ <longdescription>
+ Turnstile is a work in progress effort to create a session/login tracker to serve as a
+ fully featured alternative to the logind subproject from systemd,
+ and to provide a neutral API to both our session tracker and to logind itself.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/sys-apps/turnstile/turnstile-0.1.11.ebuild b/sys-apps/turnstile/turnstile-0.1.11.ebuild
new file mode 100644
index 000000000000..fcfc612f8ce8
--- /dev/null
+++ b/sys-apps/turnstile/turnstile-0.1.11.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit meson
+
+DESCRIPTION="Independent session/login tracker"
+HOMEPAGE="https://github.com/chimera-linux/turnstile"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/chimera-linux/${PN}.git"
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+DEPEND="
+ sys-libs/pam
+ app-text/scdoc
+ dinit? (
+ sys-apps/dinit
+ sys-apps/dinit-services
+ )
+ runit? (
+ sys-process/runit
+ )
+"
+RDEPEND="${DEPEND}"
+
+IUSE="dinit runit rundir man"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature dinit dinit)
+ $(meson_feature runit runit)
+ $(meson_use rundir manage_rundir)
+ $(meson_use man man)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ elog "For Turnstile to work you will have to add the following to /etc/pam.d/system-login"
+ elog ""
+ elog "-session optional pam_turnstile.so"
+ elog ""
+ elog "You will also need to enable the turnstiled service on dinit or runit"
+}
diff --git a/sys-apps/turnstile/turnstile-9999.ebuild b/sys-apps/turnstile/turnstile-9999.ebuild
new file mode 100644
index 000000000000..fcfc612f8ce8
--- /dev/null
+++ b/sys-apps/turnstile/turnstile-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit meson
+
+DESCRIPTION="Independent session/login tracker"
+HOMEPAGE="https://github.com/chimera-linux/turnstile"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/chimera-linux/${PN}.git"
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+DEPEND="
+ sys-libs/pam
+ app-text/scdoc
+ dinit? (
+ sys-apps/dinit
+ sys-apps/dinit-services
+ )
+ runit? (
+ sys-process/runit
+ )
+"
+RDEPEND="${DEPEND}"
+
+IUSE="dinit runit rundir man"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature dinit dinit)
+ $(meson_feature runit runit)
+ $(meson_use rundir manage_rundir)
+ $(meson_use man man)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ elog "For Turnstile to work you will have to add the following to /etc/pam.d/system-login"
+ elog ""
+ elog "-session optional pam_turnstile.so"
+ elog ""
+ elog "You will also need to enable the turnstiled service on dinit or runit"
+}