1 |
commit: 3f8902ca65c92306d9684732d9d9c1dcab9c6365 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 1 02:59:50 2017 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 1 02:59:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f8902ca |
7 |
|
8 |
net-misc/rsync: move helper scripts behind USE=examples |
9 |
|
10 |
These aren't generally useful, so stop installing them by default. |
11 |
Plus most are written in perl. |
12 |
|
13 |
net-misc/rsync/rsync-3.1.2.ebuild | 10 ++++++---- |
14 |
1 file changed, 6 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/rsync/rsync-3.1.2.ebuild b/net-misc/rsync/rsync-3.1.2.ebuild |
17 |
index fb982adf33e..16e2176a9d0 100644 |
18 |
--- a/net-misc/rsync/rsync-3.1.2.ebuild |
19 |
+++ b/net-misc/rsync/rsync-3.1.2.ebuild |
20 |
@@ -15,7 +15,7 @@ SLOT="0" |
21 |
if [[ ${PV} != *_pre ]] ; then |
22 |
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" |
23 |
fi |
24 |
-IUSE="acl iconv ipv6 static stunnel xattr" |
25 |
+IUSE="acl examples iconv ipv6 static stunnel xattr" |
26 |
|
27 |
LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] ) |
28 |
xattr? ( kernel_linux? ( sys-apps/attr[static-libs(+)] ) ) |
29 |
@@ -64,9 +64,11 @@ src_install() { |
30 |
fi |
31 |
|
32 |
# Install the useful contrib scripts |
33 |
- exeinto /usr/share/rsync |
34 |
- doexe support/* |
35 |
- rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} |
36 |
+ if use examples ; then |
37 |
+ exeinto /usr/share/rsync |
38 |
+ doexe support/* |
39 |
+ rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} |
40 |
+ fi |
41 |
|
42 |
eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* |