logo

alpine-overlay

git clone https://anongit.hacktivis.me/git/alpine-overlay.git/
commit: 7772587ccf787e5f9aec319670852b5510519092
parent b1334cea92b0b7903dab6d6940265b977e2b1a4f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 20 Dec 2024 04:27:07 +0100

lanodan/utils-std: upgrade to 0.0.1

Diffstat:

Mlanodan/utils-std/APKBUILD28+++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)

diff --git a/lanodan/utils-std/APKBUILD b/lanodan/utils-std/APKBUILD @@ -1,18 +1,16 @@ # Maintainer: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me> pkgname=utils-std -pkgver=0_git20240915 -_git_commit=69fb55f -pkgrel=1 +pkgver=0.0.1 +pkgrel=0 pkgdesc="Collection of commonly available Unix tools" url="https://hacktivis.me/git/utils-std" arch="all" license="MPL-2.0 0BSD BSD-2-Clause BSD-3-Clause CC0-1.0 GFDL-1.1-only WTFPL" -options="!check" makedepends="cmd:m4 cmd:yacc" -checkdepends="mandoc atf kyua" +checkdepends="" subpackages="$pkgname-dbg $pkgname-doc $pkgname-strings $pkgname-strings-doc:strings_doc" -source="https://hacktivis.me/releases/utils-std/$pkgname-$_git_commit.tar.gz" -builddir="$srcdir/$pkgname-$_git_commit" +source="https://hacktivis.me/releases/utils-std/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { PREFIX=/usr CRAM=true ./configure @@ -21,7 +19,19 @@ build() { } check() { - make check + # Workaround busybox rm(1) lacking -d + mkdir -p busybox-overrides/ + ln -s ../cmd/rm busybox-overrides/rm + + # t gn, t gnr: missing names for group IDs in my Alpine install + # t G: Busybox id(1) seems to sort numeric output + sed -i \ + -e 's;^t gn ;skip gn ;' \ + -e 's;^t gnr ;skip gnr ;' \ + -e 's;^t G ;skip G ;' \ + test-cmd/id.sh + + PATH=$PWD/busybox-overrides/:$PATH make check } package() { @@ -63,5 +73,5 @@ strings_doc() { } sha512sums=" -ea3698c8e68ea5578a046f7e5832868d0e3f8d3ab40d2a0fdf25d93b79ac24ca002a4c0fd7da8556e2078cac416098be4739e8c58388ec61ed67d6d49a2ba95a utils-std-69fb55f.tar.gz +b78d9adeca16187956fa32ca1743d8e707cba4aa543979243e4abe6a958c5892ef1b26982b45da50724e5af0ee31109d7d05c66751a21c77f06f04b7a56f8001 utils-std-0.0.1.tar.gz "