1 |
tupone 09/09/04 10:17:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: zope-2.10.9.ebuild |
5 |
Log: |
6 |
Version bump to 2.10.9 |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.159 net-zope/zope/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-zope/zope/ChangeLog?rev=1.159&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-zope/zope/ChangeLog?rev=1.159&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-zope/zope/ChangeLog?r1=1.158&r2=1.159 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v |
19 |
retrieving revision 1.158 |
20 |
retrieving revision 1.159 |
21 |
diff -u -r1.158 -r1.159 |
22 |
--- ChangeLog 26 Aug 2009 14:49:31 -0000 1.158 |
23 |
+++ ChangeLog 4 Sep 2009 10:17:25 -0000 1.159 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-zope/zope |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.158 2009/08/26 14:49:31 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.159 2009/09/04 10:17:25 tupone Exp $ |
29 |
+ |
30 |
+*zope-2.10.9 (04 Sep 2009) |
31 |
+ |
32 |
+ 04 Sep 2009; Alfredo Tupone <tupone@g.o> +zope-2.10.9.ebuild: |
33 |
+ Version bump to 2.10.9 |
34 |
|
35 |
25 Aug 2009; Raúl Porcel <armin76@g.o> zope-2.9.10-r1.ebuild, |
36 |
zope-2.10.7-r1.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-zope/zope/zope-2.10.9.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-zope/zope/zope-2.10.9.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-zope/zope/zope-2.10.9.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: zope-2.10.9.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.9.ebuild,v 1.1 2009/09/04 10:17:25 tupone Exp $ |
50 |
EAPI=2 |
51 |
|
52 |
inherit eutils multilib |
53 |
|
54 |
DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites" |
55 |
HOMEPAGE="http://www.zope.org" |
56 |
SRC_URI="http://www.zope.org/Products/Zope/${PV}/Zope-${PV}-final.tgz" |
57 |
|
58 |
LICENSE="ZPL" |
59 |
SLOT="${PV}" |
60 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
61 |
IUSE="" |
62 |
RESTRICT="test" |
63 |
|
64 |
RDEPEND="=dev-lang/python-2.4*" |
65 |
DEPEND="${RDEPEND}" |
66 |
|
67 |
S="${WORKDIR}/Zope-${PV}-final" |
68 |
ZUID=zope |
69 |
ZGID=zope |
70 |
ZS_DIR=${ROOT%/}/usr/$(get_libdir) |
71 |
ZSERVDIR=${ZS_DIR}/${P} |
72 |
|
73 |
# Narrow the scope of ownership/permissions. |
74 |
# Security plan: |
75 |
# * ZUID is the superuser for all zope instances. |
76 |
# * ZGID is for a single instance's administration. |
77 |
# * Other' should not have any access to ${ZSERVDIR}, |
78 |
# because they can work through the Zope web interface. |
79 |
# This should protect our code/data better. |
80 |
# |
81 |
# UPDATE: ${ZSERVDIR} is a lib directory and should be world readable |
82 |
# like e.g /usr/lib/python we do not store any user data there, |
83 |
# currently removed all custom permission stuff, for ${ZSERVDIR} |
84 |
src_configure() { |
85 |
./configure --prefix="${D}${ZSERVDIR}" --with-python=/usr/bin/python2.4 || die "Failed to execute ./configure ..." |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
dodoc README.txt |
90 |
dodoc doc/*.txt |
91 |
docinto PLATFORMS ; dodoc doc/PLATFORMS/* |
92 |
docinto ZEO ; dodoc doc/ZEO/* |
93 |
|
94 |
make install prefix="${D}${ZSERVDIR}" || die "Failed to install into ${D}${ZSERVDIR}" |
95 |
rm -rf "${D}${ZSERVDIR}"/doc |
96 |
dosym ../../share/doc/${PF} ${ZSERVDIR}/doc |
97 |
|
98 |
# copy the init script skeleton to skel directory of our installation |
99 |
insinto "${ZSERVDIR}"/skel |
100 |
doins "${FILESDIR}"/zope.initd |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
# create the zope user and group for backward compatibility |
105 |
enewgroup ${ZGID} 261 |
106 |
usermod -g ${ZGID} ${ZUID} 2>&1 >/dev/null || \ |
107 |
enewuser ${ZUID} 261 -1 /var/$(get_libdir)/zope ${ZGID} |
108 |
|
109 |
einfo "Be warned that you need at least one zope instance to run zope." |
110 |
einfo "Please emerge zope-config for further instance management." |
111 |
} |
112 |
|
113 |
pkg_prerm() { |
114 |
#Remove old compiled code |
115 |
rm ${ZSERVDIR}/bin/copyzopeskel.pyc |
116 |
|
117 |
#need to remove this symlink because portage keeps links to |
118 |
#existing targets |
119 |
rm ${ZSERVDIR}/bin/python |
120 |
} |