summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-05-08 22:33:03 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-05-08 22:33:03 +0000
commit2ff83e4bc0f2c874b2f55249935f286f098a12d1 (patch)
treeadd68ad805fccb62724200e96c997da14fd3b58d /net-misc
parentUpdate HOMEPAGE #402355 by Alexander Tratsevskiy. (diff)
downloadgentoo-2-2ff83e4bc0f2c874b2f55249935f286f098a12d1.tar.gz
gentoo-2-2ff83e4bc0f2c874b2f55249935f286f098a12d1.tar.bz2
gentoo-2-2ff83e4bc0f2c874b2f55249935f286f098a12d1.zip
Add systemd tmpfile, bug #509500
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tor/ChangeLog8
-rw-r--r--net-misc/tor/files/tor.conf2
-rw-r--r--net-misc/tor/tor-0.2.5.4_alpha-r1.ebuild (renamed from net-misc/tor/tor-0.2.5.2_alpha.ebuild)4
3 files changed, 12 insertions, 2 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 5c8a704dac38..c9f4e972fe05 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/tor
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.409 2014/04/27 15:01:03 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.410 2014/05/08 22:33:03 blueness Exp $
+
+*tor-0.2.5.4_alpha-r1 (08 May 2014)
+
+ 08 May 2014; Anthony G. Basile <blueness@gentoo.org> +files/tor.conf,
+ +tor-0.2.5.4_alpha-r1.ebuild, -tor-0.2.5.2_alpha.ebuild:
+ Add systemd tmpfile, bug #509500
*tor-0.2.5.4_alpha (27 Apr 2014)
diff --git a/net-misc/tor/files/tor.conf b/net-misc/tor/files/tor.conf
new file mode 100644
index 000000000000..447c1cf4a3e0
--- /dev/null
+++ b/net-misc/tor/files/tor.conf
@@ -0,0 +1,2 @@
+#Type Path Mode UID GID Age Argument
+d /var/run/tor 0775 tor tor - -
diff --git a/net-misc/tor/tor-0.2.5.2_alpha.ebuild b/net-misc/tor/tor-0.2.5.4_alpha-r1.ebuild
index e20fdf6ee3ef..ec25e0bcde8d 100644
--- a/net-misc/tor/tor-0.2.5.2_alpha.ebuild
+++ b/net-misc/tor/tor-0.2.5.4_alpha-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.5.2_alpha.ebuild,v 1.1 2014/02/13 21:53:49 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.5.4_alpha-r1.ebuild,v 1.1 2014/05/08 22:33:03 blueness Exp $
EAPI="5"
@@ -35,6 +35,7 @@ pkg_setup() {
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.2.3.14_alpha-torrc.sample.patch
+ epatch "${FILESDIR}"/${PN}-0.2.5.4_alpha-fix-disable-buf-freelist.patch
}
src_configure() {
@@ -70,6 +71,7 @@ src_install() {
newconfd "${FILESDIR}"/tor.confd tor
newinitd "${FILESDIR}"/tor.initd-r6 tor
systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_dotmpfilesd "${FILESDIR}/${PN}.conf"
emake DESTDIR="${D}" install