Gentoo Archives: gentoo-commits

From: "Maurice van der Pot (griffon26)" <griffon26@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/http-replicator: ChangeLog http-replicator-3.0-r2.ebuild
Date: Mon, 23 Mar 2009 19:07:02
Message-Id: E1LlpUC-00024k-9A@stork.gentoo.org
1 griffon26 09/03/23 19:07:00
2
3 Modified: ChangeLog
4 Added: http-replicator-3.0-r2.ebuild
5 Log:
6 Make net-proxy/http-replicator install later version of repcacheman to prevent portage deprecation warnings.
7 (Portage version: 2.1.6.8/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.26 net-proxy/http-replicator/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/http-replicator/ChangeLog?rev=1.26&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/http-replicator/ChangeLog?rev=1.26&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/http-replicator/ChangeLog?r1=1.25&r2=1.26
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v
19 retrieving revision 1.25
20 retrieving revision 1.26
21 diff -u -r1.25 -r1.26
22 --- ChangeLog 20 Jan 2009 19:54:07 -0000 1.25
23 +++ ChangeLog 23 Mar 2009 19:07:00 -0000 1.26
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-proxy/http-replicator
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v 1.25 2009/01/20 19:54:07 griffon26 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v 1.26 2009/03/23 19:07:00 griffon26 Exp $
29 +
30 +*http-replicator-3.0-r2 (23 Mar 2009)
31 +
32 + 23 Mar 2009; Maurice van der Pot <griffon26@g.o>
33 + +http-replicator-3.0-r2.ebuild:
34 + Install repcacheman that uses new portage API for portage 2.1.6.4 and up
35 + instead of only for 2.2_rc6 and up. Gets rid of some deprecation notices.
36
37 20 Jan 2009; Maurice van der Pot <griffon26@g.o>
38 http-replicator-3.0-r1.ebuild:
39
40
41
42 1.1 net-proxy/http-replicator/http-replicator-3.0-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: http-replicator-3.0-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-3.0-r2.ebuild,v 1.1 2009/03/23 19:07:00 griffon26 Exp $
52
53 inherit eutils
54
55 MY_P="${PN}_${PV}"
56
57 DESCRIPTION="Proxy cache for Gentoo packages"
58 HOMEPAGE="http://sourceforge.net/projects/http-replicator"
59 SRC_URI="mirror://sourceforge/http-replicator/${MY_P}.tar.gz"
60 S="${WORKDIR}/${MY_P}"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
65 IUSE=""
66
67 DEPEND=">=dev-lang/python-2.3"
68 RDEPEND="${DEPEND}"
69
70 src_compile() {
71 epatch "${FILESDIR}/http-replicator-3.0-sighup.patch"
72 einfo "No compilation necessary"
73 }
74
75 src_install(){
76 # Daemon and repcacheman into /usr/bin
77 exeinto /usr/bin
78 doexe http-replicator
79 newexe "${FILESDIR}/http-replicator-3.0-callrepcacheman-0.1" repcacheman
80 if has_version '>=sys-apps/portage-2.1.6.4'; then
81 newexe "${FILESDIR}/http-replicator-3.0-repcacheman-0.44-r1" repcacheman.py
82 else
83 newexe "${FILESDIR}/http-replicator-3.0-repcacheman-0.44" repcacheman.py
84 fi
85
86 # init.d scripts
87 newinitd "${FILESDIR}/http-replicator-3.0.init" http-replicator
88 newconfd "${FILESDIR}/http-replicator-3.0.conf" http-replicator
89
90 # Docs
91 dodoc README debian/changelog
92
93 # Man Page - Not Gentooified yet
94 doman http-replicator.1
95
96 insinto /etc/logrotate.d
97 newins debian/logrotate http-replicator
98 }
99
100 pkg_postinst() {
101 einfo
102 einfo "Before starting http-replicator, please follow the next few steps:"
103 einfo "- modify /etc/conf.d/http-replicator if required"
104 einfo "- run /usr/bin/repcacheman to set up the cache"
105 einfo "- add http_proxy=\"http://serveraddress:8080\" to make.conf on"
106 einfo " the server as well as on the client machines"
107 einfo "- make sure GENTOO_MIRRORS in /etc/make.conf starts with several"
108 einfo " good http mirrors"
109 einfo
110 einfo "For more information please refer to the following forum thread:"
111 einfo " http://forums.gentoo.org/viewtopic-t-173226.html"
112 einfo
113 }