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