FreeBSD Bugzilla – Attachment 231310 Details for
Bug 261465
net-p2p/prowlarr: Dont chown prowlarr binaries on daemon start
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-net-p2p-prowlarr-Dont-chown-prowlarr-binaries-tell-u.patch
0001-net-p2p-prowlarr-Dont-chown-prowlarr-binaries-tell-u.patch (text/plain), 2.38 KB, created by
Michiel van Baak Jansen
on 2022-01-25 12:42:59 UTC
(
hide
)
Description:
0001-net-p2p-prowlarr-Dont-chown-prowlarr-binaries-tell-u.patch
Filename:
MIME Type:
Creator:
Michiel van Baak Jansen
Created:
2022-01-25 12:42:59 UTC
Size:
2.38 KB
patch
obsolete
>From 9f4ebb8ee7350624d80fae1eed920cc36a0460f3 Mon Sep 17 00:00:00 2001 >From: Michiel van Baak Jansen <michiel@vanbaak.eu> >Date: Tue, 25 Jan 2022 12:09:47 +0100 >Subject: [PATCH] net-p2p/prowlarr: Dont chown prowlarr binaries, tell user to > manually do it when they want to use the built-in updater > >--- > net-p2p/prowlarr/Makefile | 2 +- > net-p2p/prowlarr/files/pkg-message.in | 3 ++- > net-p2p/prowlarr/files/prowlarr.in | 3 --- > 3 files changed, 3 insertions(+), 5 deletions(-) > >diff --git a/net-p2p/prowlarr/Makefile b/net-p2p/prowlarr/Makefile >index 15601f215463..8a8b802b8c7e 100644 >--- a/net-p2p/prowlarr/Makefile >+++ b/net-p2p/prowlarr/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= prowlarr > PORTVERSION= 0.1.10.1375 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net-p2p > MASTER_SITES= https://github.com/Prowlarr/Prowlarr/releases/download/v${PORTVERSION}/ > DISTNAME= Prowlarr.develop.${PORTVERSION}.freebsd-core-x64 >diff --git a/net-p2p/prowlarr/files/pkg-message.in b/net-p2p/prowlarr/files/pkg-message.in >index 5c31e79a4905..0f27aef1d91a 100644 >--- a/net-p2p/prowlarr/files/pkg-message.in >+++ b/net-p2p/prowlarr/files/pkg-message.in >@@ -17,7 +17,8 @@ If you are running this in a jail please set "allow_mlock=1" or similar > for this jail otherwise the program will fail to start > > Finally, the built-in updater is disabled. >-If you like to use the updater, remove the file %%DATADIR%%/package_info and restart %%PORTNAME%% >+If you like to use the updater, remove the file %%DATADIR%%/package_info, >+chown the directory %%DATADIR%%/bin to %%USERS%% and restart %%PORTNAME%% > The built-in updater can now be configured in the Settings tab of %%PORTNAME%% > > NOTE: While the built-in updater will update %%PORTNAME%% it has side-effects: >diff --git a/net-p2p/prowlarr/files/prowlarr.in b/net-p2p/prowlarr/files/prowlarr.in >index 354d12c95e16..41b3aa5c2b69 100644 >--- a/net-p2p/prowlarr/files/prowlarr.in >+++ b/net-p2p/prowlarr/files/prowlarr.in >@@ -40,9 +40,6 @@ start_precmd=${name}_precmd > install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_pid_dir} > fi > >- # Needed for built-in updater >- chown -R ${%%PORTNAME%%_user}:${%%PORTNAME%%_group} ${%%PORTNAME%%_exec_dir} >- > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
michiel
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 261465
:
231310
|
231318
|
231319