aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-08-06 14:13:03 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-08-06 14:14:10 +0000
commit32808ca3b3dfa11b516ca152daddb99a023a6cd0 (patch)
tree0f1aa9a00cbb1fd0ba43efe7c3133ac93b129f96 /testing
parent8ca2b911733ddc91a65d6db6d7b84df5b8c1d9c8 (diff)
downloadaports-32808ca3b3dfa11b516ca152daddb99a023a6cd0.tar.bz2
aports-32808ca3b3dfa11b516ca152daddb99a023a6cd0.tar.xz
testing/postfixadmin: new aport
Web frontend to manage Postfix virtual domains
Diffstat (limited to 'testing')
-rw-r--r--testing/postfixadmin/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/postfixadmin/APKBUILD b/testing/postfixadmin/APKBUILD
new file mode 100644
index 0000000000..1ab46cea84
--- /dev/null
+++ b/testing/postfixadmin/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=postfixadmin
+pkgver=2.3.5
+pkgrel=0
+pkgdesc="Web front-end for managing Postfix Virtual Domains"
+url="http://phpldapadmin.sourceforge.net"
+arch="noarch"
+license="GPL2"
+depends="php"
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages=
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/share/webapps/$pkgname
+ mkdir -p "$pkgdir"/etc/$pkgname
+ mv * "$pkgdir"/usr/share/webapps/$pkgname
+ mv "$pkgdir"/usr/share/webapps/$pkgname/config.inc.php "$pkgdir"/etc/$pkgname
+ ln -s /etc/$pkgname/config.inc.php "$pkgdir"/usr/share/webapps/$pkgname || exit 1
+}
+
+md5sums="9a72ed8d827fa2c7f641001f2aa87814 postfixadmin-2.3.5.tar.gz"