[arch-commits] Commit in tor/repos/community-testing-x86_64 (8 files)
Frederik Schwan
freswa at archlinux.org
Tue Oct 6 16:49:26 UTC 2020
Date: Tuesday, October 6, 2020 @ 16:49:25
Author: freswa
Revision: 719368
archrelease: copy trunk to community-testing-x86_64
Added:
tor/repos/community-testing-x86_64/PKGBUILD
(from rev 719367, tor/trunk/PKGBUILD)
tor/repos/community-testing-x86_64/tor.sysusers
(from rev 719367, tor/trunk/tor.sysusers)
tor/repos/community-testing-x86_64/tor.tmpfiles
(from rev 719367, tor/trunk/tor.tmpfiles)
tor/repos/community-testing-x86_64/torrc.patch
(from rev 719367, tor/trunk/torrc.patch)
Deleted:
tor/repos/community-testing-x86_64/PKGBUILD
tor/repos/community-testing-x86_64/tor.sysusers
tor/repos/community-testing-x86_64/tor.tmpfiles
tor/repos/community-testing-x86_64/torrc.patch
--------------+
PKGBUILD | 104 ++++++++++++++++++++++++++++-----------------------------
tor.sysusers | 2 -
tor.tmpfiles | 2 -
torrc.patch | 56 +++++++++++++++---------------
4 files changed, 82 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-06 16:47:49 UTC (rev 719367)
+++ PKGBUILD 2020-10-06 16:49:25 UTC (rev 719368)
@@ -1,52 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: simo <simo at archlinux.org>
-# Contributor: Sid Karunaratne
-
-pkgname=tor
-pkgver=0.4.4.5
-pkgrel=2
-pkgdesc='Anonymizing overlay network.'
-arch=('x86_64')
-url='https://www.torproject.org/'
-license=('BSD')
-depends=('openssl' 'libevent' 'bash' 'libseccomp' 'zstd' 'libcap')
-optdepends=('torsocks: for torify')
-makedepends=('ca-certificates')
-backup=('etc/tor/torrc')
-source=("https://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz"{,.asc}
- 'torrc.patch'
- 'tor.sysusers'
- 'tor.tmpfiles')
-md5sums=('b061b7c4ce6102fb7c800b73c8573388'
- 'SKIP'
- '88b17cb8d6c73ec4687c135f9a3c57e5'
- '5de6b0aff2a152a03d8eb7a473edc5ff'
- '30e307d882c818cb44bcb2d6b81789a3')
-validpgpkeys=('2133BC600AB133E1D826D173FE43009C4607B1FB' # Nick Mathewson
- 'F65CE37F04BA5B360AE6EE17C218525819F78451') # Roger Dingledine
-
-build() {
- cd ${pkgname}-${pkgver}
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- # install arch custom files
- install -Dm0644 tor.sysusers "${pkgdir}"/usr/lib/sysusers.d/tor.conf
- install -Dm0644 tor.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/tor.conf
-
- # invoke upstream install routine
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- install -Dm0644 contrib/dist/tor.service "${pkgdir}"/usr/lib/systemd/system/tor.service
-
- # install torrc and uncomment essential config sections
- patch -Np1 < "${srcdir}/torrc.patch"
- install -Dm0644 src/config/torrc.sample "${pkgdir}"/etc/tor/torrc
- rm "${pkgdir}"/etc/tor/torrc.sample
-
- install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: tor/repos/community-testing-x86_64/PKGBUILD (from rev 719367, tor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-06 16:49:25 UTC (rev 719368)
@@ -0,0 +1,52 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: simo <simo at archlinux.org>
+# Contributor: Sid Karunaratne
+
+pkgname=tor
+pkgver=0.4.4.5
+pkgrel=2
+pkgdesc='Anonymizing overlay network.'
+arch=('x86_64')
+url='https://www.torproject.org/'
+license=('BSD')
+depends=('openssl' 'libevent' 'bash' 'libseccomp' 'zstd' 'libcap')
+optdepends=('torsocks: for torify')
+makedepends=('ca-certificates')
+backup=('etc/tor/torrc')
+source=("https://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ 'torrc.patch'
+ 'tor.sysusers'
+ 'tor.tmpfiles')
+md5sums=('b061b7c4ce6102fb7c800b73c8573388'
+ 'SKIP'
+ '88b17cb8d6c73ec4687c135f9a3c57e5'
+ '5de6b0aff2a152a03d8eb7a473edc5ff'
+ '30e307d882c818cb44bcb2d6b81789a3')
+validpgpkeys=('2133BC600AB133E1D826D173FE43009C4607B1FB' # Nick Mathewson
+ 'F65CE37F04BA5B360AE6EE17C218525819F78451') # Roger Dingledine
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ # install arch custom files
+ install -Dm0644 tor.sysusers "${pkgdir}"/usr/lib/sysusers.d/tor.conf
+ install -Dm0644 tor.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/tor.conf
+
+ # invoke upstream install routine
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm0644 contrib/dist/tor.service "${pkgdir}"/usr/lib/systemd/system/tor.service
+
+ # install torrc and uncomment essential config sections
+ patch -Np1 < "${srcdir}/torrc.patch"
+ install -Dm0644 src/config/torrc.sample "${pkgdir}"/etc/tor/torrc
+ rm "${pkgdir}"/etc/tor/torrc.sample
+
+ install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
Deleted: tor.sysusers
===================================================================
--- tor.sysusers 2020-10-06 16:47:49 UTC (rev 719367)
+++ tor.sysusers 2020-10-06 16:49:25 UTC (rev 719368)
@@ -1 +0,0 @@
-u tor 43 - /var/lib/tor
Copied: tor/repos/community-testing-x86_64/tor.sysusers (from rev 719367, tor/trunk/tor.sysusers)
===================================================================
--- tor.sysusers (rev 0)
+++ tor.sysusers 2020-10-06 16:49:25 UTC (rev 719368)
@@ -0,0 +1 @@
+u tor 43 - /var/lib/tor
Deleted: tor.tmpfiles
===================================================================
--- tor.tmpfiles 2020-10-06 16:47:49 UTC (rev 719367)
+++ tor.tmpfiles 2020-10-06 16:49:25 UTC (rev 719368)
@@ -1 +0,0 @@
-d /var/lib/tor 0700 tor tor - -
Copied: tor/repos/community-testing-x86_64/tor.tmpfiles (from rev 719367, tor/trunk/tor.tmpfiles)
===================================================================
--- tor.tmpfiles (rev 0)
+++ tor.tmpfiles 2020-10-06 16:49:25 UTC (rev 719368)
@@ -0,0 +1 @@
+d /var/lib/tor 0700 tor tor - -
Deleted: torrc.patch
===================================================================
--- torrc.patch 2020-10-06 16:47:49 UTC (rev 719367)
+++ torrc.patch 2020-10-06 16:49:25 UTC (rev 719368)
@@ -1,28 +0,0 @@
---- a/src/config/torrc.sample 2020-10-06 18:11:24.173821006 +0200
-+++ b/src/config/torrc.sample 2020-10-06 18:11:06.000000000 +0200
-@@ -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 /var/log/tor/debug.log
- #Log debug file /var/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 /var/lib/tor
-+DataDirectory /var/lib/tor
-
- ## The port on which Tor will listen for local connections from Tor
- ## controller applications, as documented in control-spec.txt.
Copied: tor/repos/community-testing-x86_64/torrc.patch (from rev 719367, tor/trunk/torrc.patch)
===================================================================
--- torrc.patch (rev 0)
+++ torrc.patch 2020-10-06 16:49:25 UTC (rev 719368)
@@ -0,0 +1,28 @@
+--- a/src/config/torrc.sample 2020-10-06 18:11:24.173821006 +0200
++++ b/src/config/torrc.sample 2020-10-06 18:11:06.000000000 +0200
+@@ -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 /var/log/tor/debug.log
+ #Log debug file /var/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 /var/lib/tor
++DataDirectory /var/lib/tor
+
+ ## The port on which Tor will listen for local connections from Tor
+ ## controller applications, as documented in control-spec.txt.
More information about the arch-commits
mailing list