1 |
darkside 12/02/28 19:34:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rsync-3.0.9-r1.ebuild |
5 |
Log: |
6 |
revision bump to support Gentoo Prefix. EAPI, KEYWORDS, EPREFIX/ED/EROOT usage, new files in FILESDIR. Bug 406061 |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.217 net-misc/rsync/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rsync/ChangeLog?rev=1.217&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rsync/ChangeLog?rev=1.217&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rsync/ChangeLog?r1=1.216&r2=1.217 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v |
20 |
retrieving revision 1.216 |
21 |
retrieving revision 1.217 |
22 |
diff -u -r1.216 -r1.217 |
23 |
--- ChangeLog 28 Feb 2012 18:07:20 -0000 1.216 |
24 |
+++ ChangeLog 28 Feb 2012 19:34:07 -0000 1.217 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-misc/rsync |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.216 2012/02/28 18:07:20 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.217 2012/02/28 19:34:07 darkside Exp $ |
30 |
+ |
31 |
+*rsync-3.0.9-r1 (28 Feb 2012) |
32 |
+ |
33 |
+ 28 Feb 2012; Jeremy Olexa <darkside@g.o> +files/rsyncd.conf-3.0.9-r1, |
34 |
+ +files/rsyncd.xinetd-3.0.9-r1, +rsync-3.0.9-r1.ebuild: |
35 |
+ revision bump to support Gentoo Prefix. EAPI, KEYWORDS, EPREFIX/ED/EROOT |
36 |
+ usage, new files in FILESDIR. Bug 406061 |
37 |
|
38 |
28 Feb 2012; Jeroen Roovers <jer@g.o> rsync-3.0.9.ebuild: |
39 |
Stable for HPPA (bug #406055). |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/rsync/rsync-3.0.9-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rsync/rsync-3.0.9-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rsync/rsync-3.0.9-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: rsync-3.0.9-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.9-r1.ebuild,v 1.1 2012/02/28 19:34:07 darkside Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
inherit eutils flag-o-matic prefix |
57 |
|
58 |
DESCRIPTION="File transfer program to keep remote files into sync" |
59 |
HOMEPAGE="http://rsync.samba.org/" |
60 |
SRC_URI="http://rsync.samba.org/ftp/rsync/src/${P/_/}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
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" |
65 |
IUSE="acl iconv ipv6 static xattr" |
66 |
|
67 |
DEPEND=">=dev-libs/popt-1.5 |
68 |
acl? ( virtual/acl ) |
69 |
xattr? ( kernel_linux? ( sys-apps/attr ) ) |
70 |
iconv? ( virtual/libiconv )" |
71 |
|
72 |
S=${WORKDIR}/${P/_/} |
73 |
|
74 |
src_prepare() { |
75 |
epatch_user |
76 |
} |
77 |
|
78 |
src_configure() { |
79 |
use static && append-ldflags -static |
80 |
econf \ |
81 |
--without-included-popt \ |
82 |
$(use_enable acl acl-support) \ |
83 |
$(use_enable xattr xattr-support) \ |
84 |
$(use_enable ipv6) \ |
85 |
$(use_enable iconv) \ |
86 |
--with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
emake DESTDIR="${D}" install |
91 |
newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd |
92 |
newinitd "${FILESDIR}"/rsyncd.init.d rsyncd |
93 |
dodoc NEWS OLDNEWS README TODO tech_report.tex |
94 |
insinto /etc |
95 |
newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf |
96 |
|
97 |
insinto /etc/logrotate.d |
98 |
newins "${FILESDIR}"/rsyncd.logrotate rsyncd |
99 |
|
100 |
insinto /etc/xinetd.d |
101 |
newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd |
102 |
|
103 |
# Install the useful contrib scripts |
104 |
exeinto /usr/share/rsync |
105 |
doexe support/* |
106 |
rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} |
107 |
|
108 |
eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
113 |
"${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then |
114 |
ewarn "You have disabled chroot support in your rsyncd.conf. This" |
115 |
ewarn "is a security risk which you should fix. Please check your" |
116 |
ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." |
117 |
fi |
118 |
} |