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

Commit

Permalink
tor browser 8.5.3
Browse files Browse the repository at this point in the history
* Include `armhf` and `arm64` architectures (unofficial)
  • Loading branch information
leshik committed Jul 14, 2019
1 parent 0ae8b89 commit 9f1b2d4
Show file tree
Hide file tree
Showing 9 changed files with 186 additions and 8 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>

<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand All @@ -15,7 +15,7 @@
requirement are: gpg in path
-->
<torbrowser.version>8.5.4</torbrowser.version>
<torbrowser.version>8.5.3</torbrowser.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.remote-resource.directory>${project.build.directory}/maven-shared-archive-resources</project.remote-resource.directory>
</properties>
Expand Down 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
2 changes: 1 addition & 1 deletion tor-binary-geoip/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
75 changes: 75 additions & 0 deletions tor-binary-linux-arm64/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>tor-binary-linux-arm64</artifactId>
<packaging>jar</packaging>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<resourceBundles>
<resourceBundle>com.github.JesusMcCloud:tor-binary-resources:${project.version}</resourceBundle>
</resourceBundles>
</configuration>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>download-and-verify</id>
<phase>generate-resources</phase>
<configuration>
<target>
<exec executable="tar" dir="${project.build.directory}" failonerror="true">
<arg value="-xJvf"/>
<arg value="${project.remote-resource.directory}/tor-browser-linux-arm64-${torbrowser.version}_en-US.tar.xz"/>
<arg value="tor-browser_en-US/Browser/TorBrowser/Tor/"/>
</exec>

<delete dir="${project.basedir}/src/" failonerror="false" />
<delete dir="${project.remote-resource.directory}" />

<mkdir dir="${project.basedir}/src/main/resources/native/linux/arm64/"/>
<exec executable="tar" dir="${project.build.directory}/tor-browser_en-US/Browser/TorBrowser/Tor/" failonerror="true">
<arg line="-cJvf ${project.basedir}/src/main/resources/native/linux/arm64/tor.tar.xz ."/>
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
75 changes: 75 additions & 0 deletions tor-binary-linux-armhf/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>tor-binary-linux-armhf</artifactId>
<packaging>jar</packaging>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<resourceBundles>
<resourceBundle>com.github.JesusMcCloud:tor-binary-resources:${project.version}</resourceBundle>
</resourceBundles>
</configuration>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>download-and-verify</id>
<phase>generate-resources</phase>
<configuration>
<target>
<exec executable="tar" dir="${project.build.directory}" failonerror="true">
<arg value="-xJvf"/>
<arg value="${project.remote-resource.directory}/tor-browser-linux-armhf-${torbrowser.version}_en-US.tar.xz"/>
<arg value="tor-browser_en-US/Browser/TorBrowser/Tor/"/>
</exec>

<delete dir="${project.basedir}/src/" failonerror="false" />
<delete dir="${project.remote-resource.directory}" />

<mkdir dir="${project.basedir}/src/main/resources/native/linux/armhf/"/>
<exec executable="tar" dir="${project.build.directory}/tor-browser_en-US/Browser/TorBrowser/Tor/" failonerror="true">
<arg line="-cJvf ${project.basedir}/src/main/resources/native/linux/armhf/tor.tar.xz ."/>
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
2 changes: 1 addition & 1 deletion tor-binary-linux32/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion tor-binary-linux64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion tor-binary-macos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
28 changes: 27 additions & 1 deletion tor-binary-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down 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
2 changes: 1 addition & 1 deletion tor-binary-windows/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>0.4.0.5</version>
<version>8.5.3</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down

0 comments on commit 9f1b2d4

Please sign in to comment.