From 54c9601f4aec2a1506e0d511db2232e6322ff362 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Fri, 26 Jul 2019 08:54:42 +0700 Subject: [PATCH 1/2] libgssglue: requires versioned shared-object file libgssglue will load those shared-object files on-demand. Quote from Pozimski: > if some software requires the unversioned symlink, > it's doing it wrong --- srcpkgs/libgssglue/files/gssapi_mech.conf | 2 +- srcpkgs/libgssglue/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libgssglue/files/gssapi_mech.conf b/srcpkgs/libgssglue/files/gssapi_mech.conf index 05bab80953f..909ae2f0105 100644 --- a/srcpkgs/libgssglue/files/gssapi_mech.conf +++ b/srcpkgs/libgssglue/files/gssapi_mech.conf @@ -15,7 +15,7 @@ # library initialization function # ================================ ========================== # The MIT K5 gssapi library, use special function for initialization. -/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init +/usr/lib/libgssapi_krb5.so.2 mechglue_internal_krb5_init #/usr/lib/libgssapi.so mechglue_internal_krb5_init # # The SPKM3 gssapi library function. Use the function spkm3_gss_initialize. diff --git a/srcpkgs/libgssglue/template b/srcpkgs/libgssglue/template index d9b70a8a1b4..d15d795b023 100644 --- a/srcpkgs/libgssglue/template +++ b/srcpkgs/libgssglue/template @@ -1,7 +1,7 @@ # Template file for 'libgssglue' pkgname=libgssglue version=0.4 -revision=7 +revision=8 build_style=gnu-configure configure_args="--disable-static" conf_files="/etc/gssapi_mech.conf" From a67f6f69834c389edab365a76392a487333e5e3e Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Sun, 28 Jul 2019 16:02:54 +0700 Subject: [PATCH 2/2] mit-krb5: remind developer to update libgssglue libgssglue requires versioned .so file. Add a comment to remind people update libgssglue if there's a major version change. --- srcpkgs/mit-krb5/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/mit-krb5/template b/srcpkgs/mit-krb5/template index 2ee2038f921..261581b8afe 100644 --- a/srcpkgs/mit-krb5/template +++ b/srcpkgs/mit-krb5/template @@ -1,4 +1,6 @@ # Template file for 'mit-krb5' +# if there is a bump in .so version, +# also update srcpkgs/libgssglue/files/gssapi_mech.conf pkgname=mit-krb5 version=1.17 revision=3