diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
commit | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch) | |
tree | a63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /main/fakeroot | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2 aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz |
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'main/fakeroot')
-rw-r--r-- | main/fakeroot/APKBUILD | 22 | ||||
-rw-r--r-- | main/fakeroot/busybox-compat.patch | 23 |
2 files changed, 45 insertions, 0 deletions
diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD new file mode 100644 index 000000000..d9bfb67b8 --- /dev/null +++ b/main/fakeroot/APKBUILD @@ -0,0 +1,22 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=fakeroot +pkgver=1.12.4 +pkgrel=0 +pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" +license='GPL' +url="http://packages.debian.org/fakeroot" +depends= +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz + busybox-compat.patch" + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -p1 < ../busybox-compat.patch + CONFIG_SHELL=/bin/sh ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install +} + +md5sums="aaefede2405a40c87438e7e833d69b70 fakeroot_1.12.4.tar.gz +ea7b7e3065090d72804cdf4719dd5832 busybox-compat.patch" diff --git a/main/fakeroot/busybox-compat.patch b/main/fakeroot/busybox-compat.patch new file mode 100644 index 000000000..1d07d0d31 --- /dev/null +++ b/main/fakeroot/busybox-compat.patch @@ -0,0 +1,23 @@ +--- fakeroot-1.10.1.orig/scripts/fakeroot.in Wed Nov 5 19:48:00 2008 ++++ fakeroot-1.10.1/scripts/fakeroot.in Wed Nov 5 19:49:12 2008 +@@ -28,7 +28,7 @@ + + libfound=no + +-GETOPTEST=`getopt --version` ++GETOPTEST=`getopt --version 2>/dev/null` + case $GETOPTEST in + getopt*) # GNU getopt + TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"` +@@ -133,9 +133,9 @@ + PID=`echo $KEY_PID|cut -d: -f2` + + if [ "$WAITINTRAP" -eq 0 ]; then +- trap "kill -s @signal@ $PID" EXIT INT ++ trap "kill -@signal@ $PID" EXIT INT + else +- trap 'FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" /bin/ls -l / >/dev/null 2>&1; while kill -s @signal@ $PID 2>/dev/null; do sleep 0.1; done' EXIT INT ++ trap 'FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" /bin/ls -l / >/dev/null 2>&1; while kill -@signal@ $PID 2>/dev/null; do sleep 0.1; done' EXIT INT + fi + + if test -z "$FAKEROOTKEY" || test -z "$PID"; then |