Skip to content

Commit

Permalink
net/hs-resolv: Update to 0.2.0.2
Browse files Browse the repository at this point in the history
0.2.0.2 - 2023-06-12, Alexey Radkov and Andreas Abel
* Support Haiku OS by including libnetwork in configure script. (PR #23.)

0.2.0.1 - 2023-03-31, Alexey Radkov and Andreas Abel
* Fix 0.2.0.0: Ship updated configure script.

0.2.0.0 - 2023-03-31, Alexey Radkov and Andreas Abel
* Bump bytestring to >= 0.10 for correct IsString ByteString instance. (PR
  #16.)
* Fix memory leaks due to missing res_nclose() after each res_ninit()
  call. (PR #12.)
* Check the value of h_errno on failures of res_nquery() and throw an
  appropriate exception of type DnsException built with one of new
  constructors DnsHostNotFound, DnsNoData, DnsNoRecovery, or
  DnsTryAgain. Note that previously such exceptions were thrown by fail and
  had type IOError. (PR #17.)
* Suppress configure warning on option --with-compiler passed by Cabal. (PR
  #21.)
* Tested with GHC 8.0 - 9.6.
  • Loading branch information
depressed-pho committed Oct 27, 2023
1 parent 6600369 commit 5313f48
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
10 changes: 2 additions & 8 deletions net/hs-resolv/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
# $NetBSD: Makefile,v 1.11 2023/10/09 04:54:43 pho Exp $
# $NetBSD: Makefile,v 1.12 2023/10/27 11:53:14 pho Exp $

DISTNAME= resolv-0.1.2.0
PKGREVISION= 6
DISTNAME= resolv-0.2.0.2
CATEGORIES= net

MAINTAINER= pho@cielonegro.org
COMMENT= Domain Name Service (DNS) lookup
LICENSE= gnu-gpl-v2

HASKELL_UNRESTRICT_DEPENDENCIES+= \
base \
base16-bytestring \
bytestring

.include "../../converters/hs-base16-bytestring/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
11 changes: 7 additions & 4 deletions net/hs-resolv/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2023/01/25 13:31:04 pho Exp $
@comment $NetBSD: PLIST,v 1.4 2023/10/27 11:53:14 pho Exp $
lib/resolv-${PKGVERSION}/${HS_VERSION}/package-description
lib/resolv-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
Expand All @@ -16,15 +16,18 @@ lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/Message.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/DNS/Message.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE.GPLv2
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE.GPLv3
share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE
share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE.GPLv2
share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/LICENSE.GPLv3
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/ChangeLog.md
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/Network-DNS.html
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/doc-index.json
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/quick-jump.css
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/quick-jump.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/resolv.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/resolv-${PKGVERSION}/html/synopsis.png
6 changes: 3 additions & 3 deletions net/hs-resolv/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.8 2023/10/09 04:54:43 pho Exp $
# $NetBSD: buildlink3.mk,v 1.9 2023/10/27 11:53:14 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.2
BUILDLINK_ABI_DEPENDS.hs-resolv+= hs-resolv>=0.1.2.0nb6
BUILDLINK_API_DEPENDS.hs-resolv+= hs-resolv>=0.2.0
BUILDLINK_ABI_DEPENDS.hs-resolv+= hs-resolv>=0.2.0.2
BUILDLINK_PKGSRCDIR.hs-resolv?= ../../net/hs-resolv

.include "../../converters/hs-base16-bytestring/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions net/hs-resolv/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2023/01/25 13:31:04 pho Exp $
$NetBSD: distinfo,v 1.7 2023/10/27 11:53:14 pho Exp $

BLAKE2s (resolv-0.1.2.0.tar.gz) = 33bc573ba6213afe7e033d640580197d85daaff8e3a95ff2a1b29b11cccab5e5
SHA512 (resolv-0.1.2.0.tar.gz) = fae2d0717a109b0d6cc19c51c773bc68c64c0048b9d930528cf5622ee270ebaddec180c1d444542e8eb036262611f5b88deadeea223fb2ef2b15b41369a2376e
Size (resolv-0.1.2.0.tar.gz) = 156710 bytes
BLAKE2s (resolv-0.2.0.2.tar.gz) = dbb6d63450e0c7ffd2867787361e27b7f8ad6df7c1d642325b3fa475a68c1713
SHA512 (resolv-0.2.0.2.tar.gz) = df61ab0e3d1c2faa525271416fca3976378ac6fcbaf9f729c7ed3f07454625a03f6aafcd2fd56f2001bc61d365ccb2b4c4f2bd693696576450df20a20e7102df
Size (resolv-0.2.0.2.tar.gz) = 159658 bytes

0 comments on commit 5313f48

Please sign in to comment.