|
1 From 661a66ae76f24e1f618458f1fda29ad442adafbd Mon Sep 17 00:00:00 2001 |
|
2 From: Tomas Zeman <tzeman@volny.cz> |
|
3 Date: Fri, 21 Dec 2007 00:38:25 +0100 |
|
4 Subject: [PATCH] vegadns-0.9.10-1-i686: |
|
5 *added |
|
6 |
|
7 --- |
|
8 source/custom/vegadns/FrugalBuild | 30 ++++++++++++++++++++++++++++++ |
|
9 1 files changed, 30 insertions(+), 0 deletions(-) |
|
10 create mode 100644 source/custom/vegadns/FrugalBuild |
|
11 |
|
12 diff --git a/source/custom/vegadns/FrugalBuild b/source/custom/vegadns/FrugalBuild |
|
13 new file mode 100644 |
|
14 index 0000000..5574128 |
|
15 --- /dev/null |
|
16 +++ b/source/custom/vegadns/FrugalBuild |
|
17 @@ -0,0 +1,30 @@ |
|
18 +# Maintainer: Tomas Zeman <tzeman@volny.cz> |
|
19 + |
|
20 +pkgname=vegadns |
|
21 +pkgver=0.9.10 |
|
22 +pkgrel=1 |
|
23 +pkgdesc="tinydns administration tool" |
|
24 +_F_sourceforge_dirname="vegadns" |
|
25 +_F_sourceforge_ext=".tgz" |
|
26 +Finclude sourceforge |
|
27 +backup=(etc/vegadns/config.php) |
|
28 +url="http://www.vegadns.org/" |
|
29 +purl="http://sourceforge.net/project/showfiles.php?group_id=136918" |
|
30 +depends=('php' 'libmysqlclient') |
|
31 +archs=('i686') |
|
32 +up2date="lynx -nolist -dump '$purl'|grep -m1 '$pkgname-stable'|sed 's/.*$pkgname-\([0-9.]*\) .*/\1/'" |
|
33 +sha1sums=('18403649ca84743622defd79f37e5cbc6b21c822') |
|
34 + |
|
35 +build() { |
|
36 + www='/var/www' |
|
37 + Fmkdir $www/$pkgname /etc/$pkgname /usr/share/$pkgname |
|
38 + Fcd |
|
39 + mv .htaccess *.php images smarty src templates $Fdestdir$www/$pkgname || Fdie |
|
40 + mv update-data.sh $Fdestdir/usr/share/$pkgname/update-data || Fdie |
|
41 + Fmkdir /var/$pkgname/{templates_c,configs,cache,sessions} |
|
42 + chown -R nobody:nobody $Fdestdir/var/$pkgname || Fdie |
|
43 + chmod -R 770 $Fdestdir/var/$pkgname || Fdie |
|
44 + Fmv $www/$pkgname/src/config.php /etc/$pkgname/ |
|
45 + Fsed '$private_dirs .*' "\$private_dirs = '/var/$pkgname';" $Fdestdir/etc/$pkgname/config.php |
|
46 + Fln /etc/$pkgname/config.php $www/$pkgname/src/config.php |
|
47 +} |
|
48 -- |
|
49 1.5.3.4 |
|
50 |