--- /usr/portage/net-misc/tor/tor-0.2.5.1_alpha.ebuild 2013-10-02 06:15:52.000000000 -0400 +++ overlay/net-misc/tor/tor-0.2.5.1_alpha.ebuild 2013-10-15 17:40:05.231591682 -0400 @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.5.1_alpha.ebuild,v 1.1 2013/10/02 10:15:52 blueness Exp $ -EAPI="4" +EAPI="5" -inherit eutils flag-o-matic versionator +inherit eutils flag-o-matic systemd versionator user MY_PV="$(replace_version_separator 4 -)" MY_PF="${PN}-${MY_PV}" @@ -17,7 +17,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="-bufferevents +ecc nat-pmp selinux stats tor-hardening transparent-proxy threads upnp web" +IUSE="-bufferevents +ecc nat-pmp selinux stats test tor-hardening transparent-proxy threads upnp web" DEPEND="dev-libs/openssl sys-libs/zlib @@ -68,6 +68,8 @@ newconfd "${FILESDIR}"/tor.confd tor newinitd "${FILESDIR}"/tor.initd-r6 tor + systemd_dounit "${FILESDIR}"/tor.service + emake DESTDIR="${D}" install keepdir /var/lib/tor