summaryrefslogtreecommitdiff
path: root/community/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'community/busybox')
-rw-r--r--community/busybox/PKGBUILD6
-rw-r--r--community/busybox/busybox.install9
2 files changed, 8 insertions, 7 deletions
diff --git a/community/busybox/PKGBUILD b/community/busybox/PKGBUILD
index 1c696163b..f7ee72159 100644
--- a/community/busybox/PKGBUILD
+++ b/community/busybox/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 85655 2013-03-04 13:07:52Z spupykin $
+# $Id: PKGBUILD 91555 2013-05-23 15:08:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
pkgname=busybox
pkgver=1.20.2
-pkgrel=2
+pkgrel=5
pkgdesc="Utilities for rescue and embedded systems"
arch=("i686" "x86_64" 'mips64el')
url="http://www.busybox.net"
@@ -27,5 +27,5 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 busybox $pkgdir/bin/busybox
+ install -Dm755 busybox $pkgdir/usr/bin/busybox
}
diff --git a/community/busybox/busybox.install b/community/busybox/busybox.install
index ecbeec39a..7bf2a83ac 100644
--- a/community/busybox/busybox.install
+++ b/community/busybox/busybox.install
@@ -1,13 +1,14 @@
post_install() {
- echo "You may want to do setuid on /bin/busybox"
- echo " chmod 4555 /bin/busybox"
+ echo "You may want to do setuid on /usr/bin/busybox"
+ echo " chmod 4555 /usr/bin/busybox"
}
pre_upgrade() {
- busybox stat -c %a bin/busybox >tmp/busybox.upgrade.script
+ busybox stat -c %a usr/bin/busybox >tmp/busybox.upgrade.script
}
post_upgrade() {
- [ -f tmp/busybox.upgrade.script ] && busybox chmod `busybox cat tmp/busybox.upgrade.script` bin/busybox
+ [ -f tmp/busybox.upgrade.script ] && busybox chmod `busybox cat tmp/busybox.upgrade.script` usr/bin/busybox
busybox rm -f tmp/busybox.upgrade.script
+ echo "busybox is un /usr/bin now. Readjust its mode if you modified it."
}