mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/postfixadmin: add robots.txt, disable check()
This commit is contained in:
parent
f207dc2451
commit
6c56e16189
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user