diff options
author | Torben | 2022-01-31 13:52:07 +0100 |
---|---|---|
committer | Torben | 2022-01-31 13:52:07 +0100 |
commit | c7dab16f14259f3785f63bf265f17764206762d6 (patch) | |
tree | 1ab0c850efb02944721d8ef507dc2954e2fc7f05 /get_reference_via_https.patch | |
parent | 7cf4be37e71e8d747ae5ef7ed18dc9eb0a11f9a8 (diff) | |
download | aur-c7dab16f14259f3785f63bf265f17764206762d6.tar.gz |
Ensure that reference.zip is downloaded via HTTPS
Diffstat (limited to 'get_reference_via_https.patch')
-rw-r--r-- | get_reference_via_https.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/get_reference_via_https.patch b/get_reference_via_https.patch new file mode 100644 index 000000000000..bc43271e310f --- /dev/null +++ b/get_reference_via_https.patch @@ -0,0 +1,24 @@ +diff -ruN processing4-git/build/build.xml processing4-git-patched/build/build.xml +--- processing4-git/build/build.xml 2022-01-31 13:24:21.300634689 +0100 ++++ processing4-git-patched/build/build.xml 2022-01-31 13:25:53.194256000 +0100 +@@ -369,7 +369,7 @@ + </condition> + + <!--<echo message="ref ignoreable? ${reference.ignorable}" />--> +- <get src="http://download.processing.org/reference.zip" ++ <get src="https://download.processing.org/reference.zip" + dest="../java/reference.zip" + ignoreerrors="${reference.ignorable}" + usetimestamp="true" /> +diff -ruN processing4-git/java/libraries/io/build.xml processing4-git-patched/java/libraries/io/build.xml +--- processing4-git/java/libraries/io/build.xml 2022-01-31 13:24:21.483968605 +0100 ++++ processing4-git-patched/java/libraries/io/build.xml 2022-01-31 13:25:06.487444000 +0100 +@@ -43,7 +43,7 @@ + <replaceregexp file="library.properties" match="version = .*" replace="version = ${revision}" flags="g" /> + <replaceregexp file="library.properties" match="prettyVersion = .*" replace="prettyVersion = ${revision}" flags="g" /> + +- <get src="http://download.processing.org/reference.zip" ++ <get src="https://download.processing.org/reference.zip" + dest="reference.zip" + usetimestamp="true" /> + <mkdir dir="reference" /> |