Skip to content
Snippets Groups Projects

Draft: community/polkit: use patch to replace mozjs with duktape

Closed Andy Postnikov requested to merge andypost/aports:polkit-duktape into master
2 files
+ 3465
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 5
2
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit
pkgver=0.120
pkgrel=1
pkgrel=2
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="https://www.freedesktop.org/wiki/Software/polkit/"
arch="all !mips !mips64 !s390x !riscv64" # Rust
@@ -16,6 +16,7 @@ makedepends="
automake
bash
dbus-glib-dev
duktape-dev
elogind-dev
expat-dev
glib-dev
@@ -24,7 +25,6 @@ makedepends="
intltool
libtool
linux-pam-dev
mozjs78-dev
"
pkgusers="polkitd"
pkggroups="polkitd"
@@ -42,6 +42,7 @@ subpackages="
"
source="https://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.gz
make-innetgr-optional.patch
use-duktape.patch
alpine-polkit.pam
polkit.initd
"
@@ -80,6 +81,7 @@ _build() {
--enable-introspection \
--with-authfw=pam \
--with-os-type=alpine \
--with-duktape \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
@@ -206,6 +208,7 @@ common() {
sha512sums="
db072769439d5e17d0eed681e7b94251b77828c1474b40fe40b94293903a64333e7fa17515a3270648691f04a1374d8b404405ead6abf292a8eb8483164adc46 polkit-0.120.tar.gz
0c47751e928a91ce3a477a330ef38b8f6f003b515c94e7fb9842e6f2043be43d749ab7390cc1dbcf1fa6128b62cf0eab353d4f8855d68e595bc53777512f4562 make-innetgr-optional.patch
e088327ff6d49c0b39c0462f1537da7451548dcff6f910cc2dfcf7571f69c1b6cbd5e6ffd9cfc24def98b7813aa661e231324a8783c2351028f793a7394d891a use-duktape.patch
f5102dc00d390b3a3c957b62e1712db778c7ffb7378f3d8e816c0757c11a308c5d5303e42595b0d6add9839247c773880cd34e56afacc89eb6efaadf9aae7826 alpine-polkit.pam
f6e5ac0ed41feb392dfd104979ec577c5936f3db2bd252b12b7b9b2609a0901dae38bebec1ea65ccf4f427860b520383ae4d2c66fb74ab986c715f6b0ad50473 polkit.initd
"
Loading