Subject: [alpine-aports] [PATCH] testing/rspamd: upgrade to 1.1.2, remove unneded -contrib subpackage

From: Valery Kartel <[email-masked]>
Date: Mon, 1 Feb 2016 20:20:24 +0200

- last exim knows how to deal with rspamd natively, so contrib with exim-specific patches doesn't need enymore.
---
 testing/rspamd/APKBUILD | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/testing/rspamd/APKBUILD b/testing/rspamd/APKBUILD
index 51b2d6f..e31a569 100644
--- a/testing/rspamd/APKBUILD
+++ b/testing/rspamd/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Valery Kartel <[email-masked]>
 # Contributor: Valery Kartel <[email-masked]>
 pkgname=rspamd
-pkgver=1.1.1
+pkgver=1.1.2
 pkgrel=0
 pkgdesc="Rapid spam filtering system"
 url="https://rspamd.com"
@@ -14,7 +14,7 @@ depends_dev=""
 makedepends="$depends_dev cmake openssl-dev libevent-dev glib-dev gmime-dev
 	luajit-dev sqlite-dev hiredis-dev file-dev pcre-dev"
 install="$pkgname.pre-install"
-subpackages="$pkgname-doc $pkgname-web $pkgname-client $pkgname-contrib"
+subpackages="$pkgname-doc $pkgname-web $pkgname-client"
 source="https://rspamd.com/downloads/$pkgname-$pkgver.tar.xz
 	$pkgname.logrotated
 	$pkgname.initd
@@ -53,7 +53,7 @@ package() {
 	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
 	install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
 
-	install -dm750 -o $pkgusers -g $pkggroups "$pkgdir"/var/lib/$pkgname
+	install -dm750 -o $pkgusers -g $pkggroups "$pkgdir"/var/lib/$pkgname/rspamd_dynamic
 	install -dm750 -g $pkggroups "$pkgdir"/var/log/$pkgname
 
 	mkdir "$pkgdir"/usr/sbin
@@ -82,29 +82,21 @@ client() {
 	mv "$pkgdir"/usr/bin/rspamc-$pkgver "$subpkgdir"/usr/bin/rspamc
 }
 
-contrib() {
-	arch="noarch"
-	pkgdesc="Some useful stuff to deploying rspamd to another apps"
-	mkdir -p "$subpkgdir"/usr/share/$pkgname/contrib
-	# Exim specific stuff
-	cp -r "$_builddir"/contrib/exim "$subpkgdir"/usr/share/$pkgname/contrib/
-}
-
-md5sums="c68e7ad75c302bf910ba76b27d04e238  rspamd-1.1.1.tar.xz
+md5sums="19d43ecc16d6d7f89af50831055220d5  rspamd-1.1.2.tar.xz
 3fd4d0e28cb01224a786c0498266e9a6  rspamd.logrotated
 dba3145a52bee22d8ed1192dc44506ad  rspamd.initd
 ecfea2a25b95727ae91c04001fbd3e46  rspamd.confd
 a5f0967b3d9aa319909af7e1bfe998e1  rspamd.conf
 74e334227e9244c419abd605787c090e  rspamd.worker_normal
 03bd84228945261e2242564f9bf5f1ca  rspamd.worker_controller"
-sha256sums="3c4bda66b533861a84d82ea26bd7c19ccd1b1befe8b3e33a0fc211c036569a06  rspamd-1.1.1.tar.xz
+sha256sums="211a0ff0c83d3ef4b586f59b0d3d6e12b9e10b2a2c72894c5f9116e649fb6d41  rspamd-1.1.2.tar.xz
 cb02c8c041a0ace2e3c9e4fbf514038871b4444575c9022a75e661130db875fd  rspamd.logrotated
 83acf26538826ce58039236660807cc87b9d4abc628fa6e2ddbb4201eac5424e  rspamd.initd
 82be6a663af2e2333b0dfbbbfd05a9ff3d02e05c7e506235b1b0dbd9d0b72972  rspamd.confd
 5a223efb12e962e0f3bfe9f6d08336c6074b0b2930b8da6a22fe6582142ee40c  rspamd.conf
 7805103a2e11cf816e99dba7d67fdc584ece33d9ea3ef95f95f4fce91a34eb90  rspamd.worker_normal
 f50663096866b35095f7a6754e3cfb0bab518645d61646703715cf43da5adf77  rspamd.worker_controller"
-sha512sums="c971000f9e6c09ae8c4a175fcd96471efa3f5e73689b038a45cc2212dcf296babfd4000fa41f0451b2fdd989e00192cbb234a73cef026c16466bfe78b04b5385  rspamd-1.1.1.tar.xz
+sha512sums="78bbcd0130f3449b5e50f57049b1a0bca48bcfda808e08108c8dc2bfe2bb4a286b2d74084b8b9619299499105e3bf7085d086cc4cb929eb03e427c80aa49021c  rspamd-1.1.2.tar.xz
 3b95882b1804d8dc6524a4c2cdf3f656b2f9bf5db6228b92d1acd539629070aead654c1f58937e1473e4f07340dc3de7b212f87b36143c5cb3fcb3b472a85f5a  rspamd.logrotated
 12b2a92126f911e29d5ace836404ca8170bc19181f3b61896726b0dea79b03bc3b9295d876b96a633a3b4a963646cf7bebfbe10489ad24f373d81fd5a84f21b1  rspamd.initd
 0b73b159cec9a4a1d337fbb429814f78da23b55f72c9fb8a777ab5f06634206a4f9b25e587f8dbfa7c3242ac5501ebcc90b9a0e926adfd37e14a12ac4607fa62  rspamd.confd
-- 
2.7.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---