diff options
Diffstat (limited to 'gnu-name-system-default-tlds')
-rw-r--r-- | gnu-name-system-default-tlds/.gitignore | 1 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/Makefile | 12 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/POLICY | 4 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/README | 4 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/registry.rec | 10 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/rst.footer | 0 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/rst.header.template | 10 | ||||
-rw-r--r-- | gnu-name-system-default-tlds/rst.template | 3 |
8 files changed, 40 insertions, 4 deletions
diff --git a/gnu-name-system-default-tlds/.gitignore b/gnu-name-system-default-tlds/.gitignore new file mode 100644 index 0000000..179d990 --- /dev/null +++ b/gnu-name-system-default-tlds/.gitignore | |||
@@ -0,0 +1 @@ | |||
tlds.conf | |||
diff --git a/gnu-name-system-default-tlds/Makefile b/gnu-name-system-default-tlds/Makefile index 9523cd2..01ad7d3 100644 --- a/gnu-name-system-default-tlds/Makefile +++ b/gnu-name-system-default-tlds/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | FILES=tlds.conf | 1 | FILES=tlds.conf tlds.rst |
2 | all: check $(FILES) | 2 | all: check $(FILES) |
3 | 3 | ||
4 | check: | 4 | check: |
@@ -16,4 +16,14 @@ tlds.conf.tmp: registry.rec tlds.template | |||
16 | tlds.conf: tlds.header tlds.conf.tmp | 16 | tlds.conf: tlds.header tlds.conf.tmp |
17 | cat tlds.header tlds.conf.tmp > $@ | 17 | cat tlds.header tlds.conf.tmp > $@ |
18 | 18 | ||
19 | tlds.rst.tmp: registry.rec rst.template | ||
20 | ../format.sh rst.template < registry.rec > $@ | ||
21 | |||
22 | rst.header.tmp: | ||
23 | cat README POLICY rst.header.template > $@ | ||
24 | |||
25 | tlds.rst: rst.header.tmp tlds.rst.tmp | ||
26 | cat rst.header.tmp tlds.rst.tmp > $@ | ||
27 | |||
28 | |||
19 | .PHONY: check clean distclean | 29 | .PHONY: check clean distclean |
diff --git a/gnu-name-system-default-tlds/POLICY b/gnu-name-system-default-tlds/POLICY index f27599c..a7a863c 100644 --- a/gnu-name-system-default-tlds/POLICY +++ b/gnu-name-system-default-tlds/POLICY | |||
@@ -1,3 +1,6 @@ | |||
1 | Policy | ||
2 | ^^^^^^ | ||
3 | |||
1 | Each registry entry should contain three values: the "Key" of the | 4 | Each registry entry should contain three values: the "Key" of the |
2 | authoritative zone of a TLD, the "Name" of the TLDS, an optional | 5 | authoritative zone of a TLD, the "Name" of the TLDS, an optional |
3 | "Contact", and a "Reference" with links to further information about the | 6 | "Contact", and a "Reference" with links to further information about the |
@@ -11,3 +14,4 @@ GNUnet who will define appropriate bribes on a case-by-case basis. | |||
11 | 14 | ||
12 | The current contact(s) for expert review are reachable at | 15 | The current contact(s) for expert review are reachable at |
13 | gns-registry@gnunet.org. | 16 | gns-registry@gnunet.org. |
17 | |||
diff --git a/gnu-name-system-default-tlds/README b/gnu-name-system-default-tlds/README index b2a9d4f..cff7486 100644 --- a/gnu-name-system-default-tlds/README +++ b/gnu-name-system-default-tlds/README | |||
@@ -1,4 +1,8 @@ | |||
1 | GNS Default Top-Level-Domains | ||
2 | ----------------------------- | ||
3 | |||
1 | This registry is the default Top-Level-Domains (TLDs) for the GNU Name System. | 4 | This registry is the default Top-Level-Domains (TLDs) for the GNU Name System. |
2 | 5 | ||
3 | This registry is used to ensure that GNS resolvers ship with a default | 6 | This registry is used to ensure that GNS resolvers ship with a default |
4 | configuration of TLDs in order to ease transition and enable instant use. | 7 | configuration of TLDs in order to ease transition and enable instant use. |
8 | |||
diff --git a/gnu-name-system-default-tlds/registry.rec b/gnu-name-system-default-tlds/registry.rec index f784878..665d159 100644 --- a/gnu-name-system-default-tlds/registry.rec +++ b/gnu-name-system-default-tlds/registry.rec | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | %rec: GnsTld | 6 | %rec: GnsTld |
7 | %key: Name | 7 | %key: Name |
8 | %typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/ | 8 | %typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.-]*$/ |
9 | %type: Name Name_t | 9 | %type: Name Name_t |
10 | %typedef: Key_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789][ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*$/ | 10 | %typedef: Key_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789][ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*$/ |
11 | %type: Key Key_t | 11 | %type: Key Key_t |
@@ -17,6 +17,10 @@ | |||
17 | %allowed: References | 17 | %allowed: References |
18 | %sort: Name Contact References | 18 | %sort: Name Contact References |
19 | 19 | ||
20 | Name: pin | 20 | Name: pin.gns.alt |
21 | Key: 000G001MF6DVMZZ4Y8XRZQDXM1PB3D3VGEK29ZHXBA57EPSNW1QBPKT8J0 | 21 | Key: 000G0522TTKQESZ9KPRT2K0RA9ZC8YMD52D2XYVYVGPDCNPMWHH9QXXF4W |
22 | Comment: The FCFS authority managed by GNUnet e.V. | 22 | Comment: The FCFS authority managed by GNUnet e.V. |
23 | |||
24 | Name: gnunet.gns.alt | ||
25 | Key: 000G0522TTKQESZ9KPRT2K0RA9ZC8YMD52D2XYVYVGPDCNPMWHH9QXXF4W | ||
26 | Comment: The authoritative zone of the GNUnet project | ||
diff --git a/gnu-name-system-default-tlds/rst.footer b/gnu-name-system-default-tlds/rst.footer new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/gnu-name-system-default-tlds/rst.footer | |||
diff --git a/gnu-name-system-default-tlds/rst.header.template b/gnu-name-system-default-tlds/rst.header.template new file mode 100644 index 0000000..960a85e --- /dev/null +++ b/gnu-name-system-default-tlds/rst.header.template | |||
@@ -0,0 +1,10 @@ | |||
1 | Entries | ||
2 | ^^^^^^^ | ||
3 | |||
4 | .. list-table:: GNS Default TLDs | ||
5 | :widths: auto | ||
6 | :header-rows: 1 | ||
7 | |||
8 | * - Name | ||
9 | - Zone Key | ||
10 | - Comment | ||
diff --git a/gnu-name-system-default-tlds/rst.template b/gnu-name-system-default-tlds/rst.template new file mode 100644 index 0000000..1adeac0 --- /dev/null +++ b/gnu-name-system-default-tlds/rst.template | |||
@@ -0,0 +1,3 @@ | |||
1 | * - {{Name}} | ||
2 | - {{Key}} | ||
3 | - {{Comment}} | ||