diff --git a/net/py-dns/Makefile b/net/py-dns/Makefile new file mode 100644 index 00000000000..858d7ea678c --- /dev/null +++ b/net/py-dns/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/10/29 08:02:20 jakob Exp $ + +COMMENT= python DNS library + +VERSION= 2.3.0 +DISTNAME= pydns-${VERSION} +PKGNAME= py-dns-${VERSION} +CATEGORIES= net + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pydns/} +EXTRACT_SUFX= .tgz + +HOMEPAGE= http://linkchecker.sourceforge.net/ + +MAINTAINER= Jakob Schlyter + +# Python License +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +PYTHON_VER= 2.2 +BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER} +RUN_DEPENDS= ${BUILD_DEPENDS} + +SUBST_VARS= PYTHON_VER +NO_REGRESS= Yes +PY_CMD= @cd ${WRKSRC}; python${PYTHON_VER} ./setup.py + +do-build: + ${PY_CMD} build --build-base=${WRKSRC} + +do-install: + ${PY_CMD} install --prefix=${PREFIX} + +.include diff --git a/net/py-dns/distinfo b/net/py-dns/distinfo new file mode 100644 index 00000000000..869191a7965 --- /dev/null +++ b/net/py-dns/distinfo @@ -0,0 +1,3 @@ +MD5 (pydns-2.3.0.tgz) = b79616da9e88abce88edf82b369ee58d +RMD160 (pydns-2.3.0.tgz) = b99b969c8cb547292535d63711d13be275b9dba2 +SHA1 (pydns-2.3.0.tgz) = bbf4e7874ba35da9c8427761107cedbafa1f207c diff --git a/net/py-dns/pkg/DESCR b/net/py-dns/pkg/DESCR new file mode 100644 index 00000000000..50837d6cf08 --- /dev/null +++ b/net/py-dns/pkg/DESCR @@ -0,0 +1,4 @@ +pydns implements a DNS (Domain Name Server) client, plus additional modules +that define some symbolic constants used by DNS (dnstype, dnsclass, dnsopcode). + +WWW: ${HOMEPAGE} diff --git a/net/py-dns/pkg/PLIST b/net/py-dns/pkg/PLIST new file mode 100644 index 00000000000..fb1f66aa7de --- /dev/null +++ b/net/py-dns/pkg/PLIST @@ -0,0 +1,29 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/10/29 08:02:20 jakob Exp $ +lib/python${PYTHON_VER}/site-packages/DNS/Base.py +lib/python${PYTHON_VER}/site-packages/DNS/Base.pyc +lib/python${PYTHON_VER}/site-packages/DNS/Base.pyo +lib/python${PYTHON_VER}/site-packages/DNS/Class.py +lib/python${PYTHON_VER}/site-packages/DNS/Class.pyc +lib/python${PYTHON_VER}/site-packages/DNS/Class.pyo +lib/python${PYTHON_VER}/site-packages/DNS/Lib.py +lib/python${PYTHON_VER}/site-packages/DNS/Lib.pyc +lib/python${PYTHON_VER}/site-packages/DNS/Lib.pyo +lib/python${PYTHON_VER}/site-packages/DNS/Opcode.py +lib/python${PYTHON_VER}/site-packages/DNS/Opcode.pyc +lib/python${PYTHON_VER}/site-packages/DNS/Opcode.pyo +lib/python${PYTHON_VER}/site-packages/DNS/Status.py +lib/python${PYTHON_VER}/site-packages/DNS/Status.pyc +lib/python${PYTHON_VER}/site-packages/DNS/Status.pyo +lib/python${PYTHON_VER}/site-packages/DNS/Type.py +lib/python${PYTHON_VER}/site-packages/DNS/Type.pyc +lib/python${PYTHON_VER}/site-packages/DNS/Type.pyo +lib/python${PYTHON_VER}/site-packages/DNS/__init__.py +lib/python${PYTHON_VER}/site-packages/DNS/__init__.pyc +lib/python${PYTHON_VER}/site-packages/DNS/__init__.pyo +lib/python${PYTHON_VER}/site-packages/DNS/lazy.py +lib/python${PYTHON_VER}/site-packages/DNS/lazy.pyc +lib/python${PYTHON_VER}/site-packages/DNS/lazy.pyo +lib/python${PYTHON_VER}/site-packages/DNS/win32dns.py +lib/python${PYTHON_VER}/site-packages/DNS/win32dns.pyc +lib/python${PYTHON_VER}/site-packages/DNS/win32dns.pyo +@dirrm lib/python${PYTHON_VER}/site-packages/DNS