1 |
commit: de52f386878589c01818b3f91c4474e45854945e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 14:46:48 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 16 14:46:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de52f386 |
7 |
|
8 |
app-admin/gentoo-rsync-mirror: drop 1.0-r5 (EAPI 5) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/790059 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../gentoo-rsync-mirror-1.0-r5.ebuild | 53 ---------------------- |
14 |
1 file changed, 53 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild b/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild |
17 |
deleted file mode 100644 |
18 |
index b2eaae68613..00000000000 |
19 |
--- a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,53 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-DESCRIPTION="Ebuild for setting up a Gentoo rsync mirror" |
28 |
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync" |
29 |
-SRC_URI="" |
30 |
- |
31 |
-LICENSE="GPL-2" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86" |
34 |
-IUSE="" |
35 |
- |
36 |
-S="${WORKDIR}" |
37 |
- |
38 |
-src_install() { |
39 |
- exeinto /opt/gentoo-rsync |
40 |
- doexe "${FILESDIR}"/rsync-gentoo-portage.sh |
41 |
- doexe "${FILESDIR}"/rsynclogparse-extended.pl |
42 |
- insinto etc/rsync |
43 |
- doins "${FILESDIR}"/rsyncd.conf |
44 |
- doins "${FILESDIR}"/rsyncd.motd |
45 |
- doins "${FILESDIR}"/gentoo-mirror.conf |
46 |
- dodir /opt/gentoo-rsync/portage |
47 |
-} |
48 |
- |
49 |
-pkg_postinst() { |
50 |
- elog "The rsync-mirror is now installed into /opt/gentoo-rsync" |
51 |
- elog "The local portage copy resides in /opt/gentoo-rsync/portage" |
52 |
- elog "Please change /opt/gentoo-rsync/rsync-gentoo-portage.sh for" |
53 |
- elog "configuration of your main rsync server and use it to sync." |
54 |
- elog "Change /etc/rsync/rsyncd.motd to display your correct alias." |
55 |
- elog |
56 |
- elog "RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf" needs" |
57 |
- elog "to be set in /etc/conf.d/rsyncd to make allow syncing." |
58 |
- elog |
59 |
- elog "The service can be started using /etc/init.d/rsyncd start" |
60 |
- elog "If you are setting up an official mirror, don't forget to add" |
61 |
- elog "00,30 * * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh" |
62 |
- elog "to your /etc/crontab to sync your tree every 30 minutes." |
63 |
- elog |
64 |
- elog "If you are setting up a private (unofficial) mirror, you can add" |
65 |
- elog "0 3 * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh" |
66 |
- elog "to your /etc/crontab to sync your tree once per day." |
67 |
- elog |
68 |
- elog "****IMPORTANT****" |
69 |
- elog "If you are setting up a private mirror, DO NOT sync against the" |
70 |
- elog "gentoo.org official rotations more than once a day. Doing so puts" |
71 |
- elog "you at risk of having your IP address banned from the rotations." |
72 |
- elog |
73 |
- elog "For more information visit: https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync" |
74 |
-} |