Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/egroupware: ChangeLog egroupware-1.4.002.ebuild
Date: Sat, 29 Sep 2007 15:21:04
Message-Id: E1IbdzO-0003GV-JS@stork.gentoo.org
1 wrobel 07/09/29 15:12:18
2
3 Modified: ChangeLog
4 Added: egroupware-1.4.002.ebuild
5 Log:
6 Added egroupware-1.4.002 to the tree in response to sec issue #193960.
7 (Portage version: 2.1.2.12)
8
9 Revision Changes Path
10 1.79 www-apps/egroupware/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 5 Aug 2007 00:15:09 -0000 1.78
23 +++ ChangeLog 29 Sep 2007 15:12:18 -0000 1.79
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-apps/egroupware
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v 1.78 2007/08/05 00:15:09 rl03 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/ChangeLog,v 1.79 2007/09/29 15:12:18 wrobel Exp $
29 +
30 +*egroupware-1.4.002 (29 Sep 2007)
31 +
32 + 29 Sep 2007; <wrobel@g.o> +egroupware-1.4.002.ebuild:
33 + Added egroupware-1.4.002 to the tree in response to sec issue #193960.
34
35 05 Aug 2007; Renat Lumpau <rl03@g.o> egroupware-1.4.001.ebuild:
36 Call webapp_pkg_postinst, bug #183228
37
38
39
40 1.1 www-apps/egroupware/egroupware-1.4.002.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild?rev=1.1&content-type=text/plain
44
45 Index: egroupware-1.4.002.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/egroupware-1.4.002.ebuild,v 1.1 2007/09/29 15:12:18 wrobel Exp $
50
51 inherit webapp depend.php
52
53 MY_PN=eGroupWare
54 S=${WORKDIR}/${PN}
55
56 DESCRIPTION="Web-based GroupWare suite"
57 HOMEPAGE="http://www.egroupware.org/"
58 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.bz2
59 mirror://sourceforge/${PN}/${MY_PN}-egw-pear-${PV}.tar.bz2"
60
61 LICENSE="GPL-2"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
63 IUSE="gd jpgraph ldap mysql postgres"
64
65 RDEPEND="
66 ldap? ( net-nds/openldap )
67 gd? ( media-libs/gd )
68 jpgraph? ( || ( dev-php5/jpgraph dev-php4/jpgraph ) )
69 "
70
71 pkg_setup () {
72 has_php
73 webapp_pkg_setup
74
75 local php_flags="imap session"
76
77 use ldap && php_flags="${php_flags} ldap"
78 use mysql && php_flags="${php_flags} mysql"
79 use postgres && php_flags="${php_flags} postgres"
80 require_php_with_use ${php_flags}
81 }
82
83 src_unpack() {
84 has_php
85
86 unpack ${A}
87 cd ${S}
88 # remove SVN directories
89 find . -type d -name '.svn' -print | xargs rm -rf
90
91 if use jpgraph; then
92 einfo "Fixing jpgraph location"
93 sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'|'/usr/share/php${PHP_VERSION}/jpgraph/jpgraph.php'|" projectmanager/inc/class.ganttchart.inc.php || die
94 sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph_gantt.php'|'/usr/share/php${PHP_VERSION}/jpgraph/jpgraph_gantt.php'|" projectmanager/inc/class.ganttchart.inc.php || die
95 fi
96 }
97
98 src_install() {
99 webapp_src_preinst
100 cp -r . ${D}/${MY_HTDOCSDIR}
101
102 webapp_serverowned ${MY_HTDOCSDIR}/phpgwapi/images
103
104 webapp_postinst_txt en ${FILESDIR}/postinstall-en-1.2.txt
105 webapp_src_install
106 }
107
108 pkg_postinst() {
109 if use ldap; then
110 einfo "If you are using LDAP contacts/addressbook, please read the upgrade instructions at"
111 einfo "http://www.egroupware.org/index.php?page_name=wiki&wikipage=ManualSetupUpdate"
112 einfo "before running the egroupware setup"
113 fi
114 webapp_pkg_postinst
115 }
116
117
118
119 --
120 gentoo-commits@g.o mailing list