From 11d1def5788c5f05b2280a2cd57edfc2997dac58 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: May 25 2020 06:43:40 +0000 Subject: WIP: Test build against bind 9.16 --- diff --git a/configure.ac b/configure.ac index 7997898..3abe109 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.59]) -AC_INIT([bind-dyndb-ldap], [11.2], [freeipa-devel@redhat.com]) +AC_INIT([bind-dyndb-ldap], [16.0], [freeipa-devel@redhat.com]) AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) diff --git a/contrib/bind-dyndb-ldap.spec b/contrib/bind-dyndb-ldap.spec index 36398ac..718fe47 100644 --- a/contrib/bind-dyndb-ldap.spec +++ b/contrib/bind-dyndb-ldap.spec @@ -3,7 +3,7 @@ %define bind_version 32:9.11.11-1 Name: bind-dyndb-ldap -Version: 11.2 +Version: 16.0 Release: 0%{?dist} Summary: LDAP back-end plug-in for BIND @@ -32,6 +32,7 @@ off of your LDAP server. %setup -q -n %{name}-%{VERSION} %build +export BIND9_CFLAGS="-I/usr/include/bind9" autoreconf -fiv %configure make %{?_smp_mflags} diff --git a/tests/azure/Dockerfiles/Dockerfile.build.fedora b/tests/azure/Dockerfiles/Dockerfile.build.fedora index 903b325..473aa2e 100644 --- a/tests/azure/Dockerfiles/Dockerfile.build.fedora +++ b/tests/azure/Dockerfiles/Dockerfile.build.fedora @@ -8,6 +8,7 @@ RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \ && dnf install -y dnf-plugins-core sudo wget systemd firewalld nss-tools iptables \ && sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf \ && dnf install -y glibc-langpack-fr glibc-langpack-en \ + && dnf -y copr enable pemensik/bind-9.16 \ && dnf install -y /root/packages/*.rpm \ && dnf install -y openssh-server freeipa-server-dns python3-ipatests \ && dnf clean all && rm -rf /root/packages /root/srpms \ diff --git a/tests/azure/azure-pipelines.yml b/tests/azure/azure-pipelines.yml index 63b95c0..e773dd5 100644 --- a/tests/azure/azure-pipelines.yml +++ b/tests/azure/azure-pipelines.yml @@ -19,7 +19,7 @@ jobs: set -e echo "Running autoconf generator" autoreconf -i -f - ./configure + BIND9_CFLAGS="-I/usr/include/bind9" ./configure displayName: Configure the project - template: templates/${{ variables.BUILD_TEMPLATE }} - template: templates/publish-build.yml diff --git a/tests/azure/templates/prepare-build-fedora.yml b/tests/azure/templates/prepare-build-fedora.yml index 09b4d0e..0a9715a 100644 --- a/tests/azure/templates/prepare-build-fedora.yml +++ b/tests/azure/templates/prepare-build-fedora.yml @@ -3,6 +3,7 @@ steps: set -e sudo rm -rf /var/cache/dnf/* sudo dnf makecache || : + sudo dnf -y copr enable pemensik/bind-9.16 echo "Installing base development environment" sudo dnf install -y \ gdb-minimal \