new port: net/py-wsdd, web service discovery host daemon

wsdd implements a Web Service Discovery host daemon. This enables (Samba)
hosts, like your local NAS device, to be found by Web Service Discovery
Clients like Windows.

WWW: https://github.com/christgau/wsdd

PR:		246042
Submitted by:	Hiroo Ono <hiroo.ono+freebsd@gmail.com> (maintainer)
This commit is contained in:
Matthias Andree 2020-05-02 17:56:59 +00:00
parent 102a2d9d1b
commit 2f7e3d4f5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533700
5 changed files with 52 additions and 0 deletions

View file

@ -1139,6 +1139,7 @@
SUBDIR += py-urllib3 SUBDIR += py-urllib3
SUBDIR += py-wmi-query SUBDIR += py-wmi-query
SUBDIR += py-wolframalpha SUBDIR += py-wolframalpha
SUBDIR += py-wsdd
SUBDIR += py-wsproto SUBDIR += py-wsproto
SUBDIR += py-zeep SUBDIR += py-zeep
SUBDIR += py-zeroconf SUBDIR += py-zeroconf

35
net/py-wsdd/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $FreeBSD$
PORTNAME= wsdd
DISTVERSIONPREFIX= v
DISTVERSION= 0.5
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hiroo.ono+freebsd@gmail.com
COMMENT= Web Service Discovery (WSD) host daemon for Samba
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
USES= python:3.5+,run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= christgau
SHEBANG_FILES= src/${PORTNAME}.py
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
etc/rc.d/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME}.py \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/etc/rc.d/${PORTNAME} \
${STAGEDIR}${PREFIX}/etc/rc.d/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1/
.include <bsd.port.mk>

3
net/py-wsdd/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1588200228
SHA256 (christgau-wsdd-v0.5_GH0.tar.gz) = c04852b053b78fd9d5b3e28b49a06f8ee707ccdaf82cc1e449ece031ad494bea
SIZE (christgau-wsdd-v0.5_GH0.tar.gz) = 16820

5
net/py-wsdd/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
wsdd implements a Web Service Discovery host daemon. This enables (Samba)
hosts, like your local NAS device, to be found by Web Service Discovery Clients
like Windows.
WWW: https://github.com/christgau/wsdd

8
net/py-wsdd/pkg-message Normal file
View file

@ -0,0 +1,8 @@
[
{ type: install
message: <<EOM
To run wsdd at startup, you need to add the following to /etc/rc.conf:
wsdd_enable="YES"
EOM
]