From ea51f477eb27700d4b6c05281342024a65aa1e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 18 Aug 2015 17:57:01 -0700 Subject: [PATCH] https urls are now enforced by lint --- tools/urls-https.sh | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 tools/urls-https.sh diff --git a/tools/urls-https.sh b/tools/urls-https.sh deleted file mode 100755 index f8c244671b..0000000000 --- a/tools/urls-https.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# this replaces http:// urls with https:// urls on all sites that default to -# https, or support it well. This is important even for downloads that are -# verified using a hash sum or signature because it both provides an -# alternate, backup method of verifying the download, but also greatly reduces -# meta data leaks. - -for f in metadata/*.txt; do - # this shows progress based on 1st letter of package name - printf `echo $f | cut -b10` - sed -i -e 's,http://dl.google.com,https://dl.google.com,g' \ - -e 's,http://pypi,https://pypi,g' \ - -e 's,http://code.google.com,https://code.google.com,g' \ - -e 's,http://github.com,https://github.com,g' \ - -e 's,git://github.com,https://github.com,g' \ - -e 's,http://\([^.]*\).googlecode.com/svn,https://\1.googlecode.com/svn,g' \ - -e 's,http://svn.apache.org/repos,https://svn.apache.org/repos,g' \ - -e 's,http://svn.code.sf.net,https://svn.code.sf.net,g' \ - -e 's,svn://svn.code.sf.net,https://svn.code.sf.net,g' \ - -e 's,http://gitorious.org,https://gitorious.org,g' \ - -e 's,git://gitorious.org,https://gitorious.org,g' $f -done -echo