• Bug#1063216: parted: NMU diff for 64-bit time_t transition

    From Colin Watson@21:1/5 to Lucas Kanashiro on Mon Feb 5 19:40:01 2024
    On Mon, Feb 05, 2024 at 03:08:55PM -0300, Lucas Kanashiro wrote:
    diff -Nru parted-3.6/debian/libparted-fs-resize0t64.maintscript parted-3.6/debian/libparted-fs-resize0t64.maintscript
    --- parted-3.6/debian/libparted-fs-resize0t64.maintscript 1969-12-31 21:00:00.000000000 -0300
    +++ parted-3.6/debian/libparted-fs-resize0t64.maintscript 2023-06-26 19:34:57.000000000 -0300
    @@ -0,0 +1 @@
    +dir_to_symlink /usr/share/doc/libparted-fs-resize0 libparted2 3.5-2~

    Does this need to be /usr/share/doc/libparted-fs-resize0t64 instead? (Alternatively, maybe this .maintscript file can just be dropped, since
    the new directory name won't need to be switched to a symlink.)

    diff -Nru parted-3.6/debian/rules parted-3.6/debian/rules
    --- parted-3.6/debian/rules 2023-06-26 19:34:57.000000000 -0300
    +++ parted-3.6/debian/rules 2024-02-05 14:58:17.000000000 -0300
    @@ -69,18 +69,18 @@
    dh_install -pparted-udeb -plibparted2-udeb -plibparted-fs-resize0-udeb --sourcedir=debian/tmp-udeb

    override_dh_installdocs-arch:
    - dh_installdocs --link-doc=libparted2
    + dh_installdocs --link-doc=libparted2t64

    override_dh_installdocs-indep:
    - dh_installdocs -pparted-doc --doc-main-package=libparted2
    + dh_installdocs -pparted-doc --doc-main-package=libparted2t64
    dh_installdocs --remaining-packages

    override_dh_strip:
    - dh_strip -plibparted2 --ddeb-migration='libparted2-dbg (<< 3.2-11~)'
    - dh_strip -plibparted-fs-resize0 \
    + dh_strip -plibparted2t64 --ddeb-migration='libparted2-dbg (<< 3.2-11~)' + dh_strip -plibparted-fs-resize0t64 \
    --ddeb-migration='libparted-fs-resize0-dbg (<< 3.2-11~)'

    Is the --ddeb-migration option here still needed? Presumably it won't
    have any common files with the old -dbg package any more (the file names in /usr/lib/debug/ change all the time, and the only other common file was /usr/share/doc/libparted-fs-resize0-dbgsym).

    In fact, since 3.2-11 was before oldoldstable, I'm just going to remove
    this override_dh_strip rule entirely, as it isn't needed any more:

    https://salsa.debian.org/parted-team/parted/-/commit/2ede9a43a0cb5e5abb52cd3c519769ad9d8d489d

    Thanks,

    --
    Colin Watson (he/him) [cjwatson@debian.org]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Benjamin Drung@21:1/5 to All on Thu Feb 29 21:10:01 2024
    This is a multi-part MIME message sent by reportbug.


    Source: parted
    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 parted-3.6/debian/.gitignore parted-3.6/debian/.gitignore
    --- parted-3.6/debian/.gitignore 2023-06-26 22:34:57.000000000 +0000
    +++ parted-3.6/debian/.gitignore 1970-01-01 00:00:00.000000000 +0000
    @@ -1 +0,0 @@
    -/files
    diff -Nru parted-3.6/debian/changelog parted-3.6/debian/changelog
    --- parted-3.6/debian/changelog 2023-06-26 22:34:57.000000000 +0000
    +++ parted-3.6/debian/changelog 2024-02-29 19:58:31.000000000 +0000
    @@ -1,3 +1,10 @@
    +parted (3.6-3.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Rename libraries for 64-bit time_t transition. Closes: #1063216
    +
    + -- Benjamin Drung <bdrung@debian.org> Thu, 29 Feb 2024 19:58:31 +0000
    +
    parted (3.6-3) unstable; urgency=medium

    * align-new-partitions-on-fresh-disks.patch:
    diff -Nru parted-3.6/debian/control parted-3.6/debian/control
    --- parted-3.6/debian/control 2023-06-26 22:34:57.000000000 +0000
    +++ parted-3.6/debian/control 2024-02-29 19:58:31.000000000 +0000
    @@ -7,7 +7,7 @@
    Vcs-Git: https://salsa.debian.org/parted-team/parted.git
    Vcs-Browser: https://salsa.debian.org/parte