Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/gentoo-rsync-mirror/
Date: Thu, 04 May 2017 07:15:50
Message-Id: 1493882082.7e20ffbb4166c7587d09856e850a2a3ac8136e39.amynka@gentoo
1 commit: 7e20ffbb4166c7587d09856e850a2a3ac8136e39
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 4 07:14:42 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Thu May 4 07:14:42 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e20ffbb
7
8 app-admin/gentoo-rsync-mirror: remove old
9
10 Package-Manager: portage-2.3.3
11
12 .../gentoo-rsync-mirror-1.0-r4.ebuild | 49 ----------------------
13 1 file changed, 49 deletions(-)
14
15 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
16 deleted file mode 100644
17 index a6d6fb5792c..00000000000
18 --- a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild
19 +++ /dev/null
20 @@ -1,49 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -DESCRIPTION="Ebuild for setting up a Gentoo rsync mirror"
25 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync"
26 -SRC_URI=""
27 -
28 -LICENSE="GPL-2"
29 -SLOT="0"
30 -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
31 -IUSE=""
32 -
33 -src_install() {
34 - dodir /opt/gentoo-rsync
35 - cp "${FILESDIR}"/rsync-gentoo-portage.sh "${D}"/opt/gentoo-rsync
36 - cp "${FILESDIR}"/rsynclogparse-extended.pl "${D}"/opt/gentoo-rsync
37 - insinto etc/rsync
38 - doins "${FILESDIR}"/rsyncd.conf
39 - doins "${FILESDIR}"/rsyncd.motd
40 - doins "${FILESDIR}"/gentoo-mirror.conf
41 - dodir /opt/gentoo-rsync/portage
42 -}
43 -
44 -pkg_postinst() {
45 - elog "The rsync-mirror is now installed into /opt/gentoo-rsync"
46 - elog "The local portage copy resides in /opt/gentoo-rsync/portage"
47 - elog "Please change /opt/gentoo-rsync/rsync-gentoo-portage.sh for"
48 - elog "configuration of your main rsync server and use it so sync."
49 - elog "Change /etc/rsync/rsyncd.motd to display your correct alias."
50 - elog
51 - elog "RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf" needs"
52 - elog "to be set in /etc/conf.d/rsyncd to make allow syncing."
53 - elog
54 - elog "The service can be started using /etc/init.d/rsyncd start"
55 - elog "If you are setting up an official mirror, don't forget to add"
56 - elog "00,30 * * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
57 - elog "to your /etc/crontab to sync your tree every 30 minutes."
58 - elog
59 - elog "If you are setting up a private (unofficial) mirror, you can add"
60 - elog "0 3 * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
61 - elog "to your /etc/crontab to sync your tree once per day."
62 - elog
63 - elog "****IMPORTANT****"
64 - elog "If you are setting up a private mirror, DO NOT sync against the"
65 - elog "gentoo.org official rotations more than once a day. Doing so puts"
66 - elog "you at risk of having your IP address banned from the rotations."
67 - elog
68 - elog "For more information visit: https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync"
69 -}