Skip to content
Snippets Groups Projects
Commit 71c663dd authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

3.41.1-2: FS#75556 Remove limit override

parent f4b86127
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
pkgbase=gcr pkgbase=gcr
pkgname=(gcr gcr-docs) pkgname=(gcr gcr-docs)
pkgver=3.41.1 pkgver=3.41.1
pkgrel=1 pkgrel=2
pkgdesc="A library for bits of crypto UI and parsing" pkgdesc="A library for bits of crypto UI and parsing"
url="https://gitlab.gnome.org/GNOME/gcr" url="https://gitlab.gnome.org/GNOME/gcr"
arch=(x86_64) arch=(x86_64)
...@@ -37,18 +37,10 @@ check() { ...@@ -37,18 +37,10 @@ check() {
package_gcr() { package_gcr() {
provides=(libgck-1.so libgcr-{base,ui}-3.so) provides=(libgck-1.so libgcr-{base,ui}-3.so)
backup=(etc/security/limits.d/10-gcr.conf)
install=gcr.install install=gcr.install
meson install -C build --destdir "$pkgdir" meson install -C build --destdir "$pkgdir"
# gcr wants to lock some memory to prevent swapping out private keys
# https://bugs.archlinux.org/task/32616
# https://bugzilla.gnome.org/show_bug.cgi?id=688161
install -Dm644 /dev/stdin "$pkgdir/etc/security/limits.d/10-gcr.conf" <<END
@users - memlock 1024
END
mkdir -p doc/usr/share mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc mv {"$pkgdir",doc}/usr/share/doc
} }
......
post_install() { post_install() {
# Enable socket by default # Enable socket by default
systemctl --global enable gcr-ssh-agent.socket systemctl --global enable gcr-ssh-agent.socket
cat <<END
>>> gcr contains /etc/security/limits.d/10-gcr.conf which sets the memlock limit
in order to allow GCR to lock private keys in memory. If you have configured
this limit differently before, please review your configuration.
END
} }
post_upgrade() { post_upgrade() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment