Author: danielsh Date: Sat Aug 5 15:57:24 2017 New Revision: 1804192 URL: http://svn.apache.org/viewvc?rev=1804192&view=rev Log: dist.sh: Make it harder to MITM the RM.
* tools/dist/dist.sh: s/http/https/ Acronyms: MITM == execute a successful 'man in the middle' attack RM == release manager Modified: subversion/trunk/tools/dist/dist.sh Modified: subversion/trunk/tools/dist/dist.sh URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/dist.sh?rev=1804192&r1=1804191&r2=1804192&view=diff ============================================================================== --- subversion/trunk/tools/dist/dist.sh (original) +++ subversion/trunk/tools/dist/dist.sh Sat Aug 5 15:57:24 2017 @@ -205,7 +205,7 @@ export TZ echo "Exporting $REPOS_PATH r$REVISION into sandbox..." (cd "$DIST_SANDBOX" && \ ${SVN:-svn} export -q $EXTRA_EXPORT_OPTIONS \ - "http://svn.apache.org/repos/asf/subversion/$REPOS_PATH"@"$REVISION" \ + "https://svn.apache.org/repos/asf/subversion/$REPOS_PATH"@"$REVISION" \ "$DISTNAME" --username none --password none) rm -f "$DISTPATH/STATUS" @@ -242,7 +242,7 @@ fi # Instead of attempting to deal with various line ending issues, just export # the find_python script manually. ${svn:-svn} export -q -r "$REVISION" \ - "http://svn.apache.org/repos/asf/subversion/$REPOS_PATH/build/find_python.sh" \ + "https://svn.apache.org/repos/asf/subversion/$REPOS_PATH/build/find_python.sh" \ --username none --password none "$DIST_SANDBOX/find_python.sh" PYTHON="`$DIST_SANDBOX/find_python.sh`" if test -z "$PYTHON"; then @@ -297,7 +297,7 @@ echo "Running po-update.sh in sandbox, t # Can't use the po-update.sh in the packaged export since it might have CRLF # line endings, in which case it won't run. So first we export it again. ${svn:-svn} export -q -r "$REVISION" \ - "http://svn.apache.org/repos/asf/subversion/$REPOS_PATH/tools/po/po-update.sh" \ + "https://svn.apache.org/repos/asf/subversion/$REPOS_PATH/tools/po/po-update.sh" \ --username none --password none "$DIST_SANDBOX/po-update.sh" (cd "$DISTPATH" && ../po-update.sh pot) || exit 1