summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-02-16 11:25:40 +0000
committerMichael Imhof <tantive@gentoo.org>2003-02-16 11:25:40 +0000
commit8a97e170451e339fa3e67d14eaec435579df6593 (patch)
tree40198df264c597d48c262b2e42ed351cc9dcd433 /app-admin/gentoo-rsync-mirror
parentnew strace and added mips to keywords (diff)
downloadhistorical-8a97e170451e339fa3e67d14eaec435579df6593.tar.gz
historical-8a97e170451e339fa3e67d14eaec435579df6593.tar.bz2
historical-8a97e170451e339fa3e67d14eaec435579df6593.zip
Added a pearl script from Tim Haynes for rsync stats.
Diffstat (limited to 'app-admin/gentoo-rsync-mirror')
-rw-r--r--app-admin/gentoo-rsync-mirror/ChangeLog7
-rw-r--r--app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r10
-rw-r--r--app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r1.ebuild43
3 files changed, 49 insertions, 1 deletions
diff --git a/app-admin/gentoo-rsync-mirror/ChangeLog b/app-admin/gentoo-rsync-mirror/ChangeLog
index 16060268f710..8919ba266afd 100644
--- a/app-admin/gentoo-rsync-mirror/ChangeLog
+++ b/app-admin/gentoo-rsync-mirror/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for app-admin/gentoo-rsync-mirror
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/ChangeLog,v 1.3 2003/02/13 20:37:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/ChangeLog,v 1.4 2003/02/16 11:25:40 tantive Exp $
+*gentoo-rsync-mirror-1.0-r1 (16 Feb 2003)
+
+ 16 Feb 2003; Michael Imhof <tantive@gentoo.org> :
+ Added the rsynclogparse-extended.pl script from Tim Haynes for running
+ statistics of an rsync.log.
*gentoo-rsync-mirror-1.0 (10 Feb 2003)
diff --git a/app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r1 b/app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r1
diff --git a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r1.ebuild b/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r1.ebuild
new file mode 100644
index 000000000000..d199d6a7d368
--- /dev/null
+++ b/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r1.ebuild,v 1.1 2003/02/16 11:25:40 tantive Exp $
+
+S=${WORKDIR}/gentoo-rsync-mirror-${PV}
+DESCRIPTION="Ebuild for setting up an gentoo rsync mirror"
+HOMEPAGE="http://www.gentoo.org/doc/en/rsync.xml"
+IUSE=""
+
+DEPEND="virtual/glibc"
+RDEPEND="net-misc/rsync
+ sys-devel/perl"
+SLOT="0"
+LICENSE="unknown"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+src_install() {
+ dodir /opt/gentoo-rsync
+ cp ${FILESDIR}/rsync-gentoo-portage.sh ${D}/opt/gentoo-rsync
+ cp ${FILESDIR}/rsynclogparse-extended.pl ${D}/opt/gentoo-rsync
+ insinto etc/rsync
+ doins ${FILESDIR}/rsyncd.conf
+ doins ${FILESDIR}/rsyncd.motd
+ dodir /opt/gentoo-rsync/portage
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/rsyncd.init rsyncd
+}
+
+pkg_postinst() {
+ einfo "The rsync-mirror is now installed into /opt/gentoo-rsync"
+ einfo "The local portage copy resists in /opt/gentoo-rsync/portage"
+ einfo "Please change /opt/gentoo-rsync/rsync-gentoo-portage.sh for"
+ einfo "configuration of your main rsync server and use it so sync."
+ einfo "Change /etc/rsync/rsyncd.motd to display your correct alias."
+ einfo
+ einfo "The service can be started using /etc/init.d/rsyncd start"
+ einfo "Don't forget to add"
+ einfo "00,30 * * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
+ einfo "to your /etc/crontab to sync your tree every 30 minutes."
+ einfo
+ einfo "For more information visit: http://www.gentoo.org/doc/en/rsync.xml"
+}
+