Browse Source

v1.25.3 | New maintainer

master
Worty 4 years ago
parent
commit
2102f9ff5b
  1. 13
      .SRCINFO
  2. 20
      PKGBUILD
  3. 17
      silence-dlerror.patch

13
.SRCINFO

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
pkgbase = fakeroot-tcp
pkgdesc = Tool for simulating superuser privileges,with tcp ipc
pkgver = 1.24
pkgrel = 2
pkgver = 1.25.3
pkgrel = 1
url = http://packages.debian.org/fakeroot
install = fakeroot.install
arch = i686
@ -11,17 +11,16 @@ pkgbase = fakeroot-tcp @@ -11,17 +11,16 @@ pkgbase = fakeroot-tcp
license = GPL
makedepends = po4a
makedepends = automake
makedepends = autoconf
depends = glibc
depends = filesystem
depends = sed
depends = util-linux
depends = sh
provides = fakeroot=1.24-2
provides = fakeroot=1.25.3-1
conflicts = fakeroot
source = http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.24.orig.tar.gz
source = silence-dlerror.patch
md5sums = 964e5f438f1951e5a515dd54edd50fa6
md5sums = 5fba0b541b5af39d804265223fda525c
source = http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.25.3.orig.tar.gz
md5sums = f6104ef6960c962377ef062bf222a1d2
pkgname = fakeroot-tcp

20
PKGBUILD

@ -1,30 +1,24 @@ @@ -1,30 +1,24 @@
# Maintainer: 4679 <admin@libnull.com>
# Maintainer: w0rty <mawo97 at gmail.com>
# Contributor: 4679 <admin@libnull.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=fakeroot-tcp
_pkgname=fakeroot
pkgver=1.24
pkgrel=2
pkgver=1.25.3
pkgrel=1
pkgdesc='Tool for simulating superuser privileges,with tcp ipc'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
license=('GPL')
url="http://packages.debian.org/fakeroot"
install=fakeroot.install
depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
makedepends=('po4a' 'automake')
makedepends=('po4a' 'automake' 'autoconf')
provides=("${_pkgname}=${pkgver}-${pkgrel}")
conflicts=("${_pkgname}")
source=(http://ftp.debian.org/debian/pool/main/f/$_pkgname/${_pkgname}_${pkgver}.orig.tar.gz
silence-dlerror.patch)
md5sums=('964e5f438f1951e5a515dd54edd50fa6'
'5fba0b541b5af39d804265223fda525c')
prepare() {
cd $_pkgname-$pkgver
patch -p1 -i "$srcdir"/silence-dlerror.patch
}
source=(http://ftp.debian.org/debian/pool/main/f/$_pkgname/${_pkgname}_${pkgver}.orig.tar.gz)
md5sums=('f6104ef6960c962377ef062bf222a1d2')
build() {
cd $_pkgname-$pkgver

17
silence-dlerror.patch

@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
diff --git a/libfakeroot.c b/libfakeroot.c
index f867758..7ef6e47 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -256,10 +256,12 @@ void load_library_symbols(void){
/* clear dlerror() just in case dlsym() legitimately returns NULL */
msg = dlerror();
*(next_wrap[i].doit)=dlsym(get_libc(), next_wrap[i].name);
+#ifdef LIBFAKEROOT_DEBUGGING
if ( (msg = dlerror()) != NULL){
fprintf (stderr, "dlsym(%s): %s\n", next_wrap[i].name, msg);
/* abort ();*/
}
+#endif /* LIBFAKEROOT_DEBUGGING */
}
}
Loading…
Cancel
Save