Index: dns/Makefile =================================================================== --- dns/Makefile +++ dns/Makefile @@ -158,6 +158,7 @@ SUBDIR += py-namebench SUBDIR += py-publicsuffix SUBDIR += py-twistedNames + SUBDIR += py-wdns SUBDIR += radns SUBDIR += rbldnsd SUBDIR += rbllookup Index: dns/py-wdns/Makefile =================================================================== --- /dev/null +++ dns/py-wdns/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= pywdns +PORTVERSION= 0.6.0 +CATEGORIES= dns python +MASTER_SITES= FARSIGHT \ + LOCAL/truckman/farsight +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= truckman@FreeBSD.org +COMMENT= Python wrapper for dns/wdns + +LICENSE= APACHE20 + +LIB_DEPENDS= libwdns.so:${PORTSDIR}/dns/wdns + +USE_PYTHON= distutils autoplist + +USES= pkgconfig python + +post-patch: + ${REINPLACE_CMD} -e "1s+ python+ ${PYTHON_CMD}+" ${WRKSRC}/gen_pywdns_constants + +post-install: + ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/python2.7/site-packages/wdns.so + +.include Index: dns/py-wdns/distinfo =================================================================== --- /dev/null +++ dns/py-wdns/distinfo @@ -0,0 +1,2 @@ +SHA256 (pywdns-0.6.0.tar.gz) = 3e0d7b520793835c1be34a679bbbb5cefdfc28d6ef9b6e2759e175d0571e405d +SIZE (pywdns-0.6.0.tar.gz) = 60166 Index: dns/py-wdns/pkg-descr =================================================================== --- /dev/null +++ dns/py-wdns/pkg-descr @@ -0,0 +1,5 @@ +This is pywdns, a Python extension module implemented in Cython for +the wdns C library. + + +WWW: https://github.com/farsightsec/pywdns