Skip to content
Snippets Groups Projects
Commit f08f1159 authored by Sören Tempel's avatar Sören Tempel
Browse files

main/sed: enable test suite again

parent 8c573d53
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!37100main/sed: enable test suite again
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sed
pkgver=4.8
pkgrel=0
pkgrel=1
subpackages="$pkgname-doc"
pkgdesc="GNU stream editor"
url="https://www.gnu.org/software/sed"
arch="all"
license="GPL-3.0-or-later"
makedepends="perl"
checkdepends="diffutils"
checkdepends="diffutils coreutils"
install="$pkgname.post-deinstall"
# GNU's master site seems to be down. use a mirror for now
#source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
source="https://ftp.heanet.ie/mirrors/ftp.gnu.org/gnu/sed/sed-$pkgver.tar.xz
"
# testsuite fails because busybox provides a /usr/bin/timeout
options="!check"
build() {
# sed assumes a realpath(3) implementation which strips
# repeated path separators ('/'). musl's realpath implementation
# does not strip repeated path separators at the beginning of a
# path. This causes failures of the sed test suite.
#
# To workaround this issue, use a sed compat implementation of
# realpath(3) by setting gl_cv_func_realpath_works=no.
gl_cv_func_realpath_works=no \
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -41,4 +47,6 @@ package() {
rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
}
sha512sums="7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8 sed-4.8.tar.xz"
sha512sums="
7de25d9bc2981c63321c2223f3fbcab61d7b0df4fcf7d4394b72400b91993e1288d8bf53948ed5fffcf5a98c75265726a68ad4fb98e1d571bf768603a108c1c8 sed-4.8.tar.xz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment