1 |
dertobi123 08/10/01 19:00:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: squirrelmail-1.4.16.ebuild |
5 |
Log: |
6 |
Version bump, #239054 |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.117 mail-client/squirrelmail/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/ChangeLog?rev=1.117&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/ChangeLog?rev=1.117&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/ChangeLog?r1=1.116&r2=1.117 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v |
19 |
retrieving revision 1.116 |
20 |
retrieving revision 1.117 |
21 |
diff -u -r1.116 -r1.117 |
22 |
--- ChangeLog 3 Sep 2008 18:47:59 -0000 1.116 |
23 |
+++ ChangeLog 1 Oct 2008 19:00:15 -0000 1.117 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for mail-client/squirrelmail |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.116 2008/09/03 18:47:59 ranger Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.117 2008/10/01 19:00:15 dertobi123 Exp $ |
29 |
+ |
30 |
+*squirrelmail-1.4.16 (01 Oct 2008) |
31 |
+ |
32 |
+ 01 Oct 2008; Tobias Scherbaum <dertobi123@g.o> |
33 |
+ +squirrelmail-1.4.16.ebuild: |
34 |
+ Version bump, #239054 |
35 |
|
36 |
03 Sep 2008; Brent Baude <ranger@g.o> squirrelmail-1.4.15.ebuild: |
37 |
stable ppc64, bug 213696 |
38 |
|
39 |
|
40 |
|
41 |
1.1 mail-client/squirrelmail/squirrelmail-1.4.16.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.16.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.16.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: squirrelmail-1.4.16.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.16.ebuild,v 1.1 2008/10/01 19:00:15 dertobi123 Exp $ |
51 |
|
52 |
IUSE="ldap spell ssl filter mysql postgres nls" |
53 |
|
54 |
inherit webapp eutils |
55 |
|
56 |
DESCRIPTION="Webmail for nuts!" |
57 |
|
58 |
# Plugin Versions |
59 |
COMPATIBILITY_VER=2.0.13-1.0 |
60 |
USERDATA_VER=0.9-1.4.0 |
61 |
ADMINADD_VER=0.1-1.4.0 |
62 |
AMAVIS_VER=0.8.0-1.4 |
63 |
LDAP_USERDATA_VER=0.4 |
64 |
SECURELOGIN_VER=1.4-1.2.8 |
65 |
SHOWSSL_VER=2.2-1.2.8 |
66 |
LOCALES_VER=1.4.13-20071220 |
67 |
DECODING_VER=1.2 |
68 |
|
69 |
MY_P=${P/_rc/-RC} |
70 |
S="${WORKDIR}/${MY_P}" |
71 |
|
72 |
PLUGINS_LOC="http://www.squirrelmail.org/plugins" |
73 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2 |
74 |
mirror://sourceforge/${PN}/squirrelmail-decode-${DECODING_VER}.tar.bz2 |
75 |
mirror://sourceforge/retruserdata/retrieveuserdata.${USERDATA_VER}.tar.gz |
76 |
${PLUGINS_LOC}/compatibility-${COMPATIBILITY_VER}.tar.gz |
77 |
ssl? ( ${PLUGINS_LOC}/secure_login-${SECURELOGIN_VER}.tar.gz ) |
78 |
ssl? ( ${PLUGINS_LOC}/show_ssl_link-${SHOWSSL_VER}.tar.gz ) |
79 |
${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz |
80 |
filter? ( ${PLUGINS_LOC}/amavisnewsql-0.8.0-1.4.tar.gz ) |
81 |
ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_USERDATA_VER}.tar.gz ) |
82 |
nls? ( mirror://sourceforge/${PN}/all_locales-${LOCALES_VER}.tar.bz2 )" |
83 |
|
84 |
HOMEPAGE="http://www.squirrelmail.org/" |
85 |
|
86 |
LICENSE="GPL-2" |
87 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
88 |
|
89 |
DEPEND="" |
90 |
|
91 |
RDEPEND="virtual/php |
92 |
virtual/perl-DB_File |
93 |
ldap? ( net-nds/openldap ) |
94 |
spell? ( || ( app-text/aspell app-text/ispell ) ) |
95 |
filter? ( mail-filter/amavisd-new dev-php/PEAR-Log dev-php/PEAR-DB dev-php/PEAR-Net_SMTP ) |
96 |
postgres? ( dev-php/PEAR-DB ) |
97 |
mysql? ( dev-php/PEAR-DB )" |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${MY_P}.tar.bz2 |
101 |
unpack squirrelmail-decode-${DECODING_VER}.tar.bz2 |
102 |
|
103 |
cd "${S}" |
104 |
|
105 |
mv config/config_default.php config/config.php |
106 |
|
107 |
sed -i "s:'/var/local/squirrelmail/data/':SM_PATH . 'data/':" config/config.php |
108 |
|
109 |
# Now do the plugins |
110 |
cd "${S}/plugins" |
111 |
|
112 |
sed -i 's:/usr/games/fortune:/usr/bin/fortune:g' fortune/setup.php || die "Unable to fix fortunes plugin." |
113 |
|
114 |
unpack compatibility-${COMPATIBILITY_VER}.tar.gz |
115 |
|
116 |
unpack admin_add.${ADMINADD_VER}.tar.gz |
117 |
|
118 |
unpack retrieveuserdata.${USERDATA_VER}.tar.gz |
119 |
|
120 |
use filter && |
121 |
unpack amavisnewsql-${AMAVIS_VER}.tar.gz && |
122 |
mv amavisnewsql/config.php.dist amavisnewsql/config.php |
123 |
|
124 |
use ldap && |
125 |
unpack ldapuserdata-${LDAP_USERDATA_VER}.tar.gz && |
126 |
epatch "${FILESDIR}"/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch && |
127 |
mv ldapuserdata/config_sample.php ldapuserdata/config.php |
128 |
|
129 |
use ssl && |
130 |
unpack secure_login-${SECURELOGIN_VER}.tar.gz && |
131 |
mv secure_login/config.sample.php secure_login/config.php && |
132 |
unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && |
133 |
mv show_ssl_link/config.php.sample show_ssl_link/config.php |
134 |
|
135 |
use nls && |
136 |
cd "${S}" && |
137 |
unpack all_locales-${LOCALES_VER}.tar.bz2 |
138 |
} |
139 |
|
140 |
src_compile() { |
141 |
#we need to have this empty function ... default compile hangs |
142 |
echo "Nothing to compile" |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
webapp_src_preinst |
147 |
|
148 |
# handle documentation files |
149 |
# |
150 |
# NOTE that doc files go into /usr/share/doc as normal; they do NOT |
151 |
# get installed per vhost! |
152 |
|
153 |
for doc in AUTHORS COPYING ChangeLog INSTALL README ReleaseNotes UPGRADE; do |
154 |
dodoc ${doc} |
155 |
rm -f ${doc} |
156 |
done |
157 |
|
158 |
docinto compatibility |
159 |
for doc in plugins/compatibility/INSTALL plugins/compatibility/README; do |
160 |
dodoc ${doc} |
161 |
rm -f ${doc} |
162 |
done |
163 |
|
164 |
docinto admin_add |
165 |
for doc in plugins/admin_add/README; do |
166 |
dodoc ${doc} |
167 |
rm -f ${doc} |
168 |
done |
169 |
|
170 |
docinto retrieveuserdata |
171 |
for doc in plugins/retrieveuserdata/INSTALL plugins/retrieveuserdata/changelog plugins/retrieveuserdata/users_example.txt; do |
172 |
dodoc ${doc} |
173 |
rm -f ${doc} |
174 |
done |
175 |
|
176 |
if use filter; then |
177 |
docinto amavisnewsql |
178 |
for doc in plugins/amavisnewsql/{CHANGELOG,README,UPGRADE}; do |
179 |
dodoc ${doc} |
180 |
rm -f ${doc} |
181 |
done |
182 |
fi |
183 |
|
184 |
if use ldap; then |
185 |
rm plugins/ldapuserdata/README |
186 |
docinto ldapuserdata |
187 |
for doc in plugins/ldapuserdata/doc/README; do |
188 |
dodoc ${doc} |
189 |
rm -f ${doc} |
190 |
done |
191 |
fi |
192 |
|
193 |
if use ssl; then |
194 |
docinto secure_login |
195 |
for doc in plugins/secure_login/INSTALL plugins/secure_login/README; do |
196 |
dodoc ${doc} |
197 |
rm -f ${doc} |
198 |
done |
199 |
|
200 |
docinto show_ssl_link |
201 |
for doc in plugins/show_ssl_link/INSTALL plugins/show_ssl_link/README; do |
202 |
dodoc ${doc} |
203 |
rm -f ${doc} |
204 |
done |
205 |
fi |
206 |
|
207 |
# Copy the app's main files |
208 |
einfo "Installing squirrelmail files." |
209 |
cp -r . "${D}${MY_HTDOCSDIR}" |
210 |
|
211 |
cp "${WORKDIR}"/squirrelmail-decode-${DECODING_VER}/*/*.php "${D}${MY_HTDOCSDIR}/functions/decode" |
212 |
|
213 |
# Identify the configuration files that this app uses |
214 |
local configs="config/config.php config/config_local.php plugins/retrieveuserdata/config.php" |
215 |
use filter && configs="${configs} plugins/amavisnewsql/config.php" |
216 |
use ldap && configs="${configs} plugins/ldapuserdata/config.php" |
217 |
use ssl && configs="${configs} plugins/show_ssl_link/config.php plugins/secure_login/config.php" |
218 |
|
219 |
for file in ${configs}; do |
220 |
webapp_configfile ${MY_HTDOCSDIR}/${file} |
221 |
done |
222 |
|
223 |
# Identify any script files that need #! headers adding to run under |
224 |
# a CGI script (such as PHP/CGI) |
225 |
# |
226 |
# for phpmyadmin, we *assume* that all .php files that don't end in |
227 |
# .inc.php need to have CGI/BIN support added |
228 |
|
229 |
#for x in `find . -name '*.php' -print | grep -v 'inc.php'` ; do |
230 |
# webapp_runbycgibin php ${MY_HTDOCSDIR}/$x |
231 |
#done |
232 |
|
233 |
local server_owned="data index.php" |
234 |
for file in ${server_owned}; do |
235 |
webapp_serverowned ${MY_HTDOCSDIR}/${file} |
236 |
done |
237 |
|
238 |
# add the post-installation instructions |
239 |
webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
240 |
|
241 |
# all done |
242 |
# |
243 |
# now we let the eclass strut its stuff ;-) |
244 |
|
245 |
webapp_src_install |
246 |
} |