diff options
Diffstat (limited to 'repos')
| -rw-r--r-- | repos/extra/tor/.checksum | 2 | ||||
| -rw-r--r-- | repos/extra/tor/.files | 25 | ||||
| -rw-r--r-- | repos/extra/tor/abuild | 6 | ||||
| -rw-r--r-- | repos/extra/tor/depends | 1 | ||||
| -rwxr-xr-x | repos/extra/tor/preinstall | 4 | ||||
| -rw-r--r-- | repos/extra/tor/run | 4 |
6 files changed, 42 insertions, 0 deletions
diff --git a/repos/extra/tor/.checksum b/repos/extra/tor/.checksum new file mode 100644 index 00000000..547d750c --- /dev/null +++ b/repos/extra/tor/.checksum @@ -0,0 +1,2 @@ +11a0991a6efa39319b7577d0ab4c1b1c0500f709820513f47c7047c66d08a2d3 run +60099d493c02086388e2b2b3e1acf4da0be4ce06a2a3c97a836c3ce1e08b0df9 tor-0.4.8.19.tar.gz diff --git a/repos/extra/tor/.files b/repos/extra/tor/.files new file mode 100644 index 00000000..e2ec0928 --- /dev/null +++ b/repos/extra/tor/.files @@ -0,0 +1,25 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/sv/ +drwxr-xr-x root/root etc/sv/tor/ +-rwxr-xr-x root/root etc/sv/tor/run.new +lrwxrwxrwx root/root etc/sv/tor/supervise -> ../../../run/runit/supervise.tor +drwxr-xr-x root/root etc/tor/ +-rw-r--r-- root/root etc/tor/torrc.sample.new +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/tor +-rwxr-xr-x root/root usr/bin/tor-gencert +-rwxr-xr-x root/root usr/bin/tor-print-ed-signing-cert +-rwxr-xr-x root/root usr/bin/tor-resolve +-rwxr-xr-x root/root usr/bin/torify +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/tor-gencert.1.gz +-rw-r--r-- root/root usr/share/man/man1/tor-print-ed-signing-cert.1.gz +-rw-r--r-- root/root usr/share/man/man1/tor-resolve.1.gz +-rw-r--r-- root/root usr/share/man/man1/tor.1.gz +-rw-r--r-- root/root usr/share/man/man1/torify.1.gz +drwxr-xr-x root/root usr/share/tor/ +-rw-r--r-- root/root usr/share/tor/geoip +-rw-r--r-- root/root usr/share/tor/geoip6 diff --git a/repos/extra/tor/abuild b/repos/extra/tor/abuild new file mode 100644 index 00000000..96eb3640 --- /dev/null +++ b/repos/extra/tor/abuild @@ -0,0 +1,6 @@ +name=tor +version=0.4.8.19 +release=1 +source="https://dist.${name}project.org/${name}-${version}.tar.gz + run" +sv=run diff --git a/repos/extra/tor/depends b/repos/extra/tor/depends new file mode 100644 index 00000000..dd6fade5 --- /dev/null +++ b/repos/extra/tor/depends @@ -0,0 +1 @@ +libevent diff --git a/repos/extra/tor/preinstall b/repos/extra/tor/preinstall new file mode 100755 index 00000000..2457d9af --- /dev/null +++ b/repos/extra/tor/preinstall @@ -0,0 +1,4 @@ +#!/bin/sh + +addgroup -S tor 2>/dev/null +adduser -S -D -H -h /var/lib/tor -s /sbin/nologin -g tor -G tor tor 2>/dev/null diff --git a/repos/extra/tor/run b/repos/extra/tor/run new file mode 100644 index 00000000..3b6f9953 --- /dev/null +++ b/repos/extra/tor/run @@ -0,0 +1,4 @@ +#!/bin/sh +[ -r conf ] && . ./conf +ulimit -n ${MAX_OPEN_FILES:-65536} +exec tor ${OPTS:=--quiet} --runasdaemon 0 2>&1 |