git: 2f9b08effd64 - main - deskutils/readur: free uid/gid, run readur as www

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Wed, 23 Jul 2025 20:54:01 UTC
The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f9b08effd64f93939534fc5d052def4345870d5

commit 2f9b08effd64f93939534fc5d052def4345870d5
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-07-23 20:16:16 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-07-23 20:52:37 +0000

    deskutils/readur: free uid/gid, run readur as www
    
    Approved by:    acm (mentor)
---
 GIDs                      | 2 +-
 UIDs                      | 2 +-
 deskutils/readur/Makefile | 7 ++-----
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/GIDs b/GIDs
index 84d6a6eadfba..119e457e06f1 100644
--- a/GIDs
+++ b/GIDs
@@ -779,7 +779,7 @@ pocket-id:*:834:
 filebrowser:*:835:
 tinyauth:*:836:
 homebox:*:837:
-readur:*:838:
+# free: 838
 shiori:*:839:
 netdisco:*:840:
 tcpcryptd:*:841:
diff --git a/UIDs b/UIDs
index 447d27bd94c1..4f251d5de24f 100644
--- a/UIDs
+++ b/UIDs
@@ -785,7 +785,7 @@ pocket-id:*:834:834::0:0:OIDC provider that allows users to authenticate with th
 filebrowser:*:835:835::0:0:Web File Browser:/var/db/filebrowser:/usr/sbin/nologin
 tinyauth:*:836:836::0:0:Simplest way to protect your apps with a login screen:/nonexistent:/usr/sbin/nologin
 homebox:*:837:837::0:0:Inventory and organization system built for the Home User:/var/db/homebox:/usr/sbin/nologin
-readur:*:838:838::0:0:Intuitive OCR platform:/var/db/readur:/usr/sbin/nologin
+# free: 838
 shiori:*:839:839::0:0:Simple bookmark manager built with Go:/var/db/shiori:/usr/sbin/nologin
 netdisco:*:840:840::0:0:netdisco daemon:/usr/local/etc/netdisco:/bin/sh
 tcpcryptd:*:841:841::0:0:tcpcrypt daemon:/nonexistent:/usr/sbin/nologin
diff --git a/deskutils/readur/Makefile b/deskutils/readur/Makefile
index 82088bc7f223..40b7d1f1c218 100644
--- a/deskutils/readur/Makefile
+++ b/deskutils/readur/Makefile
@@ -29,16 +29,13 @@ MAKE_ENV=	LIBCLANG_PATH=${LLVM_PREFIX}/lib \
 SUB_FILES=	pkg-message
 SUB_LIST=	USER=${READUR_USER}
 
-USERS=		${READUR_USER}
-GROUPS=		${READUR_GROUP}
-
 PLIST_SUB=	GROUP=${READUR_GROUP} \
 		HOMEDIR=${READUR_HOMEDIR} \
 		USER=${READUR_USER}
 
-READUR_USER=	${PORTNAME}
+READUR_USER=	www
 READUR_GROUP=	${READUR_USER}
-READUR_HOMEDIR=	/var/db/${READUR_USER}
+READUR_HOMEDIR=	/var/db/${PORTNAME}
 
 SWAGGER_TAG=	v5.17.14