From c1f743ab2e4a7046d5500875a47d1f62c8624603 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 Apr 2024 22:37:50 +0200 Subject: Adding upstream version 5.7.1. Signed-off-by: Daniel Baumann --- daemon/.packaging/centos/7/builddeps | 13 +++++++++++++ daemon/.packaging/centos/7/pre-build.sh | 9 +++++++++ daemon/.packaging/centos/7/pre-run.sh | 8 ++++++++ daemon/.packaging/centos/7/rundeps | 6 ++++++ daemon/.packaging/centos/8/builddeps | 14 ++++++++++++++ daemon/.packaging/centos/8/pre-build.sh | 9 +++++++++ daemon/.packaging/centos/8/pre-run.sh | 7 +++++++ daemon/.packaging/centos/8/rundeps | 6 ++++++ 8 files changed, 72 insertions(+) create mode 100644 daemon/.packaging/centos/7/builddeps create mode 100755 daemon/.packaging/centos/7/pre-build.sh create mode 100755 daemon/.packaging/centos/7/pre-run.sh create mode 100644 daemon/.packaging/centos/7/rundeps create mode 100644 daemon/.packaging/centos/8/builddeps create mode 100755 daemon/.packaging/centos/8/pre-build.sh create mode 100755 daemon/.packaging/centos/8/pre-run.sh create mode 100644 daemon/.packaging/centos/8/rundeps (limited to 'daemon/.packaging/centos') 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 -- cgit v1.2.3