commit: 3f8902ca65c92306d9684732d9d9c1dcab9c6365 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Thu Jun 1 02:59:50 2017 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Thu Jun 1 02:59:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f8902ca
net-misc/rsync: move helper scripts behind USE=examples These aren't generally useful, so stop installing them by default. Plus most are written in perl. net-misc/rsync/rsync-3.1.2.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net-misc/rsync/rsync-3.1.2.ebuild b/net-misc/rsync/rsync-3.1.2.ebuild index fb982adf33e..16e2176a9d0 100644 --- a/net-misc/rsync/rsync-3.1.2.ebuild +++ b/net-misc/rsync/rsync-3.1.2.ebuild @@ -15,7 +15,7 @@ SLOT="0" if [[ ${PV} != *_pre ]] ; then KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi -IUSE="acl iconv ipv6 static stunnel xattr" +IUSE="acl examples iconv ipv6 static stunnel xattr" LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] ) xattr? ( kernel_linux? ( sys-apps/attr[static-libs(+)] ) ) @@ -64,9 +64,11 @@ src_install() { fi # Install the useful contrib scripts - exeinto /usr/share/rsync - doexe support/* - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} + if use examples ; then + exeinto /usr/share/rsync + doexe support/* + rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} + fi eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd*