aboutsummaryrefslogtreecommitdiffstats
path: root/community/rspamd/APKBUILD
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-05-21 16:21:39 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-28 08:33:39 +0000
commitecba385cdafca2fd88f1c63ac71ea5eabb011e03 (patch)
tree2bd3e896a53d74b6a55ce24803183fcec4058e63 /community/rspamd/APKBUILD
parent2d62b874ebb4879615e38c6d83c43e924c8ef181 (diff)
downloadaports-ecba385cdafca2fd88f1c63ac71ea5eabb011e03.tar.bz2
aports-ecba385cdafca2fd88f1c63ac71ea5eabb011e03.tar.xz
community/rspamd: upgrade to 1.9.3
Diffstat (limited to 'community/rspamd/APKBUILD')
-rw-r--r--community/rspamd/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/rspamd/APKBUILD b/community/rspamd/APKBUILD
index 1e04f7251d..aa4eacce9c 100644
--- a/community/rspamd/APKBUILD
+++ b/community/rspamd/APKBUILD
@@ -4,14 +4,13 @@
# Contributor: TBK <alpine@jjtc.eu>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
pkgname=rspamd
-pkgver=1.9.1
-pkgrel=1
+pkgver=1.9.3
+pkgrel=0
pkgdesc="Fast, free and open-source spam filtering system"
-url="https://rspamd.com"
+url="https://rspamd.com/"
arch="all !s390x"
license="Apache-2.0 BSD-1-Clause BSD-2-Clause BSD-3-Clause CC0 LGPL-2.1-or-later
LGPL-3.0-only MIT Zlib"
-options="!check"
pkgusers="rspamd"
pkggroups="rspamd"
makedepends="
@@ -29,6 +28,7 @@ makedepends="
ragel
sqlite-dev
"
+checkdepends="luarocks"
install="$pkgname.pre-install $pkgname.post-upgrade"
subpackages="
$pkgname-doc
@@ -51,8 +51,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/vstakhov/$pkgname/archive/$p
"
build() {
- cd "$builddir"
-
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCONFDIR=/etc/$pkgname \
@@ -69,9 +67,11 @@ build() {
make
}
-package() {
- cd "$builddir"
+check() {
+ make rspamd-test
+}
+package() {
make DESTDIR="$pkgdir" install
cd "$pkgdir"
@@ -153,7 +153,7 @@ _mv() {
mv $@
}
-sha512sums="6ff91f3c1df790affbef00231f65d52fa06d433b93fb440b271bca09ab978811c30dfea9e5f609a6922b7d9d2208c7cb76b113ed049662193f8eca18c384fa3a rspamd-1.9.1.tar.gz
+sha512sums="49c999af8e0bf453aa098c5cb22827564c75dce9a742759fc941169cc192054c4a205cfc3b4c477f0e36326274265c878c7e9bad8746f2439a17abca8ced82fe rspamd-1.9.3.tar.gz
2efe28575c40d1fba84b189bb872860e744400db80dce2f6330be6c6287fb3f46e6511284729b957488bf40bcb9b0952e26df9934f5f138334bd2766075c45cb rspamd.logrotated
7add88e4bf3508d2a148241cd8db97851a33a7128be75f2a072a029b32b565e9de0299ad614fbda7f70ed54d1b6e2faa305eff3e443e90451abf59dedc1af576 rspamd.initd
a2003ef0c9d64a44480f59302864a2dfedcbe3a0047fcbb655408bc8aae9014b6ad0ddc6b64d4abeeb21bea0f86678afd30589ac8eed83e07ad7f87710e93702 rspamd.confd