Initial commit -- use Debian’s patches

This commit is contained in:
Mike Swanson
2018-01-17 03:52:05 -08:00
parent 3f022d5fad
commit 71337f5ae9
11 changed files with 3674 additions and 108 deletions

19
03.jigdo-lite-https.patch Normal file
View File

@@ -0,0 +1,19 @@
--- jigdo-0.7.3.orig/scripts/jigdo-lite
+++ jigdo-0.7.3/scripts/jigdo-lite
@@ -46,10 +46,14 @@
#______________________________________________________________________
# isURI <string>
-# Returns 0 (true) if the supplied string is a HTTP/FTP URL, otherwise 1
+# Returns 0 (true) if the supplied string is a HTTP/HTTPS/FTP/FILE
+# URL, otherwise 1
isURI() {
case "$1" in
- http:*|ftp:*|HTTP:*|FTP:*|file:*|FILE:*) return 0;;
+ [hH][tT][tT][pP]:*) return 0;;
+ [hH][tT][tT][pP][sS]:*) return 0;;
+ [fF][tT][pP]:*) return 0;;
+ [fF][iI][lL][eE]:*) return 0;;
*) return 1;
esac
}