aboutsummaryrefslogtreecommitdiffstats
path: root/main/mksh/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-03-02 19:04:30 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2019-03-02 19:14:48 +0100
commit191fb1ab00ed5a05a44a5ae47ba103c8d002c6fe (patch)
treefc9d7dc0c0c5dd43a13fa90a384c3231dc02169e /main/mksh/APKBUILD
parentf164da39d1b80378ea475908c29c36c3508f72a1 (diff)
downloadaports-191fb1ab00ed5a05a44a5ae47ba103c8d002c6fe.tar.bz2
aports-191fb1ab00ed5a05a44a5ae47ba103c8d002c6fe.tar.xz
main/mksh: upgrade to 57
Diffstat (limited to 'main/mksh/APKBUILD')
-rw-r--r--main/mksh/APKBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/main/mksh/APKBUILD b/main/mksh/APKBUILD
index e16d0312ed..1f5113941f 100644
--- a/main/mksh/APKBUILD
+++ b/main/mksh/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Sören Tempel <soeren+alpinelinux@soeren-tempel.net>
pkgname=mksh
-pkgver=56c
+pkgver=57
_pkgver=R$pkgver
pkgrel=0
pkgdesc="MirBSD KSH Shell"
@@ -17,6 +17,17 @@ subpackages="$pkgname-doc"
source="https://www.mirbsd.org/MirOS/dist/mir/$pkgname/$pkgname-$_pkgver.tgz"
builddir="$srcdir/$pkgname"
+prepare() {
+ default_prepare
+
+ # This test case checks if a controlling tty is not present when
+ # `-C regress:no-ctty` has been passed. However, a controlling
+ # tty might be present when building this APKBUILD locally but
+ # isn't present on the builder. To make sure the tests pass both
+ # locally and on the builders we remove this test case.
+ sed -i "$builddir"/check.t -e '/^name: selftest-tty-absent$/,/^---$/d'
+}
+
build() {
cd "$builddir"
sh Build.sh -r
@@ -34,4 +45,4 @@ package() {
install -Dm644 dot.mkshrc "$pkgdir"/usr/share/doc/mksh/dot.mkshrc
}
-sha512sums="7e4cd2d24c6bca2ebad7c6b02d158188e766bd4693d93f5bed198d69238aef078d42ce911431ad4e419e4af55083047d823bfad53973db5c6d8a685482770135 mksh-R56c.tgz"
+sha512sums="7d7fa557c17da4f1f62f82877a136439efb6d4f9fde52b2df39214db09868982e756df6e4fe83498f9013cbcf3252dc383b00ddfafaa4c9f143ffded7cd255b3 mksh-R57.tgz"