From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93AF1139085 for ; Sun, 1 Jan 2017 14:11:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37885E0E8C; Sun, 1 Jan 2017 14:11:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03183E0E8C for ; Sun, 1 Jan 2017 14:10:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 439B4340EE8 for ; Sun, 1 Jan 2017 14:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1BA6825A5 for ; Sun, 1 Jan 2017 14:10:56 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1483279848.13cfe82d6a1d387a042da3b9ec6a0e7a2733cf3d.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/http-replicator/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/http-replicator/http-replicator-3.0-r4.ebuild net-proxy/http-replicator/http-replicator-3.0-r6.ebuild X-VCS-Directories: net-proxy/http-replicator/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 13cfe82d6a1d387a042da3b9ec6a0e7a2733cf3d X-VCS-Branch: master Date: Sun, 1 Jan 2017 14:10:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d88a7214-857a-42a3-8491-22c9bbe60a31 X-Archives-Hash: c1cd43b289164108bb28d50990697f54 commit: 13cfe82d6a1d387a042da3b9ec6a0e7a2733cf3d Author: Michael Palimaka gentoo org> AuthorDate: Sun Jan 1 14:08:22 2017 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sun Jan 1 14:10:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cfe82d net-proxy/http-replicator: remove old Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../http-replicator/http-replicator-3.0-r4.ebuild | 68 ----------------- .../http-replicator/http-replicator-3.0-r6.ebuild | 85 ---------------------- 2 files changed, 153 deletions(-) diff --git a/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild b/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild deleted file mode 100644 index 554ffdd..00000000 --- a/net-proxy/http-replicator/http-replicator-3.0-r4.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 -PYTHON_DEPEND="2:2.7:2.7" # not 2.6 bug #33907, not 3.0 bug #411083 -inherit eutils python systemd - -MY_P="${PN}_${PV}" - -DESCRIPTION="Proxy cache for Gentoo packages" -HOMEPAGE="https://sourceforge.net/projects/http-replicator" -SRC_URI="mirror://sourceforge/http-replicator/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 hppa ppc ~sparc x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_compile() { - epatch "${FILESDIR}/http-replicator-3.0-sighup.patch" - einfo "No compilation necessary" -} - -src_install(){ - # Daemon and repcacheman into /usr/bin - dobin http-replicator - newexe "${FILESDIR}/http-replicator-3.0-callrepcacheman-0.1" repcacheman - newexe "${FILESDIR}/http-replicator-3.0-repcacheman-0.44-r2" repcacheman.py - - # init.d scripts - newinitd "${FILESDIR}/http-replicator-3.0.init" http-replicator - newconfd "${FILESDIR}/http-replicator-3.0.conf" http-replicator - - systemd_dounit "${FILESDIR}"/http-replicator.service - systemd_install_serviced "${FILESDIR}"/http-replicator.service.conf - - # not 2.6 bug #33907, not 3.0 bug #411083 - python_convert_shebangs -r 2.7 "${ED}" - - # Docs - dodoc README debian/changelog - - # Man Page - Not Gentooified yet - doman http-replicator.1 - - insinto /etc/logrotate.d - newins debian/logrotate http-replicator -} - -pkg_postinst() { - einfo - einfo "Before starting http-replicator, please follow the next few steps:" - einfo "- modify /etc/conf.d/http-replicator if required" - einfo "- run /usr/bin/repcacheman to set up the cache" - einfo "- add http_proxy=\"http://serveraddress:8080\" to make.conf on" - einfo " the server as well as on the client machines" - einfo "- make sure GENTOO_MIRRORS in /etc/make.conf starts with several" - einfo " good http mirrors" - einfo - einfo "For more information please refer to the following forum thread:" - einfo " https://forums.gentoo.org/viewtopic-t-173226.html" - einfo -} diff --git a/net-proxy/http-replicator/http-replicator-3.0-r6.ebuild b/net-proxy/http-replicator/http-replicator-3.0-r6.ebuild deleted file mode 100644 index 770647b..00000000 --- a/net-proxy/http-replicator/http-replicator-3.0-r6.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) # not 2.6 bug #33907, not 3.0 bug #411083 -inherit eutils python-single-r1 systemd - -MY_P="${PN}_${PV}" - -DESCRIPTION="Proxy cache for Gentoo packages" -HOMEPAGE="https://sourceforge.net/projects/http-replicator" -SRC_URI="mirror://sourceforge/http-replicator/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 hppa ~ppc ~sparc ~x86" - -PATCHES=( - "${FILESDIR}/http-replicator-3.0-sighup.patch" - "${FILESDIR}/http-replicator-3-unique-cache-name.patch" - "${FILESDIR}/http-replicator-3-missing-directory.patch" -) - -src_install(){ - python-single-r1_pkg_setup - - # Daemon and repcacheman into /usr/bin - python_scriptinto /usr/bin - python_doexe http-replicator - python_newexe "${FILESDIR}/http-replicator-3.0-repcacheman-0.44-r2" repcacheman.py - - exeinto /usr/bin - newexe "${FILESDIR}/http-replicator-3.0-callrepcacheman-0.1" repcacheman - - # init.d scripts - newinitd "${FILESDIR}/http-replicator-3.0.init" http-replicator - newconfd "${FILESDIR}/http-replicator-3.0.conf" http-replicator - - systemd_dounit "${FILESDIR}"/http-replicator.service - systemd_install_serviced "${FILESDIR}"/http-replicator.service.conf - - # Docs - dodoc README debian/changelog - - # Man Page - Not Gentooified yet - doman http-replicator.1 - - insinto /etc/logrotate.d - newins debian/logrotate http-replicator -} - -pkg_postinst() { - elog - ewarn "Before starting http-replicator, please follow the next few steps:" - elog "- Modify /etc/conf.d/http-replicator if required." - ewarn "- Run /usr/bin/repcacheman to set up the cache." - elog "- Add http_proxy=\"http://serveraddress:8080\" to make.conf on" - elog " the server as well as on the client machines." - elog "- Make sure FETCHCOMMAND adds the X-unique-cache-name header to" - elog " HTTP requests in make.conf (or maybe portage will add it to" - elog " the default make.globals someday). Example:" - elog ' FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" --header=\"X-unique-cache-name: \${FILE}\" \"\${URI}\""' - elog ' RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" --header=\"X-unique-cache-name: \${FILE}\" \"\${URI}\""' - elog "- Arrange to periodically run repcacheman on this server," - elog " to clean up the local /usr/portage/distfiles directory." - elog "- Arrange to periodically run something like the following" - elog " on this server. 'eclean' is in app-portage/gentoolkit." - elog " ( export DISTDIR=/var/cache/http-replicator/" - elog " eclean -i distfiles )" - elog "- Even with FETCHCOMMAND fixing most cases, occasionally" - elog " an older invalid version of a file may end up in the cache," - elog " causing checksum failures when portage tries to fetch" - elog " it. To recover, either use eclean (above), manually delete" - elog " the relevant file from the cache, or temporarily comment" - elog " out the http_proxy setting. Commenting only requires" - elog " access to client config, not server cache." - elog "- Make sure GENTOO_MIRRORS in /etc/portage/make.conf starts" - elog " with several good http mirrors." - elog - elog "For more information please refer to the following forum thread:" - elog " http://forums.gentoo.org/viewtopic-t-173226.html" - elog -}