[arch-commits] Commit in samba/trunk (2 files)

Tobias Powalowski tpowa at gemini.archlinux.org
Mon Jun 13 09:14:40 UTC 2022


    Date: Monday, June 13, 2022 @ 09:14:40
  Author: tpowa
Revision: 448354

upgpkg: samba 4.16.2-1: bump to latest version

Modified:
  samba/trunk/PKGBUILD
Deleted:
  samba/trunk/34771e1931587807d0395c7ac7f4be18654997f4.patch

------------------------------------------------+
 34771e1931587807d0395c7ac7f4be18654997f4.patch |   43 -----------------------
 PKGBUILD                                       |   18 ++-------
 2 files changed, 5 insertions(+), 56 deletions(-)

Deleted: 34771e1931587807d0395c7ac7f4be18654997f4.patch
===================================================================
--- 34771e1931587807d0395c7ac7f4be18654997f4.patch	2022-06-13 08:54:21 UTC (rev 448353)
+++ 34771e1931587807d0395c7ac7f4be18654997f4.patch	2022-06-13 09:14:40 UTC (rev 448354)
@@ -1,43 +0,0 @@
-From 34771e1931587807d0395c7ac7f4be18654997f4 Mon Sep 17 00:00:00 2001
-From: Elia Geretto <elia.f.geretto at gmail.com>
-Date: Fri, 11 Mar 2022 19:32:30 +0100
-Subject: [PATCH] s3:libsmb: Fix errno for failed authentication in
- SMBC_server_internal()
-
-In SMBC_server_internal(), when authentication fails, the errno value is
-currently hard-coded to EPERM, while it should be EACCES instead. Use the
-NT_STATUS map to set the appropriate value.
-
-This bug was found because it breaks listing printers protected by
-authentication in GNOME Control Panel.
-
-BUG: https://bugzilla.samba.org/show_bug.cgi?id=14983
-
-Signed-off-by: Elia Geretto <elia.f.geretto at gmail.com>
-Reviewed-by: Jeremy Allison <jra at samba.org>
-Reviewed-by: Volker Lendecke <vl at samba.org>
-
-Autobuild-User(master): Jeremy Allison <jra at samba.org>
-Autobuild-Date(master): Wed Mar 16 19:44:18 UTC 2022 on sn-devel-184
-
-(cherry picked from commit 70b9977a46e5242174b4461a7f49d5f640c1db62)
----
- source3/libsmb/libsmb_server.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
-index b92477c88fe..09d27868c0e 100644
---- a/source3/libsmb/libsmb_server.c
-+++ b/source3/libsmb/libsmb_server.c
-@@ -572,7 +572,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
- 		    !NT_STATUS_IS_OK(cli_session_setup_anon(c))) {
- 
-                         cli_shutdown(c);
--                        errno = EPERM;
-+			errno = map_errno_from_nt_status(status);
-                         return NULL;
-                 }
- 	}
--- 
-GitLab
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-13 08:54:21 UTC (rev 448353)
+++ PKGBUILD	2022-06-13 09:14:40 UTC (rev 448354)
@@ -10,8 +10,8 @@
 
 pkgbase=samba
 pkgname=('smbclient' 'samba')
-pkgver=4.16.1
-pkgrel=5
+pkgver=4.16.2
+pkgrel=1
 arch=(x86_64)
 url="https://www.samba.org"
 license=('GPL3')
@@ -28,23 +28,15 @@
 source=(https://us1.samba.org/samba/ftp/stable/${pkgbase}-${pkgver}.tar{.gz,.asc}
         samba.logrotate
         samba.pam
-        samba.conf
-        34771e1931587807d0395c7ac7f4be18654997f4.patch)
+        samba.conf)
 validpgpkeys=('81F5E2832BD2545A1897B713AA99442FB680B620') #Samba Distribution Verification Key <samba-bugs at samba.org>
-sha512sums=('d82ab250e87cb64b083345b61da8c4edbb2185a13f8cef33232f823fd510822570ed27c7b260a1fefd3af3b2fc4b271257c2c3e6ab3241c8c147bebae6ab39fc'
+sha512sums=('ed85acca0f23f9166530b600ae569f3259c2122d15e361fd3fe48a82921cd53bbb459d6c102bb60cc40b2dd811cde1262a3fb17ed6015a260432bffe5af83366'
             'SKIP'
             '2ba0691ded467e4d6e40821f6de58c00f8962209efe2e60284c0c87756ab471c22c3d63b77d506e48c90ed0d852a2a24e41be1d499cf74a73cb99da0b503c858'
             '1e6183ab0eb812b3ef687ac2c26ce78f7cb30540f606d20023669ac00ba04075487fb72e4dc89cc05dab0269ff6aca98fc1167cc75669c225b88b592482fbf67'
-            'e46ee848baabb261e7468ecee43aba4d001a24f86f5322ae522abdb75030fd0ebd9063b9df0be3576c4d1654d81331f5e389aee16ec2fa138259ae4728e94efc'
-            'ee60e1d16241698fa4e66fbb97d4a08c6ccf8f03a1ce17b855bd0ca47b546747d67a01c89330072833949ec1ab8d7fd713c7370613b24e777f158c141195cd53')
+            'e46ee848baabb261e7468ecee43aba4d001a24f86f5322ae522abdb75030fd0ebd9063b9df0be3576c4d1654d81331f5e389aee16ec2fa138259ae4728e94efc')
 ### UNINSTALL dmapi package before building!!!
 
-prepare () {
-  # Fix 74259
-  cd samba-${pkgver}
-  patch -Rp1 -i ../34771e1931587807d0395c7ac7f4be18654997f4.patch
-}
-
 build() {
   # Use samba-pkg as a staging directory for the split packages
   # (This is so RPATHS and symlinks are generated correctly via



More information about the arch-commits mailing list