1 |
vapier 08/12/29 09:46:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rsync-3.0.5.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc18/cvs/Linux 2.6.28 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.178 net-misc/rsync/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rsync/ChangeLog?rev=1.178&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rsync/ChangeLog?rev=1.178&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rsync/ChangeLog?r1=1.177&r2=1.178 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v |
19 |
retrieving revision 1.177 |
20 |
retrieving revision 1.178 |
21 |
diff -u -r1.177 -r1.178 |
22 |
--- ChangeLog 27 Nov 2008 18:28:42 -0000 1.177 |
23 |
+++ ChangeLog 29 Dec 2008 09:46:14 -0000 1.178 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/rsync |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.177 2008/11/27 18:28:42 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.178 2008/12/29 09:46:14 vapier Exp $ |
29 |
+ |
30 |
+*rsync-3.0.5 (29 Dec 2008) |
31 |
+ |
32 |
+ 29 Dec 2008; Mike Frysinger <vapier@g.o> +rsync-3.0.5.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
27 Nov 2008; Jeroen Roovers <jer@g.o> rsync-3.0.4.ebuild: |
36 |
Stable for HPPA (bug #248439). |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-misc/rsync/rsync-3.0.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rsync/rsync-3.0.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rsync/rsync-3.0.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: rsync-3.0.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.5.ebuild,v 1.1 2008/12/29 09:46:14 vapier Exp $ |
50 |
|
51 |
inherit eutils flag-o-matic toolchain-funcs autotools |
52 |
|
53 |
DESCRIPTION="File transfer program to keep remote files into sync" |
54 |
HOMEPAGE="http://rsync.samba.org/" |
55 |
SRC_URI="http://rsync.samba.org/ftp/rsync/${P/_/}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-3" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
60 |
IUSE="acl iconv ipv6 static xattr xinetd" |
61 |
|
62 |
DEPEND=">=dev-libs/popt-1.5 |
63 |
acl? ( kernel_linux? ( sys-apps/acl ) ) |
64 |
xattr? ( kernel_linux? ( sys-apps/attr ) ) |
65 |
xinetd? ( sys-apps/xinetd ) |
66 |
iconv? ( virtual/libiconv )" |
67 |
|
68 |
S=${WORKDIR}/${P/_/} |
69 |
|
70 |
src_unpack() { |
71 |
unpack ${A} |
72 |
cd "${S}" |
73 |
|
74 |
local check base=${PORTAGE_CONFIGROOT}/etc/portage/patches |
75 |
for check in {${CATEGORY}/${PF},${CATEGORY}/${P},${CATEGORY}/${PN}}; do |
76 |
EPATCH_SOURCE=${base}/${CTARGET}/${check} |
77 |
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${CHOST}/${check} |
78 |
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${base}/${check} |
79 |
if [[ -d ${EPATCH_SOURCE} ]] ; then |
80 |
EPATCH_SUFFIX="patch" |
81 |
EPATCH_FORCE="yes" \ |
82 |
EPATCH_MULTI_MSG="Applying user patches from ${EPATCH_SOURCE} ..." \ |
83 |
epatch |
84 |
break |
85 |
fi |
86 |
done |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
use static && append-ldflags -static |
91 |
econf \ |
92 |
--without-included-popt \ |
93 |
$(use_enable acl acl-support) \ |
94 |
$(use_enable xattr xattr-support) \ |
95 |
$(use_enable ipv6) \ |
96 |
$(use_enable iconv) \ |
97 |
--with-rsyncd-conf=/etc/rsyncd.conf \ |
98 |
|| die |
99 |
emake || die "emake failed" |
100 |
} |
101 |
|
102 |
pkg_preinst() { |
103 |
if [[ -e ${ROOT}/etc/rsync/rsyncd.conf ]] && [[ ! -e ${ROOT}/etc/rsyncd.conf ]] ; then |
104 |
mv "${ROOT}"/etc/rsync/rsyncd.conf "${ROOT}"/etc/rsyncd.conf |
105 |
rm -f "${ROOT}"/etc/rsync/.keep |
106 |
rmdir "${ROOT}"/etc/rsync >& /dev/null |
107 |
fi |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
emake DESTDIR="${D}" install || die "make install failed" |
112 |
newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd |
113 |
newinitd "${FILESDIR}"/rsyncd.init.d rsyncd |
114 |
dodoc NEWS OLDNEWS README TODO tech_report.tex |
115 |
insinto /etc |
116 |
doins "${FILESDIR}"/rsyncd.conf |
117 |
|
118 |
insinto /etc/logrotate.d |
119 |
newins "${FILESDIR}"/rsyncd.logrotate rsyncd |
120 |
|
121 |
if use xinetd ; then |
122 |
insinto /etc/xinetd.d |
123 |
newins "${FILESDIR}"/rsyncd.xinetd rsyncd |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
ewarn "The rsyncd.conf file has been moved for you to /etc/rsyncd.conf" |
129 |
echo |
130 |
ewarn "Please make sure you do NOT disable the rsync server running" |
131 |
ewarn "in a chroot. Please check /etc/rsyncd.conf and make sure" |
132 |
ewarn "it says: use chroot = yes" |
133 |
} |