summaryrefslogtreecommitdiff
path: root/harmony/busybox/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'harmony/busybox/APKBUILD')
-rw-r--r--harmony/busybox/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/harmony/busybox/APKBUILD b/harmony/busybox/APKBUILD
index a97c301f4..0c09b1126 100644
--- a/harmony/busybox/APKBUILD
+++ b/harmony/busybox/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox
pkgver=1.27.2
-pkgrel=3
+pkgrel=4
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url=http://busybox.net
arch="all"
@@ -15,7 +15,7 @@ checkdepends="zip"
provides="/bin/sh /sbin/init"
install="$pkgname.post-install $pkgname.post-upgrade
$pkgname-extras.post-install $pkgname-extras.pre-deinstall"
-subpackages="$pkgname-static $pkgname-suid $pkgname-extras"
+subpackages="$pkgname-static $pkgname-suid $pkgname-extras $pkgname-binsh"
options="suid !check"
triggers="busybox.trigger=/bin:/usr/bin:/sbin:/usr/sbin:/lib/modules/*"
source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2
@@ -164,6 +164,14 @@ suid() {
install -m4111 bbsuid "$subpkgdir"/bin/bbsuid
}
+binsh() {
+ pkgdesc="Provide /bin/sh with BusyBox ash"
+ depends="${pkgname}"
+
+ mkdir -p "$subpkgdir"/bin
+ mv "$pkgdir"/bin/sh "$subpkgdir"/bin
+}
+
static() {
pkgdesc="Statically linked Busybox"
mkdir -p "$subpkgdir"/bin