• [PATCH] Dpkg::Vendor::PureOS: Add new vendor module

    From Sebastian Krzyszkowiak@21:1/5 to All on Tue Mar 18 08:10:01 2025
    ---
    PureOS is currently carrying this as its only patch to dpkg package.
    Moving it upstream would make things so much more convenient, so I'm
    putting it here for your consideration :-)

    scripts/Dpkg/Vendor/PureOS.pm | 84 +++++++++++++++++++++++++++++++++++
    scripts/Makefile.am | 1 +
    2 files changed, 85 insertions(+)
    create mode 100644 scripts/Dpkg/Vendor/PureOS.pm

    diff --git a/scripts/Dpkg/Vendor/PureOS.pm b/scripts/Dpkg/Vendor/PureOS.pm
    new file mode 100644
    index 000000000000..004c159eb690
    --- /dev/null
    +++ b/scripts/Dpkg/Vendor/PureOS.pm
    @@ -0,0 +1,84 @@
    +# Copyright © 2009-2011 Raphaël Hertzog <[email protected]>
    +# Copyright © 2009, 2011-2017 Guillem Jover <[email protected]>
    +# Copyright © 2017-2019 Matthias Klumpp <[email protected]>
    +# Copyright © 2021 Jonas Smedegaard <[email protected]>
    +# Copyright © 2021 Purism, SPC
    +#
    +# This program is free software; you can redistribute it and/or modify
    +# it under the terms of the GNU General Public License as publi
  • From Guillem Jover@21:1/5 to Sebastian Krzyszkowiak on Thu Apr 24 13:20:01 2025
    Hi!

    On Tue, 2025-03-18 at 07:28:11 +0100, Sebastian Krzyszkowiak wrote:
    PureOS is currently carrying this as its only patch to dpkg package.
    Moving it upstream would make things so much more convenient, so I'm
    putting it here for your consideration :-)

    Thanks! I queued this some patch some weeks ago on my local next/main
    branch, and will definitely be included in 1.23.x (once that opens up),
    but I'm pondering whether to perhaps include it in 1.22.x before that,
    due to the freeze (although this should be pretty safe, but…).

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to Guillem Jover on Wed Jul 30 01:20:01 2025
    Hi!

    On Thu, 2025-04-24 at 13:16:02 +0200, Guillem Jover wrote:
    On Tue, 2025-03-18 at 07:28:11 +0100, Sebastian Krzyszkowiak wrote:
    PureOS is currently carrying this as its only patch to dpkg package.
    Moving it upstream would make things so much more convenient, so I'm putting it here for your consideration :-)

    Thanks! I queued this some patch some weeks ago on my local next/main
    branch, and will definitely be included in 1.23.x (once that opens up),
    but I'm pondering whether to perhaps include it in 1.22.x before that,
    due to the freeze (although this should be pretty safe, but…).

    In the end I added this in 1.22.19, so this has been already part of
    Debian trixie for a while.

    For 1.23.x I'd like to switch dpkg globally to use .pgp as extension for OpenPGP artifacts, so I prepared the following MR for PureOS upstream:

    https://source.puri.sm/pureos/core/pureos-archive-keyring/-/merge_requests/1

    It would be nice if that could be merged and released, so that I could
    then apply something like the attached patch.

    Thanks,
    Guillem

    From d3e020992e529dd36d360b1ccf9e4c1cf9672666 Mon Sep 17 00:00:00 2001
    From: Guillem Jover <[email protected]>
    Date: Wed, 30 Jul 2025 01:15:43 +0200
    Subject: [PATCH] Dpkg::Vendor::PureOS: Use .pgp keyrings instead of .gpg ones

    FIXME: Version of upstream package unknown, waiting on https://source.puri.sm/pureos/core/pureos-archive-keyring/-/merge_requests/1 ---
    debian/control | 2 ++
    scripts/Dpkg/Vendor/PureOS.pm | 6 +++---
    2 files changed, 5 insertions(+), 3 deletions(-)

    diff --git a/debian/control b/debian/control
    index 48bdc750d..af0e4056b 100644
    --- a/debian/control
    +++ b/debian/control
    @@ -146,6 +146,7 @@ Breaks:
    # Require .pgp extensions
    debian-keyring (<< 2025.04.25~),
    devuan-keyring (<< 2025.07.29~),
    + pureos-archive-keyring (<< 202?.??.??~),
    # Uses new sq features, w/o requiring a hard dependency on sq.
    sq (<< 0.40.0~),
    # Uses new sqv features, w/o requiring a hard dependency on sqv.
    @@ -207,6 +208,7 @@ Breaks:
    # Require .pgp extensions
    debian-keyring (<< 2025.04.25~),
    devuan-keyring (<< 2025.07.29~),
    + pureos-archive-keyring (<< 202?.??.??~),
    # Uses the private Dpkg::Shlibs::SymbolFile module with no API stability
    # guarantees! Which obviously broke with 1.19.0.
    pkg-kde-tools (<< 0.15.28~),
    diff --git a/scripts/Dpkg/Vendor/PureOS.pm b/scripts/Dpkg/Vendor/PureOS.pm index a492a4724..96d5af6bc