summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-05-04 09:14:42 +0200
committerAmy Liffey <amynka@gentoo.org>2017-05-04 09:14:42 +0200
commit7e20ffbb4166c7587d09856e850a2a3ac8136e39 (patch)
tree68199ae122d0b0ee56ae3c182636dccd6f89c607
parentnet-libs/openslp: Stable for HPPA (bug #595542). (diff)
downloadgentoo-7e20ffbb.tar.gz
gentoo-7e20ffbb.tar.bz2
gentoo-7e20ffbb.zip
app-admin/gentoo-rsync-mirror: remove old
Package-Manager: portage-2.3.3
-rw-r--r--app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild49
1 files changed, 0 insertions, 49 deletions
diff --git a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild b/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild
deleted file mode 100644
index a6d6fb5792c7..000000000000
--- a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DESCRIPTION="Ebuild for setting up a Gentoo rsync mirror"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE=""
-
-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
- doins "${FILESDIR}"/gentoo-mirror.conf
- dodir /opt/gentoo-rsync/portage
-}
-
-pkg_postinst() {
- elog "The rsync-mirror is now installed into /opt/gentoo-rsync"
- elog "The local portage copy resides in /opt/gentoo-rsync/portage"
- elog "Please change /opt/gentoo-rsync/rsync-gentoo-portage.sh for"
- elog "configuration of your main rsync server and use it so sync."
- elog "Change /etc/rsync/rsyncd.motd to display your correct alias."
- elog
- elog "RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf" needs"
- elog "to be set in /etc/conf.d/rsyncd to make allow syncing."
- elog
- elog "The service can be started using /etc/init.d/rsyncd start"
- elog "If you are setting up an official mirror, don't forget to add"
- elog "00,30 * * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
- elog "to your /etc/crontab to sync your tree every 30 minutes."
- elog
- elog "If you are setting up a private (unofficial) mirror, you can add"
- elog "0 3 * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
- elog "to your /etc/crontab to sync your tree once per day."
- elog
- elog "****IMPORTANT****"
- elog "If you are setting up a private mirror, DO NOT sync against the"
- elog "gentoo.org official rotations more than once a day. Doing so puts"
- elog "you at risk of having your IP address banned from the rotations."
- elog
- elog "For more information visit: https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync"
-}