diff options
author | Bryon Roche <kain@gentoo.org> | 2002-04-19 01:35:02 +0000 |
---|---|---|
committer | Bryon Roche <kain@gentoo.org> | 2002-04-19 01:35:02 +0000 |
commit | a81c9763c2dae58a8041e4bc2c2f01784db2405b (patch) | |
tree | ab73a55e4c4244649e3c4b3295036a8cc277b825 /net-misc/rsync | |
parent | masked out new rsync for testing (diff) | |
download | gentoo-2-a81c9763c2dae58a8041e4bc2c2f01784db2405b.tar.gz gentoo-2-a81c9763c2dae58a8041e4bc2c2f01784db2405b.tar.bz2 gentoo-2-a81c9763c2dae58a8041e4bc2c2f01784db2405b.zip |
fixed rsync for build systems & libpopt dependency
Diffstat (limited to 'net-misc/rsync')
-rw-r--r-- | net-misc/rsync/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/rsync/files/digest-rsync-2.5.4-r1 | 1 | ||||
-rw-r--r-- | net-misc/rsync/rsync-2.5.4-r1.ebuild | 54 |
3 files changed, 61 insertions, 1 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog index 842fac6940ea..f4f58fa3f431 100644 --- a/net-misc/rsync/ChangeLog +++ b/net-misc/rsync/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/rsync # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.3 2002/03/16 04:35:42 blocke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.4 2002/04/19 01:35:02 kain Exp $ + +*rsync-2.5.4-r1 (18 Apr 2002) + + 18 Apr 2002; kain <kain@kain.org> rsync-2.5.4-r1.ebuild : Fix dependency to + libpopt so build images made with this will work. *rsync-2.5.4 (15 Mar 2002) diff --git a/net-misc/rsync/files/digest-rsync-2.5.4-r1 b/net-misc/rsync/files/digest-rsync-2.5.4-r1 new file mode 100644 index 000000000000..604f6b2fe7e4 --- /dev/null +++ b/net-misc/rsync/files/digest-rsync-2.5.4-r1 @@ -0,0 +1 @@ +MD5 cdea35a14fe8d01fef87336cc368da9a rsync-2.5.4.tar.gz 385672 diff --git a/net-misc/rsync/rsync-2.5.4-r1.ebuild b/net-misc/rsync/rsync-2.5.4-r1.ebuild new file mode 100644 index 000000000000..88c5b1c7d035 --- /dev/null +++ b/net-misc/rsync/rsync-2.5.4-r1.ebuild @@ -0,0 +1,54 @@ +# 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> +# /space/gentoo/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.5.4.ebuild,v 1.1 2002/03/16 04:35:42 blocke 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} --with-included-popt || 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 NEWS OLDNEWS README TODO tech_report.tex + else + rm -rf ${D}/usr/share + fi +} + +pkg_postinst() { + if [ ! -d /etc/rsync ] + then + mkdir /etc/rsync + fi +} |