[Pkg-samba-maint] [Git][samba-team/samba][master] 5 commits: ctdb-failover-statd_callout-PATH_MAX-workaround.patch

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Fri Jan 10 20:24:36 GMT 2025



Michael Tokarev pushed to branch master at Debian Samba Team / samba


Commits:
851e991b by Michael Tokarev at 2025-01-06T22:39:57+03:00
ctdb-failover-statd_callout-PATH_MAX-workaround.patch

another workaround for missing PATH_MAX define

- - - - -
6d2361da by Michael Tokarev at 2025-01-07T14:27:23+03:00
d/control: add a note about ntp & signd socket, replace ntp with ntpsec

- - - - -
a0155ea2 by Michael Tokarev at 2025-01-10T21:15:22+03:00
d/control: provide ability to cross-build samba finally (using qemu-user helper)

- - - - -
77f7c2cd by Michael Tokarev at 2025-01-10T23:04:11+03:00
d/control: mark arch-all perl and python packages with :native for now

this makes no difference on trixie and up.  But this helps to cross-build
samba on bookworm and before, where these packages aren't marked with
M-A: allowed yet.

- - - - -
ce71b866 by Michael Tokarev at 2025-01-10T23:23:41+03:00
update changelog; upload version 4.21.3+dfsg-2 to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/ctdb-failover-statd_callout-PATH_MAX-workaround.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+samba (2:4.21.3+dfsg-2) unstable; urgency=medium
+
+  * ctdb-failover-statd_callout-PATH_MAX-workaround.patch
+    another tweak for hurd (for missing PATH_MAX)
+  * d/control: add a note about ntp & signd socket, replace ntp with ntpsec
+  * d/control: provide ability to cross-build samba finally
+    (using qemu-user helper)
+  * d/control: mark arch-all perl and python packages with :native for now
+    (to help cross-building on bookworm)
+
+ -- Michael Tokarev <mjt at tls.msk.ru>  Fri, 10 Jan 2025 23:23:31 +0300
+
 samba (2:4.21.3+dfsg-1) unstable; urgency=medium
 
   * new upstream stable/bugfix release:


=====================================
debian/control
=====================================
@@ -20,6 +20,8 @@ Build-Depends-Arch:
 	docbook-xml, docbook-xsl, xsltproc,
 	flex,
 	perl:any,
+# :native for bookworm, on trixie and up it is not needed
+	libparse-yapp-perl:native,
 	rpcsvc-proto  <!pkg.samba.before-trixie>,
 # for winexe. gcc-mingw-w64 brings 4 toolchains, we need only 2
         gcc-mingw-w64-i686-win32, gcc-mingw-w64-x86-64-win32,
@@ -48,7 +50,6 @@ Build-Depends-Arch:
 	libldap2-dev,
 	liblmdb-dev,
 	libpam0g-dev,
-	libparse-yapp-perl,
 	libpcap-dev [hurd-any],
 	libpopt-dev,
 	libreadline-dev,
@@ -57,13 +58,15 @@ Build-Depends-Arch:
 	libtasn1-6-dev,
 	libtasn1-bin,
 	liburing-dev [linux-any],
-	xfslibs-dev [linux-any],
+# xfslibs-dev is not multi-arch-usable but we only need .h (#1092689)
+	xfslibs-dev:native [linux-any],
 	zlib1g-dev,
 # python (+#904999):
-	python3-dev:any | python3-dev, libpython3-dev,
-	python3-dnspython,
-	python3-etcd,
-	python3-markdown,
+	python3-dev:native, libpython3-dev,
+# :native for bookworm, for trixie and up it is not needed
+	python3-dnspython:native,
+	python3-etcd:native,
+	python3-markdown:native,
 # dependencies needed for selftest:
 #	python3-testtools <!nocheck>,
 #	lmdb-utils <!nocheck>,
@@ -207,8 +210,12 @@ Recommends: libnss-winbind, libpam-winbind,
 Suggests: bind9,
 	  bind9utils,
 	  ldb-tools,
-	  ntp | chrony,
-Enhances: bind9, ntp
+# Besides wanting accurate time, samba DC can provide signed time source
+# to the domain using special socket (see "ntp signd socket directory"
+# in smb.conf(5)).  There was a (wrong) patch to ntp to work with samba,
+# it has been dropped in ntpsec.
+	  time-daemon | chrony | ntpsec,
+Enhances: bind9, ntpsec
 Breaks:   samba-ad-provision (<< ${source:Upstream-Version}),
 # files moved from samba & samba-common-bin in 4.20.1-2:
 	  samba-common-bin (<< 2:4.20.1+dfsg-2~),


=====================================
debian/patches/ctdb-failover-statd_callout-PATH_MAX-workaround.patch
=====================================
@@ -0,0 +1,15 @@
+From: Michael Tokarev <mjt at tls.msk.ru>
+Date: Mon, 06 Jan 2025 22:38:32 +0300
+Subject: ctdb/failover/statd_callout.c: add PATH_MAX workaround
+
+diff --git a/ctdb/failover/statd_callout.c b/ctdb/failover/statd_callout.c
+--- a/ctdb/failover/statd_callout.c
++++ b/ctdb/failover/statd_callout.c
+@@ -26,4 +26,7 @@
+ #include <time.h>
+ #include <unistd.h>
++#ifndef PATH_MAX
++# define PATH_MAX 1024
++#endif
+ 
+ /*


=====================================
debian/patches/series
=====================================
@@ -29,3 +29,4 @@ edns0.patch
 passchange-error-message.patch
 lower-dns-lookup-mismatch-messages.patch
 include-grp.h-for-setgroups-in-a-few-places.patch
+ctdb-failover-statd_callout-PATH_MAX-workaround.patch



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/5d9b9ad78edada90b71b8f166af157c54954cb4f...ce71b866d128f3383c7f7538f66f403559e3d7d5

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/5d9b9ad78edada90b71b8f166af157c54954cb4f...ce71b866d128f3383c7f7538f66f403559e3d7d5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20250110/2a26a2b2/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list