FreeBSD Bugzilla – Attachment 220869 Details for
Bug 252087
new port: net/ssdpd: SSDP announcer daemon for UPnP/DLNA and PHP UPnP/DLNA Media server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
55cef8edf4.patch (text/plain), 6.67 KB, created by
Ivan Rozhuk
on 2020-12-23 18:07:07 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2020-12-23 18:07:07 UTC
Size:
6.67 KB
patch
obsolete
>From 55cef8edf4e27cbb22a0f2875512e9e853184a91 Mon Sep 17 00:00:00 2001 >From: Rozhuk Ivan <rozhuk.im@gmail.com> >Date: Wed, 23 Dec 2020 03:35:16 +0300 >Subject: [PATCH] net/ssdpd: SSDP announcer daemon for UPnP/DLNA and PHP > UPnP/DLNA Media server > >Private patch > >SSDP announcer for UPnP/DLNA - a program for announcing the network UPnP/DLNA devices. >Announcements are sent using IPv4 and IPv6 on the special multicast address. > >SSDP announcer allows you announce on your LAN any UPnP / DLNA server >located on the Internet, another network segment. > >UPnP - based on the SSDP announcements for automatic detection of >available devices on the local network, and HTTP to communicate with >devices it has found. >In HTTP, the data is transmitted using XML-SOAP. > >Archive with SSDP announcer contains implementation >UPnP / DLNA Media server based on nginx and PHP. >Nginx takes on work with http, php script processes the XML-SOAP >requests from client devices. >The script allows browsing through the file system and access to the >media which is to be found. > >WWW: http://netlab.dhis.org/wiki/en:software:ssdpd:index >--- > net/ssdpd/Makefile | 42 ++++++++++++++++++++++++ > net/ssdpd/distinfo | 5 +++ > net/ssdpd/files/pkg-message.in | 59 ++++++++++++++++++++++++++++++++++ > net/ssdpd/pkg-descr | 20 ++++++++++++ > net/ssdpd/pkg-plist | 16 +++++++++ > 5 files changed, 142 insertions(+) > create mode 100644 net/ssdpd/Makefile > create mode 100644 net/ssdpd/distinfo > create mode 100644 net/ssdpd/files/pkg-message.in > create mode 100644 net/ssdpd/pkg-descr > create mode 100644 net/ssdpd/pkg-plist > >diff --git a/net/ssdpd/Makefile b/net/ssdpd/Makefile >new file mode 100644 >index 000000000000..ee6468c4ea08 >--- /dev/null >+++ b/net/ssdpd/Makefile >@@ -0,0 +1,42 @@ >+# Created by: Rozhuk Ivan 2017 <rozhuk.im@gmail.com> >+# $FreeBSD$ >+ >+PORTNAME= ssdpd >+PORTVERSION= 1.8.0 >+CATEGORIES= net >+ >+MAINTAINER= rozhuk.im@gmail.com >+COMMENT= SSDP announcer daemon for UPnP/DLNA and PHP UPnP/DLNA Media server >+ >+LICENSE= BSD3CLAUSE >+ >+USE_GITHUB= yes >+GH_ACCOUNT= rozhuk-im:DEFAULT \ >+ rozhuk-im:lib_lcb >+GH_PROJECT= ssdpd:DEFAULT \ >+ liblcb:lib_lcb >+GH_TAGNAME= a086b27ec1ce0b0eda87bff2b841a44837fa91aa:DEFAULT \ >+ 154cf601a061c06ccc3ec3642c578e5c5ac40c90:lib_lcb >+GH_SUBDIR= src/liblcb:lib_lcb >+ >+USES= cmake >+PKGMESSAGE= ${WRKSRC}/pkg-message >+SUB_FILES= pkg-message >+ >+OPTIONS_DEFINE= INSTALL_MEDIA_SRV >+OPTIONS_DEFAULT=INSTALL_MEDIA_SRV >+OPTIONS_SUB= yes >+ >+INSTALL_MEDIA_SRV_DESC= Install PHP UPnP/DLNA Media server >+INSTALL_MEDIA_SRV_CMAKE_BOOL= INSTALL_PHP_MEDIA_SERVER >+INSTALL_MEDIA_SRV_RUN_DEPENDS= nginx:www/nginx >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MINSTALL_MEDIA_SRV} >+USE_PHP= fileinfo soap xml >+USERS= www >+GROUPS= www >+.endif >+ >+.include <bsd.port.mk> >diff --git a/net/ssdpd/distinfo b/net/ssdpd/distinfo >new file mode 100644 >index 000000000000..bb9d4ca652b3 >--- /dev/null >+++ b/net/ssdpd/distinfo >@@ -0,0 +1,5 @@ >+TIMESTAMP = 1608587793 >+SHA256 (rozhuk-im-ssdpd-1.8.0-a086b27ec1ce0b0eda87bff2b841a44837fa91aa_GH0.tar.gz) = 37cd1dc5b24ccbeef8c426e8a9d311dce1c48ecdd63000c82d5e9ed0035cd8f5 >+SIZE (rozhuk-im-ssdpd-1.8.0-a086b27ec1ce0b0eda87bff2b841a44837fa91aa_GH0.tar.gz) = 30845 >+SHA256 (rozhuk-im-liblcb-154cf601a061c06ccc3ec3642c578e5c5ac40c90_GH0.tar.gz) = cd8f4aee5b217d6a1a22b107f5c9aa9f348be011bbb0808138b215dbdc6407fd >+SIZE (rozhuk-im-liblcb-154cf601a061c06ccc3ec3642c578e5c5ac40c90_GH0.tar.gz) = 407839 >diff --git a/net/ssdpd/files/pkg-message.in b/net/ssdpd/files/pkg-message.in >new file mode 100644 >index 000000000000..09367600a547 >--- /dev/null >+++ b/net/ssdpd/files/pkg-message.in >@@ -0,0 +1,59 @@ >+[ >+{ type: install >+ message: <<EOM >+!!! ATTENTION !!! >+ >+You need complete setup! >+ >+ >+1. ssdpd >+Copy %%ETCDIR%%/ssdpd.conf.sample to %%ETCDIR%%/ssdpd.conf >+then replace lan0 with your network interface name. >+Add more sections if needed. >+Remove IPv4/IPv6 lines if not needed. >+ >+Add to /etc/rc.conf: >+ssdpd_enable="YES" >+ >+Run: >+service ssdpd restart >+ >+ >+ >+2. PHP UPnP server >+ >+PHP: >+Add to /etc/rc.conf: >+php_fpm_enable="YES" >+ >+Run: >+service php-fpm restart >+ >+ >+nginx: >+If nginx will serve only upnp then you can: >+ln -f -s %%ETCDIR%%/nginx-upnp-full.conf /usr/local/etc/nginx/nginx.conf >+ >+Or add to existing nginx.conf following line: >+include %%ETCDIR%%/nginx-upnp-handler.conf; >+some where in existing http/server section. >+ >+ >+Data: >+Place shared data in: %%DATADIR%%/www/upnpdata >+or make in as simlink on existing data. >+Make sure that permissions allow www access. >+ >+ >+ >+3. Firewall >+ >+ssdpd: >+Allow all IPv4 with options proto igmp. >+Allow all udp dst port 1900. >+ >+PHP UPnP server: >+Allow in tcp dst port 80. >+EOM >+} >+] >diff --git a/net/ssdpd/pkg-descr b/net/ssdpd/pkg-descr >new file mode 100644 >index 000000000000..3a2bf7849b1a >--- /dev/null >+++ b/net/ssdpd/pkg-descr >@@ -0,0 +1,20 @@ >+SSDP announcer for UPnP/DLNA - a program for announcing the network UPnP/DLNA devices. >+Announcements are sent using IPv4 and IPv6 on the special multicast address. >+ >+SSDP announcer allows you announce on your LAN any UPnP / DLNA server >+located on the Internet, another network segment. >+ >+UPnP - based on the SSDP announcements for automatic detection of >+available devices on the local network, and HTTP to communicate with >+devices it has found. >+In HTTP, the data is transmitted using XML-SOAP. >+ >+Archive with SSDP announcer contains implementation >+UPnP / DLNA Media server based on nginx and PHP. >+Nginx takes on work with http, php script processes the XML-SOAP >+requests from client devices. >+The script allows browsing through the file system and access to the >+media which is to be found. >+ >+ >+WWW: http://netlab.dhis.org/wiki/en:software:ssdpd:index >diff --git a/net/ssdpd/pkg-plist b/net/ssdpd/pkg-plist >new file mode 100644 >index 000000000000..667b7a46d92b >--- /dev/null >+++ b/net/ssdpd/pkg-plist >@@ -0,0 +1,16 @@ >+bin/ssdpd >+etc/rc.d/ssdpd >+@sample %%ETCDIR%%/ssdpd.conf.sample >+%%INSTALL_MEDIA_SRV%%@sample etc/php-fpm.d/upnp-server.conf >+%%INSTALL_MEDIA_SRV%%@sample %%ETCDIR%%/nginx-upnp-full.conf >+%%INSTALL_MEDIA_SRV%%@sample %%ETCDIR%%/nginx-upnp-handler.conf >+%%INSTALL_MEDIA_SRV%%@sample %%ETCDIR%%/nginx-upnp-server.conf >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/control/ContentDirectory.php >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/descr/ConnectionManager.xml >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/descr/ContentDirectory.wdsl >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/descr/ContentDirectory.xml >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/descr/X_MS_MediaReceiverRegistrar.xml >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/descr/root.xml >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/icons/dev-icon-48x48.png >+%%INSTALL_MEDIA_SRV%%%%DATADIR%%/www/upnp/presentation/about.html >+%%INSTALL_MEDIA_SRV%%@dir %%DATADIR%%/www/upnpdata
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 252087
:
220869
|
231420