diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-10 06:10:48 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-10 06:11:05 +0000 |
commit | f207dc245168e6d85bf64efb29d6988b29dd8984 (patch) | |
tree | d7dfbb90d5eaa7ff675ed2cbcf003746094f9ca1 /community/postfixadmin | |
parent | 316b55ce9a28663baf97afd087b771434f2ac7b0 (diff) | |
download | aports-f207dc245168e6d85bf64efb29d6988b29dd8984.tar.bz2 aports-f207dc245168e6d85bf64efb29d6988b29dd8984.tar.xz |
community/postfixadmin: moved from main
Diffstat (limited to 'community/postfixadmin')
-rw-r--r-- | community/postfixadmin/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/postfixadmin/APKBUILD b/community/postfixadmin/APKBUILD new file mode 100644 index 0000000000..f6e7cd85bb --- /dev/null +++ b/community/postfixadmin/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Sergei Lukin <sergej.lukin@gmail.com> +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=postfixadmin +pkgver=3.0.2 +pkgrel=0 +pkgdesc="Web Based Management tool for Postfix" +url="http://postfixadmin.com/" +arch="noarch" +license="GPL" +depends="postfix" +makedepends="" +install="" +subpackages="" +source="http://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-$pkgver/postfixadmin-$pkgver.tar.gz" + +# secfixes: +# 3.0.2-r0: +# - CVE-2017-5930 + +builddir="$srcdir"/postfixadmin-$pkgver + +prepare() { + default_prepare || return 1 +} + +build() { + cd "$builddir" +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/usr/share/webapps/postfixadmin \ + "$pkgdir"/etc/postfixadmin + cp -r * "$pkgdir"/usr/share/webapps/postfixadmin/ + + # move config to /etc/postfixadmin and create symlink + mv "$pkgdir"/usr/share/webapps/postfixadmin/config.inc.php \ + "$pkgdir"/etc/postfixadmin/ + ln -s /etc/postfixadmin/config.inc.php \ + "$pkgdir"/usr/share/webapps/postfixadmin/config.inc.php +} + +sha512sums="19db70cc59e8e41356e4cd632b0cb9df8d8de0f0451e7e2c84d61a0aa6ede5cc93bbf8914786a2eec012e4c013ad130a001d143ce869aa54b54a50fb798ed92b postfixadmin-3.0.2.tar.gz" |