diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-11-15 17:09:41 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-11-15 17:09:41 +0100 |
commit | 0d43adafed4ce0fa22988f2ff8948f8f64d811a3 (patch) | |
tree | a15c8b9af137b41833b5a51a4da88ea6478d09fa /arch/tde-deps/tor | |
parent | 9ad10a881e3df75b587767eb5cc78b2ea840316a (diff) | |
download | tde-packaging-0d43adafed4ce0fa22988f2ff8948f8f64d811a3.tar.gz tde-packaging-0d43adafed4ce0fa22988f2ff8948f8f64d811a3.zip |
ArchLinux: Add powerpc64le to architectures.
Cleanup some unnecessary dependencies.
Add pkgbuilds for dependencies that
are not available on archlinuxpower.org.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-deps/tor')
-rw-r--r-- | arch/tde-deps/tor/PKGBUILD | 69 | ||||
-rw-r--r-- | arch/tde-deps/tor/keys/pgp/1C1BC007A9F607AA8152C040BEA7B180B1491921.asc | 43 | ||||
-rw-r--r-- | arch/tde-deps/tor/keys/pgp/2133BC600AB133E1D826D173FE43009C4607B1FB.asc | 123 | ||||
-rw-r--r-- | arch/tde-deps/tor/keys/pgp/B74417EDDF22AC9F9E90F49142E86A2A11F48D36.asc | 51 | ||||
-rw-r--r-- | arch/tde-deps/tor/tor.service | 35 | ||||
-rw-r--r-- | arch/tde-deps/tor/tor.sysusers | 1 | ||||
-rw-r--r-- | arch/tde-deps/tor/tor.tmpfiles | 1 | ||||
-rw-r--r-- | arch/tde-deps/tor/torrc.patch | 28 |
8 files changed, 351 insertions, 0 deletions
diff --git a/arch/tde-deps/tor/PKGBUILD b/arch/tde-deps/tor/PKGBUILD new file mode 100644 index 000000000..537b2902d --- /dev/null +++ b/arch/tde-deps/tor/PKGBUILD @@ -0,0 +1,69 @@ +# Maintainer: Lukas Fleischer <lfleischer@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> +# Contributor: Daniel Micay <danielmicay@gmail.com> +# Contributor: simo <simo@archlinux.org> +# Contributor: Sid Karunaratne + +pkgname=tor +pkgver=0.4.7.11 +pkgrel=1 +pkgdesc='Anonymizing overlay network.' +arch=('powerpc64le') +url='https://www.torproject.org/download/tor/' +license=('BSD') +depends=('openssl' 'libevent' 'bash' 'libseccomp' 'zstd' 'libcap' 'systemd-libs' + 'libsystemd.so' 'libzstd.so' 'libseccomp.so' 'libcap.so') +optdepends=('torsocks: for torify') +makedepends=('ca-certificates' 'systemd') +backup=('etc/tor/torrc') +source=("https://dist.torproject.org/${pkgname}-${pkgver}.tar.gz"{,.sha256sum{,.asc}} + 'torrc.patch' + 'tor.sysusers' + 'tor.tmpfiles' + 'tor.service') +b2sums=('2d743e7d0aea63e76f6e24aa235792af8691fde419f56bbdf8c6ee865250a09ec06454ec84abac8ba47e3d61a363c937fc050376172d3ec6b0815998d1c8679e' + '1e49ba88ae21af6589a9815603ee375cc0dc85fcd8dd5a5f52cd44659438874ae9d10b09b7f15cadd2c30d2e8012a27be4233dcb19195d4627f19a59ccf68d0b' + 'SKIP' + '3359e138d823a77df2a42ce3fe8c6ecb4004e9ec191863db7857aceea7c136c78f09518b1a199dfd3215f5d61f1c060f4a0e2141c5bdb6b847af60fb6e9a81a7' + '9053da53926f2120ac57b6c1442238f5bbd89bf9270347c4e00b721b39939bebc6adfcf814a9d7289dfd14d085d91c193529305336db93190da5b7f586a031df' + '5d55d9a7e42b6ce78b8ab985bab37afe8f0bacddb5abd895c4a490adb8f98b9422f90b40066fef05ecf37b7b21e80aadc615c4b7f6e12b05581304113a1b1f1d' + '327c1a35c3d4c44f93edb47959c8c41ab6af4cbfcbb8f4e9f54f2f69d17d148bf85e2d2c8aefe2d3165e123056dd68a248af78d1ba713b94a4e6d27a9cf412f1') +validpgpkeys=( + '2133BC600AB133E1D826D173FE43009C4607B1FB' # Nick Mathewson + 'B74417EDDF22AC9F9E90F49142E86A2A11F48D36' # David Goulet + '1C1BC007A9F607AA8152C040BEA7B180B1491921' # Alexander Færøy +) + +prepare() { + # verify the signed sums match the expected source tarball + sha256sum -c ${pkgname}-${pkgver}.tar.gz.sha256sum + cd ${pkgname}-${pkgver} + # uncomment essential config sections in the torrc file + patch -Np1 < "${srcdir}/torrc.patch" +} + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + mv "${pkgdir}"/etc/tor/torrc{.sample,} + + # install arch custom files + install -Dm 644 "${srcdir}"/*.service -t "${pkgdir}"/usr/lib/systemd/system + install -Dm 644 "${srcdir}"/tor.sysusers "${pkgdir}"/usr/lib/sysusers.d/tor.conf + install -Dm 644 "${srcdir}"/tor.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/tor.conf + + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} +} + +# vim: ts=2 sw=2 et: diff --git a/arch/tde-deps/tor/keys/pgp/1C1BC007A9F607AA8152C040BEA7B180B1491921.asc b/arch/tde-deps/tor/keys/pgp/1C1BC007A9F607AA8152C040BEA7B180B1491921.asc new file mode 100644 index 000000000..9cc80960e --- /dev/null +++ b/arch/tde-deps/tor/keys/pgp/1C1BC007A9F607AA8152C040BEA7B180B1491921.asc @@ -0,0 +1,43 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEXegH3RYJKwYBBAHaRw8BAQdA1IMvjZzYALGBFe/ARHNSXuQjccz0HgOHBHRq +v8Pb4j+0H0FsZXhhbmRlciBGw6Zyw7h5IDxhaGZAMHg5MC5kaz6ImQQTFggAQQIb +AwUJCWYBgAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBBwbwAep9geqgVLAQL6n +sYCxSRkhBQJd6GooAhkBAAoJEL6nsYCxSRkhdqEA/0skJeGZkqRmlHPXqTFZMvbh +As2kY9Lm5L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bdnu1QX3DupZMvS74RkPU2WfD3AP91Rlg8I0Q+GyT8F2uH6/qwGvJqCV4zhVzp +IzfFlprFAg== +=SCcY +-----END PGP PUBLIC KEY BLOCK----- diff --git a/arch/tde-deps/tor/keys/pgp/2133BC600AB133E1D826D173FE43009C4607B1FB.asc b/arch/tde-deps/tor/keys/pgp/2133BC600AB133E1D826D173FE43009C4607B1FB.asc new file mode 100644 index 000000000..2332b8727 --- /dev/null +++ b/arch/tde-deps/tor/keys/pgp/2133BC600AB133E1D826D173FE43009C4607B1FB.asc @@ -0,0 +1,123 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFfinwwBEADNzG/Q6YTrH7oSfUERhopwCWWn/gsprtnUFK+O4enXPXQlisGt +OVNbc5GWoZibNPowjORN+kADB+ce+VBmVeh+4ZeJDjpsc+WXuVajDc0wNwG3I36m +8uNRPLMftBcxS1zUsMpwaqff5sDoqlBTwrvfLpHT0W1ecJX8Ew10zim58DzwQisR +Uv1rsGiyH/dFzs8m3jPdNjDZyyzGQK62hwp6Y/m11PiMYgGrvAa1ofjfkGRVxUgo +UUG8JG/AhGvMnHJjV923A7I8MspOm4H76wlEQLesPHJ5WPSBXTZ5jVgdWdp50fPR +JZOUT6gwkYF59SeZOcSFecdyuSb0W68/klD5PX0G8qQ5ko9beNm7Rs2aJKvY1MHU +n5rb00aulQFaYLFJ7LOTDqYDUkKYp7n4hw1X1yXO1MUYyk9J9WNO/Uo2psKXcBsd +ZjdEWj1dWHOhwswygndL7RxK/17psmod055S0uYkjA74J2eRSmPZ7ErIfUh85rQw +DZyYKh7B6AGjcpA1YyrAh6BgyJncP9x21dmip0ENrfg5rpcfHpTrOF8To8fpo4/y +vUL8kCxCCPJtkJiuXkGhV3oZsj2tWGvAclYqO7xe84vks+GgjG9Ydfga8JrvPMDz +YLX7aTDnZRiU2Z+FvtABMjmmPjAHj3hMx/o25Na4bQ7wBAPEUiESsnh1HwARAQAB +tCJOaWNrIE1hdGhld3NvbiA8b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iMShvp6ZNszxnkvbW +8+8lGnG6+yoSIwwD87KL2PDGENUIcv5rulZJHmFm7K8kThbnNTeWhmsuDuR7PNt2 +FZwQQ0s+It3DqZ7GFR5eBPmedTBwt7p4VzpUdRQ7ZDS9cXaYId1As4IanKQvQNbH +G2HTujQ5KpMogB4PCyHlg7d1gnpXlRhW7zjEF7lQXlFnlcNZjI1uJ+suJW1vnQ4F +Yt6TBq793ZWquWZYloassnwH2bFY3zNxajNm1A0NVKjwZTcvwthj1JvacHE4BdFU +LK4/DJ5Bwdqa+5aiRpSeJq+ARwQRc/ZEuU90k4XpBXSLaZdzkAWr8J/KVk61FnlY +e8BKq+1Pmu6VD+hnru//RYgtMNheHfgPy6QRTjRY1PhwvRcdxcwuFknUBBQ6fb3h +obVvbPc3QOsbHn8xyxzPmpM7a1+9szXqNu22sV+O4Ya+5MGcS1JokyFVWa10WD0y +wwDAcynzMET9pI0MXmqY1qKjlMQVc7lb4FLeXw== +=y/Gu +-----END PGP PUBLIC KEY BLOCK----- diff --git a/arch/tde-deps/tor/keys/pgp/B74417EDDF22AC9F9E90F49142E86A2A11F48D36.asc b/arch/tde-deps/tor/keys/pgp/B74417EDDF22AC9F9E90F49142E86A2A11F48D36.asc new file mode 100644 index 000000000..b3a6bfaca --- /dev/null +++ b/arch/tde-deps/tor/keys/pgp/B74417EDDF22AC9F9E90F49142E86A2A11F48D36.asc @@ -0,0 +1,51 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQENBE3KySMBCADOeaVfjDRP3kb2YaDyZbEjPKXkIJivkBbEt9E5abcuipmIA8o6 +W+eYbnRDUZr0u/a6NjEhG35yNFRWpFpi4Gby9+0xjNvGjFj+hTjROFsph3ljGFKp +yYfJQejlFEjlub/7ehNdVrwJz5WnIpNz1UnoC7/rry6HzBtKIcXbEpLTnGAoqAmY +d78cv5h+9B5WzN48/63qIns5ZkzAZIQio3Y+n8B80NXDOiTh+9cFPfAk4xBVPIYk +8dDpCGeHA8E7htJsAkgn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ae+3pNL7q/mppdixc/isXbOsjtoGSb5QUUOXbzhDWX960JbyjZUn +9Iao+eZRV11tMbMI4pWuL8JEWj8qpcnIyJhYi2hSf7TVq/Zw+PvEXkEAnpq3EMyN +4Su9I1ZWoxyTiwZVMdOn6TEnkdfxB9aTd5vYvR9L+t5SpmXLBMXQygbg9xR1Gbh5 +EHVlhAobb0uSkYsAEQEAAYkBPAQYAQgAJgIbDBYhBLdEF+3fIqyfnpD0kULoaioR +9I02BQJiTtxDBQkSAHuWAAoJEELoaioR9I024lwH/1UtASIiEoZKhuVkv55bjo3w +422w3wwJTC5kooG1TOWmtHOo/JJ1rFxcIpkY6ftnC+p6YhEbxxk/3XAZtUNRsJ9Z +qemhp331AGq/44g/OYAZkQiNyNhjftj6JafvgU1Zauzi7w0xqhLMKBMDV09vcbPe +o+axUj7cvibHxYUUC2RWqkBxegXpa+Cq4YKpEEbXh510mwK11sUyxcPxsrkZhr97 +KdgY8RedpPDAxnQBGU7dIMDc3xVIX1uXXZpY+SyJb7QAMGTW+9jDPwDUeUYanV+e +RwLotrkvSgKJ9GQ2F3Am0axV8iqob7unvbKYTtQcIR2P9X52sT0Pytt44W2KxH0= +=Aw5d +-----END PGP PUBLIC KEY BLOCK----- diff --git a/arch/tde-deps/tor/tor.service b/arch/tde-deps/tor/tor.service new file mode 100644 index 000000000..f91b63a08 --- /dev/null +++ b/arch/tde-deps/tor/tor.service @@ -0,0 +1,35 @@ +# tor.service -- this systemd configuration file for Tor sets up a +# relatively conservative, hardened Tor service. You may need to +# edit it if you are making changes to your Tor configuration that it +# does not allow. Package maintainers: this should be a starting point +# for your tor.service; it is not the last point. + +[Unit] +Description=Anonymizing overlay network for TCP +After=syslog.target network.target nss-lookup.target + +[Service] +Type=notify +NotifyAccess=all +ExecStartPre=/usr/bin/tor -f /etc/tor/torrc --verify-config +ExecStart=/usr/bin/tor -f /etc/tor/torrc +ExecReload=/bin/kill -HUP ${MAINPID} +KillSignal=SIGINT +TimeoutSec=60 +Restart=on-failure +WatchdogSec=1m +LimitNOFILE=32768 + +# Hardening +PrivateTmp=yes +PrivateDevices=yes +ProtectHome=yes +ProtectSystem=full +ReadOnlyDirectories=/ +ReadWriteDirectories=-/var/lib/tor +ReadWriteDirectories=-/var/log/tor +NoNewPrivileges=yes +CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE CAP_DAC_READ_SEARCH + +[Install] +WantedBy=multi-user.target diff --git a/arch/tde-deps/tor/tor.sysusers b/arch/tde-deps/tor/tor.sysusers new file mode 100644 index 000000000..1f039ff57 --- /dev/null +++ b/arch/tde-deps/tor/tor.sysusers @@ -0,0 +1 @@ +u tor 43 - /var/lib/tor diff --git a/arch/tde-deps/tor/tor.tmpfiles b/arch/tde-deps/tor/tor.tmpfiles new file mode 100644 index 000000000..ed8beb4b7 --- /dev/null +++ b/arch/tde-deps/tor/tor.tmpfiles @@ -0,0 +1 @@ +d /var/lib/tor 0700 tor tor - - diff --git a/arch/tde-deps/tor/torrc.patch b/arch/tde-deps/tor/torrc.patch new file mode 100644 index 000000000..0f3c849a4 --- /dev/null +++ b/arch/tde-deps/tor/torrc.patch @@ -0,0 +1,28 @@ +--- a/src/config/torrc.sample.in 2021-03-10 19:59:10.123456789 +0100 ++++ b/src/config/torrc.sample.in 2021-03-10 19:59:10.123456789 +0100 +@@ -11,6 +11,7 @@ + ## + ## Tor will look for this file in various places based on your platform: + ## https://www.torproject.org/docs/faq#torrc ++User tor + + ## Tor opens a SOCKS proxy on port 9050 by default -- even if you don't + ## configure one below. Set "SOCKSPort 0" if you plan to run Tor only +@@ -39,7 +40,7 @@ + ## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log + #Log debug file @LOCALSTATEDIR@/log/tor/debug.log + ## Use the system log instead of Tor's logfiles +-#Log notice syslog ++Log notice syslog + ## To send all messages to stderr: + #Log debug stderr + +@@ -50,7 +51,7 @@ + + ## The directory for keeping all the keys/etc. By default, we store + ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows. +-#DataDirectory @LOCALSTATEDIR@/lib/tor ++DataDirectory @LOCALSTATEDIR@/lib/tor + + ## The port on which Tor will listen for local connections from Tor + ## controller applications, as documented in control-spec.txt. |