Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 3fd8985

Browse files
committed
Include armhf and arm64 architectures (unofficial)
1 parent 0ae8b89 commit 3fd8985

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
<module>tor-binary-resources</module>
6060
<module>tor-binary-linux32</module>
6161
<module>tor-binary-linux64</module>
62+
<module>tor-binary-linux-armhf</module>
63+
<module>tor-binary-linux-arm64</module>
6264
<module>tor-binary-macos</module>
6365
<module>tor-binary-windows</module>
6466
<module>tor-binary-geoip</module>

tor-binary-resources/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@
6161
src="https://dist.torproject.org/torbrowser/${torbrowser.version}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc"
6262
dest="${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc"
6363
skipexisting="true"/>
64+
<get
65+
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-armhf/tor-browser-linux-armhf-${torbrowser.version}_en-US.tar.xz/download"
66+
dest="${project.source.directory}/tor-browser-linux-armhf-${torbrowser.version}_en-US.tar.xz"
67+
skipexisting="true"/>
68+
<get
69+
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-armhf/sha256sums-unsigned-build.txt/download"
70+
dest="${project.source.directory}/tor-browser-linux-armhf-${torbrowser.version}_sha256sums-unsigned-build.txt"
71+
skipexisting="true"/>
72+
<get
73+
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-arm64/tor-browser-linux-arm64-${torbrowser.version}_en-US.tar.xz/download"
74+
dest="${project.source.directory}/tor-browser-linux-arm64-${torbrowser.version}_en-US.tar.xz"
75+
skipexisting="true"/>
76+
<get
77+
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-arm64/sha256sums-unsigned-build.txt/download"
78+
dest="${project.source.directory}/tor-browser-linux-arm64-${torbrowser.version}_sha256sums-unsigned-build.txt"
79+
skipexisting="true"/>
6480
<get
6581
src="https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_x86_linux_bin.tar.bz2/download"
6682
dest="${project.source.directory}/p7zip.tar.bz2"
@@ -86,6 +102,16 @@
86102
<arg
87103
line="--auto-key-locate keyserver --keyserver pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify ${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc ${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz"></arg>
88104
</exec>
105+
<echo message="checking linux-armhf binary sha256sum"/>
106+
<exec executable="sh" failonerror="true">
107+
<arg
108+
line="-c 'cd ${project.source.directory}; grep tor-browser-linux-armhf-${torbrowser.version}_en-US.tar.xz tor-browser-linux-armhf-${torbrowser.version}_sha256sums-unsigned-build.txt | shasum -a 256 -c'"></arg>
109+
</exec>
110+
<echo message="checking linux-arm64 binary sha256sum"/>
111+
<exec executable="sh" failonerror="true">
112+
<arg
113+
line="-c 'cd ${project.source.directory}; grep tor-browser-linux-arm64-${torbrowser.version}_en-US.tar.xz tor-browser-linux-arm64-${torbrowser.version}_sha256sums-unsigned-build.txt | shasum -a 256 -c'"></arg>
114+
</exec>
89115
<bunzip2 src="${project.source.directory}/p7zip.tar.bz2"
90116
dest="${project.source.directory}/p7zip.tar" />
91117
<untar src="${project.source.directory}/p7zip.tar"

0 commit comments

Comments
 (0)