diff --git a/srcpkgs/tor/files/tor.service b/srcpkgs/tor/files/tor.service deleted file mode 100644 index 5a982bff101..00000000000 --- a/srcpkgs/tor/files/tor.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Anonymizing Overlay Network - -[Service] -Type=forking -GuessMainPID=yes -ExecStart=/usr/bin/tor -f /etc/tor/torrc --quiet -ExecReload=/bin/kill -HUP $MAINPID -KillSignal=SIGINT - -[Install] -WantedBy=multi-user.target diff --git a/srcpkgs/tor/template b/srcpkgs/tor/template index e2edfcece3b..52ebc2f7179 100644 --- a/srcpkgs/tor/template +++ b/srcpkgs/tor/template @@ -1,9 +1,8 @@ # Template file for 'tor' pkgname=tor -version=0.2.6.8 +version=0.2.6.9 revision=1 build_pie=yes -build_options="systemd" build_style=gnu-configure makedepends="zlib-devel libressl-devel libevent-devel libseccomp-devel" depends="ca-certificates tsocks" @@ -16,18 +15,12 @@ maintainer="Juan RP " license="BSD" homepage="http://www.torproject.org/" distfiles="http://www.torproject.org/dist/tor-$version.tar.gz" -checksum=b88b363896454250c3f561b0b48479f18295c93596d2e81baa10c5a3ae609a76 +checksum=4a6c29ad89a98d7832c599d9480d6d8e55355fb3b8f4b506c5df557f15942f9c post_install() { # Use our own default config file. vinstall ${FILESDIR}/torrc 640 etc/tor rm -f ${DESTDIR}/etc/tor/torrc.sample - - if [ "$build_option_systemd" ]; then - # Install systemd service. - vinstall ${FILESDIR}/tor.service 644 usr/lib/systemd/system - fi - vlicense LICENSE vsv tor }