Index: head/net/py-wsdd/Makefile =================================================================== --- head/net/py-wsdd/Makefile (revision 537060) +++ head/net/py-wsdd/Makefile (revision 537061) @@ -1,35 +1,36 @@ # $FreeBSD$ PORTNAME= wsdd DISTVERSIONPREFIX= v DISTVERSION= 0.5 +PORTREVISION= 1 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 Index: head/net/py-wsdd/files/patch-etc_rc.d_wsdd =================================================================== --- head/net/py-wsdd/files/patch-etc_rc.d_wsdd (nonexistent) +++ head/net/py-wsdd/files/patch-etc_rc.d_wsdd (revision 537061) @@ -0,0 +1,19 @@ +--- etc/rc.d/wsdd.orig 2019-12-16 13:40:38 UTC ++++ etc/rc.d/wsdd +@@ -9,14 +9,11 @@ + + name=wsdd + rcvar=wsdd_enable +-wsdd_group="" ++wsdd_group=$(/usr/local/bin/testparm -s --parameter-name workgroup 2>/dev/null) + +-if which testparm >/dev/null 2>/dev/null; then +- wsdd_group=$(testparm -s --parameter-name workgroup 2>/dev/null) +-fi ++: ${wsdd_smb_config_file="/usr/local/etc/smb4.conf"} + + # try to manually extract workgroup from samba configuration if testparm failed +-wsdd_smb_config_file="/usr/local/etc/smb.conf" + if [ -z "$wsdd_group" ] && [ -r $wsdd_smb_config_file ]; then + wsdd_group="$(grep -i '^[[:space:]]*workgroup[[:space:]]*=' $wsdd_smb_config_file | cut -f2 -d= | tr -d '[:blank:]')" + fi Property changes on: head/net/py-wsdd/files/patch-etc_rc.d_wsdd ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property