git: f142a00ca29e - 2025Q1 - net/mdns-bridge: Fix rc script

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Fri, 28 Mar 2025 11:46:03 UTC
The branch 2025Q1 has been updated by garga:

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

commit f142a00ca29ee2397fddae72b6f14aca78e9b6b7
Author:     Denny Page <dennypage@me.com>
AuthorDate: 2025-03-27 18:02:02 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2025-03-28 11:45:48 +0000

    net/mdns-bridge: Fix rc script
    
    Fix command name to point to binary installed by this port
    
    PR:             285100
    MFH:            2025Q1
    (cherry picked from commit 2b444dc15dfa1207cedaff2c2b7873728701d0c5)
---
 net/mdns-bridge/Makefile             | 1 +
 net/mdns-bridge/files/mdns_bridge.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/mdns-bridge/Makefile b/net/mdns-bridge/Makefile
index 50d6afc1a608..2736eaa02726 100644
--- a/net/mdns-bridge/Makefile
+++ b/net/mdns-bridge/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mdns-bridge
 PORTVERSION=	1.0.1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	dennypage@me.com
diff --git a/net/mdns-bridge/files/mdns_bridge.in b/net/mdns-bridge/files/mdns_bridge.in
index 746865d123c6..8cdc61a495e4 100644
--- a/net/mdns-bridge/files/mdns_bridge.in
+++ b/net/mdns-bridge/files/mdns_bridge.in
@@ -22,7 +22,7 @@ load_rc_config $name
 : ${mdns_bridge_enable:=NO}
 : ${mdns_bridge_config=%%PREFIX%%/etc/mdns-bridge.conf}
 
-command=%%PREFIX%%/sbin/${name}
+command=%%PREFIX%%/bin/mdns-bridge
 pidfile=/var/run/${name}.pid
 
 command_args="-s -p $pidfile -c $mdns_bridge_config"