pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgsrc-wip/forgejo-runner doesn't create user (patch incl)



Hi!

I've built the forgejo-runner package in pkgsrc-wip, and noticed that
when installing it, it doesn't create the `runner` user (nor the
accompanying group).

Below is a small patch that addresses this.

>From f42ea0f1a025b68f2eecc1c5132afe06e6d384b3 Mon Sep 17 00:00:00 2001
From: Gergely Nagy <pkgsrc%gergo.csillger.hu@localhost>
Date: Mon, 7 Sep 2026 08:13:24 +0200
Subject: [PATCH] forgejo: Add PKG_GROUPS & PKG_USERS

Without PKG_GROUPS and PKG_USERS, the runner user is not created on install.
---
 forgejo-runner/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/forgejo-runner/Makefile b/forgejo-runner/Makefile
index 227c0caec4..2685b75f81 100644
--- a/forgejo-runner/Makefile
+++ b/forgejo-runner/Makefile
@@ -30,6 +30,8 @@ FORGEJO_RUNNER_GROUP?=	runner
 
 PKG_GROUPS_VARS+=	FORGEJO_RUNNER_GROUP
 PKG_USERS_VARS+=	FORGEJO_RUNNER_USER
+PKG_GROUPS=		${FORGEJO_RUNNER_GROUP}
+PKG_USERS=		${FORGEJO_RUNNER_USER}:${FORGEJO_RUNNER_GROUP}
 
 PKG_SYSCONFSUBDIR=	forgejo-runner
 
-- 
Gergely Nagy / |8]


Home | Main Index | Thread Index | Old Index