aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/Makefile1
-rw-r--r--dns/pear-Net_DNS2/Makefile41
-rw-r--r--dns/pear-Net_DNS2/distinfo3
-rw-r--r--dns/pear-Net_DNS2/pkg-descr8
4 files changed, 53 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index b36b81216cfd..05664eeefab4 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -120,6 +120,7 @@
SUBDIR += pdnsd
SUBDIR += pear-File_DNS
SUBDIR += pear-Net_DNS
+ SUBDIR += pear-Net_DNS2
SUBDIR += posadis
SUBDIR += poweradmin
SUBDIR += powerdns
diff --git a/dns/pear-Net_DNS2/Makefile b/dns/pear-Net_DNS2/Makefile
new file mode 100644
index 000000000000..287eb5caa10a
--- /dev/null
+++ b/dns/pear-Net_DNS2/Makefile
@@ -0,0 +1,41 @@
+# Ports collection makefile for: pear-Net_DNS2
+# Date created: Oct 27, 2010
+# Whom: Wen Heping <wen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net_DNS2
+PORTVERSION= 1.0.0
+CATEGORIES= dns net pear
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= PHP5 Resolver library used to communicate with a DNS server
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+FILES= Net/DNS2.php \
+ Net/DNS2/BitMap.php Net/DNS2/Exception.php Net/DNS2/Header.php \
+ Net/DNS2/Lookups.php Net/DNS2/Packet/Request.php Net/DNS2/Packet/Response.php \
+ Net/DNS2/Packet.php Net/DNS2/Question.php Net/DNS2/RR/A.php \
+ Net/DNS2/RR/AAAA.php Net/DNS2/RR/AFSDB.php Net/DNS2/RR/ANY.php \
+ Net/DNS2/RR/APL.php Net/DNS2/RR/CERT.php Net/DNS2/RR/CNAME.php \
+ Net/DNS2/RR/DHCID.php Net/DNS2/RR/DLV.php Net/DNS2/RR/DNAME.php \
+ Net/DNS2/RR/DNSKEY.php Net/DNS2/RR/DS.php Net/DNS2/RR/EID.php \
+ Net/DNS2/RR/HINFO.php Net/DNS2/RR/HIP.php Net/DNS2/RR/IPSECKEY.php \
+ Net/DNS2/RR/ISDN.php Net/DNS2/RR/KEY.php Net/DNS2/RR/KX.php \
+ Net/DNS2/RR/LOC.php Net/DNS2/RR/MX.php Net/DNS2/RR/NAPTR.php \
+ Net/DNS2/RR/NIMLOC.php Net/DNS2/RR/NS.php Net/DNS2/RR/NSAP.php \
+ Net/DNS2/RR/NSEC.php Net/DNS2/RR/NSEC3.php Net/DNS2/RR/NSEC3PARAM.php \
+ Net/DNS2/RR/OPT.php Net/DNS2/RR/PTR.php Net/DNS2/RR/PX.php \
+ Net/DNS2/RR/RP.php Net/DNS2/RR/RRSIG.php Net/DNS2/RR/RT.php \
+ Net/DNS2/RR/SIG.php Net/DNS2/RR/SOA.php Net/DNS2/RR/SPF.php \
+ Net/DNS2/RR/SRV.php Net/DNS2/RR/SSHFP.php Net/DNS2/RR/TKEY.php \
+ Net/DNS2/RR/TSIG.php Net/DNS2/RR/TXT.php Net/DNS2/RR/X25.php \
+ Net/DNS2/RR.php Net/DNS2/Resolver.php Net/DNS2/Socket/Sockets.php \
+ Net/DNS2/Socket/Streams.php Net/DNS2/Socket.php Net/DNS2/Updater.php
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/dns/pear-Net_DNS2/distinfo b/dns/pear-Net_DNS2/distinfo
new file mode 100644
index 000000000000..f8ce44b0f619
--- /dev/null
+++ b/dns/pear-Net_DNS2/distinfo
@@ -0,0 +1,3 @@
+MD5 (PEAR/Net_DNS2-1.0.0.tgz) = e27d4ff463736af3e2a70cd824b3c619
+SHA256 (PEAR/Net_DNS2-1.0.0.tgz) = c14d435b4494679d21be6da431112fdbb524d0bd7fc1745be5320af41f5b8064
+SIZE (PEAR/Net_DNS2-1.0.0.tgz) = 47459
diff --git a/dns/pear-Net_DNS2/pkg-descr b/dns/pear-Net_DNS2/pkg-descr
new file mode 100644
index 000000000000..8683de704211
--- /dev/null
+++ b/dns/pear-Net_DNS2/pkg-descr
@@ -0,0 +1,8 @@
+pear-Net_DNS2 provides (roughly) the same functionality as Net_DNS, but
+using PHP5 objects, exceptions for error handling, better sockets support.
+
+This release is (in most cases) 2x - 10x faster than Net_DNS, as well as
+includes more RR's (including DNSSEC RR's), and improved sockets and streams
+support.
+
+WWW: http://pear.php.net/package/Net_DNS2/