Upgrade to pywdns revsion 0.8.0.

pywdns (0.8.0)

 * Add str_to_rcode and str_to_name_case functions

 * Add str_to_name_case function

 * Add str_to_rcode function

 * Add str_to_rrclass and str_to_rdata functions from wdns

 * domain_to_str(): PyString_FromStringAndSize -> PyString_FromString

   this fixes a regression introduced in d04d3919. wdns_domain_to_str()
   does not return the number of bytes written to dst, it returns the
   number of bytes read from src. dst is guaranteed to be NUL-terminated
   after a call to wdns_domain_to_str(), so switch back to using
   PyString_FromString() to convert dst to a python string.

 * the comparison against WDNS_MAXLEN_NAME should be strictly greater
   than, not greater than or equal to.

 * setup.py: add back missing 'import os'

Sponsored by:	Farsight Security, Inc.
This commit is contained in:
Don Lewis 2015-10-28 02:39:01 +00:00
parent fba9095e99
commit 92632f13e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400371
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pywdns
PORTVERSION= 0.6.0
PORTVERSION= 0.8.0
CATEGORIES= dns python
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,2 +1,2 @@
SHA256 (pywdns-0.6.0.tar.gz) = 3e0d7b520793835c1be34a679bbbb5cefdfc28d6ef9b6e2759e175d0571e405d
SIZE (pywdns-0.6.0.tar.gz) = 60166
SHA256 (pywdns-0.8.0.tar.gz) = f60c50e01738799465bd7569df9f81f52e5f6fe3a2be568a04acbdba72575699
SIZE (pywdns-0.8.0.tar.gz) = 66105