pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/hs-network-bsd net/hs-network-bsd: import hs-netwo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59b6f12ffcec
branches:  trunk
changeset: 374031:59b6f12ffcec
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 09:15:18 2022 +0000

description:
net/hs-network-bsd: import hs-network-bsd-2.8.1.0

This package provides Haskell bindings to the the POSIX network database
(netdb.h) API.

diffstat:

 net/hs-network-bsd/DESCR                           |   2 ++
 net/hs-network-bsd/Makefile                        |  12 ++++++++++++
 net/hs-network-bsd/PLIST                           |  19 +++++++++++++++++++
 net/hs-network-bsd/buildlink3.mk                   |  15 +++++++++++++++
 net/hs-network-bsd/distinfo                        |   6 ++++++
 net/hs-network-bsd/patches/patch-network-bsd.cabal |  15 +++++++++++++++
 6 files changed, 69 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r 7c0e288cc8ef -r 59b6f12ffcec net/hs-network-bsd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-network-bsd/DESCR  Wed Feb 16 09:15:18 2022 +0000
@@ -0,0 +1,2 @@
+This package provides Haskell bindings to the the POSIX network database
+(netdb.h) API.
diff -r 7c0e288cc8ef -r 59b6f12ffcec net/hs-network-bsd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-network-bsd/Makefile       Wed Feb 16 09:15:18 2022 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:15:18 pho Exp $
+
+DISTNAME=      network-bsd-2.8.1.0
+CATEGORIES=    net
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       POSIX network database (<netdb.h>) API
+LICENSE=       modified-bsd
+
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7c0e288cc8ef -r 59b6f12ffcec net/hs-network-bsd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-network-bsd/PLIST  Wed Feb 16 09:15:18 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:15:18 pho Exp $
+lib/network-bsd-${PKGVERSION}/${HS_VERSION}/package-description
+lib/network-bsd-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/BSD.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/BSD.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/BSD.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/Network-BSD.html
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/network-bsd.haddock
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/network-bsd-${PKGVERSION}/html/synopsis.png
diff -r 7c0e288cc8ef -r 59b6f12ffcec net/hs-network-bsd/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-network-bsd/buildlink3.mk  Wed Feb 16 09:15:18 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:15:18 pho Exp $
+
+BUILDLINK_TREE+=       hs-network-bsd
+
+.if !defined(HS_NETWORK_BSD_BUILDLINK3_MK)
+HS_NETWORK_BSD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-network-bsd+= hs-network-bsd>=2.8.1
+BUILDLINK_ABI_DEPENDS.hs-network-bsd+= hs-network-bsd>=2.8.1.0
+BUILDLINK_PKGSRCDIR.hs-network-bsd?=   ../../net/hs-network-bsd
+
+.include "../../net/hs-network/buildlink3.mk"
+.endif # HS_NETWORK_BSD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-network-bsd
diff -r 7c0e288cc8ef -r 59b6f12ffcec net/hs-network-bsd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-network-bsd/distinfo       Wed Feb 16 09:15:18 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:15:18 pho Exp $
+
+BLAKE2s (network-bsd-2.8.1.0.tar.gz) = af3abc625809b94d8f8d365951c30f0ecc80753aa2c2d3edd2b811cac6bb6b5b
+SHA512 (network-bsd-2.8.1.0.tar.gz) = b2f66c6705c490e1cbaab6ca88444294bc90b3711da4039046a9279060ed41228ab855b40039f56bd02eabcc0351200de3e043a108a0cdc98192d563702de7f3
+Size (network-bsd-2.8.1.0.tar.gz) = 8584 bytes
+SHA1 (patch-network-bsd.cabal) = b1da396d245e40954fa6c61bda681f1a97f1bee3
diff -r 7c0e288cc8ef -r 59b6f12ffcec net/hs-network-bsd/patches/patch-network-bsd.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-network-bsd/patches/patch-network-bsd.cabal        Wed Feb 16 09:15:18 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-network-bsd.cabal,v 1.1 2022/02/16 09:15:18 pho Exp $
+
+Compatibility with network-3.1
+
+--- network-bsd.cabal.orig     2019-01-19 23:53:20.000000000 +0000
++++ network-bsd.cabal
+@@ -75,7 +75,7 @@ library
+                -- with the bounds to avoid leaking through API
+                -- changes that aren't reflected in `network-bsd`'s
+                -- API version.
+-               , network >= 3.0.0.0 && < 3.0.1
++               , network >= 3.0.0.0
+   build-tools: hsc2hs >= 0.67 && < 0.69
+   ghc-options: -Wall
+ 



Home | Main Index | Thread Index | Old Index