aboutsummaryrefslogtreecommitdiff
path: root/gnu-name-system-default-tlds
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-name-system-default-tlds')
-rw-r--r--gnu-name-system-default-tlds/.gitignore1
-rw-r--r--gnu-name-system-default-tlds/Makefile12
-rw-r--r--gnu-name-system-default-tlds/POLICY4
-rw-r--r--gnu-name-system-default-tlds/README4
-rw-r--r--gnu-name-system-default-tlds/registry.rec10
-rw-r--r--gnu-name-system-default-tlds/rst.footer0
-rw-r--r--gnu-name-system-default-tlds/rst.header.template10
-rw-r--r--gnu-name-system-default-tlds/rst.template3
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 @@
1FILES=tlds.conf 1FILES=tlds.conf tlds.rst
2all: check $(FILES) 2all: check $(FILES)
3 3
4check: 4check:
@@ -16,4 +16,14 @@ tlds.conf.tmp: registry.rec tlds.template
16tlds.conf: tlds.header tlds.conf.tmp 16tlds.conf: tlds.header tlds.conf.tmp
17 cat tlds.header tlds.conf.tmp > $@ 17 cat tlds.header tlds.conf.tmp > $@
18 18
19tlds.rst.tmp: registry.rec rst.template
20 ../format.sh rst.template < registry.rec > $@
21
22rst.header.tmp:
23 cat README POLICY rst.header.template > $@
24
25tlds.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 @@
1Policy
2^^^^^^
3
1Each registry entry should contain three values: the "Key" of the 4Each registry entry should contain three values: the "Key" of the
2authoritative zone of a TLD, the "Name" of the TLDS, an optional 5authoritative 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
12The current contact(s) for expert review are reachable at 15The current contact(s) for expert review are reachable at
13gns-registry@gnunet.org. 16gns-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 @@
1GNS Default Top-Level-Domains
2-----------------------------
3
1This registry is the default Top-Level-Domains (TLDs) for the GNU Name System. 4This registry is the default Top-Level-Domains (TLDs) for the GNU Name System.
2 5
3This registry is used to ensure that GNS resolvers ship with a default 6This registry is used to ensure that GNS resolvers ship with a default
4configuration of TLDs in order to ease transition and enable instant use. 7configuration 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
20Name: pin 20Name: pin.gns.alt
21Key: 000G001MF6DVMZZ4Y8XRZQDXM1PB3D3VGEK29ZHXBA57EPSNW1QBPKT8J0 21Key: 000G0522TTKQESZ9KPRT2K0RA9ZC8YMD52D2XYVYVGPDCNPMWHH9QXXF4W
22Comment: The FCFS authority managed by GNUnet e.V. 22Comment: The FCFS authority managed by GNUnet e.V.
23
24Name: gnunet.gns.alt
25Key: 000G0522TTKQESZ9KPRT2K0RA9ZC8YMD52D2XYVYVGPDCNPMWHH9QXXF4W
26Comment: 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 @@
1Entries
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}}