svn commit: r383076 - in head/dns: . py-pywdns

Don Lewis truckman at FreeBSD.org
Thu Apr 2 23:40:32 UTC 2015


Author: truckman
Date: Thu Apr  2 23:40:29 2015
New Revision: 383076
URL: https://svnweb.freebsd.org/changeset/ports/383076

Log:
  Add new port dns/py-pywdns.
  
  This is pywdns, a Python extension module implemented in Cython
  for the wdns C library.
  
  Differential Revision:	https://reviews.freebsd.org/D2200
  Approved by:	mat (mentor)
  Sponsored by:	Farsight Security, Inc.

Added:
  head/dns/py-pywdns/
  head/dns/py-pywdns/Makefile   (contents, props changed)
  head/dns/py-pywdns/distinfo   (contents, props changed)
  head/dns/py-pywdns/pkg-descr   (contents, props changed)
Modified:
  head/dns/Makefile

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Thu Apr  2 22:56:46 2015	(r383075)
+++ head/dns/Makefile	Thu Apr  2 23:40:29 2015	(r383076)
@@ -157,6 +157,7 @@
     SUBDIR += py-ldns
     SUBDIR += py-namebench
     SUBDIR += py-publicsuffix
+    SUBDIR += py-pywdns
     SUBDIR += py-twistedNames
     SUBDIR += radns
     SUBDIR += rbldnsd

Added: head/dns/py-pywdns/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/py-pywdns/Makefile	Thu Apr  2 23:40:29 2015	(r383076)
@@ -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 at FreeBSD.org
+COMMENT=	Python wrapper for dns/wdns
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
+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 <bsd.port.mk>

Added: head/dns/py-pywdns/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/py-pywdns/distinfo	Thu Apr  2 23:40:29 2015	(r383076)
@@ -0,0 +1,2 @@
+SHA256 (pywdns-0.6.0.tar.gz) = 3e0d7b520793835c1be34a679bbbb5cefdfc28d6ef9b6e2759e175d0571e405d
+SIZE (pywdns-0.6.0.tar.gz) = 60166

Added: head/dns/py-pywdns/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/py-pywdns/pkg-descr	Thu Apr  2 23:40:29 2015	(r383076)
@@ -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


More information about the svn-ports-all mailing list