From 92632f13e1c82c0d6c5dafc1b8d49c1640514988 Mon Sep 17 00:00:00 2001 From: Don Lewis Date: Wed, 28 Oct 2015 02:39:01 +0000 Subject: 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. --- dns/py-pywdns/Makefile | 2 +- dns/py-pywdns/distinfo | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dns/py-pywdns/Makefile b/dns/py-pywdns/Makefile index f2ed409cc9f0..501ad6028ea4 100644 --- a/dns/py-pywdns/Makefile +++ b/dns/py-pywdns/Makefile @@ -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} diff --git a/dns/py-pywdns/distinfo b/dns/py-pywdns/distinfo index adab2c9d0f9d..16b5e04d8902 100644 --- a/dns/py-pywdns/distinfo +++ b/dns/py-pywdns/distinfo @@ -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 -- cgit v1.2.3