From f4a4be05c981fd266f8a04dbf791e7ce1215f08a Mon Sep 17 00:00:00 2001 From: fuowang Date: Sat, 15 Oct 2022 09:05:47 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20the=20Provides=20version=20of=20the=20dev?= =?UTF-8?q?el=20package=20=E4=B8=80=E3=80=81=E8=B5=B7=E5=9B=A0=EF=BC=9A=20?= =?UTF-8?q?=E5=9F=BA=E4=BA=8Ekrb5-1.18.2-5=20=E7=BC=96=E8=AF=91=20ipa-4.8.?= =?UTF-8?q?4=EF=BC=88=E7=BC=96=E8=AF=91=E4=BE=9D=E8=B5=96=20krb5-kdb-versi?= =?UTF-8?q?on=20=3D=207.0=EF=BC=89=E6=97=B6=EF=BC=8C=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E9=94=99=E8=AF=AF=20ipa=5Fkdb.c:757:2:=20error:=20#error=20uns?= =?UTF-8?q?upported=20DAL=20major=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 二、分析原因: ipa 相关代码:daemons/ipa-kdb/ipa_kdb.c #if (KRB5_KDB_DAL_MAJOR_VERSION != 5) && \ (KRB5_KDB_DAL_MAJOR_VERSION != 6) && \ (KRB5_KDB_DAL_MAJOR_VERSION != 7) #error unsupported DAL major version #endif krb5 相关代码:/usr/include/kdb.h:897:#define KRB5_KDB_DAL_MAJOR_VERSION 8 可以看到,krb5-1.18.2 定义的版本是 8(1.17 版本是 7) 三、Github上游链接:https://github.com/krb5/krb5/blob/krb5-1.18.2-final/src/include/kdb.h#L897 #define KRB5_KDB_DAL_MAJOR_VERSION 8 四、Fedora社区,krb5-devel-1.18.2给出的Provides版本也是8.0:krb5-kdb-devel-version = 8.0 链接:https://koji.fedoraproject.org/koji/rpminfo?rpmID=21625055 Signed-off-by: fuowang --- krb5.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/krb5.spec b/krb5.spec index a3600b5..80f13d6 100644 --- a/krb5.spec +++ b/krb5.spec @@ -3,7 +3,7 @@ Name: krb5 Version: 1.18.2 -Release: 5 +Release: 6 Summary: The Kerberos network authentication protocol License: MIT URL: http://web.mit.edu/kerberos/www/ @@ -77,7 +77,7 @@ This package provides krb5 client programs. Summary: Development files for compiling with krb5 Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: e2fsprogs-devel keyutils-libs-devel libselinux-devel libverto-devel -Provides: krb5-kdb-version = 7.0 +Provides: krb5-kdb-version = 8.0 %description devel %{summary}. @@ -320,6 +320,9 @@ make -C src check || : %{_mandir}/man8/* %changelog +* Sat Oct 15 2022 wangshuo - 1.18.2-6 +- Fix the Provides version of the devel package + * Wed Aug 25 2021 gaoyusong - 1.18.2-5 - Fix CVE-2021-37750 -- Gitee