From c34edc217185d98d169402ee0ed8b87e70bb2071 Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Sun, 3 Dec 2017 12:49:49 -0500 Subject: [PATCH] mjpg-streamer: Add mdns support Signed-off-by: Roger D Signed-off-by: Ted Hess --- multimedia/mjpg-streamer/Makefile | 2 +- multimedia/mjpg-streamer/files/mjpg-streamer.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/multimedia/mjpg-streamer/Makefile b/multimedia/mjpg-streamer/Makefile index 6617e8967d..1c18e5d923 100644 --- a/multimedia/mjpg-streamer/Makefile +++ b/multimedia/mjpg-streamer/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mjpg-streamer PKG_REV:=182 PKG_VERSION:=r$(PKG_REV) -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_MAINTAINER:=Roger D , \ Ted Hess diff --git a/multimedia/mjpg-streamer/files/mjpg-streamer.init b/multimedia/mjpg-streamer/files/mjpg-streamer.init index 06630d4233..b7c7ec38f0 100644 --- a/multimedia/mjpg-streamer/files/mjpg-streamer.init +++ b/multimedia/mjpg-streamer/files/mjpg-streamer.init @@ -84,6 +84,7 @@ start_instance() { procd_open_instance procd_set_param command "$PROG" --input "$input_arg" --output "$output_arg" + [ "x$output" = 'xhttp' ] && procd_add_mdns "http" "tcp" "$port" "daemon=mjpg-streamer" procd_close_instance } -- 2.30.2