summaryrefslogtreecommitdiff
path: root/strata/privileges-management
diff options
context:
space:
mode:
Diffstat (limited to 'strata/privileges-management')
-rw-r--r--strata/privileges-management/mozjs17.morph18
-rw-r--r--strata/privileges-management/polkit.morph10
2 files changed, 28 insertions, 0 deletions
diff --git a/strata/privileges-management/mozjs17.morph b/strata/privileges-management/mozjs17.morph
new file mode 100644
index 00000000..968bfcc8
--- /dev/null
+++ b/strata/privileges-management/mozjs17.morph
@@ -0,0 +1,18 @@
+name: mozjs17
+kind: chunk
+build-system: manual
+configure-commands:
+- |
+ cd js/src;
+ ./configure --prefix="$PREFIX" \
+ --sysconfdir=/etc \
+ --with-system-nspr \
+ --with-system-ffi \
+ --enable-threadsafe
+build-commands:
+- |
+ cd js/src;
+ make
+install-commands:
+- cd js/src;
+ make DESTDIR="$DESTDIR" install
diff --git a/strata/privileges-management/polkit.morph b/strata/privileges-management/polkit.morph
new file mode 100644
index 00000000..d903ae0f
--- /dev/null
+++ b/strata/privileges-management/polkit.morph
@@ -0,0 +1,10 @@
+name: polkit
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --disable-man-pages --disable-gtk-doc --enable-libsystemd-login=yes
+system-integration:
+ polkit-misc:
+ 00-add-polkitd-user:
+ - groupadd -fg 27 polkitd
+ - useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 -g polkitd -s /bin/false polkitd