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

20
PKGBUILD

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

17
silence-dlerror.patch

@ -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