[arch-commits] Commit in gcr/trunk (PKGBUILD gcr.install)

Jan Steffens heftig at gemini.archlinux.org
Fri Aug 12 13:12:36 UTC 2022


    Date: Friday, August 12, 2022 @ 13:12:36
  Author: heftig
Revision: 452607

3.41.1-2: FS#75556 Remove limit override

Modified:
  gcr/trunk/PKGBUILD
  gcr/trunk/gcr.install

-------------+
 PKGBUILD    |   10 +---------
 gcr.install |    6 ------
 2 files changed, 1 insertion(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 13:09:11 UTC (rev 452606)
+++ PKGBUILD	2022-08-12 13:12:36 UTC (rev 452607)
@@ -4,7 +4,7 @@
 pkgbase=gcr
 pkgname=(gcr gcr-docs)
 pkgver=3.41.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for bits of crypto UI and parsing"
 url="https://gitlab.gnome.org/GNOME/gcr"
 arch=(x86_64)
@@ -37,18 +37,10 @@
 
 package_gcr() {
   provides=(libgck-1.so libgcr-{base,ui}-3.so)
-  backup=(etc/security/limits.d/10-gcr.conf)
   install=gcr.install
 
   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
- at users - memlock 1024
-END
-
   mkdir -p doc/usr/share
   mv {"$pkgdir",doc}/usr/share/doc
 }

Modified: gcr.install
===================================================================
--- gcr.install	2022-08-12 13:09:11 UTC (rev 452606)
+++ gcr.install	2022-08-12 13:12:36 UTC (rev 452607)
@@ -1,12 +1,6 @@
 post_install() {
   # Enable socket by default
   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() {



More information about the arch-commits mailing list