summaryrefslogtreecommitdiff
path: root/community/busybox
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
committerroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
commit0520c5091743d9910278e53fa32470b096825fb3 (patch)
treece32603cb0eb8456aef2a5eb66fddc98f246857c /community/busybox
parente0c1bfae73539aac5627d73dd70a299d274a0c10 (diff)
Fri May 24 00:06:06 PDT 2013
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 b875b26f6..1b1e71bbb 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")
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."
}