1 omail-admin |
|
2 |
|
3 diff --git a/source/custom/omail-admin/.htaccess b/source/custom/omail-admin/.htaccess |
|
4 new file mode 100644 |
|
5 index 0000000..978961b |
|
6 --- /dev/null |
|
7 +++ b/source/custom/omail-admin/.htaccess |
|
8 @@ -0,0 +1,4 @@ |
|
9 +php_value session.bug_compat_42 1 |
|
10 +php_value session.bug_compat_warn 0 |
|
11 +php_value session.use_cookies 0 |
|
12 +php_value register_globals 1 |
|
13 diff --git a/source/custom/omail-admin/FrugalBuild b/source/custom/omail-admin/FrugalBuild |
|
14 new file mode 100644 |
|
15 index 0000000..5f08d43 |
|
16 --- /dev/null |
|
17 +++ b/source/custom/omail-admin/FrugalBuild |
|
18 @@ -0,0 +1,29 @@ |
|
19 +# Maintainer: Tomas Zeman <tzeman@volny.cz> |
|
20 + |
|
21 +pkgname=omail-admin |
|
22 +pkgver=1.2rc1 |
|
23 +pkgrel=1 |
|
24 +pkgdesc="PHP4 based qmail+vmailmgrd Web interface" |
|
25 +_F_sourceforge_dirname="omail" |
|
26 +Finclude sourceforge |
|
27 +backup=(etc/$pkgname/config.php etc/$pkgname/vmailmgrquotas) |
|
28 +url="http://omail.omnis.ch/omail-admin/" |
|
29 +purl="http://sourceforge.net/project/showfiles.php?group_id=3658" |
|
30 +depends=('php' 'libmysqlclient' 'qmail-autoresponder') |
|
31 +archs=('i686') |
|
32 +up2date="lynx -nolist -dump '$purl'|grep -i '$pkgname'|grep .tar.gz|head -1|sed 's/.*$pkgname-\(.*\).tar.gz .*/\1/'" |
|
33 +sha1sums=('7f652ba56f6b4064efbbae57204f5d661fbe937a') |
|
34 + |
|
35 +build() { |
|
36 + www='/var/www' |
|
37 + Fmkdir $www/$pkgname /etc/$pkgname/vmailmgrd-tcp-hosts /usr/sbin /var/vmailstats |
|
38 + Fcd |
|
39 + find . -name 'CVS' |xargs rm -fr || Fdie |
|
40 + mv *.php *.inc images templates $Fdestdir$www/$pkgname || Fdie |
|
41 + cp scripts/README* . || Fdie |
|
42 + cp scripts/vmailstats.pl $Fdestdir/usr/sbin/vmailstats || Fdie |
|
43 + chmod 755 $Fdestdir/usr/sbin/vmailstats || Fdie |
|
44 + Fmv $www/$pkgname/config.php /etc/$pkgname/ |
|
45 + Fsed '^$vmailmgrquota_file .*' "\$vmailmgrquota_file = '/etc/$pkgname/vmailmgrquotas';" $Fdestdir/etc/$pkgname/config.php |
|
46 + Fln /etc/$pkgname/config.php $www/$pkgname/config.php |
|
47 +} |
|