[arch-commits] Commit in postfixadmin/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Aug 7 13:24:34 UTC 2014
Date: Thursday, August 7, 2014 @ 15:24:34
Author: svenstaro
Revision: 116984
upgpkg: postfixadmin 2.91-1
upstream release 2.91
Modified:
postfixadmin/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-07 13:17:46 UTC (rev 116983)
+++ PKGBUILD 2014-08-07 13:24:34 UTC (rev 116984)
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
# Contributor: Filip <fila pruda.com>
pkgname=postfixadmin
-pkgver=2.3.7
+pkgver=2.91
pkgrel=1
pkgdesc="A web based interface used to manage mailboxes, virtual domains and aliases created for Postfix"
arch=('any')
@@ -8,14 +8,12 @@
license=('GPL')
url="http://postfixadmin.sourceforge.net/"
backup=(etc/webapps/postfixadmin/config.inc.php
- etc/webapps/postfixadmin/.htaccess
- etc/webapps/postfixadmin/motd.txt
- etc/webapps/postfixadmin/motd-users.txt)
+ etc/webapps/postfixadmin/.htaccess)
depends=('php')
optdepends=('mariadb: MySQL server'
- 'postgresql: PostgreSQL server')
- source=(http://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-$pkgver/postfixadmin-$pkgver.tar.gz)
-md5sums=('35265807e815fbfbec5d7246e5b5e978')
+ 'postgresql: PostgreSQL server')
+source=(http://downloads.sourceforge.net/postfixadmin/${pkgname}-${pkgver}.tar.gz)
+md5sums=('a6e12ebae8f69b489bab56601fe1e533')
package() {
_destdir=$pkgdir/usr/share/webapps/postfixAdmin
@@ -34,10 +32,6 @@
ln -s /etc/webapps/postfixadmin/config.inc.php ${_destdir}/config.inc.php
echo "#deny from all" >${_destdir_etc}/.htaccess
ln -s /etc/webapps/postfixadmin/.htaccess ${_destdir}/.htaccess
- mv ${_destdir}/motd.txt ${_destdir_etc}
- mv ${_destdir}/motd-users.txt ${_destdir_etc}
- ln -s /etc/webapps/postfixadmin/motd.txt ${_destdir}/motd.txt
- ln -s /etc/webapps/postfixadmin/motd-users.txt ${_destdir}/motd-users.txt
# docs
mv ${_destdir}/{*.TXT,tests,ADDITIONS,DOCUMENTS,VIRTUAL_VACATION} ${_destdir_doc}
More information about the arch-commits
mailing list