Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b3b71b793 |
No files matched your search
@@ -17,8 +17,6 @@ from pmb.core.context import get_context
|
||||
|
||||
def build_strict(packages, arch):
|
||||
common.run_pmbootstrap(["build_init"])
|
||||
common.run_pmbootstrap(["config", "mirrors.pmaports",
|
||||
"http://mirror.postmarketos.org/postmarketos/staging/systemd/"])
|
||||
common.run_pmbootstrap(["--details-to-stdout", "--no-ccache", "build",
|
||||
"--strict", "--force",
|
||||
"--arch", arch, ] + list(packages))
|
||||
@@ -48,7 +46,6 @@ if __name__ == "__main__":
|
||||
sys.exit(1)
|
||||
arch = sys.argv[1]
|
||||
|
||||
common.run_pmbootstrap(["config", "systemd", "always"])
|
||||
# Get and print modified packages
|
||||
common.add_upstream_git_remote()
|
||||
packages = common.get_changed_packages()
|
||||
|
||||
+28
-2
@@ -60,8 +60,34 @@ def get_upstream_branch():
|
||||
|
||||
:returns: branch name, e.g. "v20.05" """
|
||||
|
||||
# HACK for master_staging_systemd branch
|
||||
return "master_staging_systemd"
|
||||
# Prefer gitlab CI target branch name if it's set (i.e. running in gitlab CI)
|
||||
if target_branch := os.environ.get("CI_MERGE_REQUEST_TARGET_BRANCH_NAME"):
|
||||
return target_branch
|
||||
|
||||
global cache
|
||||
if "upstream_branch" in cache:
|
||||
return cache["upstream_branch"]
|
||||
|
||||
# Get channel (e.g. "stable") from pmaports.cfg
|
||||
# https://postmarketos.org/pmaports.cfg
|
||||
pmaports_dir = get_pmaports_dir()
|
||||
pmaports_cfg = configparser.ConfigParser()
|
||||
pmaports_cfg.read(f"{pmaports_dir}/pmaports.cfg")
|
||||
channel = pmaports_cfg["pmaports"]["channel"]
|
||||
|
||||
# Get branch_pmaports (e.g. "v20.05") from channels.cfg
|
||||
# https://postmarketos.org/channels.cfg
|
||||
channels_cfg_str = run_git(["show", "upstream/master:channels.cfg"])
|
||||
channels_cfg = configparser.ConfigParser()
|
||||
channels_cfg.read_string(channels_cfg_str)
|
||||
assert channel in channels_cfg, \
|
||||
f"Channel '{channel}' from pmaports.cfg in your branch is unknown." \
|
||||
" This appears to be an old branch, consider recreating your change" \
|
||||
" on top of master."
|
||||
|
||||
ret = channels_cfg[channel]["branch_pmaports"]
|
||||
cache["upstream_branch"] = ret
|
||||
return ret
|
||||
|
||||
|
||||
def get_changed_files(removed=True):
|
||||
|
||||
@@ -10,7 +10,6 @@ expected_directories = [
|
||||
"device/community",
|
||||
"device/main",
|
||||
"device/testing",
|
||||
"extra-repos/systemd",
|
||||
"main",
|
||||
"modem",
|
||||
"non-free",
|
||||
|
||||
@@ -23,9 +23,6 @@ def test_aports_kernel():
|
||||
apkbuild = pmb.parse.apkbuild(path)
|
||||
aport_name = os.path.basename(os.path.dirname(path))
|
||||
|
||||
if aport_name == "linux-pam":
|
||||
continue # This package isn't a linux kernel!
|
||||
|
||||
if "pmb:cross-native" not in apkbuild["options"]:
|
||||
raise RuntimeError(f"{aport_name}: \"pmb:cross-native\" missing in"
|
||||
" options= line")
|
||||
|
||||
@@ -12,8 +12,3 @@ indent_style = tab
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
# Forked from Alpine
|
||||
[extra-repos/systemd/networkmanager/networkmanager.rules]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
@@ -143,6 +143,11 @@ build-x86_64:
|
||||
script:
|
||||
- .ci/build-x86_64.sh
|
||||
|
||||
build-x86:
|
||||
extends: .build
|
||||
script:
|
||||
- .ci/build-x86.sh
|
||||
|
||||
build-aarch64:
|
||||
extends: .build
|
||||
script:
|
||||
@@ -153,6 +158,16 @@ build-armv7:
|
||||
script:
|
||||
- .ci/build-armv7.sh
|
||||
|
||||
build-armhf:
|
||||
extends: .build
|
||||
script:
|
||||
- .ci/build-armhf.sh
|
||||
|
||||
build-riscv64:
|
||||
extends: .build
|
||||
script:
|
||||
- .ci/build-riscv64.sh
|
||||
|
||||
auto-update:
|
||||
stage: autoupdate
|
||||
rules:
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
From 0bda547b2d7694ab40e0237ea6ae8a25a237ee50 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
|
||||
Date: Thu, 11 Apr 2024 13:57:26 +0200
|
||||
Subject: [PATCH 1/2] abuild: add systemd splitfunc
|
||||
|
||||
Co-authored-by: Caleb Connolly <caleb@postmarketos.org>
|
||||
---
|
||||
abuild.in | 28 ++++++++++++++++++++++++++++
|
||||
1 file changed, 28 insertions(+)
|
||||
|
||||
diff --git a/abuild.in b/abuild.in
|
||||
index 36317d6..74e47f1 100644
|
||||
--- a/abuild.in
|
||||
+++ b/abuild.in
|
||||
@@ -815,6 +815,11 @@ postcheck() {
|
||||
&& ! is_openrc_pkg "$name"; then
|
||||
warning "Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc"
|
||||
fi
|
||||
+ # look for /usr/lib/systemd
|
||||
+ if [ -e "$dir"/usr/lib/systemd ] \
|
||||
+ && ! is_systemd_pkg "$name"; then
|
||||
+ warning "Found systemd directory (/usr/lib/systemd) but it's not in a systemd package"
|
||||
+ fi
|
||||
# look for /usr/share/doc
|
||||
if [ -e "$dir"/usr/share/doc ] \
|
||||
&& ! is_doc_pkg "$name"; then
|
||||
@@ -1371,6 +1376,11 @@ is_openrc_pkg() {
|
||||
test "${1%-openrc}" != "$1"
|
||||
}
|
||||
|
||||
+# returns true if this is the -systemd package
|
||||
+is_systemd_pkg() {
|
||||
+ test "${1%-systemd}" != "$1" || test "systemd" == "$1"
|
||||
+}
|
||||
+
|
||||
# returns true if this is the -bash-completion package
|
||||
is_bashcomp_pkg() {
|
||||
test "${1%-bash-completion}" != "$1"
|
||||
@@ -2143,6 +2153,24 @@ openrc() {
|
||||
default_openrc
|
||||
}
|
||||
|
||||
+# predefined splitfunc systemd
|
||||
+default_systemd() {
|
||||
+ depends="$depends_systemd"
|
||||
+ pkgdesc="$pkgdesc (systemd files)"
|
||||
+ install_if="systemd ${subpkgname%-systemd}=$pkgver-r$pkgrel"
|
||||
+
|
||||
+ if [ -d lib/systemd ]; then
|
||||
+ error "Detected /lib/systemd dir, should be installed to /usr/lib/systemd"
|
||||
+ return 1
|
||||
+ fi
|
||||
+
|
||||
+ amove usr/lib/systemd
|
||||
+}
|
||||
+
|
||||
+systemd() {
|
||||
+ default_systemd
|
||||
+}
|
||||
+
|
||||
default_devhelp() {
|
||||
depends=""
|
||||
pkgdesc="$pkgname - devhelp files"
|
||||
--
|
||||
2.45.2
|
||||
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
From d27596cd67928e4795dc99dbc139b231354c3381 Mon Sep 17 00:00:00 2001
|
||||
From: Clayton Craft <clayton@craftyguy.net>
|
||||
Date: Fri, 5 Jul 2024 10:38:50 -0700
|
||||
Subject: [PATCH 2/2] abuild: add warning in -systemd split func about
|
||||
non-usr-merged birs
|
||||
|
||||
---
|
||||
abuild.in | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/abuild.in b/abuild.in
|
||||
index 74e47f1..e5f9be0 100644
|
||||
--- a/abuild.in
|
||||
+++ b/abuild.in
|
||||
@@ -2165,6 +2165,10 @@ default_systemd() {
|
||||
fi
|
||||
|
||||
amove usr/lib/systemd
|
||||
+
|
||||
+ if [ -d bin ] || [ -d lib ] || [ -d usr/sbin ]; then
|
||||
+ warning "Files should be installed to /usr/bin or /usr/lib, not /bin, /lib, or /usr/sbin"
|
||||
+ fi
|
||||
}
|
||||
|
||||
systemd() {
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -1,107 +0,0 @@
|
||||
# Forked from Alpine to add systemd-service support
|
||||
|
||||
pkgname=abuild
|
||||
pkgver=99993.12.0
|
||||
_pkgver=3.12.0
|
||||
pkgrel=3
|
||||
pkgdesc="Script to build Alpine Packages"
|
||||
url="https://git.alpinelinux.org/cgit/abuild/"
|
||||
arch="all"
|
||||
license="GPL-2.0-only"
|
||||
depends="fakeroot scanelf openssl>3 apk-tools>=2.0.7-r1 libc-utils
|
||||
attr tar pkgconf patch lzip curl libcap-getcap"
|
||||
makedepends="openssl-dev>3 zlib-dev pkgconfig scdoc"
|
||||
checkdepends="kyua git"
|
||||
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
||||
subpackages="
|
||||
apkbuild-cpan:cpan:noarch
|
||||
apkbuild-gem-resolver:gems:noarch
|
||||
apkbuild-pypi:pypi:noarch
|
||||
abuild-rootbld:_rootbld:noarch
|
||||
$pkgname-doc
|
||||
"
|
||||
options="suid !check" # tests are SLOW in qemu
|
||||
pkggroups="abuild"
|
||||
source="
|
||||
https://gitlab.alpinelinux.org/alpine/abuild/-/archive/$_pkgver/abuild-$_pkgver.tar.gz
|
||||
0001-abuild-add-systemd-splitfunc.patch
|
||||
0002-abuild-add-warning-in-systemd-split-func-about-non-u.patch
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
make VERSION="$_pkgver-r$pkgrel"
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
make install VERSION="$_pkgver-r$pkgrel" DESTDIR="$pkgdir"
|
||||
|
||||
install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
|
||||
|
||||
case "$CARCH" in
|
||||
x86*|ppc64le)
|
||||
# binutils only supports it here
|
||||
cat >>"$pkgdir"/usr/share/abuild/default.conf <<-EOF
|
||||
|
||||
# binutils ld.bfd supports this on this architecture; default to it
|
||||
export RUSTFLAGS="\$RUSTFLAGS -Clink-arg=-Wl,-z,pack-relative-relocs"
|
||||
export LDFLAGS="\$LDFLAGS -Wl,-z,pack-relative-relocs"
|
||||
EOF
|
||||
esac
|
||||
|
||||
case "$CARCH" in
|
||||
x86_64)
|
||||
# https://lists.alpinelinux.org/~alpine/devel/%3C1628515011.zujvcn248v.none%40localhost%3E
|
||||
# note that this is x86-exclusive. on other architectures, this is pretty much always bad
|
||||
# https://github.com/rust-lang/rust/pull/106380
|
||||
cat >>"$pkgdir"/usr/share/abuild/default.conf <<-EOF
|
||||
|
||||
# -fno-plt has very slight improvements to general code size and speed on x86-only,
|
||||
# for the common system dynamic linking case
|
||||
export CFLAGS="\$CFLAGS -fno-plt"
|
||||
export CXXFLAGS="\$CXXFLAGS -fno-plt"
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
install -d -m 775 -g abuild "$pkgdir"/var/cache/distfiles
|
||||
}
|
||||
|
||||
cpan() {
|
||||
pkgdesc="Script to generate perl APKBUILD from CPAN"
|
||||
depends="perl perl-libwww perl-json perl-module-build perl-module-build-tiny
|
||||
perl-lwp-protocol-https"
|
||||
|
||||
amove usr/bin/apkbuild-cpan
|
||||
}
|
||||
|
||||
gems() {
|
||||
pkgdesc="APKBUILD dependency resolver for RubyGems"
|
||||
depends="ruby ruby-augeas"
|
||||
|
||||
amove usr/bin/apkbuild-gem-resolver
|
||||
}
|
||||
|
||||
pypi() {
|
||||
pkgdesc="Script to generate python3 APKBUILD from PYPI"
|
||||
depends="perl perl-libwww perl-json perl-module-build-tiny perl-lwp-protocol-https
|
||||
perl-ipc-system-simple"
|
||||
|
||||
amove usr/bin/apkbuild-pypi
|
||||
}
|
||||
|
||||
_rootbld() {
|
||||
pkgdesc="Build packages in chroot"
|
||||
depends="abuild bubblewrap cmd:envsubst git"
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
00fac67aa96a83f33406dde60bd9526bfa5fdff690b84dbe867b6ed197f147b2afafcdfbda900c005e00a64a42bcb98ca425ffc8bf2158b9540cbb67d935577d abuild-3.12.0.tar.gz
|
||||
52cc5857b3c93bd4595de1d06c3c600b88871c68f7a1ea51e10d720ddd9c8fb7f0f63cd2f4fe280c0d9adaf607de8b858f4add3e46b1a5a28cc6c711359f6c60 0001-abuild-add-systemd-splitfunc.patch
|
||||
3782341dac814ecbcb7d2b4242d85f03ca2e4bf9eeb3b1e9524b2c434b05c864f5a4b5b8abc4031085e7e943e90780fe07b1e99d4cfadf0695340ad321647cac 0002-abuild-add-warning-in-systemd-split-func-about-non-u.patch
|
||||
"
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S abuild 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1 +0,0 @@
|
||||
abuild.pre-install
|
||||
@@ -1,59 +0,0 @@
|
||||
# Forked from Alpine to build with systemd support
|
||||
# this provides the ability to activate user sessions
|
||||
# from dbus by invoking logind
|
||||
|
||||
pkgname=accountsservice
|
||||
pkgver=99923.13.9
|
||||
_pkgver=23.13.9
|
||||
pkgrel=0
|
||||
pkgdesc="D-Bus interface for user account query and manipulation"
|
||||
url="https://www.freedesktop.org/software/accountsservice/"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
depends_dev="gobject-introspection-dev"
|
||||
makedepends="
|
||||
$depends_dev
|
||||
dbus-dev
|
||||
systemd-dev
|
||||
glib-dev
|
||||
meson
|
||||
polkit-dev
|
||||
vala
|
||||
"
|
||||
subpackages="$pkgname-dev $pkgname-lang lib$pkgname:libs"
|
||||
source="https://www.freedesktop.org/software/accountsservice/accountsservice-$_pkgver.tar.xz
|
||||
musl-fgetspent_r.patch
|
||||
musl-wtmp.patch
|
||||
opt-tests.patch
|
||||
"
|
||||
# mocklibc fails to build with implicits
|
||||
options="!check"
|
||||
builddir="$srcdir/accountsservice-$_pkgver"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dsystemdsystemunitdir=/usr/lib/systemd/system \
|
||||
-Dintrospection=true \
|
||||
-Ddocbook=false \
|
||||
-Dgtk_doc=false \
|
||||
-Dadmin_group=wheel \
|
||||
-Dtests="$(want_check && echo true || echo false)" \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --print-errorlogs --no-rebuild -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c6eb543ce2e07b61bbdfa454e388949bc688517be0536b14f30c66383ed105b15d3fab8b6c62b1eaa08f67d9bdc29b928729d9f7c704f47de4decf0de8e12f89 accountsservice-23.13.9.tar.xz
|
||||
469392beca8f5941eafaa193c4fcb0472770ee4183ce520416a1b5d6abafe0e201990eb74d06bfbd9e20af08e55aff5f0031f267083f6c6879f0fe4e5028103c musl-fgetspent_r.patch
|
||||
6d81caed730473d5c94d575c580a236b4267b374bf50588860922a7ecbeef0b2a1d50124fa3ae195c4f26abe8c3bd6df2aea6d27a0ce23e99acef9fff3eb9652 musl-wtmp.patch
|
||||
cc5ea18d885ccc5a85f5f4191d3157f3953878af289a9cabc373afea67726042144d66fd9f8d08dac7090fc23037ab98adb4101e8378a16ab2eb04043c88378f opt-tests.patch
|
||||
"
|
||||
@@ -1,34 +0,0 @@
|
||||
diff --git a/src/daemon.c b/src/daemon.c
|
||||
index 312394a..e7b3c58 100644
|
||||
--- a/src/daemon.c
|
||||
+++ b/src/daemon.c
|
||||
@@ -140,6 +140,28 @@ error_get_type (void)
|
||||
#define MAX_LOCAL_USERS 50
|
||||
#endif
|
||||
|
||||
+#ifndef __GLIBC__
|
||||
+ /* Musl libc does not support fgetspent_r(), write own
|
||||
+ * wrapper
|
||||
+ */
|
||||
+static int fgetspent_r(FILE *fp, struct spwd *spbuf, char *buf, size_t buflen, struct spwd **spbufp) {
|
||||
+ struct spwd *shadow_entry = fgetspent(fp);
|
||||
+ if(!shadow_entry)
|
||||
+ return -1;
|
||||
+ size_t namplen = strlen(shadow_entry->sp_namp);
|
||||
+ size_t pwdplen = strlen(shadow_entry->sp_pwdp);
|
||||
+
|
||||
+ if(namplen + pwdplen + 2 > buflen)
|
||||
+ return -1;
|
||||
+
|
||||
+ *spbufp = memcpy(spbuf, shadow_entry, sizeof(struct spwd));
|
||||
+ spbuf->sp_namp = strncpy(buf, shadow_entry->sp_namp, namplen + 1);
|
||||
+ spbuf->sp_pwdp = strncpy(buf + namplen + 1, shadow_entry->sp_pwdp, pwdplen + 1);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
static struct passwd *
|
||||
entry_generator_fgetpwent (Daemon *daemon,
|
||||
GHashTable *users,
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
the assert expects a working /var/log/wtmp at build time
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 4a509e7..f995d28 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -103,8 +103,7 @@ elif cc.has_header_symbol('paths.h', '_PATH_WTMPX')
|
||||
|
||||
config_h.set('PATH_WTMP', '_PATH_WTMPX')
|
||||
else
|
||||
- path_wtmp = '/var/log/utx.log'
|
||||
- assert(run_command('test', '-e', path_wtmp, check: false).returncode() == 0, 'Do not know which filename to watch for wtmp changes')
|
||||
+ path_wtmp = '/var/log/wtmp'
|
||||
config_h.set_quoted('PATH_WTMP', path_wtmp)
|
||||
endif
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 4a509e7..5119fab 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -232,7 +232,9 @@ if get_option('gtk_doc')
|
||||
subdir('doc/libaccountsservice')
|
||||
endif
|
||||
|
||||
-subdir('tests')
|
||||
+if get_option('tests')
|
||||
+ subdir('tests')
|
||||
+endif
|
||||
|
||||
configure_file(
|
||||
output: 'config.h',
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index b34a0fa..56872c7 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -13,3 +13,4 @@ option('vapi', type: 'boolean', value: true, description : 'Enable Vala bindings
|
||||
|
||||
option('docbook', type: 'boolean', value: false, description: 'build documentation (requires xmlto)')
|
||||
option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
|
||||
+option('tests', type: 'boolean', value: true, description: 'tests')
|
||||
@@ -1,33 +0,0 @@
|
||||
# Forked from Alpine to remove openrc dependency
|
||||
|
||||
pkgname=alpine-base
|
||||
pkgver=9999
|
||||
pkgrel=1
|
||||
pkgdesc="Meta package for minimal alpine base"
|
||||
url="https://alpinelinux.org"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="
|
||||
alpine-baselayout
|
||||
alpine-release
|
||||
apk-tools
|
||||
busybox
|
||||
busybox-suid
|
||||
libc-utils
|
||||
"
|
||||
|
||||
# can't include systemd here, as we wan't to upgrade from alpine's base to our systemd-base while building
|
||||
subpackages="alpine-release:release"
|
||||
replaces="alpine-baselayout"
|
||||
options="pmb:strict !check"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
release() {
|
||||
depends="alpine-keys"
|
||||
pkgdesc="Alpine release data"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
# Forked from Alpine to enable systemd
|
||||
|
||||
pkgname=dbus
|
||||
pkgver=9991.14.10
|
||||
_pkgver=1.14.10
|
||||
pkgrel=3
|
||||
pkgdesc="Freedesktop.org message bus system"
|
||||
url="https://www.freedesktop.org/Software/dbus"
|
||||
arch="all"
|
||||
license="AFL-2.1 OR GPL-2.0-or-later"
|
||||
depends_dev="util-linux-dev"
|
||||
makedepends="
|
||||
$depends_dev
|
||||
expat-dev
|
||||
glib-dev
|
||||
libsm-dev
|
||||
libx11-dev
|
||||
meson
|
||||
systemd-dev
|
||||
xmlto
|
||||
libcap-getcap
|
||||
"
|
||||
pkggroups="messagebus"
|
||||
provider_priority=1
|
||||
install="$pkgname.pre-install"
|
||||
triggers="$pkgname.trigger=/usr/share/dbus-1/system.d"
|
||||
options="!check" # Borked in pmbootstrap...
|
||||
subpackages="
|
||||
$pkgname-daemon-launch-helper:launchhelper
|
||||
$pkgname-dev
|
||||
$pkgname-doc
|
||||
$pkgname-libs
|
||||
$pkgname-x11
|
||||
$pkgname-systemd
|
||||
"
|
||||
source="https://dbus.freedesktop.org/releases/dbus/dbus-$_pkgver.tar.xz"
|
||||
builddir="$srcdir/dbus-$_pkgver"
|
||||
|
||||
# secfixes:
|
||||
# 1.14.4-r0:
|
||||
# - CVE-2022-42010
|
||||
# - CVE-2022-42011
|
||||
# - CVE-2022-42012
|
||||
# 1.12.18-r0:
|
||||
# - CVE-2020-12049
|
||||
# 1.12.16-r0:
|
||||
# - CVE-2019-12749
|
||||
|
||||
build() {
|
||||
CFLAGS="$CFLAGS -flto=auto" \
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--sysconfdir=/etc \
|
||||
--with-system-pid-file=/run/dbus/dbus.pid \
|
||||
--enable-checks \
|
||||
--disable-assertions \
|
||||
--enable-systemd \
|
||||
--enable-inotify \
|
||||
--enable-libaudit \
|
||||
--enable-user-session \
|
||||
--disable-static
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
depends="$pkgname-libs=$pkgver-r$pkgrel"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# can't install tmpfs
|
||||
rm -r "$pkgdir"/var/run
|
||||
}
|
||||
|
||||
libs() {
|
||||
pkgdesc="D-BUS access libraries"
|
||||
depends="systemd-libs"
|
||||
|
||||
amove usr/lib/lib*.so.*
|
||||
}
|
||||
|
||||
x11() {
|
||||
pkgdesc="X11 add-ons for D-BUS"
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/bin/dbus-launch
|
||||
}
|
||||
|
||||
launchhelper() {
|
||||
pkgdesc="DBus SUID launch helper for autospawning"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/libexec/dbus-daemon-launch-helper
|
||||
}
|
||||
|
||||
dev() {
|
||||
default_dev
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
775b708326059692937acb69d4ce1a89e69878501166655b5d1b1628ac31b50dd53d979d93c84e57f95e90b15e25aa33893e51a7421d3537e9c2f02b1b91bfae dbus-1.14.10.tar.xz
|
||||
"
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S messagebus 2>/dev/null
|
||||
adduser -S -D -H -h /dev/null -s /sbin/nologin -G messagebus -g messagebus messagebus 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
|
||||
org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :
|
||||
@@ -1,76 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=drkonqi
|
||||
pkgver=99996.1.4
|
||||
_pkgver=6.1.4
|
||||
pkgrel=0
|
||||
pkgdesc="The KDE crash handler"
|
||||
# armhf blocked by extra-cmake-modules
|
||||
arch="all !armhf"
|
||||
url="https://kde.org/plasma-desktop/"
|
||||
license="GPL-2.0-or-later"
|
||||
depends="
|
||||
kirigami
|
||||
kitemmodels
|
||||
py3-sentry-sdk
|
||||
"
|
||||
makedepends="
|
||||
extra-cmake-modules
|
||||
kcompletion-dev
|
||||
kconfigwidgets-dev
|
||||
kcoreaddons-dev
|
||||
kcrash-dev
|
||||
kdeclarative-dev
|
||||
ki18n-dev
|
||||
kidletime-dev
|
||||
kio-dev
|
||||
kjobwidgets-dev
|
||||
knotifications-dev
|
||||
kservice-dev
|
||||
kstatusnotifieritem-dev
|
||||
kuserfeedback-dev
|
||||
kwallet-dev
|
||||
kwidgetsaddons-dev
|
||||
py3-chai
|
||||
qt6-qtbase-dev
|
||||
samurai
|
||||
syntax-highlighting-dev
|
||||
systemd-dev
|
||||
"
|
||||
checkdepends="
|
||||
py3-psutil
|
||||
py3-pygdbmi
|
||||
"
|
||||
|
||||
case "$pkgver" in
|
||||
*.90*) _rel=unstable;;
|
||||
*) _rel=stable;;
|
||||
esac
|
||||
subpackages="$pkgname-lang"
|
||||
_repo_url="https://invent.kde.org/plasma/drkonqi.git"
|
||||
source="https://download.kde.org/stable/plasma/$_pkgver/drkonqi-$_pkgver.tar.xz"
|
||||
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
cmake -B build -G Ninja \
|
||||
-DWITH_PYTHON_VENDORING=OFF \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_TESTING=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
# connectiontest requires a network connection
|
||||
ctest --test-dir build --output-on-failure -E "(connection|preamble)test"
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ef79b3b4b31d1d8329a699a8b9d2a1dc28e7faf88ac7a3c11aa7361dc77adab3293d069d178da3e6d2117496736b30c7b092a7b27185381209ea2ce3aae4ab7c drkonqi-6.1.4.tar.xz
|
||||
"
|
||||
@@ -1,72 +0,0 @@
|
||||
From a12b01f4f71d7ca1ed528ea11f99520c10b0d93c Mon Sep 17 00:00:00 2001
|
||||
From: Newbyte <newbie13xd@gmail.com>
|
||||
Date: Tue, 14 Mar 2023 19:37:17 +0100
|
||||
Subject: [PATCH 1/2] DOWNSTREAM: use /bin/touch and /bin/rm instead of /usr/bin/touch and /ust/bin/rm
|
||||
|
||||
as that's the path here in Alpine.
|
||||
---
|
||||
data/61-gdm.rules.in | 16 ++++++++--------
|
||||
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
|
||||
index a4f841bdf..481c5b4dd 100644
|
||||
--- a/data/61-gdm.rules.in
|
||||
+++ b/data/61-gdm.rules.in
|
||||
@@ -2,13 +2,13 @@ SUBSYSTEM!="pci", GOTO="gdm_pci_device_end"
|
||||
ACTION!="bind", ACTION!="add", GOTO="gdm_pci_device_end"
|
||||
|
||||
# cirrus
|
||||
-ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
+ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
# virtio
|
||||
-ATTR{vendor}=="0x1af4", ATTR{device}=="0x1050", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
+ATTR{vendor}=="0x1af4", ATTR{device}=="0x1050", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
# qxl
|
||||
-ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
+ATTR{vendor}=="0x1b36", ATTR{device}=="0x0100", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
# vga
|
||||
-ATTR{vendor}=="0x1234", ATTR{device}=="0x1111", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
+ATTR{vendor}=="0x1234", ATTR{device}=="0x1111", RUN+="/bin/touch /run/udev/gdm-machine-has-virtual-gpu", ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}="1", GOTO="gdm_pci_device_end"
|
||||
|
||||
# disable Wayland on Hi1710 chipsets
|
||||
ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", GOTO="gdm_disable_wayland"
|
||||
@@ -36,7 +36,7 @@ SUBSYSTEM!="drm", GOTO="gdm_nomodeset_end"
|
||||
# but keep it enabled for simple framebuffer drivers
|
||||
DRIVERS=="simple-framebuffer", GOTO="gdm_nomodeset_end"
|
||||
IMPORT{parent}="GDM_MACHINE_HAS_VIRTUAL_GPU"
|
||||
-ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}!="1", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-hardware-gpu"
|
||||
+ENV{GDM_MACHINE_HAS_VIRTUAL_GPU}!="1", RUN+="/bin/touch /run/udev/gdm-machine-has-hardware-gpu"
|
||||
IMPORT{cmdline}="nomodeset", GOTO="gdm_disable_wayland"
|
||||
LABEL="gdm_nomodeset_end"
|
||||
|
||||
@@ -46,7 +46,7 @@ LABEL="gdm_nomodeset_end"
|
||||
KERNEL!="nvidia", GOTO="gdm_nvidia_end"
|
||||
SUBSYSTEM!="module", GOTO="gdm_nvidia_end"
|
||||
ACTION!="add", GOTO="gdm_nvidia_end"
|
||||
-RUN+="/usr/bin/touch /run/udev/gdm-machine-has-vendor-nvidia-driver"
|
||||
+RUN+="/bin/touch /run/udev/gdm-machine-has-vendor-nvidia-driver"
|
||||
|
||||
# Check if suspend/resume services necessary for working wayland support is available
|
||||
TEST{0711}!="/usr/bin/nvidia-sleep.sh", GOTO="gdm_disable_wayland"
|
||||
@@ -68,7 +68,7 @@ LABEL="gdm_nvidia_end"
|
||||
KERNEL!="card[0-9]-eDP-*", GOTO="gdm_laptop_check_end"
|
||||
SUBSYSTEM!="drm", GOTO="gdm_laptop_check_end"
|
||||
ACTION!="add", GOTO="gdm_laptop_check_end"
|
||||
-RUN+="/usr/bin/touch /run/udev/gdm-machine-is-laptop"
|
||||
+RUN+="/bin/touch /run/udev/gdm-machine-is-laptop"
|
||||
GOTO="gdm_hybrid_nvidia_laptop_check"
|
||||
LABEL="gdm_laptop_check_end"
|
||||
|
||||
@@ -79,7 +79,7 @@ SUBSYSTEM!="drm", GOTO="gdm_hybrid_graphics_check_end"
|
||||
ACTION!="add", GOTO="gdm_hybrid_graphics_check_end"
|
||||
IMPORT{program}="/bin/sh -c \"echo GDM_NUMBER_OF_GRAPHICS_CARDS=`ls -1d /sys/class/drm/card[0-9] | wc -l`\""
|
||||
-ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}=="1", RUN+="/usr/bin/rm -f /run/udev/gdm-machine-has-hybrid-graphics"
|
||||
-ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}!="1", RUN+="/usr/bin/touch /run/udev/gdm-machine-has-hybrid-graphics"
|
||||
+ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}=="1", RUN+="/bin/rm -f /run/udev/gdm-machine-has-hybrid-graphics"
|
||||
+ENV{GDM_NUMBER_OF_GRAPHICS_CARDS}!="1", RUN+="/bin/touch /run/udev/gdm-machine-has-hybrid-graphics"
|
||||
LABEL="gdm_hybrid_graphics_check_end"
|
||||
|
||||
# If this is a hybrid graphics laptop with vendor nvidia driver, disable wayland
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
we use base-* named configs
|
||||
--
|
||||
diff --git a/data/pam-openembedded/gdm-autologin.pam b/data/pam-openembedded/gdm-autologin.pam
|
||||
index a9f4354..3e0708b 100644
|
||||
--- a/data/pam-openembedded/gdm-autologin.pam
|
||||
+++ b/data/pam-openembedded/gdm-autologin.pam
|
||||
@@ -1,5 +1,5 @@
|
||||
#%PAM-1.0
|
||||
-auth required pam_permit.so
|
||||
-account include common-account
|
||||
-password include common-auth
|
||||
-session include common-session
|
||||
+auth required pam_rootok.so
|
||||
+account include base-account
|
||||
+password include base-auth
|
||||
+session include base-session
|
||||
diff --git a/data/pam-openembedded/gdm-launch-environment.pam b/data/pam-openembedded/gdm-launch-environment.pam
|
||||
index a9f4354..3e0708b 100644
|
||||
--- a/data/pam-openembedded/gdm-launch-environment.pam
|
||||
+++ b/data/pam-openembedded/gdm-launch-environment.pam
|
||||
@@ -1,5 +1,5 @@
|
||||
#%PAM-1.0
|
||||
-auth required pam_permit.so
|
||||
-account include common-account
|
||||
-password include common-auth
|
||||
-session include common-session
|
||||
+auth required pam_rootok.so
|
||||
+account include base-account
|
||||
+password include base-auth
|
||||
+session include base-session
|
||||
diff --git a/data/pam-openembedded/gdm-password.pam b/data/pam-openembedded/gdm-password.pam
|
||||
index 758464d..f4643d1 100644
|
||||
--- a/data/pam-openembedded/gdm-password.pam
|
||||
+++ b/data/pam-openembedded/gdm-password.pam
|
||||
@@ -1,5 +1,5 @@
|
||||
#%PAM-1.0
|
||||
-auth include common-auth
|
||||
-account include common-account
|
||||
-password include common-password
|
||||
-session include common-session
|
||||
+auth include base-auth
|
||||
+account include base-account
|
||||
+password include base-password
|
||||
+session include base-session
|
||||
@@ -1,89 +0,0 @@
|
||||
# Forked from Alpine for systemd support
|
||||
|
||||
pkgname=gdm
|
||||
pkgver=99946.2
|
||||
_pkgver=46.2
|
||||
pkgrel=1
|
||||
pkgdesc="GNOME display manager"
|
||||
url="https://wiki.gnome.org/Projects/GDM"
|
||||
# blocked by gnome-shell
|
||||
arch="all !armhf !s390x"
|
||||
license="GPL-2.0-or-later"
|
||||
depends="
|
||||
dbus
|
||||
gnome-session
|
||||
gnome-settings-daemon
|
||||
gnome-shell
|
||||
gsettings-desktop-schemas
|
||||
linux-pam>=1.4
|
||||
xrdb
|
||||
xwayland
|
||||
"
|
||||
makedepends="
|
||||
accountsservice-dev
|
||||
dconf
|
||||
eudev-dev
|
||||
gettext
|
||||
glib-dev
|
||||
gtk+3.0-dev
|
||||
itstool
|
||||
json-glib-dev
|
||||
libcanberra-dev
|
||||
libgudev-dev
|
||||
libsm-dev
|
||||
libx11-dev
|
||||
libxau-dev
|
||||
libxcb-dev
|
||||
libxdmcp-dev
|
||||
linux-pam-dev
|
||||
meson
|
||||
systemd-dev
|
||||
"
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-systemd"
|
||||
options="!check" # Causes circular dep with gnome-shell
|
||||
source="https://download.gnome.org/sources/gdm/${_pkgver%%.*}/gdm-$_pkgver.tar.xz
|
||||
0001-DOWNSTREAM-use-bin-touch-instead-of-usr-bin-touch.patch
|
||||
0003-DOWNSTREAM-pam-rename-common-to-base.patch
|
||||
Xsession
|
||||
"
|
||||
install="gdm.pre-install gdm.post-deinstall"
|
||||
builddir="$srcdir/gdm-$_pkgver"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Ddefault-pam-config=openembedded \
|
||||
-Dgdm-xsession=false \
|
||||
-Dpam-mod-dir=/usr/lib/security \
|
||||
-Dselinux=disabled \
|
||||
-Dlibaudit=disabled \
|
||||
-Dsystemdsystemunitdir=/usr/lib/systemd/system \
|
||||
-Dsystemduserunitdir=/usr/lib/systemd/user \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
|
||||
# install -Dm644 /dev/stdin usr/lib/sysusers.d/gdm.conf <<END
|
||||
#g gdm 120 -
|
||||
#u gdm 120 "Gnome Display Manager" /var/lib/gdm
|
||||
#END
|
||||
|
||||
#sed -i "s/pam_systemd\.so/pam_elogind.so/" "$pkgdir"/etc/pam.d/*
|
||||
|
||||
install -m755 -D "$srcdir/Xsession" "$pkgdir"/etc/gdm
|
||||
}
|
||||
|
||||
systemd() {
|
||||
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
||||
default_systemd
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
29cb00b42b64313f63cbf33a0caf9ecaf43f38699983017966fba951b867742129ef150cd927d02add5f7c1c20049ba1301e5ee094caa54835dc12cf29c86210 gdm-46.2.tar.xz
|
||||
70b2bb6d6711c17a14c6e6a48b7b29f1b22cf858953f16723ba3e00570dce0416bcb72e4b3d3d4ef608eed32e1f7efa617f94f0a3327c7f5ceeb6b7232e4be84 0001-DOWNSTREAM-use-bin-touch-instead-of-usr-bin-touch.patch
|
||||
66611d49fc4c9578415a7e554834edcb9de99396bd0ca511dcfd4fb256e8a1cd1fd5f10464f4668ffe04799d919bc22ddb58e8bf272017edba69a7951522e63d 0003-DOWNSTREAM-pam-rename-common-to-base.patch
|
||||
f836cf0acdf148f2ae09ac28251b5126ce597f08254c43b1ec77596f75e1a3229926116c13f98554625be763e8d28415b27bd679b0a5de9f86bdca7857054c82 Xsession
|
||||
"
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec "$@"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_post_install system gdm.service
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_pre_deinstall system gdm.service
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
deluser gdm 2>/dev/null
|
||||
delgroup gdm 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S -g 32 gdm 2>/dev/null
|
||||
adduser -S -D -H -h /var/lib/gdm -s /sbin/nologin -G gdm -g gdm -u 32 gdm 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1,100 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=gnome-desktop
|
||||
pkgver=99944.0
|
||||
_pkgver=44.0
|
||||
pkgrel=2
|
||||
pkgdesc="GNOME desktop core libraries"
|
||||
url="https://gitlab.gnome.org/GNOME/gnome-desktop"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
|
||||
depends_dev="gobject-introspection-dev gsettings-desktop-schemas-dev"
|
||||
makedepends="$depends_dev
|
||||
eudev-dev
|
||||
fontconfig-dev
|
||||
gdk-pixbuf-dev
|
||||
glib-dev
|
||||
gtk-doc
|
||||
gtk+3.0-dev
|
||||
gtk4.0-dev
|
||||
iso-codes-dev
|
||||
itstool
|
||||
libseccomp-dev
|
||||
libxml2-utils
|
||||
meson
|
||||
systemd-dev
|
||||
xkeyboard-config-dev
|
||||
"
|
||||
options="!check" # Can't find its own GSettings schemas
|
||||
subpackages="
|
||||
$pkgname-dev
|
||||
$pkgname-doc
|
||||
$pkgname-lang
|
||||
$pkgname-dbg
|
||||
$pkgname-debug
|
||||
libgnome-bg-4:bg_four
|
||||
libgnome-desktop-3:three
|
||||
libgnome-desktop-4:four
|
||||
libgnome-rr-4:rr_four
|
||||
"
|
||||
# Patch: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/158
|
||||
source="https://download.gnome.org/sources/gnome-desktop/${_pkgver%.*}/gnome-desktop-$_pkgver.tar.xz
|
||||
utf8-explicit.patch
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dudev=enabled \
|
||||
-Dbuild_gtk4=true \
|
||||
-Dsystemd=enabled \
|
||||
-Dlegacy_library=true \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --no-rebuild --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
depends="
|
||||
libgnome-bg-4=$_pkgver-r$pkgrel
|
||||
libgnome-desktop-3=$_pkgver-r$pkgrel
|
||||
libgnome-desktop-4=$_pkgver-r$pkgrel
|
||||
libgnome-rr-4=$_pkgver-r$pkgrel
|
||||
"
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
bg_four() {
|
||||
amove usr/lib/girepository-*/GnomeBG-4.0.typelib
|
||||
amove usr/lib/libgnome-bg-4.so.*
|
||||
}
|
||||
|
||||
three() {
|
||||
depends="bubblewrap"
|
||||
amove usr/lib/girepository-*/GnomeDesktop-3.0.typelib
|
||||
amove usr/lib/libgnome-desktop-3.so.*
|
||||
}
|
||||
|
||||
four() {
|
||||
depends="bubblewrap"
|
||||
amove usr/lib/girepository-*/GnomeDesktop-4.0.typelib
|
||||
amove usr/lib/libgnome-desktop-4.so.*
|
||||
}
|
||||
|
||||
rr_four() {
|
||||
amove usr/lib/girepository-*/GnomeRR-4.0.typelib
|
||||
amove usr/lib/libgnome-rr-4.so.*
|
||||
}
|
||||
|
||||
debug() {
|
||||
amove usr/libexec/gnome-desktop-debug
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
707e96ffe1bbe27c448dd007b5a005e06ea3bba945c1c6708c61b8cec204cef6f5ed540f8ba0f5e566c2fdbc825fc6f9f0440706e0aea132490ca6d48823e180 gnome-desktop-44.0.tar.xz
|
||||
b50843e018121df5c426916cce919aae65570e373a26bb49cd53549963b41eeddf6bd439050f307646883e0777d8a5d8a266c3792c0c688ab02e892031b05f8e utf8-explicit.patch
|
||||
"
|
||||
@@ -1,16 +0,0 @@
|
||||
diff --git i/libgnome-desktop/gnome-languages.c w/libgnome-desktop/gnome-languages.c
|
||||
index adfc4eee..275b3182 100644
|
||||
--- i/libgnome-desktop/gnome-languages.c
|
||||
+++ w/libgnome-desktop/gnome-languages.c
|
||||
@@ -364,7 +364,10 @@ add_locale (const char *language_name,
|
||||
language_name_get_codeset_details (language_name, NULL, &is_utf8);
|
||||
|
||||
if (is_utf8) {
|
||||
- name = g_strdup (language_name);
|
||||
+ if (strchr (language_name, '.') == NULL)
|
||||
+ name = g_strdup_printf ("%s.UTF-8", language_name);
|
||||
+ else
|
||||
+ name = g_strdup (language_name);
|
||||
} else if (utf8_only) {
|
||||
|
||||
if (strchr (language_name, '.'))
|
||||
-57
@@ -1,57 +0,0 @@
|
||||
https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/gnome-keyring/trunk/0001-build-Use-p11_module_configs-as-default-pkcs11-confi.patc
|
||||
|
||||
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
||||
Date: Sat, 21 May 2022 18:42:21 +0000
|
||||
Subject: [PATCH] build: Use p11_module_configs as default pkcs11-config dir
|
||||
|
||||
When building p11-kit with meson, `p11_system_config_modules` points at
|
||||
the dir for system config in `/etc. This is its proper meaning.
|
||||
|
||||
When building p11-kit with autotools, `p11_system_config_modules` is a
|
||||
copy of `p11_module_configs` "for compatibility", and points to the dir
|
||||
for packaged configs in `/usr/share`.
|
||||
|
||||
We want the dir for packaged configs, so use the right variable.
|
||||
---
|
||||
configure.ac | 10 +++++-----
|
||||
pkcs11/rpc-layer/Makefile.am | 2 +-
|
||||
2 files changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1bf7c14c8ccc..98d8c01018fb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -294,15 +294,15 @@
|
||||
[directory to install PKCS#11 config])
|
||||
])
|
||||
if test -z "$with_pkcs11_config" ; then
|
||||
- P11_SYSTEM_CONFIG_MODULES=$($PKG_CONFIG p11-kit-1 --variable=p11_module_configs)
|
||||
+ P11_MODULE_CONFIGS=$($PKG_CONFIG p11-kit-1 --variable=p11_module_configs)
|
||||
else
|
||||
- P11_SYSTEM_CONFIG_MODULES="$with_pkcs11_config"
|
||||
+ P11_MODULE_CONFIGS="$with_pkcs11_config"
|
||||
fi
|
||||
-if test "$P11_SYSTEM_CONFIG_MODULES" = ""; then
|
||||
+if test "$P11_MODULE_CONFIGS" = ""; then
|
||||
AC_MSG_ERROR([Could not find location for pkcs11 module config])
|
||||
fi
|
||||
-AC_MSG_RESULT($P11_SYSTEM_CONFIG_MODULES)
|
||||
-AC_SUBST(P11_SYSTEM_CONFIG_MODULES)
|
||||
+AC_MSG_RESULT($P11_MODULE_CONFIGS)
|
||||
+AC_SUBST(P11_MODULE_CONFIGS)
|
||||
|
||||
AC_MSG_CHECKING([module path to install pkcs11 modules])
|
||||
AC_ARG_WITH(pkcs11-modules, [
|
||||
diff --git a/pkcs11/rpc-layer/Makefile.am b/pkcs11/rpc-layer/Makefile.am
|
||||
index ccdff9191ad4..d3a3b57bbc6e 100644
|
||||
--- a/pkcs11/rpc-layer/Makefile.am
|
||||
+++ b/pkcs11/rpc-layer/Makefile.am
|
||||
@@ -46,7 +46,7 @@ gnome_keyring_pkcs11_la_LDFLAGS = \
|
||||
-no-undefined -export-symbols-regex 'C_GetFunctionList'
|
||||
|
||||
# This is the configuration file that p11-kit uses to load the module
|
||||
-pkcs11configdir = $(P11_SYSTEM_CONFIG_MODULES)
|
||||
+pkcs11configdir = $(P11_MODULE_CONFIGS)
|
||||
pkcs11config_DATA = \
|
||||
pkcs11/rpc-layer/gnome-keyring.module
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Forked from Alpine
|
||||
# systemd unit activation
|
||||
|
||||
pkgname=gnome-keyring
|
||||
pkgver=99946.1
|
||||
_pkgver=46.1
|
||||
pkgrel=2
|
||||
pkgdesc="GNOME keyring"
|
||||
url="https://wiki.gnome.org//Projects/GnomeKeyring"
|
||||
arch="all"
|
||||
license="GPL-2.0-only LGPL-2.0-only"
|
||||
# the gcr binaries are needed for things to open the keyring via libsecret
|
||||
depends="gcr"
|
||||
makedepends="
|
||||
autoconf
|
||||
automake
|
||||
gcr-dev
|
||||
gobject-introspection-dev
|
||||
gtk+3.0-dev
|
||||
gtk-doc
|
||||
intltool
|
||||
libcap-ng-dev
|
||||
libgcrypt-dev
|
||||
libxslt
|
||||
linux-pam-dev
|
||||
openssh-client
|
||||
systemd-dev
|
||||
"
|
||||
checkdepends="
|
||||
dbus-x11
|
||||
python3
|
||||
xvfb-run
|
||||
"
|
||||
provides="dbus:org.freedesktop.Secrets"
|
||||
# Highest priority of the bunch since it has the least deps
|
||||
provider_priority=500
|
||||
options="!check" # Failing tests on 32-bit architectures
|
||||
subpackages="
|
||||
$pkgname-doc
|
||||
$pkgname-lang
|
||||
$pkgname-systemd
|
||||
"
|
||||
source="https://download.gnome.org/sources/gnome-keyring/${_pkgver%.*}/gnome-keyring-$_pkgver.tar.xz
|
||||
0001-build-Use-p11_module_configs-as-default-pkcs11-confi.patch"
|
||||
builddir="$srcdir/gnome-keyring-$_pkgver"
|
||||
|
||||
build() {
|
||||
export LDFLAGS="$LDFLAGS -lintl"
|
||||
autoreconf -vfi
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-pam-dir=/usr/lib/security \
|
||||
--disable-selinux \
|
||||
--with-libcap-ng=no
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
xvfb-run make check -j1
|
||||
}
|
||||
|
||||
package() {
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
systemd() {
|
||||
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
||||
default_systemd
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
82d9685a87b43c6aa1f377114af389675836df4b5c26d43d6843f1dfac6ae0eb771a4ac67f71e5a2f5b88cbdbb5300d63bfcfd8087ee60463a9579d242c6b884 gnome-keyring-46.1.tar.xz
|
||||
53e04eade3579fe5d65d11d6cde6c5fdffc9f73a3a7f372b1f4dbc7437212e753123c12854d3a5a7a22f3beb1b00604eec0371615ceb0f7024cb38cf35e33065 0001-build-Use-p11_module_configs-as-default-pkcs11-confi.patch
|
||||
"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_post_install user gnome-keyring-daemon
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_pre_deinstall user gnome-keyring-daemon
|
||||
@@ -1,54 +0,0 @@
|
||||
# Forked from Alpine for systemd
|
||||
|
||||
pkgname=gnome-session
|
||||
pkgver=99946.0
|
||||
_pkgver=46.0
|
||||
pkgrel=1
|
||||
pkgdesc="GNOME session manager"
|
||||
url="https://gitlab.gnome.org/GNOME/gnome-session"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
depends="
|
||||
alsa-plugins-pulse
|
||||
bash
|
||||
dconf
|
||||
polkit
|
||||
"
|
||||
makedepends="
|
||||
docbook-xml
|
||||
systemd-dev
|
||||
gnome-desktop-dev
|
||||
gnome-settings-daemon-dev
|
||||
gtk+3.0-dev
|
||||
itstool
|
||||
json-glib-dev
|
||||
libsm-dev
|
||||
libxml2-utils
|
||||
libxslt
|
||||
meson
|
||||
upower-dev
|
||||
xmlto
|
||||
"
|
||||
options="!check" #no tests
|
||||
subpackages="$pkgname-lang $pkgname-doc $pkgname-systemd"
|
||||
source="https://download.gnome.org/sources/gnome-session/${_pkgver%%.*}/gnome-session-$_pkgver.tar.xz"
|
||||
builddir="$srcdir/gnome-session-$_pkgver"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dsystemduserunitdir=/usr/lib/systemd/user \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --no-rebuild --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
sha512sums="
|
||||
2187b8ae4ac4ec728283c5dc03edba6472864a704f6c6cd7a3e962515a3925d3a8438f7f89855dd082d2c013868da81e16da280c70b0e07537c8e431301b4bd8 gnome-session-46.0.tar.xz
|
||||
"
|
||||
@@ -1,77 +0,0 @@
|
||||
# Forked from Alpine for systemd support
|
||||
|
||||
pkgname=gnome-settings-daemon
|
||||
pkgver=99946.0
|
||||
_pkgver=46.0
|
||||
pkgrel=1
|
||||
pkgdesc="GNOME settings daemon"
|
||||
url="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
|
||||
arch="all"
|
||||
options="!check" # tests fail on builders
|
||||
license="GPL-2.0-only AND LGPL-2.1-only"
|
||||
depends="pulseaudio"
|
||||
depends_dev="
|
||||
alsa-lib-dev
|
||||
colord-dev
|
||||
cups-dev
|
||||
geoclue-dev
|
||||
geocode-glib-dev>=3.26.4-r1
|
||||
lcms2-dev
|
||||
libcanberra-dev
|
||||
libgweather4-dev
|
||||
libnotify-dev
|
||||
libwacom-dev
|
||||
modemmanager-dev
|
||||
networkmanager-dev
|
||||
nss-dev
|
||||
pango-dev
|
||||
polkit-dev
|
||||
pulseaudio-dev
|
||||
upower-dev
|
||||
"
|
||||
makedepends="
|
||||
$depends_dev
|
||||
coreutils
|
||||
gcr4-dev
|
||||
glib-dev
|
||||
gnome-desktop-dev
|
||||
gsettings-desktop-schemas-dev
|
||||
gtk+3.0-dev
|
||||
libxml2-utils
|
||||
meson
|
||||
"
|
||||
checkdepends="
|
||||
gnome-session
|
||||
gnome-shell
|
||||
py3-dbusmock
|
||||
py3-gobject3
|
||||
umockdev-dev
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-dev
|
||||
$pkgname-lang
|
||||
$pkgname-systemd
|
||||
"
|
||||
source="https://download.gnome.org/sources/gnome-settings-daemon/${_pkgver%.*}/gnome-settings-daemon-$_pkgver.tar.xz
|
||||
"
|
||||
builddir="$srcdir/gnome-settings-daemon-$_pkgver"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dsystemd=true \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --no-rebuild --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
445e9ee4709af7a67ded55733d4041357995fe9746bcf00fa81f52f6dddc2071e7114e9bf836bcf464bc0f04da3b3c08be04c1942963c1910d1a14b4434f6633 gnome-settings-daemon-46.0.tar.xz
|
||||
"
|
||||
@@ -1,28 +0,0 @@
|
||||
Patch-Source: https://github.com/chimera-linux/cports/blob/793dbd2807070fd0fd4f7ba37fd73d4c5ff47584/main/gnome-shell/patches/no-exe-introspection.patch
|
||||
commit 1d1e96c094570c3a822f835abbff0a5bca4ca10e
|
||||
Author: Daniel Kolesa <daniel@octaforge.org>
|
||||
Date: Sun Mar 19 19:11:00 2023 +0100
|
||||
|
||||
Disable 9bc89b821cf09195418f20225bbec39c0567d263
|
||||
|
||||
Even if we manually define _DYNAMIC, it does not work (segfaults
|
||||
somewhere in musl, coming from g_strsplit) and is pretty useless
|
||||
for our case anyway.
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index 8cccc0a..ef6408f 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -20,8 +20,12 @@
|
||||
#include <meta/prefs.h>
|
||||
#include <atk-bridge.h>
|
||||
#include <link.h>
|
||||
|
||||
+#ifdef HAVE_EXE_INTROSPECTION
|
||||
+#undef HAVE_EXE_INTROSPECTION
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_EXE_INTROSPECTION
|
||||
#include <dlfcn.h>
|
||||
#include <elf.h>
|
||||
#endif
|
||||
@@ -1,126 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=gnome-shell
|
||||
pkgver=99946.2
|
||||
_pkgver=46.2
|
||||
pkgrel=0
|
||||
pkgdesc="GNOME shell"
|
||||
url="https://gitlab.gnome.org/GNOME/gnome-shell"
|
||||
# gjs -> mozjs
|
||||
arch="all !armhf !s390x"
|
||||
license="GPL-2.0-or-later"
|
||||
depends="
|
||||
accountsservice
|
||||
adwaita-icon-theme
|
||||
desktop-file-utils
|
||||
font-adobe-source-code-pro
|
||||
font-cantarell
|
||||
gnome-bluetooth
|
||||
gnome-control-center
|
||||
gnome-shell-schemas
|
||||
gsettings-desktop-schemas>=46
|
||||
gst-plugin-pipewire
|
||||
gst-plugins-good
|
||||
gstreamer
|
||||
ibus
|
||||
librsvg
|
||||
networkmanager-common
|
||||
systemd
|
||||
tecla
|
||||
unzip
|
||||
upower
|
||||
"
|
||||
makedepends="
|
||||
asciidoc
|
||||
evolution-data-server-dev evolution-dev
|
||||
gcr4-dev
|
||||
gjs-dev>=1.78.0
|
||||
gnome-autoar-dev
|
||||
gnome-bluetooth-dev
|
||||
gnome-control-center-dev
|
||||
gnome-desktop-dev>=44.0
|
||||
gobject-introspection-dev
|
||||
gstreamer-dev
|
||||
ibus-dev
|
||||
libcanberra-dev
|
||||
libnma-dev
|
||||
libxml2-dev
|
||||
libxml2-utils
|
||||
meson
|
||||
mutter-dev>=46
|
||||
networkmanager-dev
|
||||
pipewire-dev
|
||||
polkit-dev
|
||||
pulseaudio-dev
|
||||
py3-setuptools
|
||||
python3
|
||||
sassc
|
||||
startup-notification-dev
|
||||
systemd-dev
|
||||
tecla-dev
|
||||
"
|
||||
checkdepends="
|
||||
mesa-dri-gallium
|
||||
xvfb-run
|
||||
"
|
||||
# gdm is also needed but introduces circular dep
|
||||
subpackages="
|
||||
$pkgname-dbg
|
||||
$pkgname-doc
|
||||
$pkgname-lang
|
||||
$pkgname-schemas::noarch
|
||||
gnome-extensions-app:extensions_app:noarch
|
||||
"
|
||||
source="https://download.gnome.org/sources/gnome-shell/${_pkgver%.*}/gnome-shell-$_pkgver.tar.xz
|
||||
gsh.patch
|
||||
"
|
||||
# TODO: crossdirect disabled due to armv7 crosscompile failure on x86_64, see
|
||||
# https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5115#note_1899890119
|
||||
options="!check !pmb:crossdirect" # Tests have circular dependency 'gnome-shell <-> gdm'
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
# secfixes:
|
||||
# 0:
|
||||
# - CVE-2019-3820
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dtests=false \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
xvfb-run meson test --no-rebuild --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
extensions_app() {
|
||||
pkgdesc="Manage GNOME Shell extensions"
|
||||
depends="gnome-shell libadwaita"
|
||||
replaces="gnome-shell"
|
||||
|
||||
amove usr/bin/gnome-extensions-app
|
||||
amove usr/share/applications/org.gnome.Extensions.desktop
|
||||
amove usr/share/gnome-shell/org.gnome.Extensions
|
||||
amove usr/share/gnome-shell/org.gnome.Extensions.data.gresource
|
||||
amove usr/share/gnome-shell/org.gnome.Extensions.src.gresource
|
||||
}
|
||||
|
||||
schemas() {
|
||||
pkgdesc="GNOME Shell gsetting schemas"
|
||||
depends=""
|
||||
replaces="gnome-shell"
|
||||
|
||||
amove usr/share/glib-2.0/schemas
|
||||
amove usr/share/gnome-control-center/keybindings
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
9b23a23a8a9224a618ab159c653b0b0889e5097a62265210f5e71c15658f4a85fbaca8be9646da768e8acfc38eb7eecd35313f3b82d6fbfc3b45f7754479e3a8 gnome-shell-46.2.tar.xz
|
||||
ae4ac679bacd35948b44068e5a70407f473bd96986ee126abb1bdf066db5cbc2087a3ffae0b390286689cacbe8325870fd43663ba39f4f7543216e02bf083934 gsh.patch
|
||||
"
|
||||
@@ -1,50 +0,0 @@
|
||||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=kjournald
|
||||
pkgver=24.08.1
|
||||
pkgrel=0
|
||||
pkgdesc="Framework for interacting with systemd-journald"
|
||||
# armhf blocked by extra-cmake-modules
|
||||
arch="all !armhf"
|
||||
url="https://invent.kde.org/system/kjournald"
|
||||
license="BSD-3-Clause AND LGPL-2.1-or-later AND MIT"
|
||||
depends_dev="
|
||||
kcoreaddons-dev
|
||||
ki18n-dev
|
||||
qt6-qtbase-dev
|
||||
qt6-qtdeclarative-dev
|
||||
systemd-dev
|
||||
"
|
||||
makedepends="$depends_dev
|
||||
extra-cmake-modules
|
||||
samurai
|
||||
"
|
||||
checkdepends="xvfb-run"
|
||||
subpackages="$pkgname-dev $pkgname-lang"
|
||||
|
||||
case "$pkgver" in
|
||||
*.90*) _rel=unstable;;
|
||||
*) _rel=stable;;
|
||||
esac
|
||||
_repo_url="https://invent.kde.org/system/kjournald.git"
|
||||
source="https://download.kde.org/$_rel/release-service/$pkgver/src/kjournald-$pkgver.tar.xz"
|
||||
|
||||
build() {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
ctest --test-dir build --output-on-failure -E "test_(viewmodel|filtercriteriamodel|remotejournal)"
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6a20cc26d7e7ff9f84a6d10c7ec0f9a5e09dec3713802b36056423dce1968e273db2460337415675abb4dc1f849bcc0a5ae00e35658e0ee205afe18b5af1582d kjournald-24.08.1.tar.xz
|
||||
"
|
||||
@@ -1,82 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=kscreenlocker
|
||||
pkgver=99996.1.5
|
||||
_pkgver=6.1.5
|
||||
pkgrel=0
|
||||
pkgdesc="Library and components for secure lock screen architecture"
|
||||
# armhf blocked by extra-cmake-modules
|
||||
arch="all !armhf !armv7"
|
||||
url="https://kde.org/plasma-desktop/"
|
||||
license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)"
|
||||
depends="linux-pam"
|
||||
depends_dev="
|
||||
kcmutils-dev
|
||||
kcrash-dev
|
||||
kdeclarative-dev
|
||||
kglobalaccel-dev
|
||||
ki18n-dev
|
||||
kidletime-dev
|
||||
knotifications-dev
|
||||
ksvg-dev
|
||||
ktextwidgets-dev
|
||||
kwayland-dev
|
||||
kwindowsystem-dev
|
||||
kxmlgui-dev
|
||||
layer-shell-qt-dev
|
||||
libkscreen-dev
|
||||
libplasma-dev
|
||||
libseccomp-dev
|
||||
linux-pam-dev
|
||||
qt6-qtbase-dev
|
||||
solid-dev
|
||||
systemd-dev
|
||||
xcb-util-keysyms-dev
|
||||
"
|
||||
makedepends="
|
||||
$depends_dev
|
||||
extra-cmake-modules
|
||||
samurai
|
||||
"
|
||||
checkdepends="xvfb-run"
|
||||
|
||||
case "$_pkgver" in
|
||||
*.90*) _rel=unstable;;
|
||||
*) _rel=stable;;
|
||||
esac
|
||||
_repo_url="https://invent.kde.org/plasma/kscreenlocker.git"
|
||||
source="https://download.kde.org/$_rel/plasma/$_pkgver/kscreenlocker-$_pkgver.tar.xz
|
||||
kde.pam
|
||||
kde-fingerprint.pam
|
||||
kde-smartcard.pam
|
||||
"
|
||||
subpackages="$pkgname-dev $pkgname-lang"
|
||||
options="!check" # Requires running loginctl
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
xvfb-run ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
install -D -m644 "$srcdir"/kde.pam "$pkgdir"/etc/pam.d/kde
|
||||
install -m644 "$srcdir"/kde-fingerprint.pam "$pkgdir"/etc/pam.d/kde-fingerprint
|
||||
install -m644 "$srcdir"/kde-smartcard.pam "$pkgdir"/etc/pam.d/kde-smartcard
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
0448bbb8261dcaa0ea7bded8ab29311de21b88be4cb56bf68f5931dd97222ab7e24439d2a97c4544c5a723c3c5c7e2e2a019253c51aef5a26d8ec0cf6351c6b5 kscreenlocker-6.1.5.tar.xz
|
||||
cdbc45fb74a3c43fb2302fe09bf2f9f644ca93693e0110cf748c403762236aaeea8284a8d21fc495014c69b6d5fe4789aaff7687ce9f03dda270490fa5042e2b kde.pam
|
||||
fe2f244b73b5cccf4b7125b9e3cac0a35566840e4ba2f69937fd8053aa56af71ee43dcbfa9c0f79de9ebe31f656e98a5d38955f77560be5c3535b08215ad8789 kde-fingerprint.pam
|
||||
2ae866d25224ba345ea9d5ddb2fce668de5c51d1cfbb4d7a048c50107ccd6cffc3231a46855599c0ba3d62ff002a26e45b69d9029f88f4ab42661465a5e526c5 kde-smartcard.pam
|
||||
"
|
||||
@@ -1,15 +0,0 @@
|
||||
auth substack fingerprint-auth
|
||||
auth include postlogin
|
||||
|
||||
account required pam_nologin.so
|
||||
account include fingerprint-auth
|
||||
|
||||
password include fingerprint-auth
|
||||
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include fingerprint-auth
|
||||
session include postlogin
|
||||
@@ -1,15 +0,0 @@
|
||||
auth substack smartcard-auth
|
||||
auth include postlogin
|
||||
|
||||
account required pam_nologin.so
|
||||
account include smartcard-auth
|
||||
|
||||
password include smartcard-auth
|
||||
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include smartcard-auth
|
||||
session include postlogin
|
||||
@@ -1,5 +0,0 @@
|
||||
#%PAM-1.0
|
||||
auth include base-auth
|
||||
account include base-account
|
||||
password include base-password
|
||||
session include base-session
|
||||
@@ -1,115 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=kwin
|
||||
pkgver=99996.1.5
|
||||
_pkgver=6.1.5
|
||||
pkgrel=0
|
||||
pkgdesc="An easy to use, but flexible, composited Window Manager"
|
||||
# armhf blocked by qt6-qtdeclarative
|
||||
arch="all !armhf !armv7"
|
||||
url="https://kde.org/plasma-desktop/"
|
||||
license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-only"
|
||||
depends="
|
||||
hwdata
|
||||
kirigami
|
||||
qt6-qtmultimedia
|
||||
qt6-qtwayland
|
||||
xwayland
|
||||
"
|
||||
depends_dev="$pkgname
|
||||
breeze-dev
|
||||
fontconfig-dev
|
||||
kcmutils-dev
|
||||
kcompletion-dev
|
||||
kconfig-dev
|
||||
kconfigwidgets-dev
|
||||
kcoreaddons-dev
|
||||
kcrash-dev
|
||||
kdeclarative-dev
|
||||
kdecoration-dev
|
||||
kglobalaccel-dev
|
||||
ki18n-dev
|
||||
kiconthemes-dev
|
||||
kidletime-dev
|
||||
kio-dev
|
||||
knewstuff-dev
|
||||
knotifications-dev
|
||||
kpackage-dev
|
||||
krunner-dev
|
||||
kscreenlocker-dev
|
||||
kservice-dev
|
||||
ksvg-dev
|
||||
ktextwidgets-dev
|
||||
kwayland-dev
|
||||
kwidgetsaddons-dev
|
||||
kwindowsystem-dev
|
||||
kxmlgui-dev
|
||||
lcms2-dev
|
||||
libdrm-dev
|
||||
libepoxy-dev
|
||||
libinput-dev
|
||||
libplasma-dev
|
||||
libqaccessibilityclient-dev
|
||||
libxcvt-dev
|
||||
libxi-dev
|
||||
libxkbcommon-dev
|
||||
mesa-dev
|
||||
mesa-gbm
|
||||
pipewire-dev
|
||||
plasma-activities-dev
|
||||
qt6-qtbase-dev
|
||||
qt6-qtdeclarative-dev
|
||||
qt6-qtsensors-dev
|
||||
wayland-dev
|
||||
xcb-util-cursor-dev
|
||||
xcb-util-image-dev
|
||||
xcb-util-wm-dev
|
||||
"
|
||||
makedepends="$depends_dev
|
||||
extra-cmake-modules
|
||||
kdoctools-dev
|
||||
kglobalacceld-dev
|
||||
kpipewire-dev
|
||||
libcap-utils
|
||||
libdisplay-info-dev
|
||||
plasma-wayland-protocols
|
||||
qt6-qttools-dev
|
||||
samurai
|
||||
systemd-dev
|
||||
"
|
||||
checkdepends="xvfb-run"
|
||||
|
||||
case "$_pkgver" in
|
||||
*.90*) _rel=unstable;;
|
||||
*) _rel=stable;;
|
||||
esac
|
||||
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-systemd"
|
||||
_repo_url="https://invent.kde.org/plasma/kwin.git"
|
||||
source="https://download.kde.org/stable/plasma/$(echo $_pkgver | cut -d . -f 1-3)/kwin-$_pkgver.tar.xz
|
||||
"
|
||||
# Broken, fails to setup due to missing or invalid XDG_RUNTIME_DIR?
|
||||
options="!check"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
# significantly reduce debug symbol size
|
||||
# use None here to not make cmake pass bare -g (-g2)
|
||||
CFLAGS="$CFLAGS -O2 -g1" CXXFLAGS="$CXXFLAGS -O2 -g1" \
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
XDG_RUNTIME_DIR="$(mktemp -p -d "$builddir")" \
|
||||
xvfb-run ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
sha512sums="
|
||||
a71d1f814c948293d5552504115178f20e7450ead86c57b0fda79584f613fbc77851d1735945f7f05bf0b6b8c09cdacf53154820176d133f41ec736ae1492946 kwin-6.1.5.tar.xz
|
||||
"
|
||||
@@ -1,101 +0,0 @@
|
||||
# Forked from Alpine enable systemd
|
||||
# MODIFIED base-sessionl.pamd for systemd!
|
||||
|
||||
pkgname=linux-pam
|
||||
# MUST be kept in sync to avoid accidentally pulling in the alpine version
|
||||
# we hard depend on this exact version in postmarketos-base-systemd. When updating
|
||||
# the package here it must also be updated in postmarketos-base-systemd.
|
||||
pkgver=1.6.1
|
||||
pkgrel=1
|
||||
pkgdesc="Linux PAM (Pluggable Authentication Modules for Linux)"
|
||||
url="https://www.kernel.org/pub/linux/libs/pam"
|
||||
arch="all"
|
||||
license="BSD-3-Clause"
|
||||
depends_dev="gettext-dev"
|
||||
makedepends="
|
||||
$depends_dev
|
||||
autoconf
|
||||
automake
|
||||
bison
|
||||
flex-dev
|
||||
libtool
|
||||
linux-headers
|
||||
systemd-dev
|
||||
"
|
||||
options="pmb:strict suid !check"
|
||||
provider_priority=100
|
||||
subpackages="$pkgname-dev $pkgname-manual::noarch $pkgname-doc $pkgname-systemd"
|
||||
source="https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver.tar.xz
|
||||
https://github.com/linux-pam/linux-pam/releases/download/v$pkgver/Linux-PAM-$pkgver-docs.tar.xz
|
||||
|
||||
base-auth.pamd
|
||||
base-account.pamd
|
||||
base-password.pamd
|
||||
base-session.pamd
|
||||
base-session-noninteractive.pamd
|
||||
other.pamd
|
||||
login.pamd
|
||||
su.pamd
|
||||
"
|
||||
builddir="$srcdir"/Linux-PAM-$pkgver
|
||||
|
||||
# secfixes:
|
||||
# 1.6.0-r0:
|
||||
# - CVE-2024-22365
|
||||
# 1.5.1-r0:
|
||||
# - CVE-2020-27780
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--with-systemdunitdir=/usr/lib/systemd/system \
|
||||
--localstatedir=/var \
|
||||
--disable-nls \
|
||||
--disable-db \
|
||||
--disable-examples
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# install our pam.d files
|
||||
install -Dm644 "$srcdir"/base-auth.pamd "$pkgdir"/etc/pam.d/base-auth
|
||||
install -Dm644 "$srcdir"/base-password.pamd "$pkgdir"/etc/pam.d/base-password
|
||||
install -Dm644 "$srcdir"/base-account.pamd "$pkgdir"/etc/pam.d/base-account
|
||||
install -Dm644 "$srcdir"/base-session.pamd "$pkgdir"/etc/pam.d/base-session
|
||||
install -Dm644 "$srcdir"/base-session-noninteractive.pamd \
|
||||
"$pkgdir"/etc/pam.d/base-session-noninteractive
|
||||
install -Dm644 "$srcdir"/other.pamd "$pkgdir"/etc/pam.d/other
|
||||
install -Dm644 "$srcdir"/login.pamd "$pkgdir"/etc/pam.d/login
|
||||
install -Dm644 "$srcdir"/su.pamd "$pkgdir"/etc/pam.d/su
|
||||
|
||||
# make "unix_chkpwd" shadow group and enable g+s
|
||||
chgrp shadow "$pkgdir"/sbin/unix_chkpwd \
|
||||
&& chmod g+s "$pkgdir"/sbin/unix_chkpwd
|
||||
}
|
||||
|
||||
manual() {
|
||||
pkgdesc="$pkgdesc (manual)"
|
||||
|
||||
amove usr/share/doc/Linux-PAM
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ddb5a5f296f564b76925324550d29f15d342841a97815336789c7bb922a8663e831edeb54f3dcd1eaf297e3325c9e2e6c14b8740def5c43cf3f160a8a14fa2ea Linux-PAM-1.6.1.tar.xz
|
||||
c6054ec6832f604c0654cf074e4e241c44037fd41cd37cca7da94abe008ff72adc4466d31bd254517eda083c7ec3f6aefd37785b3ee3d0d4553250bd29963855 Linux-PAM-1.6.1-docs.tar.xz
|
||||
988e4ba32fe6b7adeb4898c784eb40d6f88f3fca78ead82b61686f0e1597f306abb3ee338aa2e4cf2db0191b8c1a7e319332e7f6d6aed3ab381f71c0a3355de9 base-auth.pamd
|
||||
5d3e960ead44dcb2b3f732825482eefab9a9ffa4d4d5fc1d30cbf2fe8c5c896f1114a0ad3a6c606fa9fbf5c43400388f4ee8d7fca8110721eabfc9691004756b base-account.pamd
|
||||
b3a900d6067ba04faa8016d9408da75917e8c0502020a4048bba1de2ca54c705c4d5f8307e759080fd5a9d5f3522f52a708803f1f01627eac56d9d7c6d363d13 base-password.pamd
|
||||
2cf01d7cf2ec63d7cfe10bd90ed3cae8c5354e086495b0738e6e18df4c0ac14336228128a943731d186cc7492b15e7aee039f2c46dcd50c1fde434bb0c9af7fd base-session.pamd
|
||||
2f18114b8a6a78ed798646962526876f3536b4759c00dce339e21f0695ea71d0917c048dc852c3d1c79bd17cd19dc513a3c6463abaffcff3f792b906cec98ede base-session-noninteractive.pamd
|
||||
299bb3791652174a4d836d60f146200bb692ad80c20c18e6e872543ac8885156ff1a7ca00acaf55b89672fa98f00b8df53879c9ab1913a9cc91f620163dd50be other.pamd
|
||||
ae3a807bc121eb59b54f5e53ff8efdde972610cf7463b6a38bccbc89b49954aa2e0a8693919b01f8bc7a956ba58c97de34a28963bc14f526b70b3073d64427b5 login.pamd
|
||||
a71ac72a21a5d18612365b2b0a4a0da1f9d1101a30d3f5d97f479f6378c3a0fbc219617000448c8b5a0ab2597f2e4944202b13a69624dbe849bf9ea39d00ca22 su.pamd
|
||||
"
|
||||
@@ -1,4 +0,0 @@
|
||||
# basic PAM configuration for Alpine.
|
||||
|
||||
account required pam_unix.so
|
||||
account required pam_nologin.so
|
||||
@@ -1,8 +0,0 @@
|
||||
# basic PAM configuration for Alpine.
|
||||
|
||||
auth required pam_unix.so nullok
|
||||
auth required pam_nologin.so
|
||||
auth required pam_env.so
|
||||
|
||||
-auth optional pam_gnome_keyring.so
|
||||
-auth optional pam_kwallet5.so
|
||||
@@ -1,7 +0,0 @@
|
||||
# basic PAM configuration for Alpine.
|
||||
|
||||
password required pam_unix.so nullok sha512 shadow
|
||||
|
||||
# desktop keyrings
|
||||
-password optional pam_gnome_keyring.so use_authtok
|
||||
-password optional pam_kwallet5.so
|
||||
@@ -1,5 +0,0 @@
|
||||
# basic PAM configuration for Alpine.
|
||||
|
||||
session required pam_env.so
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
@@ -1,14 +0,0 @@
|
||||
# basic PAM configuration for Alpine.
|
||||
|
||||
session include base-session-noninteractive
|
||||
|
||||
# potential providers that set up session stuff / a XDG_RUNTIME_DIR
|
||||
-session optional pam_rundir.so
|
||||
-session optional pam_elogind.so
|
||||
-session optional pam_systemd.so
|
||||
-session optional pam_ck_connector.so
|
||||
-session optional pam_turnstile.so
|
||||
|
||||
# desktop keyrings
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
@@ -1,6 +0,0 @@
|
||||
# "login" that is required by pam-enabled util-linux-login/shadow-login
|
||||
|
||||
auth include base-auth
|
||||
account include base-account
|
||||
password include base-password
|
||||
session include base-session
|
||||
@@ -1,6 +0,0 @@
|
||||
#%PAM-1.0
|
||||
# default config for any service don't specified
|
||||
auth include base-auth
|
||||
account include base-account
|
||||
password include base-password
|
||||
session include base-session-noninteractive
|
||||
@@ -1,6 +0,0 @@
|
||||
# basic PAM configuration for Alpine.
|
||||
auth sufficient pam_rootok.so
|
||||
auth include base-auth
|
||||
account include base-account
|
||||
password include base-password
|
||||
session include base-session-noninteractive
|
||||
@@ -1,25 +0,0 @@
|
||||
From 91e9ec2982ec57cf847d9aab6aeeec903797588f Mon Sep 17 00:00:00 2001
|
||||
From: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
Date: Thu, 29 Aug 2024 08:25:09 +0000
|
||||
Subject: [PATCH] disable O2
|
||||
|
||||
---
|
||||
Makefile.inc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.inc b/Makefile.inc
|
||||
index 729618b..978de09 100644
|
||||
--- a/Makefile.inc
|
||||
+++ b/Makefile.inc
|
||||
@@ -99,7 +99,7 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo
|
||||
MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \
|
||||
echo "modprobe@dm_multipath.service")
|
||||
|
||||
-OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4
|
||||
+OPTFLAGS := -Os -g $(STACKPROT) --param=ssp-buffer-size=4
|
||||
|
||||
# Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development.
|
||||
WARN_ONLY :=
|
||||
--
|
||||
2.46.0
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
# Forked from Alpine to remove eudev dependency
|
||||
|
||||
pkgname=multipath-tools
|
||||
pkgver=99990.10.0
|
||||
_pkgver=0.10.0
|
||||
pkgrel=0
|
||||
pkgdesc="Device Mapper Multipathing Driver"
|
||||
url="http://christophe.varoqui.free.fr/"
|
||||
arch="all"
|
||||
license="LGPL-2.0-only"
|
||||
depends="device-mapper"
|
||||
makedepends="
|
||||
json-c-dev
|
||||
libaio-dev
|
||||
lvm2-dev
|
||||
ncurses-dev
|
||||
perl
|
||||
readline-dev
|
||||
systemd-dev
|
||||
userspace-rcu-dev
|
||||
util-linux-dev
|
||||
"
|
||||
subpackages="$pkgname-doc $pkgname-openrc"
|
||||
source="$pkgname-$_pkgver.tar.gz::https://github.com/opensvc/multipath-tools/archive/refs/tags/$_pkgver.tar.gz
|
||||
multipath-tools.conf
|
||||
multipath.initd
|
||||
multipathd.initd
|
||||
multipathd.confd
|
||||
0001-Disable-O2.patch
|
||||
fix-basename.patch
|
||||
"
|
||||
options="!check"
|
||||
builddir="$srcdir"/multipath-tools-"$_pkgver"
|
||||
|
||||
build() {
|
||||
make WARN_ONLY=1 prefix="/usr" \
|
||||
sysconfdir="/etc" \
|
||||
configdir="/etc/multipath/conf.d" \
|
||||
mandir="/usr/share/man" \
|
||||
infodir="/usr/share/info"
|
||||
}
|
||||
|
||||
package() {
|
||||
make prefix="/usr" SYSTEMDPATH="/usr/lib" LIB=lib DESTDIR="$pkgdir" install
|
||||
|
||||
install -D -m644 "$srcdir"/$pkgname.conf \
|
||||
"$pkgdir"/etc/multipath.conf
|
||||
install -D -m755 "$srcdir"/multipathd.initd \
|
||||
"$pkgdir"/etc/init.d/multipathd
|
||||
install -D -m644 "$srcdir"/multipathd.confd \
|
||||
"$pkgdir"/etc/conf.d/multipathd
|
||||
install -D -m755 "$srcdir"/multipath.initd \
|
||||
"$pkgdir"/etc/init.d/multipath
|
||||
install -D -m644 README.md \
|
||||
"$pkgdir"/usr/share/doc/$pkgname/README.md
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8f545609fa20df7547428f2929571dc0df87c17d9f61f11aad3559446c2e94755e18b1c4b3780b3de92ec2cbc450939ca15a9d6c95551eee4084064d83874b2d multipath-tools-0.10.0.tar.gz
|
||||
e81462b22c0cbc92ea935d7544b9f9a0c4ccbcf13f3bc03dadf6de96407c9cf49964c9bbf02f12a134e1255c66421c6fde39d54b15eef975e8df81bdc88b2213 multipath-tools.conf
|
||||
6176a4ed32711ff8e417a58ca0cad8279d46ba98ec40095dbdb1035c49c0f82b06b5affbe2b79c5f2020b215ebe31ebeb408509dc810f5d21eb757e88be8c99f multipath.initd
|
||||
17853ca127259e129bbd61f24a830777d5b6d69f6500313fa62a0e0773de73387ce2c3a58a93a6182ee3d4891d1ec5fc2322cb674e787b326ef9cd8dcff5cbab multipathd.initd
|
||||
2adc2b8322645fec8763a662614b5682294f81dc0f1b9cacace5e5ea62125aa80f4874c1b10f11619e79871087846a946f7a383c22953ca1fbaeb9ea021c5114 multipathd.confd
|
||||
12efc27a7fd492834dd1d86d67faa1a6884142779f5452ada5373d893cd441572e07f9f9ea441dd92d49274ccc21a53d70f2af8a49c63060ff7490b93e3cb58d 0001-Disable-O2.patch
|
||||
3f65a2006c03ba168eb3fcec537042ae9e0ddbcab48a051970fcc477bd88b2eeb16db79c9f06d4fc7b7e06411d46e159b7d13d2fe9613ba5be1ed68d9e66e54c fix-basename.patch
|
||||
"
|
||||
@@ -1,14 +0,0 @@
|
||||
diff --git a/libmultipath/configure.c b/libmultipath/configure.c
|
||||
index d809490..62154fd 100644
|
||||
--- a/libmultipath/configure.c
|
||||
+++ b/libmultipath/configure.c
|
||||
@@ -43,6 +43,9 @@
|
||||
#include "sysfs.h"
|
||||
#include "io_err_stat.h"
|
||||
|
||||
+#define basename(dev) \
|
||||
+ (strrchr((dev),'/') ? strrchr((dev),'/')+1 : (dev))
|
||||
+
|
||||
/* group paths in pg by host adapter
|
||||
*/
|
||||
int group_by_host_adapter(struct pathgroup *pgp, vector adapters)
|
||||
@@ -1,113 +0,0 @@
|
||||
##
|
||||
## This is a template multipath-tools configuration file
|
||||
## Uncomment the lines relevent to your environment
|
||||
##
|
||||
#defaults {
|
||||
# udev_dir /dev
|
||||
# polling_interval 10
|
||||
# selector "round-robin 0"
|
||||
# path_grouping_policy multibus
|
||||
# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
|
||||
# prio_callout /bin/true
|
||||
# path_checker directio
|
||||
# rr_min_io 100
|
||||
# rr_weight priorities
|
||||
# failback immediate
|
||||
# no_path_retry fail
|
||||
# user_friendly_names no
|
||||
#}
|
||||
#blacklist {
|
||||
# wwid 26353900f02796769
|
||||
# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
|
||||
# devnode "^hd[a-z][[0-9]*]"
|
||||
# devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
|
||||
# device {
|
||||
# vendor DEC.*
|
||||
# product MSA[15]00
|
||||
# }
|
||||
#}
|
||||
#blacklist_exceptions {
|
||||
# devnode "^dasd[c-d]+[0-9]*"
|
||||
# wwid "IBM.75000000092461.4d00.34"
|
||||
#}
|
||||
#multipaths {
|
||||
# multipath {
|
||||
# wwid 3600508b4000156d700012000000b0000
|
||||
# alias yellow
|
||||
# path_grouping_policy multibus
|
||||
# path_checker directio
|
||||
# path_selector "round-robin 0"
|
||||
# failback manual
|
||||
# rr_weight priorities
|
||||
# no_path_retry 5
|
||||
# rr_min_io 100
|
||||
# }
|
||||
# multipath {
|
||||
# wwid 1DEC_____321816758474
|
||||
# alias red
|
||||
# }
|
||||
#}
|
||||
#devices {
|
||||
# device {
|
||||
# vendor "COMPAQ "
|
||||
# product "HSV110 (C)COMPAQ"
|
||||
# path_grouping_policy multibus
|
||||
# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
|
||||
# path_checker directio
|
||||
# path_selector "round-robin 0"
|
||||
# hardware_handler "0"
|
||||
# failback 15
|
||||
# rr_weight priorities
|
||||
# no_path_retry queue
|
||||
# rr_min_io 100
|
||||
# product_blacklist LUN_Z
|
||||
# }
|
||||
# device {
|
||||
# vendor "COMPAQ "
|
||||
# product "MSA1000 "
|
||||
# path_grouping_policy multibus
|
||||
# }
|
||||
#}
|
||||
|
||||
#defaults {
|
||||
# udev_dir /dev
|
||||
# user_friendly_names yes
|
||||
#}
|
||||
|
||||
#blacklist {
|
||||
# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
|
||||
# devnode "^hd[a-z]"
|
||||
# devnode "^sda"
|
||||
# devnode "^sdb"
|
||||
# devnode "^sdc"
|
||||
# devnode "^sdd"
|
||||
# devnode "^sda[0-9]"
|
||||
# devnode "^sdb[0-9]"
|
||||
# device {
|
||||
# vendor DELL
|
||||
# product "PERC|Universal"
|
||||
# }
|
||||
#}
|
||||
|
||||
#devices {
|
||||
# device {
|
||||
# vendor DELL
|
||||
# product MD3000i
|
||||
# hardware_handler "1 rdac"
|
||||
# path_checker rdac
|
||||
# path_grouping_policy group_by_prio
|
||||
# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
|
||||
# failback immediate
|
||||
# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
|
||||
# }
|
||||
#}
|
||||
|
||||
#multipaths {
|
||||
# multipath {
|
||||
# device {
|
||||
# vendor DELL
|
||||
# product MD3000i
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
description="Initialize multipath"
|
||||
|
||||
depend() {
|
||||
before checkfs fsck multipathd iscsid lvm
|
||||
after modules device-mapper
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Loading multipath modules"
|
||||
modprobe -aq dm_mod dm-multipath
|
||||
eend $?
|
||||
|
||||
ebegin "Activating multipath devices"
|
||||
multipath -v0 >/dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Deactivating multipath devices"
|
||||
multipath -v0 -F >/dev/null
|
||||
eend $?
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
# Configuration for /etc/init.d/multipathd
|
||||
|
||||
# Comment out to run without process supervisor.
|
||||
supervisor="supervise-daemon"
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
description="Multipath monitoring daemon"
|
||||
|
||||
command="/usr/sbin/multipathd"
|
||||
command_args="-d $command_args"
|
||||
command_background="yes"
|
||||
pidfile="/run/$RC_SVCNAME.pid"
|
||||
output_log="/var/log/$RC_SVCNAME.log"
|
||||
error_log="/var/log/$RC_SVCNAME.log"
|
||||
@@ -1,16 +0,0 @@
|
||||
apk-tools 2.12.10 fails with this in a .pc depends file
|
||||
diff --git a/meson.build b/meson.build
|
||||
index e29c5001bcad..3f21f10cf49a 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -25,9 +25,9 @@ gdk_pixbuf_req = '>= 2.0'
|
||||
pango_req = '>= 1.46.0'
|
||||
cairo_req = '>= 1.10.0'
|
||||
pangocairo_req = '>= 1.20'
|
||||
pixman_req = '>= 0.42'
|
||||
-gsettings_desktop_schemas_req = '>= 40.alpha'
|
||||
+gsettings_desktop_schemas_req = '>= 40_alpha'
|
||||
x11_req = '>= 1.7.0'
|
||||
xcomposite_req = '>= 0.4'
|
||||
xkbcommon_req = '>= 0.4.3'
|
||||
xfixes_req = '>= 6'
|
||||
@@ -1,107 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=mutter
|
||||
pkgver=99946.2
|
||||
_pkgver=46.2
|
||||
pkgrel=0
|
||||
pkgdesc="clutter-based window manager and compositor"
|
||||
url="https://wiki.gnome.org/Projects/Mutter/"
|
||||
arch="all !s390x" # no libei-dev for s390x
|
||||
license="GPL-2.0-or-later"
|
||||
depends="
|
||||
gnome-settings-daemon
|
||||
gsettings-desktop-schemas
|
||||
mutter-schemas
|
||||
xkeyboard-config
|
||||
"
|
||||
makedepends="
|
||||
at-spi2-core-dev
|
||||
cairo-dev
|
||||
dbus-dev
|
||||
eudev-dev
|
||||
fribidi-dev
|
||||
gdk-pixbuf-dev
|
||||
glib-dev
|
||||
gnome-desktop-dev
|
||||
gnome-settings-daemon-dev
|
||||
gobject-introspection-dev
|
||||
graphene-dev
|
||||
gtk4.0-dev
|
||||
json-glib-dev
|
||||
lcms2-dev
|
||||
libcanberra-dev
|
||||
libdrm-dev
|
||||
libei-dev
|
||||
libgudev-dev
|
||||
libice-dev
|
||||
libinput-dev
|
||||
libsm-dev
|
||||
libwacom-dev
|
||||
libx11-dev
|
||||
libxau-dev
|
||||
libxcb-dev
|
||||
libxcomposite-dev
|
||||
libxcursor-dev
|
||||
libxdamage-dev
|
||||
libxext-dev
|
||||
libxfixes-dev
|
||||
libxi-dev
|
||||
libxinerama-dev
|
||||
libxkbcommon-dev
|
||||
libxkbfile-dev
|
||||
libxrandr-dev
|
||||
libxrender-dev
|
||||
libxtst-dev
|
||||
mesa-dev
|
||||
meson
|
||||
pango-dev
|
||||
pipewire-dev
|
||||
startup-notification-dev
|
||||
systemd-dev
|
||||
wayland-dev
|
||||
wayland-protocols
|
||||
xkeyboard-config-dev
|
||||
xwayland-dev
|
||||
"
|
||||
# TODO: crossdirect disabled due to armv7 crosscompile failure on x86_64, see
|
||||
# https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5115#note_1899890119
|
||||
options="!check !pmb:crossdirect" # Can't be run with release builds
|
||||
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-schemas::noarch"
|
||||
source="https://download.gnome.org/sources/mutter/${_pkgver%.*}/mutter-$_pkgver.tar.xz
|
||||
fixudev-req.patch
|
||||
pcversion.patch
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
build() {
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Degl_device=true \
|
||||
-Dudev=true \
|
||||
-Dnative_backend=true \
|
||||
-Dintrospection=true \
|
||||
-Dremote_desktop=true \
|
||||
-Dprofiler=false \
|
||||
-Dtests=false \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
schemas() {
|
||||
pkgdesc="Mutter schemas related files"
|
||||
depends=""
|
||||
|
||||
amove usr/share/glib-2.0/schemas
|
||||
amove usr/share/GConf/gsettings
|
||||
amove usr/share/gnome-control-center/keybindings
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7d8fd3ed38266e993691ee47d9a4e314e439e3269d6b0ed73fb192efa3c29d64edc2c45c178fa99c6807c8f31aca1a3524ccf3986b3a36c5e7cc66ad89b94e53 mutter-46.2.tar.xz
|
||||
3e5dd59f2f2fd80edde13f64d70d52a023dec303fd8dbfa3ded0d77faf7643179f2ad74d4acd3450decb67deaf6ac85a7af5146fa96f33917b4363f884413af9 fixudev-req.patch
|
||||
670927a5528f9fec4801b7dab8a377b7280c239acb1f7a9077647deef71119738deb958a94d4ce0a99d39b29eeab3b2505698f7d19b880bbcec9f5260202d3a6 pcversion.patch
|
||||
"
|
||||
@@ -1,16 +0,0 @@
|
||||
Apparently the version limit is only required for systemd udev, it works
|
||||
just fine with our version of eudev.
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 2605a65..3550496 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -218,7 +218,7 @@ endif
|
||||
|
||||
have_libgudev = get_option('udev')
|
||||
if have_libgudev
|
||||
- libudev_dep = dependency('libudev', version: udev_req)
|
||||
+ libudev_dep = dependency('libudev')
|
||||
gudev_dep = dependency('gudev-1.0', version: gudev_req)
|
||||
udev_dep = dependency('udev')
|
||||
|
||||
@@ -1,262 +0,0 @@
|
||||
# Forked from Alpine to build with systemd support.
|
||||
# integrates with logind for sleepmonitor and sessionmonitor.
|
||||
|
||||
pkgname=networkmanager
|
||||
pkgver=9991.48.2
|
||||
_pkgver=1.48.2
|
||||
pkgrel=2
|
||||
pkgdesc="Network Management daemon"
|
||||
url="https://wiki.gnome.org/Projects/NetworkManager"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
depends_dev="$pkgname=$pkgver-r$pkgrel libnm=$pkgver-r$pkgrel"
|
||||
makedepends="
|
||||
bash
|
||||
curl-dev
|
||||
dbus-glib-dev
|
||||
eudev-dev
|
||||
gettext-dev
|
||||
gnutls-dev
|
||||
gobject-introspection-dev
|
||||
gtk-doc
|
||||
jansson-dev
|
||||
libgudev-dev
|
||||
libndp-dev
|
||||
libnl3-dev
|
||||
libpsl-dev
|
||||
libxslt
|
||||
linux-headers
|
||||
meson
|
||||
mobile-broadband-provider-info
|
||||
modemmanager-dev
|
||||
newt-dev
|
||||
nss-dev
|
||||
openresolv
|
||||
perl
|
||||
polkit-dev
|
||||
ppp-dev
|
||||
py3-gobject3
|
||||
python3
|
||||
readline-dev
|
||||
systemd-dev
|
||||
util-linux-dev
|
||||
vala
|
||||
"
|
||||
checkdepends="
|
||||
bash
|
||||
dbus
|
||||
iproute2-minimal
|
||||
iproute2-tc
|
||||
py3-dbus
|
||||
"
|
||||
install="
|
||||
$pkgname.pre-install
|
||||
$pkgname.pre-upgrade
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-dbg
|
||||
libnm
|
||||
$pkgname-dev
|
||||
$pkgname-elogind
|
||||
$pkgname-lang
|
||||
$pkgname-systemd
|
||||
$pkgname-adsl
|
||||
$pkgname-bluetooth
|
||||
$pkgname-ovs
|
||||
$pkgname-ppp
|
||||
$pkgname-wwan
|
||||
$pkgname-wifi
|
||||
$pkgname-cli
|
||||
$pkgname-tui
|
||||
$pkgname-initrd-generator:initrd_generator
|
||||
$pkgname-bash-completion
|
||||
$pkgname-dnsmasq
|
||||
"
|
||||
source="https://download.gnome.org/sources/NetworkManager/${_pkgver:0:4}/NetworkManager-$_pkgver.tar.xz
|
||||
$pkgname.conf
|
||||
$pkgname.rules
|
||||
"
|
||||
builddir="$srcdir/NetworkManager-$_pkgver"
|
||||
|
||||
# on the builders:
|
||||
# mount("/sys") failed with Operation not permitted (1)
|
||||
options="!check"
|
||||
|
||||
_plugindir="usr/lib/NetworkManager/$_pkgver"
|
||||
|
||||
build() {
|
||||
msg 'Building with systemd'
|
||||
_build output \
|
||||
-Dsession_tracking=systemd \
|
||||
-Dsuspend_resume=systemd \
|
||||
-Dsystemd_journal=true \
|
||||
-Dtests="$(want_check && echo yes || echo no)"
|
||||
}
|
||||
|
||||
_build() {
|
||||
local outdir=$1; shift
|
||||
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dconfig_dhcp_default=internal \
|
||||
-Dconfig_plugins_default=ifupdown \
|
||||
-Dcrypto=nss \
|
||||
-Ddbus_conf_dir=/usr/share/dbus-1/system.d \
|
||||
-Ddhcpcd=true \
|
||||
-Ddnsmasq=/usr/sbin/dnsmasq \
|
||||
-Ddocs=false \
|
||||
-Difupdown=true \
|
||||
-Diptables=/sbin/iptables \
|
||||
-Diwd=true \
|
||||
-Dlibaudit=no \
|
||||
-Dmodify_system=true \
|
||||
-Dnft=/usr/sbin/nft \
|
||||
-Dofono=true \
|
||||
-Dpolkit=true \
|
||||
-Dpppd=/usr/sbin/pppd \
|
||||
-Dpppd_plugin_dir=/usr/lib/pppd/2.5.0 \
|
||||
-Dqt=false \
|
||||
-Dselinux=false \
|
||||
-Dsystemdsystemunitdir=/usr/lib/systemd/system \
|
||||
-Dtests=no \
|
||||
-Dudev_dir=/usr/lib/udev \
|
||||
-Dvapi=true \
|
||||
"$@" \
|
||||
. "$outdir"
|
||||
|
||||
meson compile -C "$outdir"
|
||||
}
|
||||
|
||||
check() {
|
||||
XDG_RUNTIME_DIR="$(mktemp -d -p "$builddir")" \
|
||||
dbus-run-session -- \
|
||||
meson test -t 4 --no-rebuild --print-errorlogs -C output-elogind
|
||||
}
|
||||
|
||||
package() {
|
||||
depends="
|
||||
libnm=$pkgver-r$pkgrel
|
||||
dbus
|
||||
"
|
||||
provides="networkmanager-common"
|
||||
provider_priority=500
|
||||
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
|
||||
install -m644 -D "$srcdir/$pkgname.conf" "$pkgdir"/etc/NetworkManager/NetworkManager.conf
|
||||
|
||||
# allow plugdev users to modify connections
|
||||
install -m644 -D "$srcdir/$pkgname.rules" \
|
||||
"$pkgdir/usr/share/polkit-1/rules.d/01-org.freedesktop.NetworkManager.settings.modify.system.rules"
|
||||
|
||||
mv "$pkgdir/usr/share/doc/NetworkManager" "$pkgdir/usr/share/doc/$pkgname"
|
||||
}
|
||||
|
||||
dev() {
|
||||
default_dev
|
||||
|
||||
amove usr/share/dbus-1/interfaces/*.xml
|
||||
}
|
||||
|
||||
libnm() {
|
||||
pkgdesc="GObject-based client library for NetworkManager"
|
||||
replaces_priority=200
|
||||
|
||||
amove usr/lib/libnm.so*
|
||||
}
|
||||
|
||||
elogind() {
|
||||
pkgdesc="NetworkManager with logind support"
|
||||
depends="$pkgname"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
adsl() {
|
||||
_default_plugin
|
||||
pkgdesc="ADSL device plugin for NetworkManager"
|
||||
}
|
||||
|
||||
bluetooth() {
|
||||
_default_plugin
|
||||
pkgdesc="BlueTooth device plugin for NetworkManager"
|
||||
depends="$depends bluez"
|
||||
}
|
||||
|
||||
ovs() {
|
||||
_default_plugin
|
||||
pkgdesc="Open vSwitch device plugin for NetworkManager"
|
||||
depends="$depends openvswitch"
|
||||
}
|
||||
|
||||
ppp() {
|
||||
pkgdesc="PPP plugin for NetworkManager"
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove $_plugindir/libnm-ppp-plugin.so
|
||||
amove usr/lib/pppd/*/nm-pppd-plugin.so
|
||||
}
|
||||
|
||||
wifi() {
|
||||
_default_plugin
|
||||
pkgdesc="WiFi device plugin for NetworkManager"
|
||||
depends="$depends wireless-regdb"
|
||||
}
|
||||
|
||||
wwan() {
|
||||
_default_plugin
|
||||
pkgdesc="Mobile broadband device plugin for NetworkManager"
|
||||
depends="$depends mobile-broadband-provider-info"
|
||||
}
|
||||
|
||||
cli() {
|
||||
pkgdesc="$pkgdesc (command line interface)"
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/bin/nmcli
|
||||
}
|
||||
|
||||
tui() {
|
||||
pkgdesc="$pkgdesc (textbased user interface)"
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/bin/nmtui*
|
||||
}
|
||||
|
||||
initrd_generator() {
|
||||
pkgdesc="Early boot NetworkManager configuration generator"
|
||||
depends="" # Q: should it depend on $pkgname?
|
||||
replaces="$pkgname<1.34.0-r3"
|
||||
|
||||
amove usr/libexec/nm-initrd-generator
|
||||
}
|
||||
|
||||
gtkdoc() {
|
||||
pkgdesc="$pkgdesc (gtk docs)"
|
||||
|
||||
amove usr/share/gtk-doc
|
||||
}
|
||||
|
||||
dnsmasq() {
|
||||
pkgdesc="Support for NetworkManager dnsmasq features"
|
||||
depends="$pkgname=$pkgver-r$pkgrel dnsmasq-dnssec-dbus"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
_default_plugin() {
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove $_plugindir/libnm*-${subpkgname#"$pkgname"-}.so
|
||||
}
|
||||
|
||||
systemd() {
|
||||
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
||||
default_systemd
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
81ed641365183a03fe06346569939b164a0f7446694eb6c2790fef0118897987e494e3d75214df3e35f77f9c0f65375d4f867e942503f5a9ef11b46e9ba6b57d NetworkManager-1.48.2.tar.xz
|
||||
0f79016bf717dea43830962f524deae8d1cedc274376e40bd912ebe63208c5b1c3b7a5aa14379da19020c587dbd5588df2f0066ca1540070a226983a43e4159b networkmanager.conf
|
||||
9820ed2ead0af689644842de57657bb10330a1eaff0e85b21ae9913f55e399e47d8b41b0a12956f30de80272b4424c6e55f33acbc88e156879003a260bf576f6 networkmanager.rules
|
||||
"
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_post_install system NetworkManager.service
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_pre_deinstall system NetworkManager.service
|
||||
@@ -1,2 +0,0 @@
|
||||
[main]
|
||||
dhcp=internal
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S plugdev 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1 +0,0 @@
|
||||
networkmanager.pre-install
|
||||
@@ -1,9 +0,0 @@
|
||||
// Let users in plugdev group modify NetworkManager
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
|
||||
subject.isInGroup("plugdev") && subject.active) {
|
||||
return "yes";
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -1,260 +0,0 @@
|
||||
# Forked from Alpine to rebuild with systemd support
|
||||
|
||||
pkgname=pipewire
|
||||
pkgver=9991.2.0
|
||||
_pkgver=1.2.0
|
||||
pkgrel=1
|
||||
_so_ver=0.3
|
||||
pkgdesc="Multimedia processing graphs"
|
||||
url="https://pipewire.org/"
|
||||
arch="all"
|
||||
license="LGPL-2.1-or-later"
|
||||
pkggroups="pipewire"
|
||||
makedepends="
|
||||
alsa-lib-dev
|
||||
avahi-dev
|
||||
bash
|
||||
bluez-dev
|
||||
dbus-dev
|
||||
doxygen
|
||||
eudev-dev
|
||||
fdk-aac-dev
|
||||
glib-dev
|
||||
graphviz
|
||||
gst-plugins-base-dev
|
||||
gstreamer-dev
|
||||
jack-dev
|
||||
libcamera-dev
|
||||
libfreeaptx-dev
|
||||
liblc3-dev
|
||||
libusb-dev
|
||||
libx11-dev
|
||||
lilv-dev
|
||||
meson
|
||||
modemmanager-dev
|
||||
ncurses-dev
|
||||
pulseaudio-dev
|
||||
py3-docutils
|
||||
readline-dev
|
||||
roc-toolkit-dev
|
||||
sbc-dev
|
||||
systemd-dev
|
||||
vulkan-loader-dev
|
||||
xmltoman
|
||||
"
|
||||
# move regular -dev after -jackdev, to steal files
|
||||
subpackages="
|
||||
$pkgname-dbg
|
||||
$pkgname-doc
|
||||
$pkgname-alsa
|
||||
$pkgname-pulse
|
||||
$pkgname-jack
|
||||
$pkgname-jack-dev:jackdev
|
||||
$pkgname-dev
|
||||
gst-plugin-pipewire:gst_plugin
|
||||
$pkgname-zeroconf
|
||||
$pkgname-spa-bluez
|
||||
$pkgname-spa-vulkan
|
||||
$pkgname-tools
|
||||
$pkgname-spa-tools:spa_tools
|
||||
$pkgname-lang
|
||||
"
|
||||
install="$pkgname.post-upgrade $pkgname.post-install $pkgname.pre-deinstall"
|
||||
source="https://gitlab.freedesktop.org/PipeWire/pipewire/-/archive/$_pkgver/pipewire-$_pkgver.tar.gz
|
||||
pipewire.desktop
|
||||
pipewire-launcher.sh
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
case "$CARCH" in
|
||||
s390x)
|
||||
# libldac not available for big endian
|
||||
;;
|
||||
*)
|
||||
makedepends="$makedepends libldac-dev"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$CARCH" in
|
||||
ppc64le|s390x|riscv64)
|
||||
# no webrtc-audio-processing
|
||||
;;
|
||||
*)
|
||||
makedepends="$makedepends webrtc-audio-processing-1-dev"
|
||||
subpackages="$subpackages $pkgname-echo-cancel:echo_cancel"
|
||||
;;
|
||||
esac
|
||||
|
||||
# put libs last to steal residual files taken by some prior extras
|
||||
subpackages="$subpackages $pkgname-libs"
|
||||
|
||||
build() {
|
||||
CFLAGS="$CFLAGS -O2" \
|
||||
CXXFLAGS="$CXXFLAGS -O2" \
|
||||
CPPFLAGS="$CPPFLAGS -O2" \
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dlibjack-path=/usr/lib \
|
||||
-Dlibv4l2-path=/usr/lib \
|
||||
-Ddocs=disabled \
|
||||
-Dman=enabled \
|
||||
-Dgstreamer=enabled \
|
||||
-Dexamples=enabled \
|
||||
-Dffmpeg=disabled \
|
||||
-Djack-devel=true \
|
||||
-Dsystemd=enabled\
|
||||
-Dvulkan=enabled \
|
||||
-Dsdl2=disabled \
|
||||
-Dlv2=enabled \
|
||||
-Dlibcamera=enabled \
|
||||
-Droc=enabled \
|
||||
-Dbluez5-codec-lc3=enabled \
|
||||
-Dbluez5-backend-native-mm=enabled \
|
||||
-Dsession-managers=[] \
|
||||
. output
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
# disable tests on armv7, this is run via qemu+binfmt on pmOS CI and fails.
|
||||
# See: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5142#note_1969455333
|
||||
[ "$CARCH" = "armv7" ] && return
|
||||
|
||||
meson test --no-rebuild --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
|
||||
install -Dm644 "$srcdir"/pipewire.desktop -t "$pkgdir"/etc/xdg/autostart/
|
||||
install -Dm755 "$srcdir"/pipewire-launcher.sh "$pkgdir"/usr/libexec/pipewire-launcher
|
||||
}
|
||||
|
||||
alsa() {
|
||||
pkgdesc="ALSA support for pipewire"
|
||||
replaces="$pkgname" # for backward compatibility
|
||||
|
||||
amove usr/lib/alsa-lib
|
||||
amove usr/share/alsa/alsa.conf.d
|
||||
|
||||
install -d "$subpkgdir"/etc/alsa/conf.d
|
||||
for i in "$subpkgdir"/usr/share/alsa/alsa.conf.d/*.conf; do
|
||||
ln -s -- "${i#"$subpkgdir"}" "$subpkgdir"/etc/alsa/conf.d/
|
||||
done
|
||||
}
|
||||
|
||||
pulse() {
|
||||
pkgdesc="Pulseaudio support for pipewire"
|
||||
depends="
|
||||
pipewire-session-manager
|
||||
pulseaudio-utils
|
||||
"
|
||||
provides="pulseaudio=$pkgver-r$pkgrel pulseaudio-bluez=$pkgver-r$pkgrel"
|
||||
provider_priority=1
|
||||
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
||||
|
||||
amove usr/bin/pipewire-pulse
|
||||
amove usr/lib/pipewire-$_so_ver/libpipewire-module-protocol-pulse.so
|
||||
amove usr/lib/pipewire-$_so_ver/libpipewire-module-pulse-tunnel.so
|
||||
amove usr/lib/pipewire-$_so_ver/libpipewire-module-filter-chain-lv2.so
|
||||
amove usr/share/pipewire/pipewire-pulse.conf
|
||||
amove usr/share/pipewire/pipewire-pulse.conf.avail
|
||||
amove usr/lib/systemd/user/pipewire-pulse.service
|
||||
amove usr/lib/systemd/user/pipewire-pulse.socket
|
||||
}
|
||||
|
||||
jack() {
|
||||
pkgdesc="JACK support for pipewire"
|
||||
depends="pipewire-session-manager"
|
||||
provides="jack=$pkgver-r$pkgrel"
|
||||
replaces="jack"
|
||||
|
||||
amove usr/lib/libjack*.so.*
|
||||
amove usr/bin/pw-jack
|
||||
amove usr/lib/spa-*/jack/libspa-jack.so
|
||||
amove usr/share/pipewire/jack.conf
|
||||
}
|
||||
|
||||
gst_plugin() {
|
||||
pkgdesc="Multimedia graph framework - PipeWire plugin"
|
||||
depends="pipewire-session-manager gst-plugins-base"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel gstreamer"
|
||||
|
||||
amove usr/lib/gstreamer-1.0
|
||||
}
|
||||
|
||||
echo_cancel() {
|
||||
pkgdesc="WebRTC-based echo canceller module for PipeWire"
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/lib/pipewire-$_so_ver/libpipewire-module-echo-cancel.so
|
||||
}
|
||||
|
||||
zeroconf() {
|
||||
pkgdesc="$pkgdesc - Zeroconf support"
|
||||
depends=""
|
||||
provides="pulseaudio-zeroconf=$pkgver-r$pkgrel"
|
||||
provider_priority=1
|
||||
|
||||
amove usr/lib/pipewire-$_so_ver/libpipewire-module-zeroconf-discover.so
|
||||
amove usr/lib/pipewire-$_so_ver/libpipewire-module-raop-*.so
|
||||
}
|
||||
|
||||
bluez() {
|
||||
pkgdesc="PipeWire BlueZ5 SPA plugin (Bluetooth)"
|
||||
depends=""
|
||||
replaces="$pkgname" # for backward compatibility
|
||||
|
||||
amove usr/lib/spa-*/bluez5
|
||||
}
|
||||
|
||||
vulkan() {
|
||||
pkgdesc="PipeWire Vulkan SPA plugin"
|
||||
depends=""
|
||||
|
||||
amove usr/lib/spa-*/vulkan
|
||||
}
|
||||
|
||||
tools() {
|
||||
pkgdesc="PipeWire tools"
|
||||
depends="$pkgname=$pkgver-r$pkgrel"
|
||||
replaces="$pkgname" # for backward compatibility
|
||||
|
||||
amove usr/bin/pw-*
|
||||
}
|
||||
|
||||
spa_tools() {
|
||||
pkgdesc="PipeWire SPA tools"
|
||||
depends=""
|
||||
replaces="$pkgname" # for backward compatibility
|
||||
|
||||
amove usr/bin/spa-*
|
||||
}
|
||||
|
||||
jackdev() {
|
||||
pkgdesc="JACK development files (from pipewire)"
|
||||
provides="jack-dev=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/lib/libjack*.so
|
||||
amove usr/include/jack
|
||||
amove usr/lib/pkgconfig/jack.pc
|
||||
}
|
||||
|
||||
libs() {
|
||||
default_libs
|
||||
|
||||
# the libraries must be paired with the client config and the plugins,
|
||||
# see:
|
||||
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3296
|
||||
# https://bugs.archlinux.org/task/78813
|
||||
amove \
|
||||
usr/share/pipewire/client*.conf* \
|
||||
usr/lib/pipewire-*/ \
|
||||
usr/lib/spa-*/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
0f13532fab70459442d683d71f91fd3c3f0cfab1fbfb5dbdef915dab90d5b271f8af0e052eecc295f54c53516f5a553201c62d5ee20b335801b86f714594a046 pipewire-1.2.0.tar.gz
|
||||
b70b05151bcf4b7f13d68b2731d789b9c062fadfcb91f4ed6bdb0d495390b0010f57034fb115a053e1459c7d9ea27523ca1c0c69639aeeb96c17ebac8dfc5b57 pipewire.desktop
|
||||
6f4322d306bef346187778fc0975d608fdd37d4c8e08815a0aed28ef7e07c3f21d6a80b70743d0f867bdc237f5e1dc28131c778e7a45e363e5677668ce7acdb1 pipewire-launcher.sh
|
||||
"
|
||||
@@ -1,22 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# We need to kill any existing pipewire instance to restore sound
|
||||
pkill -u "${USER}" -fx /usr/bin/pipewire-pulse 1>/dev/null 2>&1
|
||||
pkill -u "${USER}" -fx /usr/bin/pipewire-media-session 1>/dev/null 2>&1
|
||||
pkill -u "${USER}" -fx /usr/bin/wireplumber 1>/dev/null 2>&1
|
||||
pkill -u "${USER}" -fx /usr/bin/pipewire 1>/dev/null 2>&1
|
||||
|
||||
exec /usr/bin/pipewire &
|
||||
|
||||
# wait for pipewire to start before attempting to start related daemons
|
||||
while [ "$(pgrep -f /usr/bin/pipewire)" = "" ]; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
if [ -x /usr/bin/wireplumber ]; then
|
||||
exec /usr/bin/wireplumber &
|
||||
elif [ -x /usr/bin/pipewire-media-session ]; then
|
||||
exec /usr/bin/pipewire-media-session &
|
||||
fi
|
||||
|
||||
[ -f "/usr/share/pipewire/pipewire-pulse.conf" ] && exec /usr/bin/pipewire-pulse &
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_post_install user pipewire-pulse.socket
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_pre_deinstall user pipewire-pulse.socket
|
||||
@@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Pipewire
|
||||
Comment=Start Pipewire
|
||||
Exec=/usr/libexec/pipewire-launcher
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-KDE-autostart-phase=1
|
||||
X-GNOME-HiddenUnderSystemd=true
|
||||
X-systemd-skip=true
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S pipewire 2>/dev/null
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_post_install user pipewire.socket
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
ver_old="$2"
|
||||
|
||||
if [ "$(apk version -t "$ver_old" '0.3.33-r3')" = '<' ]; then
|
||||
cat >&2 <<-EOF
|
||||
*
|
||||
* Pipewire bluez5 (Bluetooth) and FFmpeg SPA plugins, ALSA support, pw-* and
|
||||
* spa-* tools have been moved to subpackages. If you use them, install
|
||||
* pipewire-spa-bluez, pipewire-spa-ffmpeg, pipewire-alsa, pipewire-tools and/or
|
||||
* pipewire-spa-tools, repsectively.
|
||||
*
|
||||
EOF
|
||||
fi
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
systemd_service_pre_deinstall user pipewire.socket
|
||||
@@ -1,172 +0,0 @@
|
||||
# Forked from Alpine to add systemd!
|
||||
|
||||
pkgname=plasma-workspace
|
||||
pkgver=99996.1.5
|
||||
_pkgver=6.1.5
|
||||
pkgrel=0
|
||||
pkgdesc="KDE Plasma Workspace"
|
||||
# armhf blocked by extra-cmake-modules
|
||||
arch="all !armhf !armv7"
|
||||
url="https://kde.org/plasma-desktop/"
|
||||
license="(GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-or-later AND MIT AND LGPL-2.1-only AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.0-only"
|
||||
depends="
|
||||
accountsservice
|
||||
fprintd
|
||||
kactivitymanagerd
|
||||
kde-cli-tools
|
||||
kded
|
||||
kio-extras
|
||||
kirigami
|
||||
kirigami-addons
|
||||
kwin
|
||||
milou
|
||||
pipewire-session-manager
|
||||
plasma-integration
|
||||
qt6-qttools
|
||||
tzdata
|
||||
"
|
||||
depends_dev="
|
||||
baloo-dev
|
||||
breeze-dev
|
||||
eudev-dev
|
||||
gpsd-dev
|
||||
icu-dev
|
||||
iso-codes-dev
|
||||
karchive-dev
|
||||
kauth-dev
|
||||
kcmutils-dev
|
||||
kcoreaddons-dev
|
||||
kcrash-dev
|
||||
kdbusaddons-dev
|
||||
kdeclarative-dev
|
||||
kded-dev
|
||||
kglobalaccel-dev
|
||||
kglobalacceld-dev
|
||||
kguiaddons-dev
|
||||
kholidays-dev
|
||||
ki18n-dev
|
||||
kiconthemes-dev
|
||||
kidletime-dev
|
||||
kio-dev
|
||||
kitemmodels-dev
|
||||
knewstuff-dev
|
||||
knotifications-dev
|
||||
knotifyconfig-dev
|
||||
kpackage-dev
|
||||
kparts-dev
|
||||
kpipewire-dev
|
||||
kquickcharts-dev
|
||||
krunner-dev
|
||||
kscreenlocker-dev
|
||||
kstatusnotifieritem-dev
|
||||
ksvg-dev
|
||||
ktexteditor-dev
|
||||
ktextwidgets-dev
|
||||
kunitconversion-dev
|
||||
kuserfeedback-dev
|
||||
kwayland-dev
|
||||
kwin-dev
|
||||
layer-shell-qt-dev
|
||||
libcanberra-dev
|
||||
libkexiv2-dev
|
||||
libkscreen-dev
|
||||
libksysguard-dev
|
||||
libplasma-dev
|
||||
libqalculate-dev
|
||||
networkmanager-qt-dev
|
||||
phonon-dev
|
||||
plasma-activities-stats-dev
|
||||
plasma-wayland-protocols
|
||||
plasma5support-dev
|
||||
prison-dev
|
||||
qcoro-dev
|
||||
qt6-qtwayland-dev
|
||||
wayland-dev
|
||||
wayland-protocols
|
||||
zlib-dev
|
||||
"
|
||||
makedepends="$depends_dev
|
||||
extra-cmake-modules
|
||||
kded
|
||||
kdoctools-dev
|
||||
libxtst-dev
|
||||
qt6-qttools-dev
|
||||
samurai
|
||||
xdotool
|
||||
systemd
|
||||
"
|
||||
checkdepends="xvfb-run"
|
||||
|
||||
case "$_pkgver" in
|
||||
*.90*) _rel=unstable;;
|
||||
*) _rel=stable;;
|
||||
esac
|
||||
subpackages="
|
||||
$pkgname-dbg
|
||||
$pkgname-dev
|
||||
$pkgname-libs
|
||||
$pkgname-doc
|
||||
$pkgname-lang
|
||||
$pkgname-zsh-completion
|
||||
$pkgname-systemd
|
||||
"
|
||||
_repo_url="https://invent.kde.org/plasma/plasma-workspace.git"
|
||||
source="https://download.kde.org/$_rel/plasma/$_pkgver/plasma-workspace-$_pkgver.tar.xz"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
# secfixes:
|
||||
# 6.0.5.1:
|
||||
# - CVE-2024-36041
|
||||
|
||||
|
||||
build() {
|
||||
# reduce size of debug syms
|
||||
CFLAGS="$CFLAGS -O2 -g1" CXXFLAGS="$CXXFLAGS -O2 -g1" \
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DPLASMA_X11_DEFAULT_SESSION=OFF \
|
||||
-DINSTALL_SDDM_WAYLAND_SESSION=OFF # Fails to get permissions to take control over tty
|
||||
|
||||
# workaround for:
|
||||
# https://invent.kde.org/plasma/plasma-workspace/-/issues/132
|
||||
ninja -C build shell/qwayland-plasma-shell.h
|
||||
ninja -C build shell/wayland-plasma-shell-client-protocol.h
|
||||
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
# nightcolortest requires running dbus
|
||||
# testdesktop, lookandfeel-kcmTest, test_kio_fonts, servicerunnertest systemtraymodeltest are broken
|
||||
# tst_triangleFilter requires plasma-workspace to be installed
|
||||
# locationsrunnertest requires a running Wayland environment
|
||||
local skipped_tests="("
|
||||
local tests="
|
||||
nightcolortest
|
||||
testdesktop
|
||||
lookandfeel-kcmTest
|
||||
test_kio_fonts
|
||||
servicerunnertest
|
||||
systemtraymodeltest
|
||||
tst_triangleFilter
|
||||
locationsrunnertest
|
||||
"
|
||||
case "$CARCH" in
|
||||
arm*|aarch64|ppc64le) tests="$tests calculatorrunnertest" ;;
|
||||
esac
|
||||
for test in $tests; do
|
||||
skipped_tests="$skipped_tests|$test"
|
||||
done
|
||||
skipped_tests="$skipped_tests)"
|
||||
xvfb-run -a ctest --test-dir build --output-on-failure -E "$skipped_tests"
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
1b68ddb1d287733ec16900a14b56bf1dbdfb9bce0d10666c1a710612dee6cc786629ea0a924627d58f1268a9594e3bfae587d57bcd7c926bf48b8e914c5d9238 plasma-workspace-6.1.5.tar.xz
|
||||
"
|
||||
@@ -1,108 +0,0 @@
|
||||
# Forked from Alpine to rebuild with systemd support
|
||||
|
||||
pkgname=polkit
|
||||
pkgver=999124
|
||||
_pkgver=124
|
||||
pkgrel=2
|
||||
pkgdesc="Application development toolkit for controlling system-wide privileges"
|
||||
url="https://www.freedesktop.org/wiki/Software/polkit/"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
options="suid !check" # Needs a functioning dbus daemon
|
||||
makedepends="
|
||||
dbus-dev
|
||||
duktape-dev
|
||||
systemd-dev
|
||||
expat-dev
|
||||
glib-dev
|
||||
gobject-introspection-dev
|
||||
gtk-doc
|
||||
linux-pam-dev
|
||||
meson
|
||||
perl
|
||||
"
|
||||
pkgusers="polkitd"
|
||||
pkggroups="polkitd"
|
||||
install="$pkgname.pre-install $pkgname.pre-upgrade"
|
||||
subpackages="
|
||||
$pkgname-dev
|
||||
$pkgname-libs
|
||||
$pkgname-doc
|
||||
$pkgname-lang
|
||||
$pkgname-systemd
|
||||
"
|
||||
source="https://gitlab.freedesktop.org/polkit/polkit/-/archive/$_pkgver/polkit-$_pkgver.tar.bz2
|
||||
alpine-polkit.pam
|
||||
"
|
||||
builddir="$srcdir/polkit-$_pkgver"
|
||||
# Not running 'systemctl preset' on polkit
|
||||
# Reasoning from fedora:
|
||||
# # The implied (systemctl preset) will fail and complain, but the macro hides
|
||||
# # and ignores the fact. This is in fact what we want, polkit.service does not
|
||||
# # have an [Install] section and it is always started on demand.
|
||||
# https://src.fedoraproject.org/rpms/polkit/blob/rawhide/f/polkit.spec
|
||||
|
||||
# secfixes:
|
||||
# 0.120-r2:
|
||||
# - CVE-2021-4034
|
||||
# 0.119-r0:
|
||||
# - CVE-2021-3560
|
||||
|
||||
build() {
|
||||
msg 'Building with systemd'
|
||||
_build systemd -Dsession_tracking="libsystemd-login"
|
||||
}
|
||||
|
||||
_build() {
|
||||
local outdir="$1"
|
||||
shift
|
||||
abuild-meson \
|
||||
-Db_lto=true \
|
||||
-Dtests="$(want_check && echo true || echo false)" \
|
||||
-Dman=true \
|
||||
-Dpam_prefix=/etc/pam.d \
|
||||
"$@" \
|
||||
. "$outdir"
|
||||
meson compile -C "$outdir"
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --print-errorlogs --no-rebuild -C systemd
|
||||
}
|
||||
|
||||
package() {
|
||||
depends="$pkgname-libs=$pkgver-r$pkgrel"
|
||||
provides="$pkgname-elogind=$pkgver-r$pkgrel"
|
||||
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C systemd
|
||||
|
||||
cd "$pkgdir"
|
||||
|
||||
# Use our own polkit rules, upstream may change them
|
||||
install -m644 "$srcdir"/alpine-polkit.pam etc/pam.d/polkit-1
|
||||
|
||||
# See polkit's configure script which tells us what permissions to set
|
||||
chown -R polkitd:polkitd etc/polkit-1/rules.d usr/share/polkit-1/rules.d
|
||||
chmod -R 700 etc/polkit-1/rules.d usr/share/polkit-1/rules.d
|
||||
chmod 4755 usr/lib/polkit-1/polkit-agent-helper-1
|
||||
chmod 4755 usr/bin/pkexec
|
||||
}
|
||||
|
||||
libs() {
|
||||
provides="polkit-elogind-libs polkit-noelogind-libs"
|
||||
provider_priority=9999
|
||||
|
||||
default_libs
|
||||
}
|
||||
|
||||
dev() {
|
||||
provides="polkit-elogind-dev polkit-noelogind-dev"
|
||||
provider_priority=9999
|
||||
|
||||
default_dev
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
db520882b0bedf1c96052570bf4c55d7e966d8172f6d26acf0791d98c4b911fce5ee39e6d830f06122ac8df33c6b43c252cdb7ba3a54523804824ebf355405dc polkit-124.tar.bz2
|
||||
f5102dc00d390b3a3c957b62e1712db778c7ffb7378f3d8e816c0757c11a308c5d5303e42595b0d6add9839247c773880cd34e56afacc89eb6efaadf9aae7826 alpine-polkit.pam
|
||||
"
|
||||
@@ -1,7 +0,0 @@
|
||||
auth requisite pam_nologin.so
|
||||
auth required pam_env.so
|
||||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
session required pam_unix.so
|
||||
session required pam_limits.so
|
||||
password required pam_unix.so
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S polkitd 2>/dev/null
|
||||
adduser -S -D -H -h /var/empty -s /sbin/nologin -G polkitd -g polkitd polkitd 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1 +0,0 @@
|
||||
polkit.pre-install
|
||||
@@ -1,67 +0,0 @@
|
||||
# Maintainer: Oliver Smith <ollipearanoid@postmarketos.org>
|
||||
# pmbootstrap installs this, if systemd is selected in "pmbootstrap init".
|
||||
pkgname=postmarketos-base-systemd
|
||||
pkgver=6
|
||||
pkgrel=1
|
||||
pkgdesc="Meta package for running postmarketOS with systemd"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
options="!check"
|
||||
depends="
|
||||
openssh-server-pam
|
||||
polkit
|
||||
systemd
|
||||
systemd-timesyncd
|
||||
tzdata
|
||||
linux-pam=1.6.1-r1
|
||||
systemd-services
|
||||
"
|
||||
replaces="alpine-baselayout postmarketos-base systemd systemd-logind"
|
||||
replaces_priority=100
|
||||
|
||||
_source644="
|
||||
etc/motd.ansi
|
||||
etc/profile.d/99motd.sh
|
||||
etc/systemd/logind.conf
|
||||
etc/ssh/sshd_config.d/usepam.conf
|
||||
usr/share/mkinitfs/files/01-initramfs-base-systemd.files
|
||||
usr/lib/systemd/system-preset/90-base.preset
|
||||
usr/lib/systemd/user-preset/90-base.preset
|
||||
"
|
||||
|
||||
_source755="
|
||||
usr/bin/setup-timezone
|
||||
"
|
||||
|
||||
flatpath() {
|
||||
local i
|
||||
for i in $@; do
|
||||
echo "rootfs-$i" | sed s./.-.g
|
||||
done
|
||||
}
|
||||
source="$(flatpath $_source644 $_source755)"
|
||||
|
||||
package() {
|
||||
local i
|
||||
for i in $_source644; do
|
||||
install -Dm644 "$srcdir/$(flatpath "$i")" "$pkgdir/$i"
|
||||
done
|
||||
for i in $_source755; do
|
||||
install -Dm755 "$srcdir/$(flatpath "$i")" "$pkgdir/$i"
|
||||
done
|
||||
|
||||
# This gets printed still so overwrite it with an empty file.
|
||||
touch $pkgdir/etc/motd
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a6c27ab5d365807a40b16328918b6ca3d7f97a4128381674001cf46133928d8bb073ff4691b78c82f7965bcc2649d7ca4bf3e7453dd61be9b9341bbe6b448fd6 rootfs-etc-motd.ansi
|
||||
fbaa33425e507062a454f11bda48508f261c2144e5c23a20f567dc1cef14ce1dec57f8d934f418f5b6095509757f8503481aba9790a04c8f9f6995e65833d8c9 rootfs-etc-profile.d-99motd.sh
|
||||
2faac294bb632762e247b850f09ff4b544ccff6c462efd8d4faca71ba30bdfa9c460377a0dc88e92c5dbbe251017d164064a56ac0e0410f224b45d4f5f81866c rootfs-etc-systemd-logind.conf
|
||||
208f53c1d142151277cfcf0a95df839919ce8cb15ec888d50890dc6b3631a994335bfa12194cec856b649f97cfd7c80019c595cc0ea2c5ee96498a3e76a9950b rootfs-etc-ssh-sshd_config.d-usepam.conf
|
||||
15423bfda57c90ab62fe69865ca4072a0aeb83bf77d9c278257e346f4da81843d010b41003c91ae9f3fcb1c67447645e7c19078eea2bf11312051e6ad7523ad1 rootfs-usr-share-mkinitfs-files-01-initramfs-base-systemd.files
|
||||
a0d48ea738e0368286f54785f263a4df8acda1b90fca57bd3e1b6db99e5ab8300744c949c300a339a2007642df5c6f4884a0fe1b6aef649b4410ff8cbd040508 rootfs-usr-lib-systemd-system-preset-90-base.preset
|
||||
9439d7b3142c46f49380d079752a54cc4154fc5990de342568ac25ca0b44d3dfe19b3f110c0e161378671972fadd13e6923846237c2bdb99494e2bfd694fa95e rootfs-usr-lib-systemd-user-preset-90-base.preset
|
||||
605df1f004783d2e0ec5dd99a688bca27502c8c24bc05fb4dc26589b2070b0fbd1cf9bd56e6861d7cda2f8ac8147e7eb040acfd886185c01c8cf9de8b1ce2dcd rootfs-usr-bin-setup-timezone
|
||||
"
|
||||
@@ -1,13 +0,0 @@
|
||||
\033[1;33mNOTICE:\033[22m This build is for showcasing systemd support, it is buggy,
|
||||
unreliable, and NOT suitable for use on devices you rely on.
|
||||
|
||||
As there is no binary repository for systemd packages yet, please
|
||||
do not run \033[38;5;252mapk upgrade -a\033[33m as it *will* break your system.
|
||||
|
||||
For up to date info on the state of systemd support in postmarketOS,
|
||||
please see \033[38;5;75mhttps://postmarketos.org/systemd\033[0m
|
||||
|
||||
This distribution is based on Alpine Linux.
|
||||
First time using postmarketOS? Make sure to read the cheatsheet in the wiki:
|
||||
|
||||
-> \033[38;5;75mhttps://postmarketos.org/cheatsheet\033[0m
|
||||
@@ -1,6 +0,0 @@
|
||||
# Very minimal ANSI motd
|
||||
. /etc/os-release
|
||||
|
||||
echo
|
||||
echo -e " Welcome to \033[32mpostmarketOS $VERSION\033[0m/\033[97msystemd\033[0m! ^^\n"
|
||||
echo -e "$(cat /etc/motd.ansi | sed 's/^/ /')"
|
||||
@@ -1,2 +0,0 @@
|
||||
# postmarketOS: enable PAM auth for environment configuration
|
||||
UsePAM yes
|
||||
@@ -1,35 +0,0 @@
|
||||
# This file is provided by postmarketos-base. See logind.conf(5) for details.
|
||||
|
||||
[Login]
|
||||
#NAutoVTs=6
|
||||
#ReserveVT=6
|
||||
#KillUserProcesses=no
|
||||
#KillOnlyUsers=
|
||||
#KillExcludeUsers=root
|
||||
#InhibitDelayMaxSec=5
|
||||
#UserStopDelaySec=10
|
||||
HandlePowerKey=ignore
|
||||
#HandlePowerKeyLongPress=ignore
|
||||
#HandleRebootKey=reboot
|
||||
#HandleRebootKeyLongPress=poweroff
|
||||
#HandleSuspendKey=suspend
|
||||
#HandleSuspendKeyLongPress=hibernate
|
||||
#HandleHibernateKey=hibernate
|
||||
#HandleHibernateKeyLongPress=ignore
|
||||
#HandleLidSwitch=suspend
|
||||
#HandleLidSwitchExternalPower=suspend
|
||||
#HandleLidSwitchDocked=ignore
|
||||
#PowerKeyIgnoreInhibited=no
|
||||
#SuspendKeyIgnoreInhibited=no
|
||||
#HibernateKeyIgnoreInhibited=no
|
||||
#LidSwitchIgnoreInhibited=yes
|
||||
#RebootKeyIgnoreInhibited=no
|
||||
#HoldoffTimeoutSec=30s
|
||||
#IdleAction=ignore
|
||||
#IdleActionSec=30min
|
||||
#RuntimeDirectorySize=10%
|
||||
#RuntimeDirectoryInodesMax=
|
||||
#RemoveIPC=yes
|
||||
#InhibitorsMax=8192
|
||||
#SessionsMax=8192
|
||||
#StopIdleSessionSec=infinity
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
# Stub that implements a simplified version of Alpine's setup-timezone, so
|
||||
# pmbootstrap can call it during "pmbootstrap install" without having a
|
||||
# dependency on alpine-conf, which in turn depends on openrc.
|
||||
|
||||
if [ "$#" != "2" ] || [ "$1" != "-i" ]; then
|
||||
echo "setup-timezone stub from postmarketos-base-systemd"
|
||||
echo "usage: setup-timezone -i TIMEZONE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TZ_FILE="/usr/share/zoneinfo/$2"
|
||||
|
||||
if ! [ -e "$TZ_FILE" ]; then
|
||||
echo "ERROR: not found: $TZ_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ln -sf "$TZ_FILE" /etc/localtime
|
||||
-69
@@ -1,69 +0,0 @@
|
||||
# overrides for systemd
|
||||
disable systemd-network*
|
||||
disable systemd-homed*
|
||||
|
||||
# starting multipathd on systems with no multipath hardware can soft-hang
|
||||
# boot, so disable it by default
|
||||
disable multipathd.service
|
||||
|
||||
# for basically all Uis
|
||||
## system services
|
||||
enable ModemManager.service
|
||||
enable NetworkManager.service
|
||||
enable apk-polkit-server.service
|
||||
enable bluetooth.service
|
||||
enable haveged.service
|
||||
enable hkdm.service
|
||||
enable kill-pbsplash.service
|
||||
enable nftables.service
|
||||
enable postmarketos-tweakd.service
|
||||
enable sshd.service
|
||||
enable systemd-rfkill.service
|
||||
enable udisks2.service
|
||||
|
||||
# Note: technically these two shouldn't be enabled at the same time, but
|
||||
# pmos-base-wifi provides should make sure that only one is installed at the
|
||||
# same time.
|
||||
enable iwd.service
|
||||
enable wpa_supplicant.service
|
||||
|
||||
# UIs:
|
||||
## plasma
|
||||
enable hfd-service.service
|
||||
enable urfkill.service
|
||||
|
||||
enable plasma-mobile.service
|
||||
enable sddm.service
|
||||
|
||||
## phosh
|
||||
enable phosh.service
|
||||
|
||||
## gnome
|
||||
enable gdm.service
|
||||
|
||||
# Waydroid
|
||||
enable sensorfwd.service
|
||||
enable waydroid-container.service
|
||||
enable waydroid-sensors.service
|
||||
|
||||
# Device specifics:
|
||||
# TODO: i like the idea of device/soc specific presets, we should move this out of here
|
||||
enable adsp-audio.service
|
||||
enable gesture.service
|
||||
enable gnss-share
|
||||
|
||||
## sensors
|
||||
enable hexagonrpcd-sdsp.service
|
||||
enable iio-sensor-proxy.service
|
||||
|
||||
## qcom
|
||||
enable pd-mapper.service
|
||||
enable tqftpserv.service
|
||||
enable qbootctl.service
|
||||
enable q6voiced.service
|
||||
enable rmtfs.service
|
||||
enable qrtr-ns.service
|
||||
enable diag-router.service
|
||||
|
||||
## pinephone{,-pro}
|
||||
enable eg25-manager.service
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
## user services
|
||||
enable dbus-broker.service
|
||||
enable dbus.socket
|
||||
enable obex.service
|
||||
enable pipewire-pulse.socket
|
||||
enable pipewire.socket
|
||||
enable pulseaudio.socket
|
||||
enable wireplumber.service
|
||||
|
||||
enable waydroid-session.service
|
||||
-1
@@ -1 +0,0 @@
|
||||
/usr/lib/libkmod.so.2
|
||||
@@ -1,40 +0,0 @@
|
||||
diff --git a/services/sddm-autologin.pam b/services/sddm-autologin.pam
|
||||
index b42991e..25c43d1 100644
|
||||
--- a/services/sddm-autologin.pam
|
||||
+++ b/services/sddm-autologin.pam
|
||||
@@ -6,8 +6,8 @@ auth required pam_nologin.so
|
||||
auth required pam_permit.so
|
||||
-auth optional pam_gnome_keyring.so
|
||||
-auth optional pam_kwallet5.so
|
||||
-account include system-local-login
|
||||
-password include system-local-login
|
||||
-session include system-local-login
|
||||
+account include base-account
|
||||
+password include base-password
|
||||
+session include base-session
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
diff --git a/services/sddm.pam b/services/sddm.pam
|
||||
index df11003..5c2d8a6 100644
|
||||
--- a/services/sddm.pam
|
||||
+++ b/services/sddm.pam
|
||||
@@ -1,15 +1,15 @@
|
||||
#%PAM-1.0
|
||||
|
||||
-auth include system-login
|
||||
+auth include base-auth
|
||||
-auth optional pam_gnome_keyring.so
|
||||
-auth optional pam_kwallet5.so
|
||||
|
||||
-account include system-login
|
||||
+account include base-account
|
||||
|
||||
-password include system-login
|
||||
+password include base-password
|
||||
-password optional pam_gnome_keyring.so use_authtok
|
||||
|
||||
session optional pam_keyinit.so force revoke
|
||||
-session include system-login
|
||||
+session include base-session
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
@@ -1,30 +0,0 @@
|
||||
From a0dd7b641b98534961522753071fbf4143751a98 Mon Sep 17 00:00:00 2001
|
||||
From: Harald Sitter <sitter@kde.org>
|
||||
Date: Mon, 24 Oct 2022 13:15:48 +0200
|
||||
Subject: [PATCH] disable automatic portal launching
|
||||
|
||||
in Qt6 (and the KDE patch collection for Qt 5) genericunixservices will
|
||||
internally attempt to probe the portal tech early on in the app life
|
||||
cycle. this causes the protal system to launch app and then crash
|
||||
because we aren't actually providing a fully functional session. instead
|
||||
opt out of this altogether
|
||||
|
||||
Patch modified to apply properly on SDDM 0.19.0
|
||||
---
|
||||
src/greeter/GreeterApp.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/greeter/GreeterApp.cpp b/src/greeter/GreeterApp.cpp
|
||||
index bbce512..183f7d1 100644
|
||||
--- a/src/greeter/GreeterApp.cpp
|
||||
+++ b/src/greeter/GreeterApp.cpp
|
||||
@@ -334,6 +334,9 @@ int main(int argc, char **argv)
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
}
|
||||
|
||||
+ // Qt internally may load the xdg portal system early on, prevent this, we do not have a functional session running.
|
||||
+ qputenv("QT_NO_XDG_DESKTOP_PORTAL", "1");
|
||||
+
|
||||
QGuiApplication app(argc, argv);
|
||||
|
||||
QCommandLineParser parser;
|
||||
@@ -1,90 +0,0 @@
|
||||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=sddm
|
||||
pkgver=9999_git20240428
|
||||
_pkgver=0.21.0
|
||||
pkgrel=0
|
||||
pkgdesc="Simple Desktop Display Manager"
|
||||
url="https://github.com/sddm/sddm/"
|
||||
# armhf blocked by qt5-qtdeclarative
|
||||
arch="all !armhf"
|
||||
license="GPL-2.0-only"
|
||||
depends="
|
||||
dbus-x11
|
||||
linux-pam
|
||||
upower
|
||||
xorg-server
|
||||
"
|
||||
makedepends="
|
||||
extra-cmake-modules
|
||||
libxcb-dev
|
||||
linux-pam-dev
|
||||
py3-docutils
|
||||
qt6-qtbase-dev
|
||||
qt6-qtdeclarative-dev
|
||||
qt6-qttools-dev
|
||||
samurai
|
||||
systemd-dev
|
||||
upower-dev
|
||||
utmps-dev
|
||||
"
|
||||
subpackages="$pkgname-doc $pkgname-lang $pkgname-openrc"
|
||||
install="sddm.pre-install"
|
||||
langdir="/usr/share/sddm/translations"
|
||||
pkgusers="sddm"
|
||||
pkggroups="sddm"
|
||||
source="https://github.com/sddm/sddm/archive/v$_pkgver/sddm-v$_pkgver.tar.gz
|
||||
0001-pam-path-fix.patch
|
||||
0003-disable-automatic-portal-launching.patch
|
||||
sddm.initd
|
||||
sddm.confd
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_pkgver"
|
||||
|
||||
# secfixes:
|
||||
# 0.19.0-r0:
|
||||
# - CVE-2020-28049
|
||||
|
||||
build() {
|
||||
CXXFLAGS="$CXXFLAGS -flto=auto" \
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_MAN_PAGES=ON \
|
||||
-DBUILD_WITH_QT6=ON \
|
||||
-DENABLE_JOURNALD=ON \
|
||||
-DNO_SYSTEMD=OFF \
|
||||
-DUSE_ELOGIND=OFF \
|
||||
-DUID_MIN=500 \
|
||||
-DUID_MAX=65000 \
|
||||
-DDBUS_CONFIG_DIR=/usr/share/dbus-1/system.d
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
install -Dm755 "$srcdir"/sddm.initd "$pkgdir"/etc/init.d/sddm
|
||||
install -Dm644 "$srcdir"/sddm.confd "$pkgdir"/etc/conf.d/sddm
|
||||
}
|
||||
|
||||
lang() {
|
||||
pkgdesc="Languages for package $pkgname"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel lang"
|
||||
depends="$depends_lang"
|
||||
|
||||
amove usr/share/sddm/translations-qt6
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
2e8e460e7f318f20a406dcbb1a9fa1dc78b6a5b8d888bfbbaae22b9c642dbc49cf2ac682b4ea9ed847bbafa9bdc361ba08795e59cad970088b370caaaa70f458 sddm-v0.21.0.tar.gz
|
||||
42a0b24717820d98a42d178b5d3a40441672d496c9d8f7c2f8002d770a2718324e9d00d0f27602232b91e8bb042693125507d6cb8371b6f6f211f2b95babe666 0001-pam-path-fix.patch
|
||||
bc7b572331de32245abba234e3537885a3d9dd20273a12bd7a82eb754467dd3c753fc4d90ec24cc206f7df0210cf3119dd056c477168b4173b77fc335b6546b0 0003-disable-automatic-portal-launching.patch
|
||||
4876bf46790dd507f0df803987ad81d7ff2a00c22a8aabec88dd0e3a23aeda92aac59f08ef56ed1bf2b5cb9443077e77b31c9f453bafab2fd6f533be242fcbd4 sddm.initd
|
||||
b841282b96110ec59a7aa539db0737327b09549d55c78dc4b2c3b28b4a6ad1facf015b3175cb6d3a38f13e47aa6314ef3dc1514a4e60dd653a97409ec54ba706 sddm.confd
|
||||
"
|
||||
@@ -1 +0,0 @@
|
||||
supervisor=supervise-daemon
|
||||
@@ -1,16 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="Display Manager"
|
||||
description="SDDM Display Manager"
|
||||
|
||||
command=/usr/bin/sddm
|
||||
command_args="$sddm_opts"
|
||||
|
||||
depends() {
|
||||
provide display-manager
|
||||
needs localmount
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -o sddm:video -m755 /var/lib/sddm
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
addgroup -S sddm 2>/dev/null
|
||||
adduser -G video -h /var/lib/sddm -S -s /sbin/nologin sddm 2>/dev/null
|
||||
|
||||
exit 0
|
||||
@@ -1,289 +0,0 @@
|
||||
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
||||
# Service files for projects that would otherwise either
|
||||
# need to be forked just for the service, or don't provide
|
||||
# a service file at all.
|
||||
|
||||
# How to add a new service file (5 steps):
|
||||
pkgname=systemd-services
|
||||
# 1. bump pkgver
|
||||
pkgver=23
|
||||
pkgrel=2
|
||||
pkgdesc="Systemd service files"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
options="!check"
|
||||
license="BSD-3-Clause"
|
||||
|
||||
# 2. Add a new entry to subpackages in the format
|
||||
# <pkgname>-systemd:_service where pkgname is the name
|
||||
# of the package this service file should be part of
|
||||
# ALPHABETICAL ORDER!!!
|
||||
subpackages="
|
||||
apk-polkit-rs-systemd:_service
|
||||
at-spi2-core-systemd:_service
|
||||
bluez-systemd:_service
|
||||
dconf-systemd:_service
|
||||
eg25-manager-systemd:_service
|
||||
evolution-data-server-systemd:_service
|
||||
flatpak-systemd:_service
|
||||
geoclue-systemd:_service
|
||||
gnome-clocks-systemd:_service
|
||||
hexagonrpcd-systemd:_service
|
||||
iio-sensor-proxy-systemd:_service
|
||||
iwd-systemd:_service
|
||||
kactivitymanagerd-systemd:_service
|
||||
kded-systemd:_service
|
||||
kglobalacceld-systemd:_service
|
||||
lxc-systemd:_service
|
||||
mmsd-tng-systemd:_service
|
||||
modemmanager-systemd:_service
|
||||
nftables-systemd:_service
|
||||
openssh-server-pam-systemd:_service
|
||||
pd-mapper-systemd:_service
|
||||
phosh-systemd:_service
|
||||
plasma-mobile-systemd:_service
|
||||
q6voiced-systemd:_service
|
||||
qbootctl-systemd:_service
|
||||
rmtfs-systemd:_service
|
||||
rtkit-systemd:_service
|
||||
sensorfw-systemd:_service
|
||||
sleep-inhibitor-systemd:_service
|
||||
tqftpserv-systemd:_service
|
||||
udisks2-systemd:_service
|
||||
waydroid-sensors-systemd:_service
|
||||
waydroid-systemd:_service
|
||||
wireplumber-systemd:_service
|
||||
wpa_supplicant-systemd:_service
|
||||
xdg-desktop-portal-gnome-systemd:_service
|
||||
xdg-desktop-portal-gtk-systemd:_service
|
||||
xdg-desktop-portal-systemd:_service
|
||||
xdg-desktop-portal-wlr-systemd:_service
|
||||
"
|
||||
# 3. Add a new entry below with the list of service files
|
||||
# to install for that package
|
||||
_apk_polkit_rs_sources="system/apk-polkit-server.service"
|
||||
_at_spi2_core_sources="user/at-spi-dbus-bus.service"
|
||||
_bluez_sources="
|
||||
system/bluetooth.service
|
||||
system/bluetooth-mesh.service
|
||||
user/dbus-org.bluez.obex.service
|
||||
user/mpris-proxy.service
|
||||
user/obex.service
|
||||
" # From bluez build with --enable-systemd
|
||||
_dconf_sources="user/dconf.service"
|
||||
_eg25_manager_sources="system/eg25-manager.service" # From https://gitlab.com/mobian1/eg25-manager/-/blob/master/data/eg25-manager.service.in
|
||||
_evolution_data_server_sources="
|
||||
user/evolution-addressbook-factory.service
|
||||
user/evolution-calendar-factory.service
|
||||
user/evolution-source-registry.service
|
||||
user/evolution-user-prompter.service
|
||||
" # From https://gitlab.gnome.org/GNOME/evolution-data-server/-/blob/master/src/services
|
||||
_flatpak_sources="system/flatpak-system-helper.service user/flatpak-session-helper.service user/flatpak-portal.service"
|
||||
_geoclue_sources="system/geoclue.service" # From https://gitlab.freedesktop.org/geoclue/geoclue/-/blob/master/data/geoclue.service.in
|
||||
_gnome_clocks_sources="user/gnome-clocks.service"
|
||||
_hexagonrpcd_sources="system/hexagonrpcd-sdsp.service system/iio-sensor-proxy.d/hexagonrpcd.conf"
|
||||
_iio_sensor_proxy_sources="system/iio-sensor-proxy.service"
|
||||
_iwd_sources="system/iwd.service" # From https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/src/iwd.service.in
|
||||
_kactivitymanagerd_sources="user/plasma-kactivitymanagerd.service"
|
||||
_kded_sources="user/kded.service" # From https://invent.kde.org/frameworks/kded/-/blob/master/src/plasma-kded6.service.in
|
||||
_kglobalacceld_sources="user/plasma-kglobalaccel.service"
|
||||
_lxc_sources="system/lxc@.service"
|
||||
_mmsd_tng_sources="user/mmsd-tng.service"
|
||||
_modemmanager_sources="system/ModemManager.service"
|
||||
_nftables_sources="system/nftables.service"
|
||||
_openssh_server_pam_sources="system/sshd.service system/sshdgenkeys.service"
|
||||
_pd_mapper_sources="system/pd-mapper.service"
|
||||
_phosh_sources="system/phosh.service"
|
||||
_plasma_mobile_sources="system/plasma-mobile.service"
|
||||
_q6voiced_sources="system/q6voiced.service"
|
||||
_qbootctl_sources="system/qbootctl.service"
|
||||
_rmtfs_sources="system/rmtfs.service"
|
||||
_rtkit_sources="system/rtkit-daemon.service"
|
||||
_sensorfw_sources="system/sensorfwd.service"
|
||||
_sleep_inhibitor_sources="system/sleep-inhibitor.service"
|
||||
_tqftpserv_sources="system/tqftpserv.service"
|
||||
_udisks2_sources="system/udisks2.service" # From https://github.com/storaged-project/udisks/blob/master/data/udisks2.service.in
|
||||
_waydroid_sources="system/waydroid-container.service user/waydroid-session.service"
|
||||
_waydroid_sensors_sources="system/waydroid-sensors.service"
|
||||
_wireplumber_sources="user/wireplumber.service" # https://gitlab.freedesktop.org/pipewire/wireplumber/-/blob/master/src/systemd/user
|
||||
_wpa_supplicant_sources="system/wpa_supplicant.service"
|
||||
_xdg_desktop_portal_sources="
|
||||
user/xdg-desktop-portal.service
|
||||
user/xdg-desktop-portal-rewrite-launchers.service
|
||||
user/xdg-document-portal.service
|
||||
user/xdg-permission-store.service
|
||||
"
|
||||
_xdg_desktop_portal_gtk_sources="user/xdg-desktop-portal-gtk.service"
|
||||
_xdg_desktop_portal_gnome_sources="user/xdg-desktop-portal-gnome.service"
|
||||
_xdg_desktop_portal_wlr_sources="user/xdg-desktop-portal-wlr.service"
|
||||
|
||||
flatpath() {
|
||||
local i
|
||||
for i in $@; do
|
||||
echo "$i" | sed s./.-.g
|
||||
done
|
||||
}
|
||||
|
||||
# 4. Add the _sources variable to the list below
|
||||
source="$(flatpath \
|
||||
$_apk_polkit_rs_sources \
|
||||
$_at_spi2_core_sources \
|
||||
$_bluez_sources \
|
||||
$_dconf_sources \
|
||||
$_eg25_manager_sources \
|
||||
$_evolution_data_server_sources \
|
||||
$_flatpak_sources \
|
||||
$_geoclue_sources \
|
||||
$_gnome_clocks_sources \
|
||||
$_hexagonrpcd_sources \
|
||||
$_iio_sensor_proxy_sources \
|
||||
$_iwd_sources \
|
||||
$_kactivitymanagerd_sources \
|
||||
$_kded_sources \
|
||||
$_kglobalacceld_sources \
|
||||
$_lxc_sources \
|
||||
$_mmsd_tng_sources \
|
||||
$_modemmanager_sources \
|
||||
$_nftables_sources \
|
||||
$_openssh_server_pam_sources \
|
||||
$_pd_mapper_sources \
|
||||
$_phosh_sources \
|
||||
$_plasma_mobile_sources \
|
||||
$_q6voiced_sources \
|
||||
$_qbootctl_sources \
|
||||
$_rmtfs_sources \
|
||||
$_rtkit_sources \
|
||||
$_sensorfw_sources \
|
||||
$_sleep_inhibitor_sources \
|
||||
$_tqftpserv_sources \
|
||||
$_udisks2_sources \
|
||||
$_waydroid_sensors_sources \
|
||||
$_waydroid_sources \
|
||||
$_wireplumber_sources \
|
||||
$_wpa_supplicant_sources \
|
||||
$_xdg_desktop_portal_gnome_sources \
|
||||
$_xdg_desktop_portal_gtk_sources \
|
||||
$_xdg_desktop_portal_sources \
|
||||
$_xdg_desktop_portal_wlr_sources \
|
||||
)"
|
||||
|
||||
# 5. Add any *system* or *user* unit files that should be passed to 'systemctl
|
||||
# preset'. Variables with *system* unit files should use "_system_presets" and
|
||||
# variables with *user* unit files should use "_user_presets".
|
||||
_apk_polkit_rs_system_presets="apk-polkit-server.service"
|
||||
_bluez_system_presets="bluetooth.service"
|
||||
_geoclue_system_presets="geoclue.service"
|
||||
_gnome_clocks_user_presets="gnome-clocks.service"
|
||||
_hexagonrpcd_system_presets="hexagonrpcd-sdsp.service"
|
||||
_iwd_system_presets="iwd.service"
|
||||
_mmsd_tng_user_presets="mmsd-tng.service"
|
||||
_modemmanager_system_presets="ModemManager.service"
|
||||
_nftables_system_presets="nftables.service"
|
||||
_openssh_server_pam_system_presets="sshd.service"
|
||||
_pd_mapper_system_presets="pd-mapper.service"
|
||||
_phosh_system_presets="phosh.service"
|
||||
_plasma_mobile_system_presets="plasma-mobile.service"
|
||||
_q6voiced_system_presets="q6voiced.service"
|
||||
_qbootctl_system_presets="qbootctl.service"
|
||||
_rmtfs_system_presets="rmtfs.service"
|
||||
_rtkit_system_presets="rtkit-deamon.service"
|
||||
_sensorfw_system_presets="sensorfwd.service"
|
||||
_sleep_inhibitor_system_presets="sleep-inhibitor.service"
|
||||
_tqftpserv_system_presets="tqftpserv.service"
|
||||
_udisks2_system_presets="udisks2.service"
|
||||
_waydroid_system_presets="waydroid-container.service waydroid-session.service"
|
||||
_waydroid_sensors_system_presets="waydroid-sensors.service"
|
||||
_wireplumber_user_presets="wireplumber.service"
|
||||
_wpa_supplicant_system_presets="wpa_supplicant.service"
|
||||
_xdg_desktop_portal_user_presets="xdg-desktop-portal-rewrite-launchers.service"
|
||||
|
||||
_service() {
|
||||
local name=$(echo ${subpkgname%%-systemd})
|
||||
local n=$(echo ${subpkgname%-systemd} | sed s/-/_/g)
|
||||
pkgdesc="$name systemd service files"
|
||||
install_if="systemd-services=$pkgver-r$pkgrel systemd $name"
|
||||
install="" # defined later if presets are configured for the service
|
||||
|
||||
for f in $(eval "echo \$_${n}_sources"); do
|
||||
install -Dm644 "$srcdir/$(flatpath "$f")" "$subpkgdir"/usr/lib/systemd/"$f"
|
||||
done
|
||||
|
||||
for t in user system; do
|
||||
local presets
|
||||
presets="$(eval "echo \$_${n}_${t}_presets" || true)"
|
||||
[ -z "$presets" ] && continue
|
||||
presets="$(echo "$presets" | tr -s '[:space:]' ' ')"
|
||||
|
||||
if [ -z "$install" ]; then
|
||||
cat <<- EOF > "$subpkgname.post-install"
|
||||
#!/bin/sh
|
||||
. /usr/lib/systemd/systemd-apk-macros.sh
|
||||
EOF
|
||||
cp "$subpkgname.post-install" "$subpkgname.pre-deinstall"
|
||||
install="$subpkgname.post-install $subpkgname.pre-deinstall"
|
||||
fi
|
||||
echo "systemd_service_post_install "$t" $presets" >> "$subpkgname.post-install"
|
||||
echo "systemd_service_pre_deinstall "$t" $presets" >> "$subpkgname.pre-deinstall"
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
269dfc4748a9f1c4f49be8bab399d7412b6ff3b6d6ed9b3f2e31074b791789fb39aad450b4d43d318e7a070d1118ba79f216782b064cd106feac3eb4a8ca5581 system-apk-polkit-server.service
|
||||
12f5e008b0a41b3426b29f33556689ef88ba7184293ddb78fdaaf05cc4d029fd0b4c8fbef668aefed103a9f48c525f04a8e4e60ddc6e4329698aaf761b8e8f81 user-at-spi-dbus-bus.service
|
||||
de133c35cf95d7c833368c9010264668e72657400ad4e5259ef046321c878507f36ef73fa7b4759f69c9d18cda8f8db8d7675d794d9a28f46480fb4d47ba9e0c system-bluetooth.service
|
||||
7972e37d950d8e337f109242dc3a7689d0d6e43b80ce42decd81f8d48abaf275a50f5d980d5a40d4494608a2f88f745e1d4639688e179c95792bfb6f398b9ae4 system-bluetooth-mesh.service
|
||||
5ad5f8adcc89759e5c935a2e55803fac52a9681af3a28f5c8d46f693717afcf7c8c6394f85dd5dbc1ddb575b909b0f6feee2e9973ee177e6445d375136b932ee user-dbus-org.bluez.obex.service
|
||||
00049b418fab6dec7d9931a87cc64d2062efa0f7128bec1a693bfdf112703e628a2f1c98d2d5bf71554e6e576882890cef7a02de283909b1dd2f4c5ec0f6393e user-mpris-proxy.service
|
||||
5ad5f8adcc89759e5c935a2e55803fac52a9681af3a28f5c8d46f693717afcf7c8c6394f85dd5dbc1ddb575b909b0f6feee2e9973ee177e6445d375136b932ee user-obex.service
|
||||
e4de73d12abd046c8683e3be6e3aab40a5db3f5d6246cedbb3ff099bcc8037a167b23ac957d30f1118db571b69cb10c042272ac2b54dacf83fa6a3e9dad13a87 user-dconf.service
|
||||
780912dbfdc7e9a350e934d46022b043edda86a393a7c107d0c855e9580240e4bce791428fdadef0a45adc6cfa24fb5d58981b6ccd80e3dad99da3e5fa3dc7b8 system-eg25-manager.service
|
||||
73e1839cec077e35ed985891f5274a09816115cc083e7a6e7e1fd98c88f4a114d7353492dee5808a28c47bf06bca32d9a6a7cc833cf4f21e501774955e93b321 user-evolution-addressbook-factory.service
|
||||
c648760e50e0c47970cce8fdd1972864af74bbc979ed4366973bf1c923ee624779bea95cf1e54260c55fa8a069090a367ceabe9b240842e20959bca42f2f8043 user-evolution-calendar-factory.service
|
||||
0e5d1d1cd0e7c9942dcc0c0742beb85f0c1c61338f0b637835f347579601ff7fe93214041306b69db2162aafb677a1d7111130c0f7dab646e5b5cd9f2dda3b33 user-evolution-source-registry.service
|
||||
fda84bb8dc10fa613790ff3ac9d50a03f21fb32f793ba3641740be93136800f0f07ba53d6e4843d0912f802955cc26719333d1dc2877610eff12354e8538ad5b user-evolution-user-prompter.service
|
||||
0cfef56afeea103ca487b36f13665021bb349b8c890f023135a93c47d45cb58dd39ffe76212fb780546b1aaed8174e40345a961d7125f7d7ace5921e1dcc7ba9 system-flatpak-system-helper.service
|
||||
815a3072c211c85ff475ac7f2fb9c280b567b98777c0f7bf7fea4575b5eaa3b9a4003a08eb3b8cb5b2d7f9fb6525e04491e8d87013e2539ae3a574db647f97b1 user-flatpak-session-helper.service
|
||||
7a17986c0f0554f0b27a5933b3e04657323edb23047878616727863fdc748cb8d8fea978f43895341037e2d1512bbd492bdbc19c40419cd3e109345614645388 user-flatpak-portal.service
|
||||
f3463b85ac47055b400dfd2e24694c5e1dc6ab039efac0fe54496fc027c0732cda5e52a362a497b372dea671dc615154e8abfea866728d243cbbcd25e68a91aa system-geoclue.service
|
||||
bc7987a001d2076788d904f1ea6d3e97a2ab905ee55302ffb90402133c2b9fb760d7ad94e06971d811b9d905048e164cb78355f8cd087219b5b8ff6dab2fbd9c user-gnome-clocks.service
|
||||
b009a1494f84705dcbea664823e24fb18f326ca84017d9c470ef55c0225d519993aacacf76b24c895ee926dbc2b3269ebc6b2a353cda5ad1b732af5624941a6a system-hexagonrpcd-sdsp.service
|
||||
af0e416f78ab317fe09813de58b446e5178457992ea4a2da2eb128811045201087d847e1b7ac0447a59c20129a736135e5d76b113262aa1f76b994e77b9c6b42 system-iio-sensor-proxy.d-hexagonrpcd.conf
|
||||
d12ebe6e7db2a8e34baab640dd4e2ea9cd01bc19054adf32d55528a6b27f71c2006ac2d65a58c98e21ed598e9cc66bfe79e197d20ed9d13f866a5a6cd3e247d5 system-iio-sensor-proxy.service
|
||||
df3388cb7b9d035e54b34d8f8a6594be89c3015f979fe3bdc199fb7db1ab0bef821d6b306eecdf978eb227454d5e50aab29ac02d9722b1b075ec0ce4705e3518 system-iwd.service
|
||||
9cf877929b16f3437e65d1a0a2049799cc97cc84a7caab6a581e90139495b4febb5fb4c59ee463110866a0b60c9462d6d0fdb331d92d29b30ce6aeada365ac48 user-plasma-kactivitymanagerd.service
|
||||
b0ecd5d413a2010d3f36285c2d35523119c29007e1e4162e51dfc746cc105f990a82a2a2d6037a8b906628c0a4f606729290525c7a53dbcfbc8147244fa403a7 user-kded.service
|
||||
acf21c4391ca62775491ba4d3b7c460b4163ef07abb195e152c98299a2d12779f3eb95f8cad0aeb3239f2d0fa8222a2483000c45aa6a47e05269876147d89839 user-plasma-kglobalaccel.service
|
||||
f6fb4c890cbf72e344ca7a22e7f033fb4c32ce9f5edc27c03ccc5c21424d6a0ef871d79e8a89a502a707bdceb3bfbd7a5b3c8e16b1cd30e149bf2fdf8cccea9e system-lxc@.service
|
||||
873b53592786a978659bda8d32de5ed9a9f163ca298c4f4112f10bf635a8170c4060cc15b57ff72b3afd50075cd1c5dbc10030f00b166e2540397da9e1c5e46b user-mmsd-tng.service
|
||||
5eab6a59c81232b188df45482e325b2d1cb9e038ca147a1b6983c1c095d8194fba804793c5e291b201a820976c8f506aadd2daf7c52fe573a3af708fc9984641 system-ModemManager.service
|
||||
12bb9aa2a2ab8d4b21c72a785b41057eb16a27eca5718cd03a987a50b77d669fe90abafae48c68b41616f31b1953853b3b4a74db4bc3cdeccacc00df113de204 system-nftables.service
|
||||
fa445c4a53214524baed4e9c52a5463592a074f88a5a286eacb60d0907c0545f725afde23abd68cf611067add80c2ccb289a381fc5ff6a5f654ea49c81f02fe8 system-sshd.service
|
||||
c0badea3905c1d53d213fbfe11d25b556a2e484fe77eb50e9f4d42e25b67b56a0804e7d8e1b7731cd280cbb3525b4c60311817609381e2308d9f2dfb7c0d7072 system-sshdgenkeys.service
|
||||
0bed9a8a719661609ad84d1c6fcdf2fe9213e741682b7ddebad82d9744f137c593788ed522868f10b95b599d81743d07ec3212630a7e99d333261dfa1bf1cc11 system-pd-mapper.service
|
||||
5f53e07a48c64ab27deead4c1dc64dbea048de5632026d131e27e0fc3115723a1138d043199e2fdba9a281c420b3286a0aa96b063ed7f02c1153487ef732dd98 system-phosh.service
|
||||
e12d8e98e28a795f879aebcceb32a991ee4abcb3bc5ec458aa5378bb52ff86cf39be04bc4a196925f532d623304b3005f561fa5e55d1c87944d718058ec4c0e6 system-plasma-mobile.service
|
||||
4c4c3f1e5e829ff67dd35df59120ab59730ff1f1ca0aab93f16d670132979a99099fad59e6c736908cc19df9172c9bdfe476ec721a1cc28de8c2210da46ce1f1 system-q6voiced.service
|
||||
621189aa251655796795f4fa0cd79360bb67573e7327e545064eaadafc83cc7b382a405d6ba80662e0a4ece3876e4270e3563d859a6ba63b5e3854b39c35873e system-qbootctl.service
|
||||
11bb0ff9ab32f0f230c665db2738e37e5226fa200621b9207baf92e0632a38f840395a55ef6e827763911cf78f3bad95cd3456e77cc01b30b8abce96dc13df9d system-rmtfs.service
|
||||
1a0958e4fe232967946e9f2b17a13434b137236ba5d18442175d648b084d82df3a9fc5723c1621be899ee290b99777ac3c0ee6ad733e72d8e70f63b37ad00036 system-rtkit-daemon.service
|
||||
d5bf5f01c0feafab4edfc39b75eded608dc3efcd3b918739e3ed2ab11340c9cc9b6fb97c0706ddd3d49b726c5f62e8cdb0048aefafd916f3ad9defc6ff9783bc system-sensorfwd.service
|
||||
be9df5e3fd9c88ec1a8db4aa2d9e8075d74ee3d2670aa3cfc611df3cff4d4041ac888a0338c9d5f134bbc69aa32eb52ac40eb3e0981813afa18389cba14d3818 system-sleep-inhibitor.service
|
||||
c569b27925297672c479e12a6425abdf5791886fff77c2c2b67b7aa9277eb0a22e7b95b52dbc225870c97460d0988a4dae18ed864e19096c704c0895de55b699 system-tqftpserv.service
|
||||
c7ea2b18c9d8f82306fbaca6d07b7019de3819d7898c3f50c3d0aceef4da4d311ed3bf31385e2f8998b8e3e326b1eb13309ffd44cf1b2d9db9b40bca00222c16 system-udisks2.service
|
||||
841caa793d256cacea7eb651f3d77039b1c0ddb22727100d6cca74230e528aee09e945e1fdf20eaf40abbe3eaec9210eb7fa27144dc906cab65f8078b36921f9 system-waydroid-sensors.service
|
||||
023fc89481f9079ac2d2d6b8a9ab212cb13a6b309caaa92b336df4c6ee9cff05538f035f8411fd8f6b87ca73b400172f56022edbf02d3776ab6f2aa7af2eebef system-waydroid-container.service
|
||||
33dece26b9372df6238a9d8fa688c89d598cb75cc1e9cad18e7c1687d55c6501ffdd6bd30aa688e649fd5afcf9cf62c2691750b1b375332e783bc360a817f48c user-waydroid-session.service
|
||||
210a7610acfcaee642ac34abe80e77f492e7e2411a9226d26578675893a125b8333a26c2756cf4376745e32fb99a2b7851d737e4df3b2c7d923f730d8ae33e9d user-wireplumber.service
|
||||
d55edea6983ad73b1817dfac3e6d418113c8e0fbd6cb2835dedcad2e5c76c8889c09348a184ed4ab38397d7d539831ef6a7ce08037e12c7ab6dc274519dc5812 system-wpa_supplicant.service
|
||||
0ee2f844819c5f954d269d3703c17b5e51888bb89bd4376d3960f97735b1ba9769c932817270fdb75b8ddf291c21ab6eb78d1a8bde14aac83564881b36914066 user-xdg-desktop-portal-gnome.service
|
||||
eb01dd32fc598e49cbae31847aee4c3e28ee5014df052d65ad02c9a943a9e3399a4a119aa136630efef1157e31f6adc2d8420f8e72dc9da4c0b72645e4c84faa user-xdg-desktop-portal-gtk.service
|
||||
9a3620d3df53540a91efa48df322288d96ec887415f538877a979be40eb5239b95917b9ac57fda2c699fe3f1c6500f7de09a4ce6625b0818f5786e125713552f user-xdg-desktop-portal.service
|
||||
e09a3c76f3be961dce9f564bb654ea84d1d7fb59907a2168c0569bf6c17a5ebe9fbe4d1f94f1d014433757bb721bc443d5962deb540cacbd5547b1dd47717f92 user-xdg-desktop-portal-rewrite-launchers.service
|
||||
9dd95f10dcdb6234697b012c6f428cfca0cfbde24a8951e96cb4c463f55a22d40096a94ca0018f9dbe4ebb2c80eb39faeaa9222f6fb419831520a138f88f0321 user-xdg-document-portal.service
|
||||
1262f10b97989be726432700a923d7717570feb7b0d78c3c573e21ee6be320f5a618d0d21c1eb351702397caa95b476b8854bf83545993fb464b4a7a80067800 user-xdg-permission-store.service
|
||||
744c60fdc6e53ba2c9f370ce8462e1a420cfea973edff49d0caf7a3e65f0f35257d61b5ae3ace3e9d9d48e382cb54d9f2ff96ad02d5e16758a49ba2e07963e5a user-xdg-desktop-portal-wlr.service
|
||||
"
|
||||
@@ -1,23 +0,0 @@
|
||||
[Unit]
|
||||
Description=Modem Manager
|
||||
After=polkit.service
|
||||
Requires=polkit.service
|
||||
ConditionVirtualization=!container
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.freedesktop.ModemManager1
|
||||
ExecStart=/usr/sbin/ModemManager --test-quick-suspend-resume
|
||||
StandardError=null
|
||||
Restart=on-abort
|
||||
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_NET_ADMIN
|
||||
ProtectSystem=true
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
RestrictAddressFamilies=AF_NETLINK AF_UNIX AF_QIPCRTR
|
||||
NoNewPrivileges=true
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=dbus-org.freedesktop.ModemManager1.service
|
||||
Loaded 100 of 176 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user