Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] samba: update to 4.14.5; ldb: update to 2.3.0; cifs-utils: update to 6.13
Date: Fri, 25 Jun 2021 17:59:54 +0200	[thread overview]
Message-ID: <20210625155954.x0YSKoGZ59RRoq0bNRngGOsjj7qCl-8ZwrHRYAzXKe8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31655@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages samba
https://github.com/void-linux/void-packages/pull/31655

samba: update to 4.14.5; ldb: update to 2.3.0; cifs-utils: update to 6.13
The Samba update builds cleanly and seems to run fine on `x86_64`. There is one shlib bump, `libsamba-credentials.so.1`, but that seems to be used exclusively by sub-packages so I think we can escape revbumping all of the dependants. (It would be good to test some of the dependants for basic Samba functionality.)

This update includes the patch from #31649.

The Samba server in this package appears to work as expected as a Time Machine backup target for a MacOS client; the client in this package appears to browse Windows and Synology (not sure if that's Samba or some other server) hosts.

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

cc: @ericonr

(Note to testers: for some reason I haven't identified, the Samba configure script picks up any Samba libs if they are installed on the host. To properly build this package, make sure *any* existing Samba packages---including `samba-libs`---are removed for your system, or the resulting packages will be broken.)

A patch file from https://github.com/void-linux/void-packages/pull/31655.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-samba-31655.patch --]
[-- Type: text/x-diff, Size: 4540 bytes --]

From 7c2ce71b520cf648f28176d37c4bd114d9ae7e93 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Fri, 25 Jun 2021 10:14:13 -0400
Subject: [PATCH 1/3] ldb: update to 2.3.0.

---
 srcpkgs/ldb/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ldb/template b/srcpkgs/ldb/template
index ada2f2052210..8843e391d86c 100644
--- a/srcpkgs/ldb/template
+++ b/srcpkgs/ldb/template
@@ -1,6 +1,6 @@
 # Template file for 'ldb'
 pkgname=ldb
-version=2.2.0
+version=2.3.0
 revision=1
 build_style=waf3
 build_helper="qemu"
@@ -18,7 +18,7 @@ maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
 license="LGPL-3.0-or-later"
 homepage="https://www.samba.org/ldb/"
 distfiles="https://www.samba.org/ftp/pub/ldb/ldb-${version}.tar.gz"
-checksum=134bb51769709af59f30bf468e454d1377a8096acd4e80dcb42fd264f558bd5f
+checksum=a4d308b3d0922ef01f3661a69ebc373e772374defa76cf0979ad21b21f91922d
 
 # workaround for cmocka's broken uintptr_t definition on musl
 if [ "$XBPS_TARGET_WORDSIZE" = "64" -a "$XBPS_TARGET_LIBC" = "musl" ]; then

From 741c13f73a5b3703a957197f870a01ed54d851eb Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Fri, 25 Jun 2021 11:08:18 -0400
Subject: [PATCH 2/3] samba: update to 4.14.5, fix nss modules for musl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

nss modules from samba, like libnss_winbind, will be used by
musl-nscd-devel, and therefore should use its headers for the
definitions of return values and others.

Without musl-nscd-devel to provide <nss.h>, samba uses a fallback header
that carries completely incompatible return value definitions.

Co-authored-by: Érico Nogueira <erico.erc@gmail.com>
---
 common/shlibs          | 2 +-
 srcpkgs/samba/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 71d099465be5..e67b26b3bd12 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3963,7 +3963,7 @@ libndr-krb5pac.so.0 samba-libs-4.13.2_1
 libndr-nbt.so.0 samba-libs-4.13.2_1
 libndr-standard.so.0 samba-libs-4.13.2_1
 libndr.so.1 samba-libs-4.13.2_1
-libsamba-credentials.so.0 samba-libs-4.13.2_1
+libsamba-credentials.so.1 samba-libs-4.13.2_1
 libsamba-errors.so.1 samba-libs-4.13.2_1
 libsamba-hostconfig.so.0 samba-libs-4.13.2_1
 libsamba-passdb.so.0 samba-libs-4.13.2_1
diff --git a/srcpkgs/samba/template b/srcpkgs/samba/template
index 90be22e57059..5ac491dd5532 100644
--- a/srcpkgs/samba/template
+++ b/srcpkgs/samba/template
@@ -1,6 +1,6 @@
 # Template file for 'samba'
 pkgname=samba
-version=4.13.4
+version=4.14.5
 revision=1
 build_style=waf3
 build_helper="qemu"
@@ -27,14 +27,14 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="http://www.samba.org"
 distfiles="http://download.samba.org/pub/samba/stable/${pkgname}-${version}.tar.gz"
-checksum=a1b34c63f7100cc8626902d80f335c7cb0b45d4707dd3c4b010f7a28ed615c78
+checksum=bb6ef5d2f16b85288d823578abc453d9a80514c42e5a2ea2c4e3c60dc42335c3
 lib32disabled=yes
 conf_files="/etc/pam.d/samba /etc/samba/smb.conf"
 make_dirs="/etc/samba/private 0750 root root"
 subpackages="smbclient samba-ctdb samba-cups samba-devel samba-libs samba-python3"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	makedepends+=" musl-legacy-compat"
+	makedepends+=" musl-legacy-compat musl-nscd-devel"
 else
 	makedepends+=" glusterfs-devel"
 	subpackages+=" samba-glusterfs"

From c164cdc3fb32cf6f55b9a044be1dd8c8c32ef252 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Fri, 25 Jun 2021 11:24:57 -0400
Subject: [PATCH 3/3] cifs-utils: update to 6.13.

---
 srcpkgs/cifs-utils/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/cifs-utils/template b/srcpkgs/cifs-utils/template
index 3acf8585ff4e..796b2ae69f80 100644
--- a/srcpkgs/cifs-utils/template
+++ b/srcpkgs/cifs-utils/template
@@ -1,6 +1,6 @@
 # Template file for 'cifs-utils'
 pkgname=cifs-utils
-version=6.12
+version=6.13
 revision=1
 build_style=gnu-configure
 configure_args="--disable-systemd"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://wiki.samba.org/index.php/LinuxCIFS_utils"
 distfiles="https://ftp.samba.org/pub/linux-cifs/${pkgname}/${pkgname}-${version}.tar.bz2"
-checksum=922ddcc3059922e80789312c386b9c569991b4350d3ae3099de3e4b82f3885ef
+checksum=43d8786c8613caccfa84913081c1d62bc2409575854cf895b05b48af0863d056
 python_version=3
 
 pre_configure() {

  reply	other threads:[~2021-06-25 15:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-25 15:37 [PR PATCH] " ahesford
2021-06-25 15:59 ` ahesford [this message]
2021-06-30  2:18 ` ahesford
2021-06-30  2:19 ` [PR PATCH] [Closed]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210625155954.x0YSKoGZ59RRoq0bNRngGOsjj7qCl-8ZwrHRYAzXKe8@z \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).