pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/hs-network-bsd



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 09:15:18 UTC 2022

Added Files:
        pkgsrc/net/hs-network-bsd: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/net/hs-network-bsd/patches: patch-network-bsd.cabal

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/hs-network-bsd/DESCR \
    pkgsrc/net/hs-network-bsd/Makefile pkgsrc/net/hs-network-bsd/PLIST \
    pkgsrc/net/hs-network-bsd/buildlink3.mk \
    pkgsrc/net/hs-network-bsd/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/hs-network-bsd/patches/patch-network-bsd.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/hs-network-bsd/DESCR
diff -u /dev/null pkgsrc/net/hs-network-bsd/DESCR:1.1
--- /dev/null   Wed Feb 16 09:15:18 2022
+++ pkgsrc/net/hs-network-bsd/DESCR     Wed Feb 16 09:15:18 2022
@@ -0,0 +1,2 @@
+This package provides Haskell bindings to the the POSIX network database
+(netdb.h) API.
Index: pkgsrc/net/hs-network-bsd/Makefile
diff -u /dev/null pkgsrc/net/hs-network-bsd/Makefile:1.1
--- /dev/null   Wed Feb 16 09:15:18 2022
+++ pkgsrc/net/hs-network-bsd/Makefile  Wed Feb 16 09:15:18 2022
@@ -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"
Index: pkgsrc/net/hs-network-bsd/PLIST
diff -u /dev/null pkgsrc/net/hs-network-bsd/PLIST:1.1
--- /dev/null   Wed Feb 16 09:15:18 2022
+++ pkgsrc/net/hs-network-bsd/PLIST     Wed Feb 16 09:15:18 2022
@@ -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
Index: pkgsrc/net/hs-network-bsd/buildlink3.mk
diff -u /dev/null pkgsrc/net/hs-network-bsd/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 09:15:18 2022
+++ pkgsrc/net/hs-network-bsd/buildlink3.mk     Wed Feb 16 09:15:18 2022
@@ -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
Index: pkgsrc/net/hs-network-bsd/distinfo
diff -u /dev/null pkgsrc/net/hs-network-bsd/distinfo:1.1
--- /dev/null   Wed Feb 16 09:15:18 2022
+++ pkgsrc/net/hs-network-bsd/distinfo  Wed Feb 16 09:15:18 2022
@@ -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

Index: pkgsrc/net/hs-network-bsd/patches/patch-network-bsd.cabal
diff -u /dev/null pkgsrc/net/hs-network-bsd/patches/patch-network-bsd.cabal:1.1
--- /dev/null   Wed Feb 16 09:15:18 2022
+++ pkgsrc/net/hs-network-bsd/patches/patch-network-bsd.cabal   Wed Feb 16 09:15:18 2022
@@ -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