Date: Sat, 14 Mar 2026 07:06:01 +0000 From: =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Shamaz Mazum <shamaz.mazum@gmail.com> Subject: git: 3265e8870fd5 - main - net/v2ray: Fix incorrect order of rc file stances Message-ID: <69b508d9.3035f.62064466@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=3265e8870fd5e55039125fcb1ba3d505701404eb commit 3265e8870fd5e55039125fcb1ba3d505701404eb Author: Shamaz Mazum <shamaz.mazum@gmail.com> AuthorDate: 2026-03-14 06:44:02 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2026-03-14 07:04:18 +0000 net/v2ray: Fix incorrect order of rc file stances PR: 293795 Reported by: Shamaz Mazum <shamaz.mazum@gmail.com> Approved by: db@, yuri@ (Mentors, implicit) --- net/v2ray/Makefile | 1 + net/v2ray/files/v2ray.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/v2ray/Makefile b/net/v2ray/Makefile index 5a3e6e50cad3..9d65cb147ee3 100644 --- a/net/v2ray/Makefile +++ b/net/v2ray/Makefile @@ -1,6 +1,7 @@ PORTNAME= v2ray DISTVERSIONPREFIX= v DISTVERSION= 5.46.0 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= alven@FreeBSD.org diff --git a/net/v2ray/files/v2ray.in b/net/v2ray/files/v2ray.in index c39895054532..3778a4846d06 100644 --- a/net/v2ray/files/v2ray.in +++ b/net/v2ray/files/v2ray.in @@ -19,6 +19,7 @@ name="v2ray" rcvar="${name}_enable" +load_rc_config ${name} : ${v2ray_enable="NO"} : ${v2ray_config="%%PREFIX%%/etc/$name/config.json"} @@ -43,5 +44,4 @@ v2ray_startprecmd() { chown -R ${v2ray_user}:${v2ray_group} "${v2ray_logdir}" } -load_rc_config "$name" run_rc_command "$1"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b508d9.3035f.62064466>
