[Pkg-samba-maint] [Git][samba-team/samba][master] 2 commits: d/control: add :native alternative for arch-all perl & python packages for now

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Sat Jan 11 08:49:05 GMT 2025



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


Commits:
55079539 by Michael Tokarev at 2025-01-11T11:43:11+03:00
d/control: add :native alternative for arch-all perl & python packages 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.

- - - - -
ab39c0a5 by Michael Tokarev at 2025-01-11T11:47:10+03:00
update changelog; upload version 4.21.3+dfsg-4 to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/control


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,13 @@
-samba (2:4.21.3+dfsg-3) unstable; urgency=medium
+samba (2:4.21.3+dfsg-4) unstable; urgency=medium
 
   * Revert "d/control: mark arch-all perl and python packages with :native
     for now" - it worked just fine on local build but fails on buildds?
+  * d/control: add :native alternative for arch-all perl & python packages
+    for now, to help cross-building samba on bookworm and before
+    (no difference for trixie).  Use foo:native|foo alternative to work
+    around dpkg/apt disparity in handling :native deps.
 
- -- Michael Tokarev <mjt at tls.msk.ru>  Sat, 11 Jan 2025 10:07:51 +0300
+ -- Michael Tokarev <mjt at tls.msk.ru>  Sat, 11 Jan 2025 11:47:04 +0300
 
 samba (2:4.21.3+dfsg-2) unstable; urgency=medium
 


=====================================
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 | libparse-yapp-perl,
 	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,
@@ -62,9 +63,10 @@ Build-Depends-Arch:
 	zlib1g-dev,
 # python (+#904999):
 	python3-dev:native, libpython3-dev,
-	python3-dnspython,
-	python3-etcd,
-	python3-markdown,
+# :native for bookworm, for trixie and up it is not needed
+	python3-dnspython:native | python3-dnspython,
+	python3-etcd:native | python3-etcd,
+	python3-markdown:native | python3-markdown,
 # dependencies needed for selftest:
 #	python3-testtools <!nocheck>,
 #	lmdb-utils <!nocheck>,



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/d477b96c786e7409810dfea5f52ff01f22bb44f5...ab39c0a5ddb5dd447ee312f7ddac6497dcb49bf5

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/d477b96c786e7409810dfea5f52ff01f22bb44f5...ab39c0a5ddb5dd447ee312f7ddac6497dcb49bf5
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/20250111/b69e4f1a/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list