aboutsummaryrefslogtreecommitdiffstats
path: root/community/exim/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-04-15 17:58:28 +0000
committerAndy Postnikov <apostnikov@gmail.com>2018-04-22 18:35:33 +0300
commit5999e39cb311bc3350a7b82cb8ecca5d19b3644a (patch)
tree84ba59450b3a31157f775858cedb90c808e14764 /community/exim/APKBUILD
parent7558653ee2152fd75f8e7f620f82775e17dfedae (diff)
downloadaports-5999e39cb311bc3350a7b82cb8ecca5d19b3644a.tar.bz2
aports-5999e39cb311bc3350a7b82cb8ecca5d19b3644a.tar.xz
community/exim: clarify license, improve abuild
Diffstat (limited to 'community/exim/APKBUILD')
-rw-r--r--community/exim/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/community/exim/APKBUILD b/community/exim/APKBUILD
index 602891bace..818bdb1275 100644
--- a/community/exim/APKBUILD
+++ b/community/exim/APKBUILD
@@ -7,16 +7,16 @@
pkgname=exim
pkgver=4.91
pkgrel=0
-pkgdesc="A Message Transfer Agent"
-url="http://www.exim.org/"
+pkgdesc="Message Transfer Agent"
+url="http://www.exim.org"
arch="all"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
options="!check suid"
depends="ca-certificates"
pkgusers="$pkgname"
pkggroups="$pkgname mail"
-makedepends="bash gawk perl $depends_dev db-dev pcre-dev libressl-dev libspf2-dev mariadb-connector-c-dev
- postgresql-dev sqlite-dev libidn-dev linux-headers"
+makedepends="bash db-dev gawk libidn-dev libressl-dev libspf2-dev linux-headers mariadb-connector-c-dev
+ pcre-dev perl postgresql-dev sqlite-dev"
install="exim.pre-install"
subpackages="$pkgname-cdb $pkgname-dbmdb $pkgname-dnsdb $pkgname-sqlite $pkgname-mysql $pkgname-postgresql
$pkgname-utils $pkgname-scripts::noarch $pkgname-doc"
@@ -43,7 +43,6 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
cp "$srcdir"/$pkgname.Makefile Local/Makefile
sed -i \
-e 's/-lnsl//g' \
@@ -65,7 +64,7 @@ package() {
cd "$pkgdir"/usr/sbin
mv exim-${pkgver%.*}* exim
chmod u+s exim
- for i in mailq rmail rsmtp runq sendmail newaliases; do
+ local i; for i in mailq rmail rsmtp runq sendmail newaliases; do
ln -s exim $i
done
install -Dm644 "$srcdir"/$pkgname.logrotate "$pkgdir"/etc/logrotate.d/$pkgname