diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-03 16:34:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-03 16:34:38 +0000 |
commit | d73a0e732a44dfcfdd7fe7277e3d4d7f55f80195 (patch) | |
tree | 76ac38dc0178d5f8637004e09ca483194216a009 /net-misc/rsync | |
parent | Fixed compile bug when >=dev-libs/eb-4 (diff) | |
download | historical-d73a0e732a44dfcfdd7fe7277e3d4d7f55f80195.tar.gz historical-d73a0e732a44dfcfdd7fe7277e3d4d7f55f80195.tar.bz2 historical-d73a0e732a44dfcfdd7fe7277e3d4d7f55f80195.zip |
ver bump #37009
Diffstat (limited to 'net-misc/rsync')
-rw-r--r-- | net-misc/rsync/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/rsync/files/digest-rsync-2.6.0 | 2 | ||||
-rw-r--r-- | net-misc/rsync/rsync-2.6.0.ebuild | 64 |
3 files changed, 72 insertions, 1 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog index 7b084ae4478e..2856ee00f9d7 100644 --- a/net-misc/rsync/ChangeLog +++ b/net-misc/rsync/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/rsync # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.34 2003/12/04 09:14:51 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.35 2004/01/03 16:34:38 vapier Exp $ + +*rsync-2.6.0 (03 Jan 2003) + + 03 Jan 2003; Mike Frysinger <vapier@gentoo.org> : + Version bumpage #37009. *rsync-2.5.7 (04 Dec 2003) diff --git a/net-misc/rsync/files/digest-rsync-2.6.0 b/net-misc/rsync/files/digest-rsync-2.6.0 new file mode 100644 index 000000000000..8ced31bf6984 --- /dev/null +++ b/net-misc/rsync/files/digest-rsync-2.6.0 @@ -0,0 +1,2 @@ +MD5 3f24bf31aec0a657eb3b6844c3f09f21 rsync-2.6.0.tar.gz 464920 +MD5 a399e227a18ea3f2eb5aa2b401006d2d rsync-2.5.6-proxy-auth-1.patch 4353 diff --git a/net-misc/rsync/rsync-2.6.0.ebuild b/net-misc/rsync/rsync-2.6.0.ebuild new file mode 100644 index 000000000000..05ea4b561918 --- /dev/null +++ b/net-misc/rsync/rsync-2.6.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.6.0.ebuild,v 1.1 2004/01/03 16:34:38 vapier Exp $ + +inherit eutils flag-o-matic gcc + +DESCRIPTION="File transfer program to keep remote files into sync" +HOMEPAGE="http://rsync.samba.org/" +SRC_URI="http://rsync.samba.org/ftp/rsync/${P}.tar.gz + http://www.imada.sdu.dk/~bardur/personal/patches/${PN}-proxy-auth/${PN}-2.5.6-proxy-auth-1.patch" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64" + +DEPEND="virtual/glibc + >=sys-apps/sed-4 + !build? ( >=dev-libs/popt-1.5 )" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + epatch ${DISTDIR}/${PN}-2.5.6-proxy-auth-1.patch + + # change confdir to /etc/rsync rather than just /etc (the --sysconfdir + # configure option doesn't work + sed -i 's|/etc/rsyncd.conf|/etc/rsync/rsyncd.conf|g' rsync.h + # yes, updating the man page is very important. + sed -i 's|/etc/rsyncd|/etc/rsync/rsyncd|g' rsyncd.conf.5 +} + +src_compile() { + [ "`gcc-version`" == "2.95" ] && append-ldflags -lpthread + use static && append-ldflags -static + econf `use_with build included-popt` || die + emake || die +} + +src_install() { + make install DESTDIR=${D} || die + insinto /etc/conf.d && newins ${FILESDIR}/rsyncd.conf.d rsyncd + exeinto /etc/init.d && newexe ${FILESDIR}/rsyncd.init.d rsyncd + if [ ! `use build` ] ; then + dodir /etc/rsync + dodoc COPYING NEWS OLDNEWS README TODO tech_report.tex + if [ ! -e /etc/rsync/rsyncd.conf ] ; then + insinto /etc/rsync + doins ${FILESDIR}/rsyncd.conf + fi + else + rm -rf ${D}/usr/share + fi +} + +pkg_postinst() { + ewarn "Please make sure you do NOT disable the rsync server running" + ewarn "in a chroot. Please check /etc/rsync/rsyncd.conf and make sure" + ewarn "it says: use chroot = yes" + + einfo 'This patch enables usage of user:pass@proxy.foo:port' + einfo 'in the RSYNC_PROXY environment variable to support' + einfo 'the "Basic" proxy authentication scheme if you are' + einfo 'behind a password protected HTTP proxy.' +} |