aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2019-11-07 13:58:57 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-14 08:59:56 +0000
commitf0daafa26104492bf41371cccf3a324f02aa66ec (patch)
tree0b8fe38fa7b6a09e09a7a4015f185293376c7aa1
parent5593ce97db68f853d289be22be4dd3709ae1a5af (diff)
downloadaports-f0daafa26104492bf41371cccf3a324f02aa66ec.tar.gz
aports-f0daafa26104492bf41371cccf3a324f02aa66ec.tar.bz2
aports-f0daafa26104492bf41371cccf3a324f02aa66ec.tar.xz
main/amavis: upgrade to 2.12.0 and rename from amavisd-new
renamed upstream to amavis development moved to gitlab.com add perl-mail-spamassassin to depends add -openrc subpackage
-rw-r--r--main/amavis/APKBUILD (renamed from main/amavisd-new/APKBUILD)22
-rwxr-xr-xmain/amavis/amavis.pre-install (renamed from main/amavisd-new/amavisd-new.pre-install)0
-rw-r--r--main/amavis/amavisd.confd (renamed from main/amavisd-new/amavisd.confd)0
-rw-r--r--main/amavis/amavisd.initd (renamed from main/amavisd-new/amavisd.initd)0
4 files changed, 10 insertions, 12 deletions
diff --git a/main/amavisd-new/APKBUILD b/main/amavis/APKBUILD
index a61070502a..f512a4e735 100644
--- a/main/amavisd-new/APKBUILD
+++ b/main/amavis/APKBUILD
@@ -1,38 +1,36 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-pkgname=amavisd-new
-pkgver=2.11.1
+pkgname=amavis
+pkgver=2.12.0
pkgrel=0
pkgdesc="High-performance interface between mailer (MTA) and content checkers"
-url="http://www.ijs.si/software/amavisd"
+url="https://gitlab.com/amavis/amavis"
arch="noarch"
license="GPL-2.0-or-later BSD"
+provides="amavisd-new=$pkgver-r$pkgrel"
depends="sed file perl perl-archive-zip perl-carp perl-convert-tnef
perl-compress-raw-zlib perl-convert-uulib perl-digest-md5 perl-io
perl-exporter perl-io-compress perl-io-stringy perl-mime-tools
perl-mailtools perl-socket perl-net-libidn perl-net-server
perl-time-hires perl-unix-syslog perl-db perl-mail-dkim
perl-io-socket-inet6
+ perl-mail-spamassassin
"
makedepends=""
install="$pkgname.pre-install"
options="!check"
-subpackages=""
-source="
- https://www.ijs.si/software/amavisd/$pkgname-$pkgver.tar.bz2
+subpackages="$pkgname-openrc"
+source="https://gitlab.com/amavis/amavis/-/archive/v$pkgver/amavis-v$pkgver.tar.gz
amavisd.initd
amavisd.confd
"
pkgusers="amavis"
pkggroups="amavis"
-_builddir="$srcdir"/$pkgname-$pkgver
-build() {
- return 0
-}
+builddir="$srcdir"/$pkgname-v$pkgver
package() {
- cd "$_builddir"
+ cd "$builddir"
(
HOME=/var/amavis
QUARANTINE=$HOME/quarantine
@@ -66,6 +64,6 @@ package() {
chown root:amavis "$pkgdir"/etc/amavisd.conf
}
-sha512sums="06180a4efa777af2f91781ba6e3ea302041c5dd721981d960bab24cecb160c17df8a927e95df9dd7ee5ba64004b8edd3c6c0c5ef7f96fd702d1d84e4a856ea83 amavisd-new-2.11.1.tar.bz2
+sha512sums="310cf2391b23fcafc1e747b603a8f86ade08490ac9daab8213baf48eee7ba18bab36b2cd2b11a4235380d42f0e4ad173fe844983653666c5b1d8db622137cfe2 amavis-v2.12.0.tar.gz
6a9dd16a6b52f3d1fbd16887f29ccceddc58e88a02e681f23c1fe54b7e24feea5089d52813f4f3e87d9242daf79d2b2ea1e7c451d83d7de943403e71dc61c4e5 amavisd.initd
a5ce3583c34197f335372728cf92da23bae2cd7a9ae48daff6eaadbf66fbd5be6bb8b480b0fce1ea2b3a662b0a54d1d2f1f277d2f9a06d9630b57fa5d7ac2635 amavisd.confd"
diff --git a/main/amavisd-new/amavisd-new.pre-install b/main/amavis/amavis.pre-install
index e672682914..e672682914 100755
--- a/main/amavisd-new/amavisd-new.pre-install
+++ b/main/amavis/amavis.pre-install
diff --git a/main/amavisd-new/amavisd.confd b/main/amavis/amavisd.confd
index d576300335..d576300335 100644
--- a/main/amavisd-new/amavisd.confd
+++ b/main/amavis/amavisd.confd
diff --git a/main/amavisd-new/amavisd.initd b/main/amavis/amavisd.initd
index 41f731d996..41f731d996 100644
--- a/main/amavisd-new/amavisd.initd
+++ b/main/amavis/amavisd.initd