[arch-commits] Commit in gcr/repos/extra-x86_64 (PKGBUILD PKGBUILD gcr.install)
Jan Steffens
heftig at archlinux.org
Sat Mar 27 18:07:42 UTC 2021
Date: Saturday, March 27, 2021 @ 18:07:42
Author: heftig
Revision: 411118
archrelease: copy trunk to extra-x86_64
Added:
gcr/repos/extra-x86_64/PKGBUILD
(from rev 411117, gcr/trunk/PKGBUILD)
gcr/repos/extra-x86_64/gcr.install
(from rev 411117, gcr/trunk/gcr.install)
Deleted:
gcr/repos/extra-x86_64/PKGBUILD
-------------+
PKGBUILD | 99 +++++++++++++++++++++++++++++-----------------------------
gcr.install | 9 +++++
2 files changed, 59 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-27 18:07:31 UTC (rev 411117)
+++ PKGBUILD 2021-03-27 18:07:42 UTC (rev 411118)
@@ -1,49 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gcr
-pkgver=3.38.1
-pkgrel=1
-pkgdesc="A library for bits of crypto UI and parsing"
-url="https://gitlab.gnome.org/GNOME/gcr"
-arch=(x86_64)
-license=(GPL2)
-depends=(gtk3 libgcrypt p11-kit)
-makedepends=(gobject-introspection vala libxslt git gtk-doc meson)
-provides=(libgck-1.so libgcr-{base,ui}-3.so)
-_commit=e00d135f04ca0ebc9416044bd74027f21d079066 # tags/3.38.1^0
-backup=(etc/security/limits.d/10-gcr.conf)
-source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd $pkgname
-}
-
-build() {
- arch-meson $pkgname build
- meson compile -C build
-}
-
-check() {
- # Secure memory tests fail
- dbus-run-session meson test -C build --print-errorlogs || :
-}
-
-package() {
- DESTDIR="$pkgdir" meson install -C build
-
- # 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
-}
-
-# vim:set ts=2 sw=2 et:
Copied: gcr/repos/extra-x86_64/PKGBUILD (from rev 411117, gcr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-27 18:07:42 UTC (rev 411118)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gcr
+pkgver=3.40.0
+pkgrel=1
+pkgdesc="A library for bits of crypto UI and parsing"
+url="https://gitlab.gnome.org/GNOME/gcr"
+arch=(x86_64)
+license=(GPL2)
+depends=(gtk3 libgcrypt p11-kit)
+makedepends=(gobject-introspection vala libxslt git gtk-doc meson)
+provides=(libgck-1.so libgcr-{base,ui}-3.so)
+_commit=dbde3e131180bcee7c930e21170da05ec0494a3d # tags/3.40.0^0
+backup=(etc/security/limits.d/10-gcr.conf)
+install=gcr.install
+source=("git+https://gitlab.gnome.org/GNOME/gcr.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ # Secure memory tests fail
+ dbus-run-session meson test -C build --print-errorlogs || :
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+
+ # 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
+}
+
+# vim:set ts=2 sw=2 et:
Copied: gcr/repos/extra-x86_64/gcr.install (from rev 411117, gcr/trunk/gcr.install)
===================================================================
--- gcr.install (rev 0)
+++ gcr.install 2021-03-27 18:07:42 UTC (rev 411118)
@@ -0,0 +1,9 @@
+post_install() {
+ 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
+}
+
+# vim:set ft=bash sw=2:
More information about the arch-commits
mailing list