#6 Add provided bind version to libs-static
Opened 2 years ago by pemensik. Modified 2 years ago
rpms/ pemensik/dhcp rawhide  into  rawhide

file modified
+11 -4
@@ -11,11 +11,13 @@ 

  #global prever b1

  #global patchver P1

  %global DHCPVERSION %{version}%{?prever}%{?patchver:-%{patchver}}

+ # Bundled bind version

+ %global BINDVERSION 9.11.36

  

  Summary:  Dynamic host configuration protocol software

  Name:     dhcp

  Version:  4.4.3

- Release:  2%{?prever:.%prever}%{?patchver:.%patchver}%{?dist}

+ Release:  3%{?prever:.%prever}%{?patchver:.%patchver}%{?dist}

  

  # NEVER CHANGE THE EPOCH on this package.  The previous maintainer (prior to

  # dcantrell maintaining the package) made incorrect use of the epoch and
@@ -169,8 +171,8 @@ 

  Summary: Shared libraries used by ISC dhcp client and server

  Provides: %{name}-libs%{?_isa} =  %{epoch}:%{version}-%{release}

  Provides: %{name}-libs =  %{epoch}:%{version}-%{release}

- Provides: bundled(bind-export-libs)

- Provides: bundled(bind)

+ Provides: bundled(bind-export-libs) = %{BINDVERSION}

+ Provides: bundled(bind) = %{BINDVERSION}

  

  %description libs-static

  This package contains shared libraries used by ISC dhcp client and server
@@ -210,7 +212,9 @@ 

  %setup -n dhcp-%{DHCPVERSION}

  pushd bind

  tar -xvf bind.tar.gz

- ln -s bind-9* bind

+ # Ensure we have correct bundled bind version specified.

+ ls -1 bind-%{BINDVERSION}

+ ln -s bind-%{BINDVERSION} bind

  popd

  %autopatch -p1 

  
@@ -535,6 +539,9 @@ 

  %attr(0644,root,root) %{_mandir}/man8/keama.8.gz

  

  %changelog

+ * Wed May 18 2022 Petr Menšík <pemensik@redhat.com> - 12:4.4.3-3

+ - Add provided bind version to libs-static

+ 

  * Mon Apr 11 2022 Martin Osvald <mosvald@redhat.com> - 12:4.4.3-2

  - Fix for CVE-2021-25220

  

Hi Petr,

pls, could you rebase this PR? There happened mass rebuild and unfortunately, I didn't merge it in time.

Thank you for the patch!

Metadata