[Pkg-samba-maint] [Git][samba-team/samba][master] 2 commits: d/control: instead of using Conflicts, use Breaks for packages in mjt repo

Michael Tokarev (@mjt) gitlab at salsa.debian.org
Sat Jan 11 21:25:40 GMT 2025



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


Commits:
25d38c4a by Michael Tokarev at 2025-01-12T00:15:25+03:00
d/control: instead of using Conflicts, use Breaks for packages in mjt repo

- - - - -
d45e3a50 by Michael Tokarev at 2025-01-12T00:17:57+03:00
update changelog; upload version 4.21.3+dfsg-5 to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/control


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,57 @@
+samba (2:4.21.3+dfsg-5) unstable; urgency=medium
+
+  * the Fixing Big Mishaps release.
+
+  * d/rules: fix talloc, tevent, tdb subpackages version numbers, add epoch
+
+    Due to a mistake, I screwed up sub-packages versions completely,
+    by using the wrong variable when generating the versions, - so
+    all mentioned packages had version number of ldb, not their own.
+
+    Fix this.
+
+    Unfortunately, the wrong version is larger than all the correct ones.
+    To compensate, use the same epoch number as is already used by current
+    samba package (2:).
+
+    While at it, use common variable to hold the +samba version suffix.
+
+  * d/*.symbols: mark most recent version markers with 2: epoch too
+
+  * d/control,d/rules: ensure we use the most recent libtalloc/libtevent/libtdb
+    for now, to compensate for the wrong versions.
+
+  * d/control: add explicit Provides of non-t64 libs
+
+    Apparentlty due to usage of both t64 and pre-t64 packages
+    (with different build profiles), debhelper is not populating
+    necessary values for ${t64:Provides}.  So libtevent0t64 is
+    not providing libtevent0 on the relevant architectures.
+    Ditto for libsmbclient0 providing libsmbclient.
+
+    Add explicit arch-specific Provides: for libsmbclient0 and
+    libtevent0t64.
+
+    List only the affected release architectures in there.
+
+    This removes the only user of X-Time64-Compat control field
+    in debian.
+
+  * d/rules: do not install wscript_build in examples
+
+  * d/control: fix libtevent wrong build profile when building for mjt's
+    repository.  Does not affect debian thankfully.  The problem is that
+    libtevent0t64 slipped into the repository for older (before-trixie)
+    distributions, where t64 migration hasn't been completed.  This should
+    not cause actual problems as a problem is only possible when upgrading
+    to the new debian (or ubuntu) release where t64 transition has happened,
+    and during such upgrade, new libtevent0t64 will be pulled in - thanks to
+    the first big mistake above, since it now has 2: epoch.
+  * d/control: add Breaks for libtevent0t64 on mjt repo.  This also
+    does not affect debian, but makes my life definitely easier.
+
+ -- Michael Tokarev <mjt at tls.msk.ru>  Sun, 12 Jan 2025 00:17:49 +0300
+
 samba (2:4.21.3+dfsg-4) unstable; urgency=medium
 
   * Revert "d/control: mark arch-all perl and python packages with :native


=====================================
debian/control
=====================================
@@ -748,9 +748,9 @@ Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Section: libs
-# libtevent0t64 slipped out into mjt repository (for a short while)
-Replaces:  libtevent0t64 (<< 2:0.16.1) <pkg.samba.before-trixie>
-Conflicts: libtevent0t64 (<< 2:0.16.1) <pkg.samba.before-trixie>
+# libtevent0t64 slipped out into mjt repository (for a short while). Drop this for trixie
+Replaces: libtevent0t64 (<< 2:0.16.1) <pkg.samba.before-trixie>
+Breaks:   libtevent0t64 (<< 2:0.16.1) <pkg.samba.before-trixie>
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: talloc-based event loop library - shared library
  tevent is a simple library that can handle the main event loop for an



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/3cd8f423a969cb247a0ebda9a0c1dd5aebe217b7...d45e3a5059d1ea11c9479a2355d45f1c9314f724

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/3cd8f423a969cb247a0ebda9a0c1dd5aebe217b7...d45e3a5059d1ea11c9479a2355d45f1c9314f724
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/3feff4cc/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list