sys-apps/turnstile - 0.1.11 (guru)

Search

Install

Install this version:

emerge -a =sys-apps/turnstile-0.1.11

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/turnstile-0.1.11

Or alternatively:

emerge --autounmask-write -a =sys-apps/turnstile-0.1.11

Package Information

Description:
Independent session/login tracker
Homepage:
https://github.com/chimera-linux/turnstile
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
0.1.11 8 ~amd64 0
View Raw Ebuild
# 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"
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-apps/turnstile | euse -E <flag> -p sys-apps/turnstile | euse -D <flag> -p sys-apps/turnstile

Global/Standard Flags

man

Inherited Eclasses

Dependencies

DEPEND

	sys-libs/pam
	app-text/scdoc
	dinit? (
		sys-apps/dinit
		sys-apps/dinit-services
	)
	runit? (
		sys-process/runit
	)

RDEPEND

	sys-libs/pam
	app-text/scdoc
	dinit? (
		sys-apps/dinit
		sys-apps/dinit-services
	)
	runit? (
		sys-process/runit
	)

Manifest for 0.1.11

Type File Size Source URLs
DIST turnstile-0.1.11.tar.gz 41799 bytes https://github.com/chimera-linux/turnstile/archive/refs/tags/v0.1.11.tar.gz