Lines 2-10
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.9.ebuild,v 1.1 2011/10/30 23:18:05 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.9.ebuild,v 1.1 2011/10/30 23:18:05 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI="3" |
6 |
|
6 |
|
7 |
inherit eutils flag-o-matic |
7 |
inherit eutils flag-o-matic prefix |
8 |
|
8 |
|
9 |
DESCRIPTION="File transfer program to keep remote files into sync" |
9 |
DESCRIPTION="File transfer program to keep remote files into sync" |
10 |
HOMEPAGE="http://rsync.samba.org/" |
10 |
HOMEPAGE="http://rsync.samba.org/" |
Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
LICENSE="GPL-3" |
13 |
LICENSE="GPL-3" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
15 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
16 |
IUSE="acl iconv ipv6 static xattr" |
16 |
IUSE="acl iconv ipv6 static xattr" |
17 |
|
17 |
|
18 |
DEPEND=">=dev-libs/popt-1.5 |
18 |
DEPEND=">=dev-libs/popt-1.5 |
Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
src_prepare() { |
25 |
src_prepare() { |
26 |
epatch_user |
26 |
epatch_user |
|
|
27 |
epatch "${FILESDIR}"/${PN}-3.0.7-mint.patch |
28 |
eprefixify |
27 |
} |
29 |
} |
28 |
|
30 |
|
29 |
src_configure() { |
31 |
src_configure() { |
Lines 34-41
Link Here
|
34 |
$(use_enable xattr xattr-support) \ |
36 |
$(use_enable xattr xattr-support) \ |
35 |
$(use_enable ipv6) \ |
37 |
$(use_enable ipv6) \ |
36 |
$(use_enable iconv) \ |
38 |
$(use_enable iconv) \ |
37 |
--with-rsyncd-conf=/etc/rsyncd.conf \ |
39 |
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf |
38 |
|| die |
|
|
39 |
} |
40 |
} |
40 |
|
41 |
|
41 |
src_install() { |
42 |
src_install() { |
Lines 60-66
Link Here
|
60 |
|
61 |
|
61 |
pkg_postinst() { |
62 |
pkg_postinst() { |
62 |
if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
63 |
if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
63 |
"${ROOT}"/etc/rsyncd.conf "${ROOT}"/etc/rsync/rsyncd.conf ; then |
64 |
"${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then |
64 |
ewarn "You have disabled chroot support in your rsyncd.conf. This" |
65 |
ewarn "You have disabled chroot support in your rsyncd.conf. This" |
65 |
ewarn "is a security risk which you should fix. Please check your" |
66 |
ewarn "is a security risk which you should fix. Please check your" |
66 |
ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." |
67 |
ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." |