aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-05-10 13:32:30 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2020-05-11 11:16:30 +0200
commit522d5e123a58132cb62cb04b6522815f5929147c (patch)
tree441c511120e451157bb395cab16f2b5d92c959f9
parent546ea94d72b059dde04235b951a6b464e2e597e0 (diff)
downloadaports-522d5e123a58132cb62cb04b6522815f5929147c.tar.gz
aports-522d5e123a58132cb62cb04b6522815f5929147c.tar.bz2
aports-522d5e123a58132cb62cb04b6522815f5929147c.tar.xz
main/run-parts: install binaries to /bin
This is required to make sure the busybox run-parts symlink in /bin is overwritten by the run-parts binary provided by this package. Fixes #11513
-rw-r--r--main/run-parts/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/run-parts/APKBUILD b/main/run-parts/APKBUILD
index 38ee322b61..8095cdabe7 100644
--- a/main/run-parts/APKBUILD
+++ b/main/run-parts/APKBUILD
@@ -2,7 +2,7 @@
pkgname=run-parts
_pkgname=debianutils
pkgver=4.9.1
-pkgrel=0
+pkgrel=1
pkgdesc="run-parts from the debianutils package"
url="https://packages.qa.debian.org/d/debianutils.html"
arch="all"
@@ -11,17 +11,19 @@ subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-$pkgver
-
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr
+ --prefix=/usr \
+ --bindir=/bin
make
}
package() {
- install -D -m755 run-parts $pkgdir/usr/bin/run-parts
+ # Install binaries to /bin to overwrite busybox's run-parts version.
+ install -D -m755 run-parts $pkgdir/bin/run-parts
install -D -m644 run-parts.8 $pkgdir/usr/share/man/man8/run-parts.8
}
+
sha512sums="b442950febe6df9e15ec04a6fec0ee8be12d3eac38dc3f9331438d871e3382f4e0f599da0eaeff0e7e9ba0fa5136ce3c3b51c6718e4d7f11c1675f745052a9b1 debianutils_4.9.1.tar.xz"