[packages/libsmb2] - updated to 4.0.0 (new soname)
qboosh
qboosh at pld-linux.org
Sun Jan 30 20:32:16 CET 2022
commit 9369c685b5c24debc73df0d42170431c19510b71
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jan 30 20:33:36 2022 +0100
- updated to 4.0.0 (new soname)
libsmb2-heimdal.patch | 20 ++++++++++----------
libsmb2.spec | 12 ++++++------
2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/libsmb2.spec b/libsmb2.spec
index 4cf31c8..b102e25 100644
--- a/libsmb2.spec
+++ b/libsmb2.spec
@@ -8,17 +8,17 @@
Summary: Client library for accessing SMB shares over a network
Summary(pl.UTF-8): Biblioteka kliencka do dostępu do udziałów SMB w sieci
Name: libsmb2
-Version: 3.0.0
+Version: 4.0.0
Release: 1
License: LGPL v2.1+
Group: Libraries
-#Source0Download: https://github.com/sahlberg/libsmb2/releases
+#Source0Download: https://github.com/sahlberg/libsmb2/tags
Source0: https://github.com/sahlberg/libsmb2/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e70c2c1e4cd3b04c1993c9fa6c37ed89
+# Source0-md5: 318313b3b60aa1d04e37de0174d810ec
Patch0: %{name}-heimdal.patch
URL: https://github.com/sahlberg/libsmb2
-BuildRequires: autoconf >= 2.50
-BuildRequires: automake
+BuildRequires: autoconf >= 2.58
+BuildRequires: automake >= 1:1.11
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: popt-devel
@@ -91,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc COPYING README
%attr(755,root,root) %{_libdir}/libsmb2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsmb2.so.3
+%attr(755,root,root) %ghost %{_libdir}/libsmb2.so.4
%files devel
%defattr(644,root,root,755)
diff --git a/libsmb2-heimdal.patch b/libsmb2-heimdal.patch
index 4a0ec5c..24421da 100644
--- a/libsmb2-heimdal.patch
+++ b/libsmb2-heimdal.patch
@@ -37,14 +37,14 @@
}
if (nc_password) {
---- libsmb2-2.0.0/configure.ac.orig 2018-07-07 09:58:21.000000000 +0200
-+++ libsmb2-2.0.0/configure.ac 2019-03-15 21:09:40.073571008 +0100
-@@ -74,7 +74,7 @@
- AS_HELP_STRING([--without-libkrb5], [Do not link with libkrb5 and use builtin NTLMSSP module for authentication instead.]))
+--- libsmb2-4.0.0/configure.ac.orig 2022-01-30 20:20:16.801567540 +0100
++++ libsmb2-4.0.0/configure.ac 2022-01-30 20:26:18.902939202 +0100
+@@ -31,7 +31,7 @@ AC_ARG_WITH([libkrb5],
+ NTLMSSP module for authentication instead.])])
- AS_IF([test "x$with_libkrb5" != "xno"],
-- [MAYBE_LIBKRB5="-lgssapi_krb5"
-+ [MAYBE_LIBKRB5="-lgssapi"
- AC_DEFINE(HAVE_LIBKRB5,1,[Whether we use gssapi_krb5 or not])
- AC_MSG_NOTICE(Build with gssapi_krb5 support)
- # check for gssapi/gssapi.h
+ AS_IF([test "x$with_libkrb5" != "xno"], [
+- MAYBE_LIBKRB5="-lgssapi_krb5"
++ MAYBE_LIBKRB5="-lgssapi"
+ AC_DEFINE([HAVE_LIBKRB5], [1], [Whether we use gssapi_krb5 or not])
+ AC_MSG_NOTICE([Build with gssapi_krb5 support])
+ dnl Check for gssapi/gssapi.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsmb2.git/commitdiff/9369c685b5c24debc73df0d42170431c19510b71
More information about the pld-cvs-commit
mailing list