Skip to content

Commit

Permalink
bind: add dlz-modules as a source dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Falak R Wani <[email protected]>
  • Loading branch information
mfrw committed Feb 6, 2025
1 parent 9215a40 commit 1697a78
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions SPECS/bind/bind.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Source11: setup-named-chroot.sh
Source12: generate-rndc-key.sh
Source13: named.rwtab
Source14: named-chroot.files
Source15: https://gitlab.isc.org/isc-projects/dlz-modules/-/archive/main/dlz-modules-main.tar.gz

Patch0: nongit-fix.patch

BuildRequires: gcc
Expand Down Expand Up @@ -197,19 +199,19 @@ Summary: BIND utilities
# so we need to save a backup of these files.
mkdir backup
mv compile depcomp missing backup/
libtoolize -c -f; %{_bindir}/aclocal -I m4 --force; %{_bindir}/autoconf -f
libtoolize -c -f; %{_bindir}/aclocal -I m4 --force; %{_bindir}/autoconf -f
mv backup/* .
rmdir backup

%build
ls -l /usr/lib/
ls -l /usr/lib/dlz/

# DLZ modules do not support oot builds. Copy files into build
# DLZ modules have shifted to a repository from v9.20.5 at https://gitlab.isc.org/isc-projects/dlz-modules/-/archive/main/dlz-modules-main.tar.gz

mkdir -p build/contrib/dlz
cp -frp /usr/lib/dlz/modules build/contrib/dlz/modules
pushd build/contrib/dlz
tar --no-same-owner -xf %{SOURCE15}
mv dlz-modules-main/modules ./
popd

./configure \
--prefix=%{_prefix} \
Expand Down

0 comments on commit 1697a78

Please sign in to comment.