diff options
author | root <root@rshg054.dnsready.net> | 2011-10-17 23:14:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-17 23:14:42 +0000 |
commit | c4f201fd7208805c7ee00e0ee833d3cc505898ac (patch) | |
tree | 72c45bb585e42c6c7da3fc0b4aa817019daf99a7 /community/busybox | |
parent | e1b3d592f43a99f4ed7c91971deda6ce8414dd69 (diff) |
Mon Oct 17 23:14:42 UTC 2011
Diffstat (limited to 'community/busybox')
-rw-r--r-- | community/busybox/PKGBUILD | 7 | ||||
-rw-r--r-- | community/busybox/busybox.install | 13 |
2 files changed, 17 insertions, 3 deletions
diff --git a/community/busybox/PKGBUILD b/community/busybox/PKGBUILD index 664e1682f..7af95150b 100644 --- a/community/busybox/PKGBUILD +++ b/community/busybox/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 55611 2011-09-15 22:10:36Z ebelanger $ +# $Id: PKGBUILD 56916 2011-10-16 17:30:46Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jens Pranaitis <jens@jenux.homelinux.org> pkgname=busybox pkgver=1.19.2 -pkgrel=2 +pkgrel=3 pkgdesc="Utilities for rescue and embedded systems" arch=("i686" "x86_64") url="http://www.busybox.net" @@ -12,6 +12,7 @@ license=('GPL') makedepends=("make" "gcc" "sed" "ncurses") source=($url/downloads/$pkgname-$pkgver.tar.bz2 config) +install=busybox.install md5sums=('50267054345f1a0b77fe65f6e0e5ba29' 'edd5c66c974ccc1b0030fd00beaa1b02') @@ -26,5 +27,5 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm4755 busybox $pkgdir/bin/busybox + install -Dm755 busybox $pkgdir/bin/busybox } diff --git a/community/busybox/busybox.install b/community/busybox/busybox.install new file mode 100644 index 000000000..233b70799 --- /dev/null +++ b/community/busybox/busybox.install @@ -0,0 +1,13 @@ +post_install() { + echo "You may want to do setuid on /bin/busybox" + echo " chmod 4555 /bin/busybox" +} + +pre_upgrade() { + stat -c %a /bin/busybox >tmp/busybox.upgrade.script +} + +post_upgrade() { + [ -f tmp/busybox.upgrade.script ] && chmod `cat tmp/busybox.upgrade.script` /bin/busybox + rm -f tmp/busybox.upgrade.script +} |