From f109393d92391d66e07932eab55dda0334d0d4b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Szil=C3=A1rd=20Pfeiffer?= <coroner@pfeifferszilard.hu>
Date: Thu, 12 Oct 2023 16:03:17 +0200
Subject: [PATCH 1/2] chore!: Rename dnssec module to dnsrec to unify naming
 (#13)

---
 cryptodatahub/{dnssec => dnsrec}/__init__.py      | 0
 cryptodatahub/{dnssec => dnsrec}/algorithm.json   | 0
 cryptodatahub/{dnssec => dnsrec}/algorithm.py     | 0
 cryptodatahub/{dnssec => dnsrec}/digest-type.json | 0
 cryptodatahub/{dnssec => dnsrec}/rr-type.json     | 0
 test/dnssec/test_algorithm.py                     | 2 +-
 6 files changed, 1 insertion(+), 1 deletion(-)
 rename cryptodatahub/{dnssec => dnsrec}/__init__.py (100%)
 rename cryptodatahub/{dnssec => dnsrec}/algorithm.json (100%)
 rename cryptodatahub/{dnssec => dnsrec}/algorithm.py (100%)
 rename cryptodatahub/{dnssec => dnsrec}/digest-type.json (100%)
 rename cryptodatahub/{dnssec => dnsrec}/rr-type.json (100%)

diff --git a/cryptodatahub/dnssec/__init__.py b/cryptodatahub/dnsrec/__init__.py
similarity index 100%
rename from cryptodatahub/dnssec/__init__.py
rename to cryptodatahub/dnsrec/__init__.py
diff --git a/cryptodatahub/dnssec/algorithm.json b/cryptodatahub/dnsrec/algorithm.json
similarity index 100%
rename from cryptodatahub/dnssec/algorithm.json
rename to cryptodatahub/dnsrec/algorithm.json
diff --git a/cryptodatahub/dnssec/algorithm.py b/cryptodatahub/dnsrec/algorithm.py
similarity index 100%
rename from cryptodatahub/dnssec/algorithm.py
rename to cryptodatahub/dnsrec/algorithm.py
diff --git a/cryptodatahub/dnssec/digest-type.json b/cryptodatahub/dnsrec/digest-type.json
similarity index 100%
rename from cryptodatahub/dnssec/digest-type.json
rename to cryptodatahub/dnsrec/digest-type.json
diff --git a/cryptodatahub/dnssec/rr-type.json b/cryptodatahub/dnsrec/rr-type.json
similarity index 100%
rename from cryptodatahub/dnssec/rr-type.json
rename to cryptodatahub/dnsrec/rr-type.json
diff --git a/test/dnssec/test_algorithm.py b/test/dnssec/test_algorithm.py
index 7a8fd32..4adb1f8 100644
--- a/test/dnssec/test_algorithm.py
+++ b/test/dnssec/test_algorithm.py
@@ -2,7 +2,7 @@
 
 from test.common.classes import TestClasses
 
-from cryptodatahub.dnssec.algorithm import DnsRrType, DnsSecAlgorithm, DnsSecDigestType
+from cryptodatahub.dnsrec.algorithm import DnsRrType, DnsSecAlgorithm, DnsSecDigestType
 
 
 class TestDnsRrType(TestClasses.TestJsonCodeNumericBase):

From 0d2ffb99357b8ab333444c78e545bab163f65d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Szil=C3=A1rd=20Pfeiffer?= <coroner@pfeifferszilard.hu>
Date: Thu, 12 Oct 2023 16:04:37 +0200
Subject: [PATCH 2/2] fix(setup)!: Add missing dnsrec module (#13)

---
 setup.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 3e27262..434d54f 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ def test_discover():
         'Issues': __setup__.__url__ + '/-/issues',
         'Source': __setup__.__url__,
     },
-    keywords='ssl tls ssh',
+    keywords='ssl tls ssh dns',
 
     install_requires=install_requirements,
     extras_require={
@@ -61,12 +61,14 @@ def test_discover():
     packages=[
         'cryptodatahub',
         'cryptodatahub.common',
+        'cryptodatahub.dnsrec',
         'cryptodatahub.ssh',
         'cryptodatahub.tls',
     ],
 
     package_data={
         'cryptodatahub.common': ['*.json'],
+        'cryptodatahub.dnsrec': ['*.json'],
         'cryptodatahub.ssh': ['*.json'],
         'cryptodatahub.tls': ['*.json'],
     },