aboutsummaryrefslogtreecommitdiffstats
path: root/testing/s-nail/APKBUILD
diff options
context:
space:
mode:
authorSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>2017-10-22 01:31:49 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-11-06 09:03:04 +0000
commit72c08463545d601a08da1473439c0dc4c11e84ec (patch)
tree49ee6271fa4820887f81edf469d09e84327ce499 /testing/s-nail/APKBUILD
parent21fdfa821ede4e73a7800a8b93253638412ca8fb (diff)
downloadaports-72c08463545d601a08da1473439c0dc4c11e84ec.tar.gz
aports-72c08463545d601a08da1473439c0dc4c11e84ec.tar.bz2
aports-72c08463545d601a08da1473439c0dc4c11e84ec.tar.xz
testing/s-nail: update to v14.9.5
Diffstat (limited to 'testing/s-nail/APKBUILD')
-rw-r--r--testing/s-nail/APKBUILD32
1 files changed, 25 insertions, 7 deletions
diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
index e650cf266f..2f393ad909 100644
--- a/testing/s-nail/APKBUILD
+++ b/testing/s-nail/APKBUILD
@@ -1,22 +1,38 @@
+# Contributor: Steffen Nurpmeso <steffen@sdaoden.eu>
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=s-nail
-pkgver=14.8.16
+pkgver=14.9.5
pkgrel=0
-pkgdesc="An incarnation of BSD Mail / POSIX mailx"
-url="https://www.sdaoden.eu/code.html#s-nail"
+pkgdesc="SysV/BSD/POSIX mail(x) utility to send and receive Internet mail"
+url="https://www.sdaoden.eu/code.html#s-mailx"
arch="all"
license="BSD"
-makedepends="libressl-dev libidn-dev"
+makedepends="libressl-dev libidn-dev ncurses-dev krb5-dev"
options="suid"
replaces="mailx"
subpackages="$pkgname-doc"
source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
builddir="$srcdir/"$pkgname-$pkgver
+# LD_LIBRARY_PATH is included via -rpath, so use system defaults only.
+# And ensure no other paths sneak in.
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+C_INCLUDE_PATH=/usr/include
+LD_LIBRARY_PATH=/lib:/usr/lib
+LIBRARY_PATH=$LD_LIBRARY_PATH
+LD_RUN_PATH=$LD_LIBRARY_PATH
+export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
+
build() {
cd "$builddir"
- make SID= NAIL=mail PREFIX=/usr SYSCONFDIR=/etc WANT_AUTOCC=0 all
+ make \
+ VAL_SID= VAL_MAILX=mail \
+ VAL_PREFIX=/usr \
+ VAL_SYSCONFDIR=/etc \
+ OPT_AUTOCC=no \
+ config &&
+ make build # XXX unite with config in v14.9.6
}
check() {
@@ -26,7 +42,9 @@ check() {
package() {
cd "$builddir"
- make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15 s-nail-14.8.16.tar.xz"
+sha512sums="96b81c9a9d993f094f5a4f7a726d4b37e9640262cd68120403d92591044576651f14560760504d5ebfa81954f6c97e33f976c0a486be4bd6e04516bdbc80e9a5 s-nail-14.9.5.tar.xz"