aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-23 00:27:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-23 10:55:02 -0300
commit2670b3694272eeee4aacac5aecedd658190c551a (patch)
treea94738b140c41b3265fbdc9f620ade148e3b4a9e
parentd9c600155371b4f2503c2c06d1cec0889e57d000 (diff)
downloadaports-2670b3694272eeee4aacac5aecedd658190c551a.tar.gz
aports-2670b3694272eeee4aacac5aecedd658190c551a.tar.bz2
aports-2670b3694272eeee4aacac5aecedd658190c551a.tar.xz
testing/dma: upgrade to 0.12
-rw-r--r--testing/dma/APKBUILD32
1 files changed, 10 insertions, 22 deletions
diff --git a/testing/dma/APKBUILD b/testing/dma/APKBUILD
index 73f74d5d00..1387fc715d 100644
--- a/testing/dma/APKBUILD
+++ b/testing/dma/APKBUILD
@@ -1,58 +1,46 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=dma
-pkgver=0.11
-pkgrel=8
+pkgver=0.12
+pkgrel=0
pkgdesc="A small Mail Transport Agent from DragonFly BSD"
url="https://github.com/corecode/dma"
arch="x86_64 x86 ppc64le"
-license="BSD"
-depends=""
-depends_dev=""
+license="BSD-3-Clause"
makedepends="bison flex libbsd-dev bsd-compat-headers openssl-dev"
-install=""
options="suid"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/corecode/$pkgname/archive/v$pkgver.tar.gz
$pkgname.cron
musl-fixes.patch"
-builddir="$srcdir"/$pkgname-$pkgver
build() {
- make -C "$builddir" || return 1
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" PREFIX=/usr \
- install install-etc || return 1
+ make DESTDIR="$pkgdir" PREFIX=/usr install install-etc
local _prog=
for _prog in bin/mailq bin/newailases sbin/sendmail; do
mkdir -p "$pkgdir"/usr/${_prog%/*}
- ln -s /usr/sbin/dma "$pkgdir"/usr/$_prog || return 1
+ ln -s /usr/sbin/dma "$pkgdir"/usr/$_prog
done
# Create spool directory.
install -d -o root -g mail \
- -m 775 "$pkgdir"/var/spool/$pkgname || return 1
+ -m 775 "$pkgdir"/var/spool/$pkgname
# Install cronjob.
install -Dm755 "$srcdir"/$pkgname.cron \
- "$pkgdir"/etc/periodic/15min/$pkgname || return 1
+ "$pkgdir"/etc/periodic/15min/$pkgname
# Install additional documentation files.
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples
install -m644 README.markdown TODO \
- "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ "$pkgdir"/usr/share/doc/$pkgname/
}
-md5sums="4090572921fc33be0977f4010881b501 dma-0.11.tar.gz
-f18d7ecc05b78f2c6090b09546ae6a93 dma.cron
-dae016c71deec1db57604149f2644537 musl-fixes.patch"
-sha256sums="288bd57f17aba696b6423b1fa0cd0f7d9b7228d32811f1cd7b821d5f020051b8 dma-0.11.tar.gz
-d8fa93762bef118aef5a37d546352c4b7be1617c88e07754b2edd06c4c70e7e9 dma.cron
-e7c39867da5e9c4cd91e0c82e071f770f3e615815c0bb47dd37eb9b2ec2242f0 musl-fixes.patch"
-sha512sums="8ccf85a921da12cbf5b9f2c93dd96da91d2acdace979ed4a6b37af94e72441bf654ac65525fc2c1118c1b16136278de4daeafc753dcaf4300a017e317f83fc4d dma-0.11.tar.gz
+sha512sums="7840cd3d8da9045891f6daa6c7758a63886f7b62ce9f4a21cbe0b354fe3e39fcd57bacd582391df99554160faf32b61b470d39090a14996ab2ea19c8cc98daa2 dma-0.12.tar.gz
5a79895fd42ffee347b979402225eb8025ea9bb41d0dc24b43d4b1e64106f1c612024456ea98e20aef4258eb8e852b370410e47d6ee34cea630dda29cc54840e dma.cron
051af3d10711f7565fedd3a06c152454020e903e2e923a37cc77ccbf4346f308edecfe4f3d3c37a3cb2e54d1fb336bb4d9cea2a7d6dc560aec3c2369eb55e6a9 musl-fixes.patch"