* update fakeroot to 1.29-1

This commit is contained in:
Alexander Baldeck 2022-06-16 21:32:38 +02:00
parent b01630eab7
commit 1684c2fc61
2 changed files with 6 additions and 23 deletions

View File

@ -4,8 +4,8 @@
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=fakeroot
pkgver=1.25.3
pkgrel=2
pkgver=1.29
pkgrel=1
pkgdesc='Tool for simulating superuser privileges'
arch=(x86_64 powerpc64le powerpc)
license=('GPL')
@ -15,24 +15,8 @@ install=fakeroot.install
depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
makedepends=('systemd' 'po4a')
checkdepends=('sharutils')
source=("https://deb.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"
fakeroot-1.25.3-glibc-2.33-fix-1.patch
fakeroot-1.25.3-glibc-2.33-fix-2.patch
fakeroot-1.25.3-glibc-2.33-fix-3.patch)
sha256sums=('8e903683357f7f5bcc31b879fd743391ad47691d4be33d24a76be3b6c21e956c'
'7b1ea49a4123a6d95329b370cc9edb51dc0c292ee3eeaa034757b555607026ea'
'1d2b3c9de24a4249f71e4ed1465ccac462c4ae36bd0a72c796cbfc51fb88a5e6'
'669dc27fc4a63d265adffbd7fe04521d9e91f46fdba5465c55c6b2d281aae0dc')
prepare() {
cd $pkgname-$pkgver
patch -p1 -i $srcdir/fakeroot-1.25.3-glibc-2.33-fix-1.patch
patch -p1 -i $srcdir/fakeroot-1.25.3-glibc-2.33-fix-2.patch
patch -p1 -i $srcdir/fakeroot-1.25.3-glibc-2.33-fix-3.patch
./bootstrap
}
source=("https://deb.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.gz")
sha256sums=('8fbbafb780c9173e3ace4a04afbc1d900f337f3216883939f5c7db3431be7c20')
build() {
cd $pkgname-$pkgver

View File

@ -1,11 +1,10 @@
#!/bin/sh
post_install() {
usr/bin/ldconfig -r .
}
post_upgrade() {
if [ "$(vercmp $2 1.14.4-2)" -lt 0 ]; then
sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
fi
usr/bin/ldconfig -r .
}