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

Contents of /net-misc/rsync/rsync-2.4.6-r4.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-r4.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 try ./configure --prefix=/usr --host=${CHOST}
27 if [ "`use static`" ] ; then
28 try make LDFLAGS="-static"
29 else
30 try make
31 fi
32 }
33
34 src_install () {
35
36 try make prefix=${D}/usr mandir=${D}/usr/share/man install
37 if [ -z "`use build`" ] && [ -z "`use bootcd`" ] ; then
38 dodir /etc/rsync
39 dodoc COPYING README
40 else
41 rm -rf ${D}/usr/share
42 fi
43
44 }
45
46

  ViewVC Help
Powered by ViewVC 1.1.20