diff -rauN apache-ant-1.9.15/fetch.xml apache-ant-1.9.15-https-and-repo-urls-patch/fetch.xml
--- apache-ant-1.9.15/fetch.xml 2020-05-10 15:42:29.000000000 +0200
+++ apache-ant-1.9.15-https-and-repo-urls-patch/fetch.xml 2021-05-14 20:17:38.020978197 +0200
@@ -329,19 +329,19 @@
-
+
+ depends="init-no-m2,-setup-temp-cache">
@@ -361,18 +361,22 @@
+
+
+ depends="antunit,ivy,logging,junit,xml,networking,regexp,antlr,bcel,jdepend,bsf,debugging,script,javamail,jspc,netrexx"/>
diff -rauN apache-ant-1.9.15/lib/libraries.properties apache-ant-1.9.15-https-and-repo-urls-patch/lib/libraries.properties
--- apache-ant-1.9.15/lib/libraries.properties 2020-05-10 15:42:29.000000000 +0200
+++ apache-ant-1.9.15-https-and-repo-urls-patch/lib/libraries.properties 2021-05-14 20:06:47.150502384 +0200
@@ -17,7 +17,7 @@
# If you change this, change the checksum to match
m2.version=2.1.3
-m2.url=https://archive.apache.org/dist/maven/ant-tasks
+m2.url=http://archive.apache.org/dist/maven/ant-tasks
m2.artifact-name=maven-ant-tasks
m2.jar.name=${m2.artifact-name}-${m2.version}.jar
#this is the URL of the antlib library, that is pulled down for everything else.
@@ -26,7 +26,7 @@
m2.sha1.checksum=b09be554228d66d208e5fef5266844aacf443abc
# Repository to use by default for fetching dependencies.
-m2.repo=https://repo1.maven.org/maven2/
+m2.repo=http://insecure.repo1.maven.org/maven2/
# hashes of libraries loaded over insecure connections
netrexx.sha256=1f99f054e9b1e412d29823088f3fa7cfce90a7af25d907a60a6d7908a6b97ea4