This reduces especially at a dedicated tor exit relay the amount of installed packages (asciidoc depends on dev-libs/libxslt and so on): t44 tor # diff -u tor-0.2.8.3_alpha.ebuild /usr/portage/net-misc/tor/tor-0.2.8.3_alpha.ebuild --- tor-0.2.8.3_alpha.ebuild 2016-06-11 17:05:26.364806777 +0200 +++ /usr/portage/net-misc/tor/tor-0.2.8.3_alpha.ebuild 2016-05-27 13:03:23.098212096 +0200 @@ -17,10 +17,10 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" -IUSE="-bufferevents doc libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web" +IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test web" DEPEND=" - doc? ( app-text/asciidoc ) + app-text/asciidoc dev-libs/libevent sys-libs/zlib bufferevents? ( dev-libs/libevent[ssl] ) @@ -50,7 +50,7 @@ econf \ --enable-system-torrc \ - $(use_enable doc enable-asciidoc) \ + --enable-asciidoc \ --docdir="${EPREFIX}"/usr/share/doc/${PF} \ $(use_enable stats instrument-downloads) \ $(use_enable bufferevents) \
gah - bullshit
This is the right diff (install tested and works both at a desktop as a tor client only and at a exit relay): ms-magpie tor # diff tor-0.2.8.3_alpha.ebuild /usr/portage/net-misc/tor/tor-0.2.8.3_alpha.ebuild 20c20 < IUSE="-bufferevents doc libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy --- > IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd tor-hardening transparent-proxy test 23c23 < doc? ( app-text/asciidoc ) --- > app-text/asciidoc 53c53 < $(use_enable doc asciidoc) \ --- > --enable-asciidoc \
the problem is this clobbers the man pages, doc files do you want to get rid of?
right, the doc files + their package deps, therefore https://trac.torproject.org/projects/tor/ticket/19381
(In reply to Toralf Förster from comment #4) > right, the doc files + their package deps, therefore > https://trac.torproject.org/projects/tor/ticket/19381 the Tor ticket was solved now :-)