Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

net-misc/rsync-3.0.9-r2 with some patches to detect moved files

  • Loading branch information...
commit be914041ecdd0a94507ee64189ea93c7d2195c5a 1 parent 2643f75
@wmark authored
View
12 net-misc/rsync/Manifest
@@ -0,0 +1,12 @@
+AUX rsyncd.conf 405 SHA256 b7dfb2957fa900de915da3667546e3499a952a51c92388abea79244d34a9a815 SHA512 d847bba13ea888128490e00181c98638c1ed1b65ad5b79393e9578a8af5c2c0438a39a0b3fb69472b5f47f61fb2ad3ed52fbc9d8d4b9dfb88140695640045637 WHIRLPOOL 8c32c39ad948650f66b9518b2599f6bad12d9cac86139f7b995dfb0fe839d6865ad772e27fb600f17f1cf86cc858271e0deed8c1cb2e5197736dffd3fb407176
+AUX rsyncd.conf-3.0.9-r1 453 SHA256 fff0bc9e6ca76c92d07d4d048e9f93000b0b47301eba71a82af86941b8f30c4b SHA512 9bc723c6d026f42fe53ffc8a1476d9cf85a14f17393686898a5765bd857883bc74056d1efc28265830a9dc35789e69f9680e50b180e31681f725b36388bc4fb1 WHIRLPOOL 6075d5c5a0615e85d2495c8143a4d118f866ec0f725155c2c40203fbfdfc1779bda5a1f397138212d231f215886023d51b153d1715d197ec4b2f4bc75a5563f8
+AUX rsyncd.conf.d 149 SHA256 de758791b16b89a648c01867af7f51bc9bd44e40cbe868e439b753ff5d9572e5 SHA512 8ea9a2f1fea508fa132313fa16513eac84a9ed3ce75741c42769b56bbcd3f1bd2eb8bfdfe40a6c7f619e4281e8fc8d95d1bd84096d0b64aaacf606cd614ae5b3 WHIRLPOOL ac5098df8772c66d4d8070fbefe0194d8c44345d14a547f2cd59737f2dcb2023b59285117b07bbc2d711302f7736dd761d5e5498913c1878c3512d9fb5d5e36e
+AUX rsyncd.init.d 558 SHA256 08e620bac216e0acdb56d94198caebd7fd14b0a42e8465b2eb98b7420d369ab6 SHA512 db34bb5d326cb60d4c16b95f3107fb77bdd258efae2dbf90fa41ef91252becd03c87a23049a8304374825e4c1725133844c7b2d86b8363f39dadf6122ea98b3a WHIRLPOOL bafe6f0b4f4bf130ccd39040b6474db28046715bb39d5bb1f75ed995f57e2c3b7dc02f75decc87dbeb246ca0e7504677319662040456b1b5d3a4c96ac8484741
+AUX rsyncd.init.d-r1 357 SHA256 baff64277f9aa62cf1eeed2284bb08c4f3078a8e6e7604e4fec228ca5fa9dd82 SHA512 ad12edfb860a34cae1ddaf278ceec4c4cb06784e10248b68923696653ea374eaa9ac28de71f674bdd08d8381d147f1a4afd3ba0da15e673558f222d86c644d71 WHIRLPOOL a74e2547f976e9e959d7c74cc09bdbcae3be97e418b4685217e6e715e7a3b77c1d3f75fd117ae631f13ac58e0fd44359ec05b35542094959ce68e9341531fa13
+AUX rsyncd.logrotate 105 SHA256 eb54100686a253d4d14c9c67fcc20f92d88c0616692bffea899c6a8f8f980c7c SHA512 b8d6c0bb467a5c963317dc55478d2c10874564cd264d943d4a42037e2fce134fe001fabc92af5c6b5775e84dc310b1c8da147afaa61c99e5663c36580d8651a5 WHIRLPOOL 6c6a712ccb0934b5746640f8a52bc5a341fbf2f1b492fe709a8ea7b330048ffa405e1b785f3ca59a460a688330e6a43cb9fd7fca8838ba52214b5d0603adcc59
+AUX rsyncd.xinetd 170 SHA256 e19e99dc3daa12d5729dd972b637ed064a2b004a1c7fe75c9f2ebb5ab5997aa8 SHA512 3e043a5f98749a68ccd6537e6ce9810987f4c7be027581f1529e9ba35b0db9a630c126b99eb31d3a41846ff6a16a9b06d5dcc0496093652502b0aa6f160a1174 WHIRLPOOL d42fd1caf1533d76f59cede7015b47374098abe6b331c86b48f3355efb4c3d21abc009c1a23ed564440883eeeedcd908c3ee4b13d07733168590096a67d1f889
+AUX rsyncd.xinetd-3.0.9-r1 194 SHA256 17162f014242c9d5003578bed44b89cd2dc4f0ce2a200ac1facaa10a9aac8692 SHA512 fc053fc4748950343e866cc95284d037156a953454e4294d775f01f059e96e805582688bf1de5c965836889192ce4a663ec740e6ec2265406e509c5c6d6c3215 WHIRLPOOL 733f734e70d0c74ab6e472e656b8c83ddf816dca7e6c1130b999c2579713740db9362e5d517d0a8cf792b6859fd16d363f43ea8b531388f7abe93dcc1380ae42
+DIST rsync-3.0.9.tar.gz 792725 SHA256 30f10f8dd5490d28240d4271bb652b1da7a60b22ed2b9ae28090668de9247c05 SHA512 b08f9525d7af981b6010e99cc1fa2e39fea94db317a5078ad687adf2716160b0f67b9fad6d9e5b7db63749f031c925fe3b47599379a14a5565c71be85987d5ff WHIRLPOOL 0b1c6c6a310f813a0628b7bac36bc8bdbfffff4b641b93f5da0c6fd9f482958da40486c16ae9694af5382c63aa8e2ee733d79d7baef6e8e9b591cfb83617dcea
+DIST rsync-patches-3.0.9.tar.gz 172417 SHA256 0c1e9b56e99667dfc47641124460bac61a04c5d2ee89f575c6bc78c7a69005a9 SHA512 712f876a8a9d291623d72bcc7a4df73d11e709ed30205c384f8f26ccab5b406f9863c4867e3b8eb547cbeec01894984dcba3af92e9a85f0f59401796f7a2f7dd WHIRLPOOL aced50e522a31e15574a9a40d1f70b4689593f68ded7c49bedb296f92fef37555d5443922a81951ea6e5c7a4e2c2b187e022d85ebd2028ba56d8e9db7246cc6d
+EBUILD rsync-3.0.9-r2.ebuild 2565 SHA256 896fe0067b1412a56c0aceb5ffafe3534978bf8c66330962356b95154b2687b6 SHA512 9cbbfb7f1c7a32577ab35a6b1e36437cf667dd4d44c33a1392cda80cd11de8f5d94db7028c0a8daa160d4b9a7540ee56d83d5e5f0d72d1d3d527d76fb254078d WHIRLPOOL 351834bf6e55ab8bf7821b26f163c8d97558b5339801a923857b27a2706c14a4d0e0b2d7c526e689c325cd49149261e3ef9c6b5fb0d971b6defdd11494f8e2b0
+MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
View
15 net-misc/rsync/files/rsyncd.conf
@@ -0,0 +1,15 @@
+# /etc/rsyncd.conf
+
+# Minimal configuration file for rsync daemon
+# See rsync(1) and rsyncd.conf(5) man pages for help
+
+# This line is required by the /etc/init.d/rsyncd script
+pid file = /var/run/rsyncd.pid
+use chroot = yes
+read only = yes
+
+# Simple example for enabling your own local rsync server
+#[gentoo-portage]
+# path = /usr/portage
+# comment = Gentoo Portage tree
+# exclude = /distfiles /packages
View
15 net-misc/rsync/files/rsyncd.conf-3.0.9-r1
@@ -0,0 +1,15 @@
+# /etc/rsyncd.conf
+
+# Minimal configuration file for rsync daemon
+# See rsync(1) and rsyncd.conf(5) man pages for help
+
+# This line is required by the /etc/init.d/rsyncd script
+pid file = @GENTOO_PORTAGE_EPREFIX@/var/run/rsyncd.pid
+use chroot = yes
+read only = yes
+
+# Simple example for enabling your own local rsync server
+#[gentoo-portage]
+# path = @GENTOO_PORTAGE_EPREFIX@/usr/portage
+# comment = Gentoo Portage tree
+# exclude = /distfiles /packages
View
5 net-misc/rsync/files/rsyncd.conf.d
@@ -0,0 +1,5 @@
+# /etc/conf.d/rsyncd: config file for /etc/init.d/rsyncd
+
+# see man pages for rsync or run `rsync --help`
+# for valid cmdline options
+#RSYNC_OPTS=""
View
23 net-misc/rsync/files/rsyncd.init.d
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.init.d,v 1.5 2007/02/23 11:33:59 uberlord Exp $
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting rsyncd"
+ start-stop-daemon --start --exec /usr/bin/rsync \
+ --pidfile /var/run/rsyncd.pid \
+ -- --daemon ${RSYNC_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping rsyncd"
+ start-stop-daemon --stop --exec /usr/bin/rsync \
+ --pidfile /var/run/rsyncd.pid
+ eend $?
+}
View
12 net-misc/rsync/files/rsyncd.init.d-r1
@@ -0,0 +1,12 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.init.d-r1,v 1.1 2012/03/22 22:01:21 idl0r Exp $
+
+command="/usr/bin/rsync"
+command_args="--daemon ${RSYNC_OPTS}"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ use net
+}
View
9 net-misc/rsync/files/rsyncd.logrotate
@@ -0,0 +1,9 @@
+/var/log/rsync.log {
+ compress
+ maxage 365
+ rotate 7
+ size=+1024k
+ notifempty
+ missingok
+ copytruncate
+}
View
10 net-misc/rsync/files/rsyncd.xinetd
@@ -0,0 +1,10 @@
+service rsync
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /usr/bin/rsync
+ server_args = --daemon
+ disable = yes
+}
View
10 net-misc/rsync/files/rsyncd.xinetd-3.0.9-r1
@@ -0,0 +1,10 @@
+service rsync
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = @GENTOO_PORTAGE_EPREFIX@/usr/bin/rsync
+ server_args = --daemon
+ disable = yes
+}
View
5 net-misc/rsync/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>
View
77 net-misc/rsync/rsync-3.0.9-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Copyright 2012 W-Mark Kubacki
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic prefix
+
+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 http://rsync.samba.org/ftp/rsync/src/rsync-patches-${PV/_/}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="acl iconv ipv6 static xattr"
+
+LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] )
+ xattr? ( kernel_linux? ( sys-apps/attr[static-libs(+)] ) )
+ >=dev-libs/popt-1.5[static-libs(+)]"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ iconv? ( virtual/libiconv )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${P/_/}
+
+src_prepare() {
+ epatch_user
+ epatch "${S}"/patches/detect-renamed.diff
+ epatch "${S}"/patches/detect-renamed-lax.diff
+ epatch "${S}"/patches/adaptec_acl_mods.diff
+ epatch "${S}"/patches/time-limit.diff
+}
+
+src_configure() {
+ 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="${EPREFIX}"/etc/rsyncd.conf
+ touch proto.h-tstamp #421625
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd
+ newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd
+ dodoc NEWS OLDNEWS README TODO tech_report.tex
+ insinto /etc
+ newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/rsyncd.logrotate rsyncd
+
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd
+
+ # Install the useful contrib scripts
+ exeinto /usr/share/rsync
+ doexe support/*
+ rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c}
+
+ eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd*
+}
+
+pkg_postinst() {
+ if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
+ "${EROOT}"/etc/rsyncd.conf "${EROOT}"/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
+}
Please sign in to comment.
Something went wrong with that request. Please try again.