From 2fc19cb42fafd2b439aafe717e4b0631bf00c33b Mon Sep 17 00:00:00 2001 From: Emi Date: Mon, 20 Jul 2026 19:27:43 +0200 Subject: [PATCH] sys-apps/turnstile: add postinst message Signed-off-by: Emi --- sys-apps/turnstile/turnstile-0.1.11.ebuild | 8 ++++++++ sys-apps/turnstile/turnstile-9999.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/sys-apps/turnstile/turnstile-0.1.11.ebuild b/sys-apps/turnstile/turnstile-0.1.11.ebuild index 48a9e25e57..fcfc612f8c 100644 --- a/sys-apps/turnstile/turnstile-0.1.11.ebuild +++ b/sys-apps/turnstile/turnstile-0.1.11.ebuild @@ -42,3 +42,11 @@ src_configure() { ) 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 index 48a9e25e57..fcfc612f8c 100644 --- a/sys-apps/turnstile/turnstile-9999.ebuild +++ b/sys-apps/turnstile/turnstile-9999.ebuild @@ -42,3 +42,11 @@ src_configure() { ) 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" +}