• Bug#1103800: openvpn3-client: please make the build reproducible

    From Chris Lamb@21:1/5 to All on Mon Apr 21 19:00:02 2025
    --51233d82690d4ff4821625e298e0634d
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Source: openvpn3-client
    Version: 24+dfsg-1
    Severity: wishlist
    Tags: patch
    User: reproducible-builds@lists.alioth.debian.org
    Usertags: timestamps buildpath
    X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

    Hi,

    Whilst working on the Reproducible Builds effort [0], we noticed that openvpn3-client could not be built reproducibly.

    This is because it embedded both the build path and the current date.
    Here's the date bit:

    ├── ./usr/share/bash-completion/completions/openvpn2
    │ @@ -1,12 +1,12 @@
    │ #
    │ -# Copyright (C) 2017 - 2025 OpenVPN Inc <sales@openvpn.net>
    │ +# Copyright (C) 2017 - 2026 OpenVPN Inc <sales@openvpn.net>

    The absolute build path was embedded via a utility that was called via
    its full path by meson, which then emitted its own path via printing
    argv[0] ... which was saved to a file that was shipped in the .deb.

    Patch attached that fixes both issues.

    [0] https://reproducible-builds.org/


    Regards,

    --
    ,''`.
    : :' : Chris Lamb
    `. `'` lamby@debian.org / chris-lamb.co.uk
    `-




    --51233d82690d4ff4821625e298e0634d
    Content-Disposition: attachment; filename="openvpn3-client.diff.txt" Content-Type: text/plain; name="openvpn3-client.diff.txt" Content-Transfer-Encoding: base64

    LS0tIGEvZGViaWFuL3BhdGNoZXMvMDAwM19yZXByb2R1Y2libGUtYnVpbGQucGF0Y2gJMTk2 OS0xMi0zMSAxNjowMDowMC4wMDAwMDAwMDAgLTA4MDAKLS0tIGIvZGViaWFuL3BhdGNoZXMv MDAwM19yZXByb2R1Y2libGUtYnVpbGQucGF0Y2gJMjAyNS0wNC0yMSAwOTozNjo0NS45ODE2 NzIzMDUgLTA3MDAKQEAgLTAsMCArMSw1NSBAQAorRGVzY3JpcHRpb246IE1ha2UgdGhlIGJ1 aWxkIHJlcHJvZHVjaWJsZQorQXV0aG9yOiBDaHJpcyBMYW1iIDxsYW1ieUBkZWJpYW4ub3Jn PgorTGFzdC1VcGRhdGU6IDIwMjUtMDQtMjEKKworLS0tIG9wZW52cG4zLWNsaWVudC0yNCtk ZnNnLm9yaWcvc3JjL3B5dGhvbi9vcGVudnBuMy9nZW4tcHl0aG9uLWNvbnN0YW50cy5jcHAK KysrKyBvcGVudnBuMy1jbGllbnQtMjQrZGZzZy9zcmMvcHl0aG9uL29wZW52cG4zL2dlbi1w eXRob24tY29uc3RhbnRzLmNwcAorQEAgLTI5LDYgKzI5LDggQEAKKyAjaW5jbHVkZSAibmV0 Y2ZnL25ldGNmZy1jaGFuZ2V0eXBlLmhwcCIK