diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:26:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:26:00 +0000 |
commit | 830407e88f9d40d954356c3754f2647f91d5c06a (patch) | |
tree | d6a0ece6feea91f3c656166dbaa884ef8a29740e /daemon/.packaging | |
parent | Initial commit. (diff) | |
download | knot-resolver-830407e88f9d40d954356c3754f2647f91d5c06a.tar.xz knot-resolver-830407e88f9d40d954356c3754f2647f91d5c06a.zip |
Adding upstream version 5.6.0.upstream/5.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'daemon/.packaging')
42 files changed, 433 insertions, 0 deletions
diff --git a/daemon/.packaging/centos/7/builddeps b/daemon/.packaging/centos/7/builddeps new file mode 100644 index 0000000..3247738 --- /dev/null +++ b/daemon/.packaging/centos/7/builddeps @@ -0,0 +1,13 @@ +gcc +gcc-c++ +gnutls +knot-libs +knot-devel +libcmocka-devel +libedit-devel +libcap-ng +libuv-devel +lmdb-devel +luajit-devel +meson +systemd-devel diff --git a/daemon/.packaging/centos/7/pre-build.sh b/daemon/.packaging/centos/7/pre-build.sh new file mode 100755 index 0000000..d3a9503 --- /dev/null +++ b/daemon/.packaging/centos/7/pre-build.sh @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +yum update -y +yum install -y wget epel-release + +# add build repository +cd /etc/yum.repos.d/ +wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/CentOS_7_EPEL/home:CZ-NIC:knot-resolver-build.repo + diff --git a/daemon/.packaging/centos/7/pre-run.sh b/daemon/.packaging/centos/7/pre-run.sh new file mode 100755 index 0000000..ee15ec7 --- /dev/null +++ b/daemon/.packaging/centos/7/pre-run.sh @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +yum update -y +yum install -y wget epel-release + +# add build repository +cd /etc/yum.repos.d/ +wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/CentOS_7_EPEL/home:CZ-NIC:knot-resolver-latest.repo diff --git a/daemon/.packaging/centos/7/rundeps b/daemon/.packaging/centos/7/rundeps new file mode 100644 index 0000000..648501e --- /dev/null +++ b/daemon/.packaging/centos/7/rundeps @@ -0,0 +1,6 @@ +knot-libs +libedit +libuv +luajit +lua-basexx +lua-http diff --git a/daemon/.packaging/centos/8/builddeps b/daemon/.packaging/centos/8/builddeps new file mode 100644 index 0000000..984fa0b --- /dev/null +++ b/daemon/.packaging/centos/8/builddeps @@ -0,0 +1,14 @@ +gcc +gcc-c++ +meson +"pkgconfig(cmocka)" +"pkgconfig(gnutls)" +"pkgconfig(libedit)" +"pkgconfig(libknot)" +"pkgconfig(libzscanner)" +"pkgconfig(libdnssec)" +"pkgconfig(libsystemd)" +"pkgconfig(libcap-ng)" +"pkgconfig(libuv)" +"pkgconfig(lmdb)" +"pkgconfig(luajit)" diff --git a/daemon/.packaging/centos/8/pre-build.sh b/daemon/.packaging/centos/8/pre-build.sh new file mode 100755 index 0000000..31398f8 --- /dev/null +++ b/daemon/.packaging/centos/8/pre-build.sh @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +dnf install -y wget 'dnf-command(config-manager)' epel-release centos-release + +dnf config-manager --enable PowerTools +dnf config-manager --enable Devel +dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/CentOS_8_EPEL/home:CZ-NIC:knot-resolver-build.repo +dnf install -y knot +dnf upgrade -y diff --git a/daemon/.packaging/centos/8/pre-run.sh b/daemon/.packaging/centos/8/pre-run.sh new file mode 100755 index 0000000..94f8eb0 --- /dev/null +++ b/daemon/.packaging/centos/8/pre-run.sh @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +dnf install -y wget 'dnf-command(config-manager)' epel-release centos-release + +dnf config-manager --enable PowerTools +dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/CentOS_8_EPEL/home:CZ-NIC:knot-resolver-latest.repo +dnf upgrade -y diff --git a/daemon/.packaging/centos/8/rundeps b/daemon/.packaging/centos/8/rundeps new file mode 100644 index 0000000..e3779ec --- /dev/null +++ b/daemon/.packaging/centos/8/rundeps @@ -0,0 +1,6 @@ +libedit +knot-libs +libuv +luajit +lua5.1-basexx +lua5.1-http diff --git a/daemon/.packaging/debian/10/builddeps b/daemon/.packaging/debian/10/builddeps new file mode 100644 index 0000000..604993c --- /dev/null +++ b/daemon/.packaging/debian/10/builddeps @@ -0,0 +1,12 @@ +debhelper +libcmocka-dev +libedit-dev +libgnutls28-dev +libknot-dev +liblmdb-dev +luajit-5.1-dev +libsystemd-dev +libuv1-dev +luajit +pkg-config +meson diff --git a/daemon/.packaging/debian/10/pre-build.sh b/daemon/.packaging/debian/10/pre-build.sh new file mode 100755 index 0000000..dc3b801 --- /dev/null +++ b/daemon/.packaging/debian/10/pre-build.sh @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add debian build repository +apt-get update +apt-get install -y wget gnupg apt-utils +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-build/Debian_10/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-build.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Debian_10/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/debian/10/pre-run.sh b/daemon/.packaging/debian/10/pre-run.sh new file mode 100755 index 0000000..3a3906a --- /dev/null +++ b/daemon/.packaging/debian/10/pre-run.sh @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/Debian_10/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/Debian_10/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/debian/10/rundeps b/daemon/.packaging/debian/10/rundeps new file mode 100644 index 0000000..a0f40c1 --- /dev/null +++ b/daemon/.packaging/debian/10/rundeps @@ -0,0 +1,15 @@ +adduser +dns-root-data +systemd +libc6 +libdnssec7 +libedit2 +libgcc1 +libgnutls30 +libknot10 +liblmdb0 +libluajit-5.1-2 +libstdc++6 +libsystemd0 +libuv1 +libzscanner3 diff --git a/daemon/.packaging/debian/9/builddeps b/daemon/.packaging/debian/9/builddeps new file mode 100644 index 0000000..604993c --- /dev/null +++ b/daemon/.packaging/debian/9/builddeps @@ -0,0 +1,12 @@ +debhelper +libcmocka-dev +libedit-dev +libgnutls28-dev +libknot-dev +liblmdb-dev +luajit-5.1-dev +libsystemd-dev +libuv1-dev +luajit +pkg-config +meson diff --git a/daemon/.packaging/debian/9/pre-build.sh b/daemon/.packaging/debian/9/pre-build.sh new file mode 100755 index 0000000..953025f --- /dev/null +++ b/daemon/.packaging/debian/9/pre-build.sh @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add debian build repository +apt-get update +apt-get install -y wget gnupg apt-utils +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-build/Debian_9.0/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-build.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Debian_9.0/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/debian/9/pre-run.sh b/daemon/.packaging/debian/9/pre-run.sh new file mode 100755 index 0000000..fa8d377 --- /dev/null +++ b/daemon/.packaging/debian/9/pre-run.sh @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/Debian_9.0/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/Debian_9.0/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/debian/9/rundeps b/daemon/.packaging/debian/9/rundeps new file mode 100644 index 0000000..a0f40c1 --- /dev/null +++ b/daemon/.packaging/debian/9/rundeps @@ -0,0 +1,15 @@ +adduser +dns-root-data +systemd +libc6 +libdnssec7 +libedit2 +libgcc1 +libgnutls30 +libknot10 +liblmdb0 +libluajit-5.1-2 +libstdc++6 +libsystemd0 +libuv1 +libzscanner3 diff --git a/daemon/.packaging/fedora/31/builddeps b/daemon/.packaging/fedora/31/builddeps new file mode 100644 index 0000000..984fa0b --- /dev/null +++ b/daemon/.packaging/fedora/31/builddeps @@ -0,0 +1,14 @@ +gcc +gcc-c++ +meson +"pkgconfig(cmocka)" +"pkgconfig(gnutls)" +"pkgconfig(libedit)" +"pkgconfig(libknot)" +"pkgconfig(libzscanner)" +"pkgconfig(libdnssec)" +"pkgconfig(libsystemd)" +"pkgconfig(libcap-ng)" +"pkgconfig(libuv)" +"pkgconfig(lmdb)" +"pkgconfig(luajit)" diff --git a/daemon/.packaging/fedora/31/pre-build.sh b/daemon/.packaging/fedora/31/pre-build.sh new file mode 100755 index 0000000..7e279da --- /dev/null +++ b/daemon/.packaging/fedora/31/pre-build.sh @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +dnf install -y wget + +dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Fedora_31/home:CZ-NIC:knot-resolver-build.repo +dnf install -y knot +dnf upgrade -y diff --git a/daemon/.packaging/fedora/31/pre-run.sh b/daemon/.packaging/fedora/31/pre-run.sh new file mode 100755 index 0000000..b84b42d --- /dev/null +++ b/daemon/.packaging/fedora/31/pre-run.sh @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +dnf install -y wget + +dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/Fedora_31/home:CZ-NIC:knot-resolver-latest.repo +dnf upgrade -y diff --git a/daemon/.packaging/fedora/31/rundeps b/daemon/.packaging/fedora/31/rundeps new file mode 100644 index 0000000..7517b6b --- /dev/null +++ b/daemon/.packaging/fedora/31/rundeps @@ -0,0 +1,7 @@ +libedit +knot-libs +libuv +luajit +lua5.1-basexx +lua5.1-psl +lua5.1-http diff --git a/daemon/.packaging/fedora/32/builddeps b/daemon/.packaging/fedora/32/builddeps new file mode 100644 index 0000000..984fa0b --- /dev/null +++ b/daemon/.packaging/fedora/32/builddeps @@ -0,0 +1,14 @@ +gcc +gcc-c++ +meson +"pkgconfig(cmocka)" +"pkgconfig(gnutls)" +"pkgconfig(libedit)" +"pkgconfig(libknot)" +"pkgconfig(libzscanner)" +"pkgconfig(libdnssec)" +"pkgconfig(libsystemd)" +"pkgconfig(libcap-ng)" +"pkgconfig(libuv)" +"pkgconfig(lmdb)" +"pkgconfig(luajit)" diff --git a/daemon/.packaging/fedora/32/pre-build.sh b/daemon/.packaging/fedora/32/pre-build.sh new file mode 100755 index 0000000..97caead --- /dev/null +++ b/daemon/.packaging/fedora/32/pre-build.sh @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +dnf install -y wget + +dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Fedora_32/home:CZ-NIC:knot-resolver-build.repo +dnf install -y knot +dnf upgrade -y diff --git a/daemon/.packaging/fedora/32/pre-run.sh b/daemon/.packaging/fedora/32/pre-run.sh new file mode 100755 index 0000000..b224b7e --- /dev/null +++ b/daemon/.packaging/fedora/32/pre-run.sh @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +dnf install -y wget + +dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/Fedora_32/home:CZ-NIC:knot-resolver-latest.repo +dnf upgrade -y diff --git a/daemon/.packaging/fedora/32/rundeps b/daemon/.packaging/fedora/32/rundeps new file mode 100644 index 0000000..7517b6b --- /dev/null +++ b/daemon/.packaging/fedora/32/rundeps @@ -0,0 +1,7 @@ +libedit +knot-libs +libuv +luajit +lua5.1-basexx +lua5.1-psl +lua5.1-http diff --git a/daemon/.packaging/leap/15.2/builddeps b/daemon/.packaging/leap/15.2/builddeps new file mode 100644 index 0000000..e568905 --- /dev/null +++ b/daemon/.packaging/leap/15.2/builddeps @@ -0,0 +1,14 @@ +gcc +gcc-c++ +lmdb-devel +meson +"pkgconfig(cmocka)" +"pkgconfig(gnutls)" +"pkgconfig(libedit)" +"pkgconfig(libknot)" +"pkgconfig(libzscanner)" +"pkgconfig(libdnssec)" +"pkgconfig(libsystemd)" +"pkgconfig(libcap-ng)" +"pkgconfig(libuv)" +"pkgconfig(luajit)" diff --git a/daemon/.packaging/leap/15.2/pre-build.sh b/daemon/.packaging/leap/15.2/pre-build.sh new file mode 100755 index 0000000..274931a --- /dev/null +++ b/daemon/.packaging/leap/15.2/pre-build.sh @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/openSUSE_Leap_15.2/home:CZ-NIC:knot-resolver-build.repo +zypper --no-gpg-checks refresh +zypper install -y knot + diff --git a/daemon/.packaging/leap/15.2/pre-run.sh b/daemon/.packaging/leap/15.2/pre-run.sh new file mode 100755 index 0000000..9b0b5da --- /dev/null +++ b/daemon/.packaging/leap/15.2/pre-run.sh @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/openSUSE_Leap_15.2/home:CZ-NIC:knot-resolver-latest.repo +zypper --no-gpg-checks refresh diff --git a/daemon/.packaging/leap/15.2/rundeps b/daemon/.packaging/leap/15.2/rundeps new file mode 100644 index 0000000..3f601a0 --- /dev/null +++ b/daemon/.packaging/leap/15.2/rundeps @@ -0,0 +1,4 @@ +libedit0 +knot-libs +libuv1 +libluajit-5_1-2 diff --git a/daemon/.packaging/leap/docker-image-name b/daemon/.packaging/leap/docker-image-name new file mode 100644 index 0000000..388ed86 --- /dev/null +++ b/daemon/.packaging/leap/docker-image-name @@ -0,0 +1 @@ +opensuse/leap diff --git a/daemon/.packaging/test.config b/daemon/.packaging/test.config new file mode 100644 index 0000000..72ec48d --- /dev/null +++ b/daemon/.packaging/test.config @@ -0,0 +1,2 @@ +-- SPDX-License-Identifier: GPL-3.0-or-later +quit() diff --git a/daemon/.packaging/ubuntu/16.04/builddeps b/daemon/.packaging/ubuntu/16.04/builddeps new file mode 100644 index 0000000..7b1d943 --- /dev/null +++ b/daemon/.packaging/ubuntu/16.04/builddeps @@ -0,0 +1,16 @@ +debhelper +libcmocka-dev +libedit-dev +libgnutls28-dev +libknot-dev +liblmdb-dev +libluajit-5.1-dev +libsystemd-dev +libuv1-dev +luajit +pkg-config +meson +doxygen +python3-breathe +python3-sphinx +python3-sphinx-rtd-theme diff --git a/daemon/.packaging/ubuntu/16.04/pre-build.sh b/daemon/.packaging/ubuntu/16.04/pre-build.sh new file mode 100755 index 0000000..5af89ab --- /dev/null +++ b/daemon/.packaging/ubuntu/16.04/pre-build.sh @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add build repository +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-build/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-build.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/xUbuntu_16.04/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/ubuntu/16.04/pre-run.sh b/daemon/.packaging/ubuntu/16.04/pre-run.sh new file mode 100755 index 0000000..bb81453 --- /dev/null +++ b/daemon/.packaging/ubuntu/16.04/pre-run.sh @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add build repository +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/xUbuntu_16.04/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/ubuntu/16.04/rundeps b/daemon/.packaging/ubuntu/16.04/rundeps new file mode 100644 index 0000000..a0f40c1 --- /dev/null +++ b/daemon/.packaging/ubuntu/16.04/rundeps @@ -0,0 +1,15 @@ +adduser +dns-root-data +systemd +libc6 +libdnssec7 +libedit2 +libgcc1 +libgnutls30 +libknot10 +liblmdb0 +libluajit-5.1-2 +libstdc++6 +libsystemd0 +libuv1 +libzscanner3 diff --git a/daemon/.packaging/ubuntu/18.04/builddeps b/daemon/.packaging/ubuntu/18.04/builddeps new file mode 100644 index 0000000..7b1d943 --- /dev/null +++ b/daemon/.packaging/ubuntu/18.04/builddeps @@ -0,0 +1,16 @@ +debhelper +libcmocka-dev +libedit-dev +libgnutls28-dev +libknot-dev +liblmdb-dev +libluajit-5.1-dev +libsystemd-dev +libuv1-dev +luajit +pkg-config +meson +doxygen +python3-breathe +python3-sphinx +python3-sphinx-rtd-theme diff --git a/daemon/.packaging/ubuntu/18.04/pre-build.sh b/daemon/.packaging/ubuntu/18.04/pre-build.sh new file mode 100755 index 0000000..77551b8 --- /dev/null +++ b/daemon/.packaging/ubuntu/18.04/pre-build.sh @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add build repository +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-build/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-build.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/xUbuntu_18.04/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/ubuntu/18.04/pre-run.sh b/daemon/.packaging/ubuntu/18.04/pre-run.sh new file mode 100755 index 0000000..71d2a32 --- /dev/null +++ b/daemon/.packaging/ubuntu/18.04/pre-run.sh @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add build repository +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/xUbuntu_18.04/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/ubuntu/18.04/rundeps b/daemon/.packaging/ubuntu/18.04/rundeps new file mode 100644 index 0000000..a0f40c1 --- /dev/null +++ b/daemon/.packaging/ubuntu/18.04/rundeps @@ -0,0 +1,15 @@ +adduser +dns-root-data +systemd +libc6 +libdnssec7 +libedit2 +libgcc1 +libgnutls30 +libknot10 +liblmdb0 +libluajit-5.1-2 +libstdc++6 +libsystemd0 +libuv1 +libzscanner3 diff --git a/daemon/.packaging/ubuntu/20.04/builddeps b/daemon/.packaging/ubuntu/20.04/builddeps new file mode 100644 index 0000000..7b1d943 --- /dev/null +++ b/daemon/.packaging/ubuntu/20.04/builddeps @@ -0,0 +1,16 @@ +debhelper +libcmocka-dev +libedit-dev +libgnutls28-dev +libknot-dev +liblmdb-dev +libluajit-5.1-dev +libsystemd-dev +libuv1-dev +luajit +pkg-config +meson +doxygen +python3-breathe +python3-sphinx +python3-sphinx-rtd-theme diff --git a/daemon/.packaging/ubuntu/20.04/pre-build.sh b/daemon/.packaging/ubuntu/20.04/pre-build.sh new file mode 100755 index 0000000..e55fba6 --- /dev/null +++ b/daemon/.packaging/ubuntu/20.04/pre-build.sh @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add build repository +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-build/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-build.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/xUbuntu_20.04/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/ubuntu/20.04/pre-run.sh b/daemon/.packaging/ubuntu/20.04/pre-run.sh new file mode 100755 index 0000000..75c32f8 --- /dev/null +++ b/daemon/.packaging/ubuntu/20.04/pre-run.sh @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +# add build repository +apt-get update +apt-get install -y wget gnupg apt-utils + +echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list +wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/xUbuntu_20.04/Release.key -O Release.key +apt-key add - < Release.key + +apt-get update +apt-get upgrade -y diff --git a/daemon/.packaging/ubuntu/20.04/rundeps b/daemon/.packaging/ubuntu/20.04/rundeps new file mode 100644 index 0000000..a0f40c1 --- /dev/null +++ b/daemon/.packaging/ubuntu/20.04/rundeps @@ -0,0 +1,15 @@ +adduser +dns-root-data +systemd +libc6 +libdnssec7 +libedit2 +libgcc1 +libgnutls30 +libknot10 +liblmdb0 +libluajit-5.1-2 +libstdc++6 +libsystemd0 +libuv1 +libzscanner3 |