/[gentoo-x86]/net-misc/rsync/rsync-2.4.6-r3.ebuild
Gentoo

Contents of /net-misc/rsync/rsync-2.4.6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jan 26 15:23:37 2002 UTC (18 years, 2 months ago) by verwilst
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
new version of rsync, remote security fix and other enhancements. And
some cleaning up of old ebuilds

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.4.6-r3.ebuild,v 1.3 2001/08/11 04:53:17 drobbins Exp $
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="File transfer program to keep remote files into sync"
9 SRC_URI="http://rsync.samba.org/ftp/rsync/${A}"
10 HOMEPAGE="http://rsync.samba.org"
11
12 DEPEND="virtual/glibc"
13
14 src_unpack() {
15 unpack ${A}
16 cd ${S}
17 #change confdir to /etc/rsync rather than just /etc (the --sysconfdir configure option doesn't work
18 cp rsync.h rsync.h.orig
19 sed -e 's:RSYNCD_CONF "/etc/rsyncd.conf":RSYNCD_CONF "/etc/rsync/rsyncd.conf":g' rsync.h.orig > rsync.h
20 #yes, updating the man page is very important.
21 cp rsyncd.conf.5 rsyncd.conf.5.orig
22 sed -e 's:/etc/rsyncd:/etc/rsync/rsyncd:g' rsyncd.conf.5.orig > rsyncd.conf.5
23 }
24
25 src_compile() {
26
27 try ./configure --prefix=/usr --host=${CHOST}
28 if [ "`use static`" ] ; then
29 try make LDFLAGS="-static"
30 else
31 try make
32 fi
33
34 }
35
36 src_install () {
37
38 if [ -z "`use build`" ] ; then
39 try make prefix=${D}/usr mandir=${D}/usr/share/man install
40 dodir /etc/rsync
41 dodoc COPYING README
42 else
43 dobin rsync
44 fi
45
46 }
47
48

  ViewVC Help
Powered by ViewVC 1.1.20