[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1062822: omnievents: NMU diff for 64-bit time_t transition



Source: omnievents
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-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru omnievents-2.6.2/debian/changelog omnievents-2.6.2/debian/changelog
--- omnievents-2.6.2/debian/changelog	2022-11-17 11:01:16.000000000 +0000
+++ omnievents-2.6.2/debian/changelog	2024-02-29 02:19:12.000000000 +0000
@@ -1,3 +1,10 @@
+omnievents (1:2.6.2-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062822
+
+ -- Benjamin Drung <bdrung@debian.org>  Thu, 29 Feb 2024 02:19:12 +0000
+
 omnievents (1:2.6.2-6) unstable; urgency=medium
 
   * QA upload.
diff -Nru omnievents-2.6.2/debian/control omnievents-2.6.2/debian/control
--- omnievents-2.6.2/debian/control	2022-11-17 11:01:16.000000000 +0000
+++ omnievents-2.6.2/debian/control	2024-02-29 02:19:12.000000000 +0000
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: autotools-dev,
+Build-Depends: dpkg-dev (>= 1.22.5), autotools-dev,
                cdbs,
                debhelper (>= 10~),
                docbook-xsl,
@@ -36,7 +36,10 @@
  This package contains the CORBA Event Service daemon as a standalone
  executable, and the associated tools.
 
-Package: libomnievents2
+Package: libomnievents2t64
+Provides: ${t64:Provides}
+Replaces: libomnievents2
+Breaks: libomnievents2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${misc:Depends},
@@ -49,7 +52,7 @@
 Package: libomnievents-dev
 Architecture: any
 Section: libdevel
-Depends: libomnievents2 (= ${binary:Version}),
+Depends: libomnievents2t64 (= ${binary:Version}),
          ${misc:Depends}
 Recommends: pkg-config
 Suggests: omnievents-doc
diff -Nru omnievents-2.6.2/debian/libomnievents2.install omnievents-2.6.2/debian/libomnievents2.install
--- omnievents-2.6.2/debian/libomnievents2.install	2022-11-17 11:01:16.000000000 +0000
+++ omnievents-2.6.2/debian/libomnievents2.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-debian/tmp/usr/lib/*.so.*
diff -Nru omnievents-2.6.2/debian/libomnievents2t64.install omnievents-2.6.2/debian/libomnievents2t64.install
--- omnievents-2.6.2/debian/libomnievents2t64.install	1970-01-01 00:00:00.000000000 +0000
+++ omnievents-2.6.2/debian/libomnievents2t64.install	2022-11-17 11:01:16.000000000 +0000
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.*
diff -Nru omnievents-2.6.2/debian/libomnievents2t64.lintian-overrides omnievents-2.6.2/debian/libomnievents2t64.lintian-overrides
--- omnievents-2.6.2/debian/libomnievents2t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ omnievents-2.6.2/debian/libomnievents2t64.lintian-overrides	2024-02-29 02:18:43.000000000 +0000
@@ -0,0 +1 @@
+libomnievents2t64: package-name-doesnt-match-sonames libomnievents2
diff -Nru omnievents-2.6.2/debian/rules omnievents-2.6.2/debian/rules
--- omnievents-2.6.2/debian/rules	2022-11-17 11:01:16.000000000 +0000
+++ omnievents-2.6.2/debian/rules	2024-02-29 02:19:10.000000000 +0000
@@ -29,8 +29,8 @@
 binary-post-install/omnievents::
 	cp -f src/oelite $(CURDIR)/debian/omnievents/usr/sbin/omniEvents
 
-binary-post-install/libomnievents2::
-	cd $(CURDIR)/debian/libomnievents2/usr/lib/ && \
+binary-post-install/libomnievents2t64::
+	cd $(CURDIR)/debian/libomnievents2t64/usr/lib/ && \
 	    rm -f libomniEvents.so.2.6 && \
 	    ln -sf libomniEvents.so.2.6.2 libomniEvents.so.2
 

Reply to: