From 34b99ae407543b31988ceeef65767ea00f4a247b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 17 Mar 2023 09:09:23 +0100 Subject: removed polkit-duktape, unblacklisted polkit on i486 --- blacklist/i486/rust/polkit | 1 - blacklist/i686/polkit-duktape | 1 - .../0001-Add-duktape-as-javascript-engine.patch | Bin 51318 -> 0 bytes extra/polkit-duktape/PKGBUILD | 65 --------------------- 4 files changed, 67 deletions(-) delete mode 100644 blacklist/i486/rust/polkit delete mode 100644 blacklist/i686/polkit-duktape delete mode 100644 extra/polkit-duktape/0001-Add-duktape-as-javascript-engine.patch delete mode 100644 extra/polkit-duktape/PKGBUILD diff --git a/blacklist/i486/rust/polkit b/blacklist/i486/rust/polkit deleted file mode 100644 index afe4b34d..00000000 --- a/blacklist/i486/rust/polkit +++ /dev/null @@ -1 +0,0 @@ -polkit needs js78, using polkit-duktape and duktape on i486 instead (thanks for the hint from Gentoo) diff --git a/blacklist/i686/polkit-duktape b/blacklist/i686/polkit-duktape deleted file mode 100644 index 4fcaf43c..00000000 --- a/blacklist/i686/polkit-duktape +++ /dev/null @@ -1 +0,0 @@ -polkit-duktape is for i486 only (till we bootstrapped Rust there) diff --git a/extra/polkit-duktape/0001-Add-duktape-as-javascript-engine.patch b/extra/polkit-duktape/0001-Add-duktape-as-javascript-engine.patch deleted file mode 100644 index 34ddd2fd..00000000 Binary files a/extra/polkit-duktape/0001-Add-duktape-as-javascript-engine.patch and /dev/null differ diff --git a/extra/polkit-duktape/PKGBUILD b/extra/polkit-duktape/PKGBUILD deleted file mode 100644 index d2898e2a..00000000 --- a/extra/polkit-duktape/PKGBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Jan de Groot - -_pkgname=polkit -pkgname=${_pkgname}-duktape -pkgver=0.118 -pkgrel=3 -pkgdesc="polkit with duktape as the javascript engine" -arch=(x86_64) -license=(LGPL) -url="https://www.freedesktop.org/wiki/Software/polkit/" -depends=(glib2 pam expat systemd duktape) -makedepends=(intltool gtk-doc gobject-introspection git autoconf-archive) -conflicts=(polkit) -provides=(polkit) -backup=(etc/pam.d/polkit-1) -_commit=ff4c2144f0fb1325275887d9e254117fcd8a1b52 -source=("git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit" - "0001-Add-duktape-as-javascript-engine.patch") -sha256sums=('SKIP' - '4b6b90ca0f2fa44115027cc6bb98fa43fede46e7fa31a6fd52f8ec142c0073f1') - -pkgver() { - cd $_pkgname - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $_pkgname - patch -p1 -i ../0001-Add-duktape-as-javascript-engine.patch - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd $_pkgname - - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --libexecdir=/usr/lib \ - --enable-libsystemd-login=yes --disable-static \ - --enable-gtk-doc --with-os-type=redhat --with-duktape - - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make -} - -check() { - cd $_pkgname - make -k check || : -} - -package() { - cd $_pkgname - make DESTDIR="$pkgdir" install \ - dbusconfdir=/usr/share/dbus-1/system.d \ - rulesdir=/usr/share/polkit-1/rules.d - - install -d -o root -g 102 -m 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d - - install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" <