File: resolv.cabal

package info (click to toggle)
haskell-resolv 0.1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,136 kB
  • sloc: haskell: 1,068; ansic: 87; makefile: 3
file content (119 lines) | stat: -rw-r--r-- 4,548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
cabal-version:       2.2

name:                resolv
version:             0.1.2.0

synopsis:            Domain Name Service (DNS) lookup via the libresolv standard library routines
description: {

This package implements an API for accessing
the [Domain Name Service (DNS)](https://tools.ietf.org/html/rfc1035)
resolver service via the standard @libresolv@ system library (whose
API is often available directly via the standard @libc@ C library) on
Unix systems.
.
This package also includes support for decoding message record types
as defined in the following RFCs:
.
- [RFC 1035](https://tools.ietf.org/html/rfc1035): Domain Names - Implementation And Specification
- [RFC 1183](https://tools.ietf.org/html/rfc1183): New DNS RR Definitions
- [RFC 2782](https://tools.ietf.org/html/rfc2782): A DNS RR for specifying the location of services (DNS SRV)
- [RFC 2915](https://tools.ietf.org/html/rfc2915): The Naming Authority Pointer (NAPTR) DNS Resource Record
- [RFC 3596](https://tools.ietf.org/html/rfc3596): DNS Extensions to Support IP Version 6
- [RFC 4034](https://tools.ietf.org/html/rfc4034): Resource Records for the DNS Security Extensions
- [RFC 4255](https://tools.ietf.org/html/rfc4255): Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints
- [RFC 4408](https://tools.ietf.org/html/rfc4408): Sender Policy Framework (SPF) for Authorizing Use of Domains in E-Mail, Version 1
- [RFC 5155](https://tools.ietf.org/html/rfc5155): DNS Security (DNSSEC) Hashed Authenticated Denial of Existence
- [RFC 6844](https://tools.ietf.org/html/rfc6844): DNS Certification Authority Authorization (CAA) Resource Record
- [RFC 6891](https://tools.ietf.org/html/rfc6891): Extension Mechanisms for DNS (EDNS(0))
- [RFC 7553](https://tools.ietf.org/html/rfc7553): The Uniform Resource Identifier (URI) DNS Resource Record
.
For Windows, the package [windns](https://hackage.haskell.org/package/windns)
provides a compatible subset of this package's API.
}

license:             GPL-2.0-or-later
license-files:       LICENSE LICENSE.GPLv2 LICENSE.GPLv3
author:              Herbert Valerio Riedel
maintainer:          hvr@gnu.org
category:            Network
build-type:          Configure
bug-reports:         https://github.com/hvr/resolv/issues
extra-source-files:  ChangeLog.md

extra-source-files:  cbits/hs_resolv.h
                     cbits/hs_resolv_config.h.in
                     testdata/msg/*.bin
                     testdata/msg/*.show
                     resolv.buildinfo.in
                     configure

extra-tmp-files:     autom4te.cache
                     config.log
                     config.status
                     resolv.buildinfo
                     cbits/hs_resolv_config.h

tested-with:
  GHC ==8.10.1
   || ==8.8.3
   || ==8.6.5
   || ==8.4.4
   || ==8.2.2
   || ==8.0.2
   || ==7.10.3
   || ==7.10.1
   || ==7.8.4
   || ==7.6.3
   || ==7.4.2

source-repository head
  type:              git
  location:          https://github.com/hvr/resolv.git

library
  default-language:  Haskell2010
  other-extensions:  BangPatterns
                     CApiFFI
                     CPP
                     DeriveDataTypeable
                     DeriveFoldable
                     DeriveFunctor
                     DeriveTraversable
                     GeneralizedNewtypeDeriving
                     OverloadedStrings
                     RecordWildCards
                     Trustworthy

  hs-source-dirs:    src
  exposed-modules:   Network.DNS
  other-modules:     Network.DNS.Message
                     Network.DNS.FFI
                     Compat

  -- we need binary-0.7.3 for isolate
  build-depends:     base               >= 4.5 && <4.15
                   , base16-bytestring ^>= 0.1
                   , binary            ^>=0.7.3 || ^>= 0.8
                   , bytestring        ^>=0.9.2 || ^>= 0.10
                   , containers        ^>=0.4.2.1 || ^>= 0.5 || ^>= 0.6

  ghc-options:       -Wall
  include-dirs:      cbits

test-suite resolv.
  default-language:    Haskell2010
  hs-source-dirs:      src-test
  main-is:             Tests1.hs
  type:                exitcode-stdio-1.0

  -- dependencies whose version constraints are inherited via lib:resolv component
  build-depends: resolv
               , base
               , bytestring

  -- additional dependencies not inherited
  build-depends: tasty        ^>= 1.2.3
               , tasty-hunit  ^>= 0.10.0
               , directory    ^>= 1.1.0 || ^>= 1.2.0 || ^>= 1.3.0
               , filepath     ^>= 1.3.0 || ^>= 1.4.0