Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161074906
D18782.id52663.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D18782.id52663.diff
View Options
Index: dns/Makefile
===================================================================
--- dns/Makefile
+++ dns/Makefile
@@ -183,6 +183,7 @@
SUBDIR += public_suffix_list
SUBDIR += py-adns
SUBDIR += py-aiodns
+ SUBDIR += py-bonjour
SUBDIR += py-cloudflare
SUBDIR += py-dns
SUBDIR += py-dns-lexicon
Index: dns/py-bonjour/Makefile
===================================================================
--- /dev/null
+++ dns/py-bonjour/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= pybonjour
+PORTVERSION= 1.1.1
+CATEGORIES= dns python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jhixson@freebsd.org
+COMMENT= Pybonjour 1.1.1 for Python 3
+
+LICENSE= MIT
+
+LIB_DEPENDS= libdns_sd.so.1:net/mDNSResponder
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+USE_GITHUB= yes
+GH_ACCOUNT= depl0y
+GH_PROJECT= pybonjour-python3
+GH_TAGNAME= 2c8283f
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Index: dns/py-bonjour/distinfo
===================================================================
--- /dev/null
+++ dns/py-bonjour/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1518466005
+SHA256 (depl0y-pybonjour-python3-1.1.1-2c8283f_GH0.tar.gz) = ec180cf9c9c2e36fe827c294d0c45903846c15af76e19833be867cbe8df3e333
+SIZE (depl0y-pybonjour-python3-1.1.1-2c8283f_GH0.tar.gz) = 18776
Index: dns/py-bonjour/files/patch-pybonjour.py
===================================================================
--- /dev/null
+++ dns/py-bonjour/files/patch-pybonjour.py
@@ -0,0 +1,11 @@
+--- pybonjour.py.orig 2017-12-05 12:29:04.005301000 -0500
++++ pybonjour.py 2017-12-05 12:29:21.721981000 -0500
+@@ -1116,7 +1116,7 @@
+ type=type(txtRecord)))
+
+ if not txtRecord:
+- txtLen, txtRecord = 1, '\0'
++ txtLen, txtRecord = 1, '\0'.encode('utf-8')
+ else:
+ txtLen, txtRecord = _string_to_length_and_void_p(txtRecord)
+
Index: dns/py-bonjour/pkg-descr
===================================================================
--- /dev/null
+++ dns/py-bonjour/pkg-descr
@@ -0,0 +1,3 @@
+pybonjour 1.1.1 for Python 3
+
+WWW: https://github.com/depl0y/pybonjour-python3
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 1, 8:45 AM (18 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34550882
Default Alt Text
D18782.id52663.diff (2 KB)
Attached To
Mode
D18782: [new port] dns/py-bonjour: Python interface for mDNSResponder
Attached
Detach File
Event Timeline
Log In to Comment