Lines 1-4
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: $ |
3 |
# $Header: $ |
4 |
|
4 |
|
Lines 33-41
Link Here
|
33 |
mail-filter/spamassassin |
33 |
mail-filter/spamassassin |
34 |
virtual/mta |
34 |
virtual/mta |
35 |
virtual/antivirus |
35 |
virtual/antivirus |
36 |
dev-perl/Archive-Tar |
36 |
virtual/perl-Archive-Tar |
37 |
>=dev-perl/Archive-Zip-1.14 |
37 |
>=dev-perl/Archive-Zip-1.14 |
38 |
>=dev-perl/Compress-Zlib-1.35 |
38 |
virtual/perl-Compress-Zlib |
39 |
dev-perl/Convert-TNEF |
39 |
dev-perl/Convert-TNEF |
40 |
>=dev-perl/Convert-UUlib-1.06 |
40 |
>=dev-perl/Convert-UUlib-1.06 |
41 |
>=dev-perl/DBI-1.40 |
41 |
>=dev-perl/DBI-1.40 |
Lines 83-90
Link Here
|
83 |
src_unpack() { |
83 |
src_unpack() { |
84 |
unpack ${A} |
84 |
unpack ${A} |
85 |
|
85 |
|
86 |
cd ${WORKDIR}/fr |
86 |
cd "${WORKDIR}"/fr |
87 |
epatch ${FILESDIR}/fr-070107.patch |
87 |
epatch "${FILESDIR}"/fr-070107.patch |
88 |
cd ${MY_S} |
88 |
cd ${MY_S} |
89 |
} |
89 |
} |
90 |
|
90 |
|
Lines 138-144
Link Here
|
138 |
keepdir /var/amavis/templates |
138 |
keepdir /var/amavis/templates |
139 |
|
139 |
|
140 |
cd ${MY_S} |
140 |
cd ${MY_S} |
141 |
dodoc LICENSE README maia-mysql.sql maia-pgsql.sql |
141 |
dodoc README maia-mysql.sql maia-pgsql.sql |
142 |
# webapp-config is not yet ready to deal with this |
142 |
# webapp-config is not yet ready to deal with this |
143 |
# webapp_sqlscript mysql maia-mysql.sql |
143 |
# webapp_sqlscript mysql maia-mysql.sql |
144 |
# webapp_sqlscript postgres maia-pgsql.sql |
144 |
# webapp_sqlscript postgres maia-pgsql.sql |
Lines 158-172
Link Here
|
158 |
cat config.php.dist |\ |
158 |
cat config.php.dist |\ |
159 |
sed 's:\t// \$smarty_path = [^;]*;:\t\$smarty_path = \"/usr/share/php/smarty/\";:' \ |
159 |
sed 's:\t// \$smarty_path = [^;]*;:\t\$smarty_path = \"/usr/share/php/smarty/\";:' \ |
160 |
> config.php |
160 |
> config.php |
161 |
cp -R * ${D}/${MY_HTDOCSDIR} |
161 |
cp -R * "${D}"/"${MY_HTDOCSDIR}" |
162 |
|
162 |
|
163 |
cd ${WORKDIR}/fr |
163 |
cd "${WORKDIR}"/fr |
164 |
mkdir ${D}/${MY_HTDOCSDIR}/locale/fr |
164 |
mkdir "${D}"/"${MY_HTDOCSDIR}"/locale/fr |
165 |
cp *.php ${D}/${MY_HTDOCSDIR}/locale/fr |
165 |
cp *.php "${D}"/"${MY_HTDOCSDIR}"/locale/fr |
166 |
|
166 |
|
167 |
webapp_configfile ${MY_HTDOCSDIR}/config.php |
167 |
webapp_configfile "${MY_HTDOCSDIR}"/config.php |
168 |
webapp_hook_script ${FILESDIR}/reconfig-${PV} |
168 |
webapp_hook_script "${FILESDIR}/"reconfig-"${PV}" |
169 |
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt |
169 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
170 |
fi |
170 |
fi |
171 |
|
171 |
|
172 |
newinitd "${FILESDIR}/maia.rc" maia-amavisd |
172 |
newinitd "${FILESDIR}/maia.rc" maia-amavisd |