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

Commit

Permalink
Include armhf and arm64 architectures (unofficial)
Browse files Browse the repository at this point in the history
  • Loading branch information
leshik committed Jul 18, 2019
1 parent 0ae8b89 commit 3fd8985
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
<module>tor-binary-resources</module>
<module>tor-binary-linux32</module>
<module>tor-binary-linux64</module>
<module>tor-binary-linux-armhf</module>
<module>tor-binary-linux-arm64</module>
<module>tor-binary-macos</module>
<module>tor-binary-windows</module>
<module>tor-binary-geoip</module>
Expand Down
26 changes: 26 additions & 0 deletions tor-binary-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@
src="https://dist.torproject.org/torbrowser/${torbrowser.version}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc"
dest="${project.source.directory}/tor-browser-linux64-${torbrowser.version}_en-US.tar.xz.asc"
skipexisting="true"/>
<get
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-armhf/tor-browser-linux-armhf-${torbrowser.version}_en-US.tar.xz/download"
dest="${project.source.directory}/tor-browser-linux-armhf-${torbrowser.version}_en-US.tar.xz"
skipexisting="true"/>
<get
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-armhf/sha256sums-unsigned-build.txt/download"
dest="${project.source.directory}/tor-browser-linux-armhf-${torbrowser.version}_sha256sums-unsigned-build.txt"
skipexisting="true"/>
<get
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-arm64/tor-browser-linux-arm64-${torbrowser.version}_en-US.tar.xz/download"
dest="${project.source.directory}/tor-browser-linux-arm64-${torbrowser.version}_en-US.tar.xz"
skipexisting="true"/>
<get
src="https://sourceforge.net/projects/tor-browser-ports/files/${torbrowser.version}-arm64/sha256sums-unsigned-build.txt/download"
dest="${project.source.directory}/tor-browser-linux-arm64-${torbrowser.version}_sha256sums-unsigned-build.txt"
skipexisting="true"/>
<get
src="https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_x86_linux_bin.tar.bz2/download"
dest="${project.source.directory}/p7zip.tar.bz2"
Expand All @@ -86,6 +102,16 @@
<arg
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>
</exec>
<echo message="checking linux-armhf binary sha256sum"/>
<exec executable="sh" failonerror="true">
<arg
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>
</exec>
<echo message="checking linux-arm64 binary sha256sum"/>
<exec executable="sh" failonerror="true">
<arg
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>
</exec>
<bunzip2 src="${project.source.directory}/p7zip.tar.bz2"
dest="${project.source.directory}/p7zip.tar" />
<untar src="${project.source.directory}/p7zip.tar"
Expand Down

0 comments on commit 3fd8985

Please sign in to comment.