Bug#1063000: ucto: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Wed Feb 28 20:03:14 GMT 2024


Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff -Nru ucto-0.21.1/debian/changelog ucto-0.21.1/debian/changelog
--- ucto-0.21.1/debian/changelog	2020-04-23 15:50:27.000000000 +0000
+++ ucto-0.21.1/debian/changelog	2024-02-28 20:02:16.000000000 +0000
@@ -1,3 +1,10 @@
+ucto (0.21.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063000
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 20:02:16 +0000
+
 ucto (0.21.1-2) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru ucto-0.21.1/debian/control ucto-0.21.1/debian/control
--- ucto-0.21.1/debian/control	2020-04-21 18:19:45.000000000 +0000
+++ ucto-0.21.1/debian/control	2024-02-28 20:02:16.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Maarten van Gompel <proycon at anaproy.nl>,
            Ko van der Sloot <ko.vandersloot at uvt.nl>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 12),
                libexttextcat-dev,
                libfolia-dev (>= 2.4),
                libicu-dev,
@@ -47,7 +47,7 @@
 Package: libucto-dev
 Section: libdevel
 Architecture: any
-Depends: libucto5 (= ${binary:Version}),
+Depends: libucto5t64 (= ${binary:Version}),
          ${misc:Depends}
 Conflicts: libucto1-dev
 Replaces: libucto1-dev
@@ -73,16 +73,17 @@
  do scientific research in natural language processing, ucto will likely be of
  use to you.
 
-Package: libucto5
+Package: libucto5t64
+Provides: ${t64:Provides}
 Section: libs
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
          ${shlibs:Depends}
-Replaces: libucto2,
+Replaces: libucto5, libucto2,
           libucto3,
           ucto (<< 0.5.5-1)
-Breaks: libucto2,
+Breaks: libucto5 (<< ${source:Version}), libucto2,
         libucto3,
         ucto (<< 0.5.5-1)
 Description: Unicode Tokenizer - runtime
diff -Nru ucto-0.21.1/debian/libucto5.install ucto-0.21.1/debian/libucto5.install
--- ucto-0.21.1/debian/libucto5.install	2020-04-21 18:19:45.000000000 +0000
+++ ucto-0.21.1/debian/libucto5.install	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-/usr/lib/*/libucto.so.5*
-/usr/share/ucto
diff -Nru ucto-0.21.1/debian/libucto5.maintscript ucto-0.21.1/debian/libucto5.maintscript
--- ucto-0.21.1/debian/libucto5.maintscript	2020-04-21 18:19:45.000000000 +0000
+++ ucto-0.21.1/debian/libucto5.maintscript	1970-01-01 00:00:00.000000000 +0000
@@ -1,7 +0,0 @@
-rm_conffile /etc/ucto/e-mail.rule 0.9.6~
-rm_conffile /etc/ucto/smiley.rule 0.9.6~
-rm_conffile /etc/ucto/standard-eos.eos 0.9.6~
-rm_conffile /etc/ucto/standard-quotes.quote 0.9.6~
-rm_conffile /etc/ucto/textcat.cfg 0.9.6-2~
-rm_conffile /etc/ucto/tokconfig-generic 0.9.6~
-rm_conffile /etc/ucto/url.rule 0.9.6~
diff -Nru ucto-0.21.1/debian/libucto5t64.install ucto-0.21.1/debian/libucto5t64.install
--- ucto-0.21.1/debian/libucto5t64.install	1970-01-01 00:00:00.000000000 +0000
+++ ucto-0.21.1/debian/libucto5t64.install	2020-04-21 18:19:45.000000000 +0000
@@ -0,0 +1,2 @@
+/usr/lib/*/libucto.so.5*
+/usr/share/ucto
diff -Nru ucto-0.21.1/debian/libucto5t64.lintian-overrides ucto-0.21.1/debian/libucto5t64.lintian-overrides
--- ucto-0.21.1/debian/libucto5t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ ucto-0.21.1/debian/libucto5t64.lintian-overrides	2024-02-28 20:02:01.000000000 +0000
@@ -0,0 +1 @@
+libucto5t64: package-name-doesnt-match-sonames libucto5
diff -Nru ucto-0.21.1/debian/libucto5t64.maintscript ucto-0.21.1/debian/libucto5t64.maintscript
--- ucto-0.21.1/debian/libucto5t64.maintscript	1970-01-01 00:00:00.000000000 +0000
+++ ucto-0.21.1/debian/libucto5t64.maintscript	2020-04-21 18:19:45.000000000 +0000
@@ -0,0 +1,7 @@
+rm_conffile /etc/ucto/e-mail.rule 0.9.6~
+rm_conffile /etc/ucto/smiley.rule 0.9.6~
+rm_conffile /etc/ucto/standard-eos.eos 0.9.6~
+rm_conffile /etc/ucto/standard-quotes.quote 0.9.6~
+rm_conffile /etc/ucto/textcat.cfg 0.9.6-2~
+rm_conffile /etc/ucto/tokconfig-generic 0.9.6~
+rm_conffile /etc/ucto/url.rule 0.9.6~


More information about the debian-science-maintainers mailing list