Skip to content

Commit fc3801a

Browse files
committed
[new release] domain-name (0.5.0)
CHANGES: * Disallow trailing hyphen (-) in host labels (hannesm/domain-name#15 @hannes, fixes hannesm/domain-name#14)
1 parent 1abfcdb commit fc3801a

File tree

1 file changed

+37
-0
lines changed
  • packages/domain-name/domain-name.0.5.0

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
opam-version: "2.0"
2+
maintainer: "Hannes Mehnert <[email protected]>"
3+
authors: "Hannes Mehnert <[email protected]>"
4+
license: "ISC"
5+
homepage: "https://github.com/hannesm/domain-name"
6+
doc: "https://hannesm.github.io/domain-name/doc"
7+
bug-reports: "https://github.com/hannesm/domain-name/issues"
8+
depends: [
9+
"ocaml" {>= "4.04.2"}
10+
"dune" {>= "1.0"}
11+
"alcotest" {with-test}
12+
]
13+
build: [
14+
["dune" "subst"] {dev}
15+
["dune" "build" "-p" name "-j" jobs]
16+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
17+
]
18+
dev-repo: "git+https://github.com/hannesm/domain-name.git"
19+
synopsis: "RFC 1035 Internet domain names"
20+
description: """
21+
A domain name is a sequence of labels separated by dots, such as `foo.example`.
22+
Each label may contain any bytes. The length of each label may not exceed 63
23+
charactes. The total length of a domain name is limited to 253 (byte
24+
representation is 255), but other protocols (such as SMTP) may apply even
25+
smaller limits. A domain name label is case preserving, comparison is done in a
26+
case insensitive manner.
27+
"""
28+
x-maintenance-intent: [ "(latest)" ]
29+
url {
30+
src:
31+
"https://github.com/hannesm/domain-name/releases/download/v0.5.0/domain-name-0.5.0.tbz"
32+
checksum: [
33+
"sha256=9ec7ae2c22772c150b84cfa3f21d9bf25fae14a796f31e20df52d86f46499d89"
34+
"sha512=923acab434ebb197f44075711030fd1b7f61783e20cc6f74387ce0acf1bc5f48eb8a8a5e29d3440e7c249ab00673e250ddfdc7e53d71c5a1613f1dbb557c0ae1"
35+
]
36+
}
37+
x-commit-hash: "44c56e8fd947ea980730789a1cc729074abc7ef9"

0 commit comments

Comments
 (0)