Bug#1063160: ncap: NMU diff for 64-bit time_t transition
Source: ncap
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 ncap-1.9.2/debian/changelog ncap-1.9.2/debian/changelog
--- ncap-1.9.2/debian/changelog 2022-09-12 04:28:32.000000000 +0000
+++ ncap-1.9.2/debian/changelog 2024-02-28 21:44:53.000000000 +0000
@@ -1,3 +1,10 @@
+ncap (1.9.2-8.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition. Closes: #1063160
+
+ -- Benjamin Drung <bdrung@debian.org> Wed, 28 Feb 2024 21:44:53 +0000
+
ncap (1.9.2-8) unstable; urgency=medium
* QA upload.
diff -Nru ncap-1.9.2/debian/control ncap-1.9.2/debian/control
--- ncap-1.9.2/debian/control 2020-09-12 20:47:14.000000000 +0000
+++ ncap-1.9.2/debian/control 2024-02-28 21:44:53.000000000 +0000
@@ -2,7 +2,7 @@
Section: net
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
dh-python,
libpcap0.8-dev
Standards-Version: 4.5.0
@@ -11,7 +11,10 @@
Vcs-Browser: https://salsa.debian.org/debian/ncap
Vcs-Git: https://salsa.debian.org/debian/ncap.git
-Package: libncap44
+Package: libncap44t64
+Provides: ${t64:Provides}
+Replaces: libncap44
+Breaks: libncap44 (<< ${source:Version})
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
@@ -29,7 +32,7 @@
Section: libdevel
Architecture: any
Multi-Arch: same
-Depends: libncap44 (= ${binary:Version}), ${misc:Depends}
+Depends: libncap44t64 (= ${binary:Version}), ${misc:Depends}
Description: static library and header files for libncap
ncap is a network capture library like libpcap (on which it is based)
and tcpdump. It produces binary data in its own ncap format, which can
diff -Nru ncap-1.9.2/debian/libncap44.install ncap-1.9.2/debian/libncap44.install
--- ncap-1.9.2/debian/libncap44.install 2020-09-12 20:44:16.000000000 +0000
+++ ncap-1.9.2/debian/libncap44.install 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libncap*.so.*
-usr/share/man/man3/ncap.3
diff -Nru ncap-1.9.2/debian/libncap44.symbols ncap-1.9.2/debian/libncap44.symbols
--- ncap-1.9.2/debian/libncap44.symbols 2020-09-12 20:44:16.000000000 +0000
+++ ncap-1.9.2/debian/libncap44.symbols 1970-01-01 00:00:00.000000000 +0000
@@ -1,8 +0,0 @@
-libncap.so.44 libncap44 #MINVER#
-* Build-Depends-Package: libncap-dev
- ncap_addrule@Base 1.9.2
- ncap_asprintf@Base 1.9.2
- ncap_create@Base 1.9.2
- ncap_filter_dns@Base 1.9.2
- ncap_filter_icmp@Base 1.9.2
- ncap_vasprintf@Base 1.9.2
diff -Nru ncap-1.9.2/debian/libncap44t64.install ncap-1.9.2/debian/libncap44t64.install
--- ncap-1.9.2/debian/libncap44t64.install 1970-01-01 00:00:00.000000000 +0000
+++ ncap-1.9.2/debian/libncap44t64.install 2020-09-12 20:44:16.000000000 +0000
@@ -0,0 +1,2 @@
+usr/lib/*/libncap*.so.*
+usr/share/man/man3/ncap.3
diff -Nru ncap-1.9.2/debian/libncap44t64.lintian-overrides ncap-1.9.2/debian/libncap44t64.lintian-overrides
--- ncap-1.9.2/debian/libncap44t64.lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ ncap-1.9.2/debian/libncap44t64.lintian-overrides 2024-02-28 21:44:49.000000000 +0000
@@ -0,0 +1 @@
+libncap44t64: package-name-doesnt-match-sonames libncap44
diff -Nru ncap-1.9.2/debian/libncap44t64.symbols ncap-1.9.2/debian/libncap44t64.symbols
--- ncap-1.9.2/debian/libncap44t64.symbols 1970-01-01 00:00:00.000000000 +0000
+++ ncap-1.9.2/debian/libncap44t64.symbols 2024-02-28 21:44:49.000000000 +0000
@@ -0,0 +1,8 @@
+libncap.so.44 libncap44t64 #MINVER#
+* Build-Depends-Package: libncap-dev
+ ncap_addrule@Base 1.9.2
+ ncap_asprintf@Base 1.9.2
+ ncap_create@Base 1.9.2
+ ncap_filter_dns@Base 1.9.2
+ ncap_filter_icmp@Base 1.9.2
+ ncap_vasprintf@Base 1.9.2
Reply to: