summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-05-01 05:03:23 +0000
committermef <mef@pkgsrc.org>2016-05-01 05:03:23 +0000
commit59f0fe100f7654183de135e80103a006a10aba03 (patch)
treed2f2769d01d24c2cd10e51c04559626c3232206a /net
parent0b5f85f2c7747ff15993593015bae8f4c46f7cd8 (diff)
downloadpkgsrc-59f0fe100f7654183de135e80103a006a10aba03.tar.gz
Import libasr-1.0.2 as net/libasr. Based on PR pkg/51106 by ISIHARA Takanori.
libasr is a FREE asynchronous DNS resolver. libasr runs on top of the OpenBSD operating system but also has a portable version that can build and run on several systems, including: * Linux * FreeBSD * NetBSD * DragonFly * MacOSX
Diffstat (limited to 'net')
-rw-r--r--net/libasr/DESCR10
-rw-r--r--net/libasr/Makefile16
-rw-r--r--net/libasr/PLIST4
-rw-r--r--net/libasr/buildlink3.mk12
-rw-r--r--net/libasr/distinfo6
5 files changed, 48 insertions, 0 deletions
diff --git a/net/libasr/DESCR b/net/libasr/DESCR
new file mode 100644
index 00000000000..689af301857
--- /dev/null
+++ b/net/libasr/DESCR
@@ -0,0 +1,10 @@
+libasr is a FREE asynchronous DNS resolver.
+
+libasr runs on top of the OpenBSD operating system but also has a portable
+version that can build and run on several systems, including:
+
+* Linux
+* FreeBSD
+* NetBSD
+* DragonFly
+* MacOSX
diff --git a/net/libasr/Makefile b/net/libasr/Makefile
new file mode 100644
index 00000000000..356c9298a04
--- /dev/null
+++ b/net/libasr/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/05/01 05:03:23 mef Exp $
+
+DISTNAME= libasr-1.0.2
+CATEGORIES= net
+MASTER_SITES= http://www.opensmtpd.org/archives/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/OpenSMTPD/libasr
+COMMENT= Asynchronous DNS resolver library
+LICENSE= isc AND modified-bsd AND 2-clause-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/libasr/PLIST b/net/libasr/PLIST
new file mode 100644
index 00000000000..91cb4f38383
--- /dev/null
+++ b/net/libasr/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2016/05/01 05:03:23 mef Exp $
+include/asr.h
+lib/libasr.la
+man/man3/asr_run.3
diff --git a/net/libasr/buildlink3.mk b/net/libasr/buildlink3.mk
new file mode 100644
index 00000000000..6f23c4ada38
--- /dev/null
+++ b/net/libasr/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/05/01 05:03:23 mef Exp $
+
+BUILDLINK_TREE+= libasr
+
+.if !defined(LIBASR_BUILDLINK3_MK)
+LIBASR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libasr+= libasr>=1.0.2
+BUILDLINK_PKGSRCDIR.libasr?= ../../net/libasr
+.endif # LIBASR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libasr
diff --git a/net/libasr/distinfo b/net/libasr/distinfo
new file mode 100644
index 00000000000..1f3e61029f2
--- /dev/null
+++ b/net/libasr/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/05/01 05:03:23 mef Exp $
+
+SHA1 (libasr-1.0.2.tar.gz) = be48f048b93c243fefadbafbf002db2e00e1e1fa
+RMD160 (libasr-1.0.2.tar.gz) = 515da534a66eab6d1bbd2629c0b0991456869492
+SHA512 (libasr-1.0.2.tar.gz) = a4825a30130f70a452044c484871ac37459e1c1e6659c4c38dead7d3abbdaecb3517b7accb46586537975fee033857566fd279ecf97ae87dc80bb6bcdd467d3e
+Size (libasr-1.0.2.tar.gz) = 406428 bytes