summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-17 14:59:02 +0000
committerpho <pho@pkgsrc.org>2020-01-17 14:59:02 +0000
commit7228e2683d599df875d2076457e7de9b0de89c97 (patch)
tree1a0c7098f83286d43f53ee2aabc19898ddeccbb4
parent7c30711ab87f6e2d2ffbba0e63ef75d1544615d1 (diff)
downloadpkgsrc-7228e2683d599df875d2076457e7de9b0de89c97.tar.gz
Import connection-0.3.1
Simple network library for all your connection need. Features: Really simple to use, SSL/TLS, SOCKS. This library provides a very simple api to create sockets to a destination with the choice of SSL/TLS, and SOCKS.
-rw-r--r--net/hs-connection/DESCR6
-rw-r--r--net/hs-connection/Makefile20
-rw-r--r--net/hs-connection/buildlink3.mk23
-rw-r--r--net/hs-connection/distinfo6
4 files changed, 55 insertions, 0 deletions
diff --git a/net/hs-connection/DESCR b/net/hs-connection/DESCR
new file mode 100644
index 00000000000..b0fe6a9db98
--- /dev/null
+++ b/net/hs-connection/DESCR
@@ -0,0 +1,6 @@
+Simple network library for all your connection need.
+
+Features: Really simple to use, SSL/TLS, SOCKS.
+
+This library provides a very simple api to create sockets to a
+destination with the choice of SSL/TLS, and SOCKS.
diff --git a/net/hs-connection/Makefile b/net/hs-connection/Makefile
new file mode 100644
index 00000000000..eefc3c570a2
--- /dev/null
+++ b/net/hs-connection/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2020/01/17 14:59:02 pho Exp $
+
+DISTNAME= connection-0.3.1
+CATEGORIES= net
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Network connection with optional TLS and/or SOCKS
+LICENSE= modified-bsd
+
+.include "../../devel/hs-basement/buildlink3.mk"
+.include "../../devel/hs-data-default-class/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-socks/buildlink3.mk"
+.include "../../security/hs-tls/buildlink3.mk"
+.include "../../security/hs-x509/buildlink3.mk"
+.include "../../security/hs-x509-store/buildlink3.mk"
+.include "../../security/hs-x509-system/buildlink3.mk"
+.include "../../security/hs-x509-validation/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/hs-connection/buildlink3.mk b/net/hs-connection/buildlink3.mk
new file mode 100644
index 00000000000..5fa0614b9f0
--- /dev/null
+++ b/net/hs-connection/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/17 14:59:02 pho Exp $
+
+BUILDLINK_TREE+= hs-connection
+
+.if !defined(HS_CONNECTION_BUILDLINK3_MK)
+HS_CONNECTION_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-connection+= hs-connection>=0.3.1
+BUILDLINK_ABI_DEPENDS.hs-connection+= hs-connection>=0.3.1
+BUILDLINK_PKGSRCDIR.hs-connection?= ../../net/hs-connection
+
+.include "../../devel/hs-basement/buildlink3.mk"
+.include "../../devel/hs-data-default-class/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-socks/buildlink3.mk"
+.include "../../security/hs-tls/buildlink3.mk"
+.include "../../security/hs-x509/buildlink3.mk"
+.include "../../security/hs-x509-store/buildlink3.mk"
+.include "../../security/hs-x509-system/buildlink3.mk"
+.include "../../security/hs-x509-validation/buildlink3.mk"
+.endif # HS_CONNECTION_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-connection
diff --git a/net/hs-connection/distinfo b/net/hs-connection/distinfo
new file mode 100644
index 00000000000..c2dc9e9fbd7
--- /dev/null
+++ b/net/hs-connection/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/17 14:59:02 pho Exp $
+
+SHA1 (connection-0.3.1.tar.gz) = 8910bef4b64c1a02dc5644ccda5c2f8c33a18f8b
+RMD160 (connection-0.3.1.tar.gz) = 976a55668846594d16bd91ff05d02bc60db47f44
+SHA512 (connection-0.3.1.tar.gz) = 06da91d39e0d9a556a78da77a7ca31d520d5e7e8fd65509f82be926ad2c34282ef1f4d03aa6065c5834bc89417cf51b573f3cf4529fe3ead72eb1e80cc6d7a98
+Size (connection-0.3.1.tar.gz) = 9051 bytes