diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-12-15 15:34:38 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-12-15 15:34:38 +0000 |
commit | b9e46749d4ff5c67ba688806a5b1a604af762592 (patch) | |
tree | 0c96ddd0923dd8f31338455bc1e2c9adff67132e /net-misc | |
parent | Upgraded to new version and re-enabled xft support since it seems to (diff) | |
download | historical-b9e46749d4ff5c67ba688806a5b1a604af762592.tar.gz historical-b9e46749d4ff5c67ba688806a5b1a604af762592.tar.bz2 historical-b9e46749d4ff5c67ba688806a5b1a604af762592.zip |
updated linux-sources, still needs testing. New, more robust version of
rsync.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/rsync/files/digest-rsync-2.5.0 | 1 | ||||
-rw-r--r-- | net-misc/rsync/rsync-2.5.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/rsync/files/digest-rsync-2.5.0 b/net-misc/rsync/files/digest-rsync-2.5.0 new file mode 100644 index 000000000000..4d6e61608152 --- /dev/null +++ b/net-misc/rsync/files/digest-rsync-2.5.0 @@ -0,0 +1 @@ +MD5 57e1a945afbb2e63f58919a7de9c6885 rsync-2.5.0.tar.gz 442368 diff --git a/net-misc/rsync/rsync-2.5.0.ebuild b/net-misc/rsync/rsync-2.5.0.ebuild new file mode 100644 index 000000000000..3e1610ba7df3 --- /dev/null +++ b/net-misc/rsync/rsync-2.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.5.0.ebuild,v 1.1 2001/12/15 15:34:38 drobbins Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="File transfer program to keep remote files into sync" +SRC_URI="http://rsync.samba.org/ftp/rsync/${P}.tar.gz" +HOMEPAGE="http://rsync.samba.org" +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} +#change confdir to /etc/rsync rather than just /etc (the --sysconfdir configure option doesn't work + cp rsync.h rsync.h.orig + sed -e 's:RSYNCD_CONF "/etc/rsyncd.conf":RSYNCD_CONF "/etc/rsync/rsyncd.conf":g' rsync.h.orig > rsync.h +#yes, updating the man page is very important. + cp rsyncd.conf.5 rsyncd.conf.5.orig + sed -e 's:/etc/rsyncd:/etc/rsync/rsyncd:g' rsyncd.conf.5.orig > rsyncd.conf.5 +} + +src_compile() { + ./configure --prefix=/usr --host=${CHOST} || die + if [ "`use static`" ] ; then + emake LDFLAGS="-static" || die + else + emake || die + fi +} + +src_install () { + make prefix=${D}/usr mandir=${D}/usr/share/man install || die + if [ -z "`use build`" ] + then + dodir /etc/rsync + dodoc COPYING README + else + rm -rf ${D}/usr/share + fi + +} + + |