aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-10 08:58:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-10 09:00:19 +0000
commit05e61714674f3d4387d3d575c1a8da5aef54536d (patch)
tree3ab70cb9e8ca197bc205c09073133bada7365bb0 /main/busybox/APKBUILD
parenta2d094dcd371b355d228d8de401e78609d65deaf (diff)
downloadaports-05e61714674f3d4387d3d575c1a8da5aef54536d.tar.gz
aports-05e61714674f3d4387d3d575c1a8da5aef54536d.tar.bz2
aports-05e61714674f3d4387d3d575c1a8da5aef54536d.tar.xz
main/busybox: fix use of http proxy with wget
Patch from here: https://bugs.busybox.net/show_bug.cgi?id=1057 fixes #264
Diffstat (limited to 'main/busybox/APKBUILD')
-rw-r--r--main/busybox/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD
index 16dbdfd66f..54b4f67cee 100644
--- a/main/busybox/APKBUILD
+++ b/main/busybox/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox
pkgver=1.16.0
-pkgrel=0
+pkgrel=1
pkgdesc="Size optimized toolbox of many common UNIX utilities"
url=http://busybox.net
license="GPL-2"
@@ -10,11 +10,12 @@ install="$pkgname.post-install $pkgname.post-upgrade"
triggers="busybox.trigger:/bin /usr/bin /sbin /usr/sbin /lib/modules/*"
source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2
$pkgname-1.11.1-bb.patch
+ wget-proxy-user.patch
busyboxconfig"
-build() {
- cd "$srcdir"/$pkgname-$pkgver
-
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
#patches
for i in ../*.patch; do
msg "Applying $i"
@@ -32,13 +33,16 @@ build() {
# on abuild version
sed -e "s:^CONFIG_PREFIX=.*:CONFIG_PREFIX=\"$pkgdir\":" \
../busyboxconfig > .config
+}
+build() {
+ cd "$_builddir"
make silentoldconfig || return 1
make || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make install DESTDIR="$pkgdir"
mkdir -p "$pkgdir"/usr/sbin "$pkgdir"/usr/bin "$pkgdir"/tmp \
"$pkgdir"/var/cache/misc
@@ -49,4 +53,5 @@ package() {
md5sums="2130884e71a1648bfb63c3250c1d288c busybox-1.16.0.tar.bz2
4c0f3b486eaa0674961b7ddcd0c60a9b busybox-1.11.1-bb.patch
+8e1c898ec233f6759bca72367ee934fd wget-proxy-user.patch
9743e7ecd48f37b0d420f64bef7fb2a8 busyboxconfig"