FreeBSD Bugzilla – Attachment 255042 Details for
Bug 282569
[NEW PORT] net/mdns-bridge mDNS Bridge
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised patch that adds init script and sample config
V2-Add-mdns-bridge.patch (text/plain), 2.98 KB, created by
Denny Page
on 2024-11-09 01:25:57 UTC
(
hide
)
Description:
Revised patch that adds init script and sample config
Filename:
MIME Type:
Creator:
Denny Page
Created:
2024-11-09 01:25:57 UTC
Size:
2.98 KB
patch
obsolete
>From c6a5440469eb82f4157c6e86efe6b2bd56354029 Mon Sep 17 00:00:00 2001 >From: Denny Page <dennypage@me.com> >Date: Fri, 8 Nov 2024 17:20:29 -0800 >Subject: [PATCH] Add mdns-bridge > >--- > net/mdns-bridge/Makefile | 23 +++++++++++++++++++++ > net/mdns-bridge/distinfo | 3 +++ > net/mdns-bridge/files/mdns-bridge.in | 30 ++++++++++++++++++++++++++++ > net/mdns-bridge/pkg-descr | 4 ++++ > 4 files changed, 60 insertions(+) > create mode 100644 net/mdns-bridge/Makefile > create mode 100644 net/mdns-bridge/distinfo > create mode 100644 net/mdns-bridge/files/mdns-bridge.in > create mode 100644 net/mdns-bridge/pkg-descr > >diff --git a/net/mdns-bridge/Makefile b/net/mdns-bridge/Makefile >new file mode 100644 >index 000000000..cc6169ecf >--- /dev/null >+++ b/net/mdns-bridge/Makefile >@@ -0,0 +1,23 @@ >+PORTNAME= mdns-bridge >+PORTVERSION= 1.0.1 >+DISTVERSIONPREFIX= v >+CATEGORIES= net >+ >+MAINTAINER= dennypage@me.com >+COMMENT= Multicast DNS Bridge (mdns-bridge) >+WWW= https://github.com/dennypage/mdns-bridge >+ >+LICENSE= BSD2CLAUSE >+ >+USE_GITHUB= yes >+GH_ACCOUNT= dennypage >+ >+USE_RC_SUBR= mdns-bridge >+ >+PLIST_FILES= bin/mdns-bridge "@sample etc/mdns-bridge.conf.sample" >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.example ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample >+ >+.include <bsd.port.mk> >diff --git a/net/mdns-bridge/distinfo b/net/mdns-bridge/distinfo >new file mode 100644 >index 000000000..f335f9e8e >--- /dev/null >+++ b/net/mdns-bridge/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1730828610 >+SHA256 (dennypage-mdns-bridge-v1.0.1_GH0.tar.gz) = e4c42db1b2f1f49e7427db92da0553b54f36225c6e4dd6af9679174840e6f492 >+SIZE (dennypage-mdns-bridge-v1.0.1_GH0.tar.gz) = 26051 >diff --git a/net/mdns-bridge/files/mdns-bridge.in b/net/mdns-bridge/files/mdns-bridge.in >new file mode 100644 >index 000000000..3f9c0d57f >--- /dev/null >+++ b/net/mdns-bridge/files/mdns-bridge.in >@@ -0,0 +1,30 @@ >+#!/bin/sh >+ >+# PROVIDE: mdns-bridge >+# REQUIRE: DAEMON >+# KEYWORD: shutdown >+# >+# Add these lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# mdns-bridge_enable (bool): Set to NO by default. >+# Set it to YES to enable mdns-bridge. >+# mdns-bridge_config (path): Set to %%PREFIX%%/etc/mdns-bridge.conf >+# by default. >+ >+. /etc/rc.subr >+ >+name=mdns-bridge >+rcvar=mdns-bridge_enable >+ >+load_rc_config $name >+ >+: ${mdns-bridge_enable:="NO"} >+: ${mdns-bridge_config="%%PREFIX%%/etc/mdns-bridge.conf"} >+ >+command=%%PREFIX%%/sbin/${name} >+pidfile=/var/run/${name}.pid >+ >+command_args="-s -p $pidfile -c $mdns-bridge_config" >+ >+run_rc_command "$1" >diff --git a/net/mdns-bridge/pkg-descr b/net/mdns-bridge/pkg-descr >new file mode 100644 >index 000000000..a3e2ede0b >--- /dev/null >+++ b/net/mdns-bridge/pkg-descr >@@ -0,0 +1,4 @@ >+daemon for forwarding mDNS data between network interfaces. It >+is intended for use by firewalls to provide service discovery >+across network segments, with and without filtering, for both >+IPv4 and IPv6. >-- >2.45.2 >
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
Actions:
View
|
Diff
Attachments on
bug 282569
:
254971
| 255042