This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository devscripts.

commit 69651ab4667ab65a729462f567b53546acdadfa9
Author: Chris Lamb <[email protected]>
Date:   Wed Nov 8 15:54:00 2017 +0100

    Support downloading packages through gopher://
    
    Closes: #880649
    Signed-off-by: Mattia Rizzolo <[email protected]>
---
 debian/changelog | 2 ++
 scripts/dget.pl  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fb6fb9e..d9e2d96 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ devscripts (2.17.12) UNRELEASED; urgency=medium
   [ Chris Lamb ]
   * debuild:
     + Print the actual arguments we make to lintian.  Closes: #880124
+  * dget:
+    + Support downloading packages through gopher://.  Closes: #880649
 
  -- Mattia Rizzolo <[email protected]>  Mon, 30 Oct 2017 07:48:10 +0100
 
diff --git a/scripts/dget.pl b/scripts/dget.pl
index f478240..4d97473 100755
--- a/scripts/dget.pl
+++ b/scripts/dget.pl
@@ -457,7 +457,7 @@ for my $arg (@ARGV) {
     $found_dsc = "";
 
     # case 1: URL
-    if ($arg =~ 
/^((?:copy|file|ftp|http|rsh|rsync|ssh|www).*)\/([^\/]+\.\w+)$/) {
+    if ($arg =~ 
/^((?:copy|file|ftp|gopher|http|rsh|rsync|ssh|www).*)\/([^\/]+\.\w+)$/) {
        get_file($1, $2, "unlink") or exit 1;
        if ($found_dsc) {
            if ($dget_verify) { # We are duplicating work here a bit as

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to