diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-10 06:19:18 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-05-10 06:19:18 +0000 |
commit | 6c56e161894cb27368d6690cf739fbc8329fcce0 (patch) | |
tree | 4405094de4efa0a4f2360ee5eadc05dd0890c703 /community/postfixadmin | |
parent | f207dc245168e6d85bf64efb29d6988b29dd8984 (diff) | |
download | aports-6c56e161894cb27368d6690cf739fbc8329fcce0.tar.bz2 aports-6c56e161894cb27368d6690cf739fbc8329fcce0.tar.xz |
community/postfixadmin: add robots.txt, disable check()
Diffstat (limited to 'community/postfixadmin')
-rw-r--r-- | community/postfixadmin/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/postfixadmin/APKBUILD b/community/postfixadmin/APKBUILD index f6e7cd85bb..88abe2697c 100644 --- a/community/postfixadmin/APKBUILD +++ b/community/postfixadmin/APKBUILD @@ -3,15 +3,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=postfixadmin pkgver=3.0.2 -pkgrel=0 +pkgrel=1 pkgdesc="Web Based Management tool for Postfix" url="http://postfixadmin.com/" arch="noarch" license="GPL" depends="postfix" -makedepends="" -install="" -subpackages="" +options="!check" source="http://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-$pkgver/postfixadmin-$pkgver.tar.gz" # secfixes: @@ -39,6 +37,8 @@ package() { "$pkgdir"/etc/postfixadmin/ ln -s /etc/postfixadmin/config.inc.php \ "$pkgdir"/usr/share/webapps/postfixadmin/config.inc.php + echo -e "User-Agent: *\nDisallow: /" \ + > "$pkgdir"/usr/share/webapps/postfixadmin/robots.txt } sha512sums="19db70cc59e8e41356e4cd632b0cb9df8d8de0f0451e7e2c84d61a0aa6ede5cc93bbf8914786a2eec012e4c013ad130a001d143ce869aa54b54a50fb798ed92b postfixadmin-3.0.2.tar.gz" |