summaryrefslogtreecommitdiffstats
path: root/distro/config/apkg.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--distro/config/apkg.toml26
1 files changed, 26 insertions, 0 deletions
diff --git a/distro/config/apkg.toml b/distro/config/apkg.toml
new file mode 100644
index 0000000..0858753
--- /dev/null
+++ b/distro/config/apkg.toml
@@ -0,0 +1,26 @@
+[project]
+name = "knot-dns"
+# needed for make-archive
+make_archive_script = "scripts/make-dev-archive.sh"
+
+[upstream]
+# needed for get-archive
+archive_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz"
+signature_url = "https://secure.nic.cz/files/knot-dns/knot-{{ version }}.tar.xz.asc"
+
+[apkg]
+compat = 3
+
+[[distro.aliases]]
+name = "el-7"
+distro = ["centos == 7", "rhel == 7"]
+
+# pkstyle aliases bellow are expected to be built-in in apkg >= 0.5.0
+# https://gitlab.nic.cz/packaging/apkg/-/issues/79
+[[distro.aliases]]
+name = "deb"
+distro = ['ubuntu', 'debian']
+
+[[distro.aliases]]
+name = "rpm"
+distro = ['almalinux', 'centos', 'fedora', 'opensuse', 'oracle', 'rhel', 'rocky', 'scientific']