1 |
hollow 09/09/04 17:56:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: roundcube-0.3.ebuild |
5 |
Removed: roundcube-0.2.ebuild roundcube-0.2.1.ebuild |
6 |
Log: |
7 |
version bump wrt #274265 |
8 |
(Portage version: 2.2_rc33/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 mail-client/roundcube/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/roundcube/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/roundcube/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/roundcube/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/roundcube/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 18 Jul 2009 19:29:14 -0000 1.5 |
24 |
+++ ChangeLog 4 Sep 2009 17:56:21 -0000 1.6 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for mail-client/roundcube |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/ChangeLog,v 1.5 2009/07/18 19:29:14 hollow Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/roundcube/ChangeLog,v 1.6 2009/09/04 17:56:21 hollow Exp $ |
30 |
+ |
31 |
+*roundcube-0.3 (04 Sep 2009) |
32 |
+ |
33 |
+ 04 Sep 2009; Benedikt Böhm <hollow@g.o> -roundcube-0.2.ebuild, |
34 |
+ -roundcube-0.2.1.ebuild, +roundcube-0.3.ebuild: |
35 |
+ version bump wrt #274265 |
36 |
|
37 |
*roundcube-0.2.2 (18 Jul 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 mail-client/roundcube/roundcube-0.3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/roundcube/roundcube-0.3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/roundcube/roundcube-0.3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: roundcube-0.3.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/mail-client/roundcube/roundcube-0.3.ebuild,v 1.1 2009/09/04 17:56:21 hollow Exp $ |
52 |
|
53 |
MY_PN="${PN}mail" |
54 |
MY_P="${MY_PN}-${PV}-stable" |
55 |
|
56 |
inherit eutils webapp depend.php depend.apache |
57 |
|
58 |
DESCRIPTION="A browser-based multilingual IMAP client with an application-like user interface" |
59 |
HOMEPAGE="http://roundcube.net" |
60 |
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" |
61 |
|
62 |
# roundcube is GPL-licensed, the rest of the licenses here are |
63 |
# for bundled PEAR components, googiespell and utf8.class.php |
64 |
LICENSE="GPL-2 BSD PHP-2.02 PHP-3 MIT public-domain" |
65 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
66 |
IUSE="ldap mysql postgres sqlite ssl spell" |
67 |
|
68 |
DEPEND="" |
69 |
RDEPEND="dev-php/PEAR-PEAR" |
70 |
|
71 |
need_httpd_cgi |
72 |
need_php_httpd |
73 |
|
74 |
S=${WORKDIR}/${MY_P} |
75 |
|
76 |
pkg_setup() { |
77 |
local flags="crypt iconv imap pcre session unicode spl" |
78 |
use ldap && flags="${flags} ldap" |
79 |
use ssl && flags="${flags} ssl" |
80 |
use spell && flags="${flags} curl spell" |
81 |
|
82 |
# check for required PHP features |
83 |
if ! use mysql && ! use postgres && ! use sqlite ; then |
84 |
local dbflags="mysql mysqli postgres sqlite" |
85 |
if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \ |
86 |
! PHPCHECKNODIE="yes" require_php_with_any_use ${dbflags} ; then |
87 |
die "Re-install ${PHP_PKG} with ${flags} and at least one of ${dbflags} in USE." |
88 |
fi |
89 |
else |
90 |
for db in postgres sqlite ; do |
91 |
use ${db} && flags="${flags} ${db}" |
92 |
done |
93 |
if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \ |
94 |
( use mysql && ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ) ; then |
95 |
local diemsg="Re-install ${PHP_PKG} with ${flags}" |
96 |
use mysql && diemsg="${diemsg} and at least one of mysql mysqli" |
97 |
die "${diemsg} in USE" |
98 |
fi |
99 |
fi |
100 |
|
101 |
# add some warnings about optional functionality |
102 |
if ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then |
103 |
ewarn "IMAP quota display will not work correctly without GD support in PHP." |
104 |
ewarn "Recompile PHP with either gd or gd-external in USE if you want this feature." |
105 |
ewarn |
106 |
fi |
107 |
|
108 |
webapp_pkg_setup |
109 |
} |
110 |
|
111 |
src_unpack() { |
112 |
unpack ${A} |
113 |
cd "${S}" |
114 |
mv config/db.inc.php{.dist,} |
115 |
mv config/main.inc.php{.dist,} |
116 |
} |
117 |
|
118 |
src_install () { |
119 |
webapp_src_preinst |
120 |
dodoc CHANGELOG INSTALL README UPGRADING |
121 |
|
122 |
cp -R [[:lower:]]* SQL "${D}/${MY_HTDOCSDIR}" |
123 |
|
124 |
webapp_serverowned "${MY_HTDOCSDIR}"/logs |
125 |
webapp_serverowned "${MY_HTDOCSDIR}"/temp |
126 |
|
127 |
webapp_configfile "${MY_HTDOCSDIR}"/config/{db,main}.inc.php |
128 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
129 |
webapp_postupgrade_txt en UPGRADING |
130 |
webapp_src_install |
131 |
} |