diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-16 22:25:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-16 22:25:38 +0000 |
commit | b0ebfb7dfdb583c5e4070430e6ec41b8e3b53a51 (patch) | |
tree | 96743b1cb8dc454f891382acfc58b2b5f9669254 /net-misc/rsync | |
parent | Remove unused license file. (diff) | |
download | gentoo-2-b0ebfb7dfdb583c5e4070430e6ec41b8e3b53a51.tar.gz gentoo-2-b0ebfb7dfdb583c5e4070430e6ec41b8e3b53a51.tar.bz2 gentoo-2-b0ebfb7dfdb583c5e4070430e6ec41b8e3b53a51.zip |
Version bump #301149 by Bernhard Hartleb.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/rsync')
-rw-r--r-- | net-misc/rsync/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/rsync/rsync-3.0.7.ebuild | 64 |
2 files changed, 71 insertions, 2 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog index 3abf8f6cf4de..d0f890febf5b 100644 --- a/net-misc/rsync/ChangeLog +++ b/net-misc/rsync/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/rsync -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.196 2009/10/20 08:33:14 vapier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.197 2010/01/16 22:25:38 vapier Exp $ + +*rsync-3.0.7 (16 Jan 2010) + + 16 Jan 2010; Mike Frysinger <vapier@gentoo.org> +rsync-3.0.7.ebuild: + Version bump #301149 by Bernhard Hartleb. 20 Oct 2009; Mike Frysinger <vapier@gentoo.org> rsync-3.0.6.ebuild: Drop USE=xinetd and just always install the conf file. diff --git a/net-misc/rsync/rsync-3.0.7.ebuild b/net-misc/rsync/rsync-3.0.7.ebuild new file mode 100644 index 000000000000..ac3da9c5c5fa --- /dev/null +++ b/net-misc/rsync/rsync-3.0.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.7.ebuild,v 1.1 2010/01/16 22:25:38 vapier Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="File transfer program to keep remote files into sync" +HOMEPAGE="http://rsync.samba.org/" +SRC_URI="http://rsync.samba.org/ftp/rsync/src/${P/_/}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="acl iconv ipv6 static xattr" + +DEPEND=">=dev-libs/popt-1.5 + acl? ( virtual/acl ) + xattr? ( kernel_linux? ( sys-apps/attr ) ) + iconv? ( virtual/libiconv )" + +S=${WORKDIR}/${P/_/} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch_user +} + +src_compile() { + use static && append-ldflags -static + econf \ + --without-included-popt \ + $(use_enable acl acl-support) \ + $(use_enable xattr xattr-support) \ + $(use_enable ipv6) \ + $(use_enable iconv) \ + --with-rsyncd-conf=/etc/rsyncd.conf \ + || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd + newinitd "${FILESDIR}"/rsyncd.init.d rsyncd || die + dodoc NEWS OLDNEWS README TODO tech_report.tex + insinto /etc + doins "${FILESDIR}"/rsyncd.conf || die + + insinto /etc/logrotate.d + newins "${FILESDIR}"/rsyncd.logrotate rsyncd + + insinto /etc/xinetd.d + newins "${FILESDIR}"/rsyncd.xinetd rsyncd +} + +pkg_postinst() { + if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ + "${ROOT}"/etc/rsyncd.conf "${ROOT}"/etc/rsync/rsyncd.conf ; then + ewarn "You have disabled chroot support in your rsyncd.conf. This" + ewarn "is a security risk which you should fix. Please check your" + ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." + fi +} |