• Dancer2 no phone home patch

    From Emmanuel Seyman@21:1/5 to All on Mon May 10 01:20:01 2021
    Hi,

    I'm the maintainer of perl-Dancer2 in Fedora. A while back, I
    shamelessly stole the patch that prevents Dancer2 from checking
    there is no later version of it.

    https://salsa.debian.org/perl-team/modules/packages/libdancer2-perl/-/blob/master/debian/patches/no-phone-home.patch

    Dancer2 made changes to the CLI script with version 0.301002
    and I had to rebase the script to the new version. Attached is the
    updated patch. Hopefully, this will be useful to somebody.

    Regards,
    Emmanuel

    Description: Remove version check when generating an application tree
    This is a privacy breach and serves no real purpose for the package in
    Debian/stable

    --- a/lib/Dancer2/CLI/Gen.pm
    +++ b/lib/Dancer2/CLI/Gen.pm
    @@ -51,14 +51,6 @@ option overwrite => (
    default => 0,
    );

    -option no_check => (
    - is => 'ro',
    - short => 'x',
    - doc => "don't check latest Dancer2 version (default: check - requires internet)",
    - required => 0,
    - default => 0,
    -);
    -
    option skel => (
    is => 'ro',
    short => 's',
    @@ -92,7 +84,6 @@ dots, hyphens or start with a number.

    sub run {
    my $self = shift;
    - $self->_version_check unless $self->no_check;

    my $app_name = $self->application;
    my $app_file = $self->_get_app_file( $app_name );

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gregor herrmann@21:1/5 to Emmanuel Seyman on Mon May 10 19:30:01 2021
    On Mon, 10 May 2021 01:15:26 +0200, Emmanuel Seyman wrote:

    I'm the maintainer of perl-Dancer2 in Fedora. A while back, I
    shamelessly stole the patch that prevents Dancer2 from checking
    there is no later version of it.

    https://salsa.debian.org/perl-team/modules/packages/libdancer2-perl/-/blob/master/debian/patches/no-phone-home.patch

    Dancer2 made changes to the CLI script with version 0.301002
    and I had to rebase the script to the new version. Attached is the
    updated patch. Hopefully, this will be useful to somebody.

    Thanks, much appreciated.

    We haven't updated to this newer version as Debian is in hard freeze
    for the upcoming release, but your new patch version will be helpful
    once we get there.


    Cheers,
    gregor

    --
    .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
    : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
    `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
    `- NP: The Doors: Riders on the Storm

    -----BEGIN PGP SIGNATURE-----

    iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmCZbHxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgbLrQ/8D8F9ghcH1lIrUAQFX3UvNH4JTk0lt5SAEJTqiWr773Rxr9KDfm1KlD0L WEkhyanWJE7jQLQxSHXMTS/+GEYDqnYHgcgbLKg61qoxIcNGYL4WW1LT4odTbD3/ L1NyjxUxBKCO9Q0aG3h4JdTgCowQEdUdmcr/67ZueGsnR8OgQuasby7Cn9LeV77e psDbRedX8telDS6ORhYokxjIaF4nKxTGYnyu0MQs5CRtczY3EeI4x1tBXJDVZmQQ 6y1dXl+zYj5xzgLwgvz6UIkrnt2R32RvbxNRQwaZmR4+fRwuMY8+U2p4rJBsVQ0e Ny0K+v4cyakS9x62Chb1aSJv2R6dqhDPPTMVeoMVnHSJ5nJBYNdA3PVCgL7Eq9HJ jbkOcxs3A6ks9HWsoOw03bQm9ZP+cfdJqxGqar8VbbxWiEFfTRD2l2pZw3hVoUmm Br9LGstyVGbMtKwN21hoZK1IB3dFKL0ToA03ywOdXncbQAOHdYIYsNev9pcj1ACu S7Ukg0528FhmfEB5EM5YAi1sIIpBccjgcN0PAcziDr16pC7bg5Co/mmOkeB2en20 n+pc1vT2D4WiJ63OxbilGtJOD7LgmqRE4Jn/C32D8uUHR0WYhG7MB6qlAdA4xYZa cXkkbAJEnMnXNvEi0urHHQNBaDsa9REh5yPZXU3sFq9LBeT1HjQ=
    =xXhD
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)