]> git.tuebingen.mpg.de Git - lopsub.git/commitdiff
debian: 64-bit time_t transition.
authorSteve Langasek <vorlon@debian.org>
Thu, 1 Feb 2024 11:47:49 +0000 (12:47 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 2 Feb 2024 10:12:15 +0000 (11:12 +0100)
As part of the 64-bit time_t transition required
to support 32-bit architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
liblopsub as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary
to have a library transition, which is most easily done by renaming
the runtime library package.

Since turning on 64-bit time_t is being handled
centrally through a change to the default dpkg-buildflags
(https://bugs.debian.org/1037136), it is important that libraries
affected by this ABI change all be uploaded close together in time.
Therefore I have prepared a 0-day NMU for liblopsub which will
initially be uploaded to experimental if possible, then to unstable
after packages have cleared binary NEW.

Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>
debian/changelog
debian/control
debian/liblopsub1.install [deleted file]
debian/liblopsub1t64.install [new file with mode: 0644]
debian/liblopsub1t64.lintian-overrides [new file with mode: 0644]
debian/rules

index 08cd28f6dfaa373f405c1733e5453b6bf8270e01..44bbaeb9e58587c7602495913838c12c240ea07a 100644 (file)
@@ -1,3 +1,10 @@
+liblopsub (1.0.4-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vorlon@debian.org>  Thu, 01 Feb 2024 09:30:36 +0000
+
 liblopsub (1.0.4-1) unstable; urgency=low
 
   * Make the build reproducible (Chris Lamb, Vagrant Cascadian). Closes:
index 004a71d2f79fbd2709cf343067b85a4d23271ca1..fe135b96ea516d1a13253921be36e08c9c4c2198 100644 (file)
@@ -8,7 +8,10 @@ Homepage: http://people.tuebingen.mpg.de/maan/lopsub
 Vcs-Browser: http://git.tuebingen.mpg.de/lopsub.git
 Vcs-Git: git://git.tuebingen.mpg.de/lopsub.git
 
-Package: liblopsub1
+Package: liblopsub1t64
+Provides: ${t64:Provides}
+Replaces: liblopsub1
+Breaks: liblopsub1 (<< ${source:Version})
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Long Option Parser for Subcommands
@@ -25,7 +28,7 @@ Homepage: http://people.tuebingen.mpg.de/maan/lopsub
 
 Package: liblopsub-dev
 Architecture: any
-Depends: ${shlibs:Depends}, liblopsub1 (= ${binary:Version}), ${misc:Depends}
+Depends: ${shlibs:Depends}, liblopsub1t64 (= ${binary:Version}), ${misc:Depends}
 Description: Long Option Parser for Subcommand - headers
  Lopsub  is  an  open  source library written in C which aims to ease
  the task of creating, documenting and parsing the options of Unix
diff --git a/debian/liblopsub1.install b/debian/liblopsub1.install
deleted file mode 100644 (file)
index 6234859..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/share/man/man7/*
-debian/tmp/usr/lib/*/liblopsub.so.*
diff --git a/debian/liblopsub1t64.install b/debian/liblopsub1t64.install
new file mode 100644 (file)
index 0000000..6234859
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/man7/*
+debian/tmp/usr/lib/*/liblopsub.so.*
diff --git a/debian/liblopsub1t64.lintian-overrides b/debian/liblopsub1t64.lintian-overrides
new file mode 100644 (file)
index 0000000..bac78b9
--- /dev/null
@@ -0,0 +1 @@
+liblopsub1t64: package-name-doesnt-match-sonames liblopsub1
index 3e73eac868278489bfb755432706a82a484ce645..3b5e4f13a40f5344b0cba4b0eeb2ebf117910bed 100755 (executable)
@@ -3,7 +3,7 @@
 # invoked with the package root as the current directory.
 
 sourcepackage := liblopsub
-package := liblopsub1
+package := liblopsub1t64
 devpackage := liblopsub-dev
 
 define checkdir