pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/hs-resolv Update to resolv-0.1.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eae20597a398
branches:  trunk
changeset: 451101:eae20597a398
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Apr 24 12:25:09 2021 +0000

description:
Update to resolv-0.1.2.0

* Add new high-level API functions queryPTR, arpaIPv4, and arpaIPv6
  for performing reverse address lookups.

diffstat:

 net/hs-resolv/Makefile                   |   6 +--
 net/hs-resolv/PLIST                      |  58 ++++++++++++++++----------------
 net/hs-resolv/buildlink3.mk              |   6 +-
 net/hs-resolv/distinfo                   |  11 +++--
 net/hs-resolv/patches/patch-resolv.cabal |  18 +++++++++
 5 files changed, 58 insertions(+), 41 deletions(-)

diffs (140 lines):

diff -r e7fad35abe64 -r eae20597a398 net/hs-resolv/Makefile
--- a/net/hs-resolv/Makefile    Sat Apr 24 12:18:38 2021 +0000
+++ b/net/hs-resolv/Makefile    Sat Apr 24 12:25:09 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2021/02/28 14:27:03 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/04/24 12:25:09 pho Exp $
 
-DISTNAME=      resolv-0.1.1.3
+DISTNAME=      resolv-0.1.2.0
 CATEGORIES=    net
 
 MAINTAINER=    pho%cielonegro.org@localhost
@@ -8,7 +8,5 @@
 LICENSE=       gnu-gpl-v2
 
 .include "../../converters/hs-base16-bytestring/buildlink3.mk"
-BUILDLINK_API_DEPENDS.ghc+=    ghc<=8.10
-BUILDLINK_API_DEPENDS.ghc+=    ghc>=8.8
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e7fad35abe64 -r eae20597a398 net/hs-resolv/PLIST
--- a/net/hs-resolv/PLIST       Sat Apr 24 12:18:38 2021 +0000
+++ b/net/hs-resolv/PLIST       Sat Apr 24 12:25:09 2021 +0000
@@ -1,30 +1,30 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:11 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
+@comment $NetBSD: PLIST,v 1.2 2021/04/24 12:25:09 pho Exp $
+lib/resolv-${PKGVERSION}/${HS_VERSION}/package-description
+lib/resolv-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_IMPL}/Compat.dyn_hi
-${HS_IMPL}/Compat.hi
-${HS_IMPL}/Compat.p_hi
-${HS_IMPL}/Network/DNS.dyn_hi
-${HS_IMPL}/Network/DNS.hi
-${HS_IMPL}/Network/DNS.p_hi
-${HS_IMPL}/Network/DNS/FFI.dyn_hi
-${HS_IMPL}/Network/DNS/FFI.hi
-${HS_IMPL}/Network/DNS/FFI.p_hi
-${HS_IMPL}/Network/DNS/Message.dyn_hi
-${HS_IMPL}/Network/DNS/Message.hi
-${HS_IMPL}/Network/DNS/Message.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
-${HS_DOCS}/LICENSE
-${HS_DOCS}/LICENSE.GPLv2
-${HS_DOCS}/LICENSE.GPLv3
-${HS_DOCS}/html/Network-DNS.html
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/resolv.haddock
-${HS_DOCS}/html/synopsis.png
+lib/${HS_PLATFORM}/${HS_PKGID}/Compat.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Compat.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Compat.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/FFI.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/FFI.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/FFI.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/Message.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/Message.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/Message.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}/resolv-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE.GPLv2
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE.GPLv3
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/Network-DNS.html
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/resolv.haddock
+share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/synopsis.png
diff -r e7fad35abe64 -r eae20597a398 net/hs-resolv/buildlink3.mk
--- a/net/hs-resolv/buildlink3.mk       Sat Apr 24 12:18:38 2021 +0000
+++ b/net/hs-resolv/buildlink3.mk       Sat Apr 24 12:25:09 2021 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/19 02:37:03 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/24 12:25:09 pho Exp $
 
 BUILDLINK_TREE+=       hs-resolv
 
 .if !defined(HS_RESOLV_BUILDLINK3_MK)
 HS_RESOLV_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-resolv+=      hs-resolv>=0.1.1
-BUILDLINK_ABI_DEPENDS.hs-resolv+=      hs-resolv>=0.1.1.3
+BUILDLINK_API_DEPENDS.hs-resolv+=      hs-resolv>=0.1.2
+BUILDLINK_ABI_DEPENDS.hs-resolv+=      hs-resolv>=0.1.2.0
 BUILDLINK_PKGSRCDIR.hs-resolv?=                ../../net/hs-resolv
 
 .include "../../converters/hs-base16-bytestring/buildlink3.mk"
diff -r e7fad35abe64 -r eae20597a398 net/hs-resolv/distinfo
--- a/net/hs-resolv/distinfo    Sat Apr 24 12:18:38 2021 +0000
+++ b/net/hs-resolv/distinfo    Sat Apr 24 12:25:09 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/01/19 02:37:03 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/24 12:25:09 pho Exp $
 
-SHA1 (resolv-0.1.1.3.tar.gz) = 566a2bb45e26f60119ae80adb5cbe38e5c5e3515
-RMD160 (resolv-0.1.1.3.tar.gz) = ccfadcc0bd6fa3a31908fdb56ab0483d47b930e0
-SHA512 (resolv-0.1.1.3.tar.gz) = 59189b3b2c1811f7e4fc3e79f66e5264751479996584e59713cb3ad2cf6d855f202b1db3a02ad57692ee7c55c75a5dc6b5fd008f853f2923923558d923c8129a
-Size (resolv-0.1.1.3.tar.gz) = 156051 bytes
+SHA1 (resolv-0.1.2.0.tar.gz) = b2cc24b2920f396454ae485f938e8e149327036d
+RMD160 (resolv-0.1.2.0.tar.gz) = c47ecc0943dd01315cffde2b903cfd794bdc6041
+SHA512 (resolv-0.1.2.0.tar.gz) = fae2d0717a109b0d6cc19c51c773bc68c64c0048b9d930528cf5622ee270ebaddec180c1d444542e8eb036262611f5b88deadeea223fb2ef2b15b41369a2376e
+Size (resolv-0.1.2.0.tar.gz) = 156710 bytes
+SHA1 (patch-resolv.cabal) = 9d0fd43d1ce8a7ed070af07c3a94a9d6ba51a441
diff -r e7fad35abe64 -r eae20597a398 net/hs-resolv/patches/patch-resolv.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hs-resolv/patches/patch-resolv.cabal  Sat Apr 24 12:25:09 2021 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-resolv.cabal,v 1.1 2021/04/24 12:25:09 pho Exp $
+
+Fix build with GHC 9.
+Fix build with base16-bytestring-1.0.*.
+
+--- resolv.cabal.orig  2001-09-09 01:46:40.000000000 +0000
++++ resolv.cabal
+@@ -92,8 +92,8 @@ library
+                      Compat
+ 
+   -- we need binary-0.7.3 for isolate
+-  build-depends:     base               >= 4.5 && <4.15
+-                   , base16-bytestring ^>= 0.1
++  build-depends:     base               >= 4.5 && <5
++                   , base16-bytestring ^>= 1.0
+                    , binary            ^>=0.7.3 || ^>= 0.8
+                    , bytestring        ^>=0.9.2 || ^>= 0.10
+                    , containers        ^>=0.4.2.1 || ^>= 0.5 || ^>= 0.6



Home | Main Index | Thread Index | Old Index