aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 22:41:08 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 17:33:49 +0000
commit652c24b9cc07bf50cc0f4118255d3d0088060bc8 (patch)
tree01c6cea4289fc9bafe6e278318443618261f833a
parentdda2c5c88b8f16892f5b554ffa192025e24b843b (diff)
downloadaports-652c24b9cc07bf50cc0f4118255d3d0088060bc8.tar.bz2
aports-652c24b9cc07bf50cc0f4118255d3d0088060bc8.tar.xz
main/libmilter: modernise, mark no tests, fix license
-rw-r--r--main/libmilter/APKBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/main/libmilter/APKBUILD b/main/libmilter/APKBUILD
index e4ffa3577c..fa9b5ada17 100644
--- a/main/libmilter/APKBUILD
+++ b/main/libmilter/APKBUILD
@@ -9,11 +9,12 @@ _pkgname=sendmail
# For example, version 1.0.1 has a SMFI_VERSION of 0x01000001.
pkgver=1.0.2
_pkgver=8.15.2
-pkgrel=5
+pkgrel=6
pkgdesc="Sendmail Mail Filter API (Milter)"
url="http://www.sendmail.com/sm/open_source"
arch="all"
-license="custom"
+options="!check" # No independent test suite.
+license="Sendmail"
makedepends="m4 linux-headers bsd-compat-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.sendmail.org/pub/$_pkgname/$_pkgname.$_pkgver.tar.gz
@@ -22,7 +23,7 @@ source="ftp://ftp.sendmail.org/pub/$_pkgname/$_pkgname.$_pkgver.tar.gz
builddir="$srcdir/$_pkgname-$_pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
cat >> devtools/Site/site.config.m4 <<-EOF
@@ -47,20 +48,14 @@ package() {
LIBOWN=root LIBGRP=root LIBMODE=644 UBINMODE=755 \
MILTER_SOVER=$pkgver \
DESTDIR="$pkgdir" \
- install || return 1
+ install
install -m 644 -D libmilter/README \
- "$pkgdir"/usr/share/doc/$pkgname/README || return 1
- cp -r libmilter/docs "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ "$pkgdir"/usr/share/doc/$pkgname/README
+ cp -r libmilter/docs "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/license
}
-md5sums="a824fa7dea4d3341efb6462ccd816f00 sendmail.8.15.2.tar.gz
-49558fc2c9e38f433e0dc64d76705c05 libmilter-sharedlib.patch
-c1aa7f5db24f0d8cd19f6b71f2c23695 default-pthread-stacksize.patch"
-sha256sums="24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439 sendmail.8.15.2.tar.gz
-3a753b0881fe622814b471ee5f9037905c7cc3ed08ef74908464ab5307e59d5a libmilter-sharedlib.patch
-d04f6f653c64857843f84a76991cdc3cbbff84093e43cc0baf5485b2f726056c default-pthread-stacksize.patch"
sha512sums="04feb37316c13b66b1518596507a7da7c16cb0bf1abf10367f7fd888a428fadb093a9efa55342fa55b936c3f0cbdc63b9e2505cd99201a69a0c05b8ad65f49f9 sendmail.8.15.2.tar.gz
31c36b57739946c1b9c7c85307fe5c53c45d7f8cbf427a0f2248db8b74871a6f5a30ef1af524915821aeca54310d28272bcd0a587cb918192214fa5c30e4a8da libmilter-sharedlib.patch
d3e12943fe7e9babdf700a2d8c0229bc16fa2ea16097615600341dee13f137b157ffa4b03f76c92ba9c5552ca3bf01cb598f6a6201720408df3a37247001a219 default-pthread-stacksize.patch"