File: no-phone-home.patch

package info (click to toggle)
libdancer2-perl 0.207000%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,460 kB
  • sloc: perl: 8,069; makefile: 7
file content (25 lines) | stat: -rw-r--r-- 951 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
Forwarded: not-needed
Author: Damyan Ivanov <dmn@debian.org>
Bug-Debian: https://bugs.debian.org/883606

--- a/lib/Dancer2/CLI/Command/gen.pm
+++ b/lib/Dancer2/CLI/Command/gen.pm
@@ -26,7 +26,6 @@ sub opt_spec {
         [ 'path|p=s',        'application path (default: current directory)',
             { default => '.' } ],
         [ 'overwrite|o',     'overwrite existing files' ],
-        [ 'no-check|x',      'don\'t check latest Dancer2 version (requires internet)' ],
         [ 'skel|s=s',        'skeleton directory' ],
     );
 }
@@ -57,7 +56,6 @@ sub validate_args {
 
 sub execute {
     my ($self, $opt, $args) = @_;
-    $self->_version_check() unless $opt->{'no_check'};
 
     my $dist_dir = dist_dir('Dancer2');
     my $skel_dir = $opt->{skel} || catdir($dist_dir, 'skel');