[arch-commits] Commit in gcr/repos (3 files)
Jan Steffens
heftig at archlinux.org
Thu Mar 8 20:40:49 UTC 2018
Date: Thursday, March 8, 2018 @ 20:40:48
Author: heftig
Revision: 318285
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gcr/repos/gnome-unstable-x86_64/
gcr/repos/gnome-unstable-x86_64/10-gcr.conf
(from rev 318284, gcr/trunk/10-gcr.conf)
gcr/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 318284, gcr/trunk/PKGBUILD)
-------------+
10-gcr.conf | 3 ++
PKGBUILD | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: gcr/repos/gnome-unstable-x86_64/10-gcr.conf (from rev 318284, gcr/trunk/10-gcr.conf)
===================================================================
--- gnome-unstable-x86_64/10-gcr.conf (rev 0)
+++ gnome-unstable-x86_64/10-gcr.conf 2018-03-08 20:40:48 UTC (rev 318285)
@@ -0,0 +1,3 @@
+ at users - memlock 1024
+
+# vim:set ft=limits:
Copied: gcr/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318284, gcr/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2018-03-08 20:40:48 UTC (rev 318285)
@@ -0,0 +1,61 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gcr
+pkgver=3.27.92+7+g2a334b9
+pkgrel=1
+pkgdesc="A library for bits of crypto UI and parsing"
+url="https://git.gnome.org/browse/gcr"
+arch=(x86_64)
+license=(GPL2)
+depends=(dconf gtk3 libgcrypt p11-kit)
+makedepends=(intltool gobject-introspection python vala libxslt git gtk-doc)
+checkdepends=(python2)
+_commit=2a334b964e19321f5bb141a1f39a63a502f3eefd # master
+source=("git+https://git.gnome.org/browse/gcr#commit=$_commit"
+ 10-gcr.conf)
+sha256sums=('SKIP'
+ '5f2eda7175ae9f23ee0e09d2beceb24fd2f6daafd7bddfcc1c1f5a3734eb60fc')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ sed -i '1s/python$/&2/' build/tap-{driver,gtester}
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ --enable-gtk-doc \
+ --disable-static \
+ --disable-update-mime \
+ --disable-schemas-compile
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+check() {
+ cd $pkgname
+ # Secure memory tests fail
+ dbus-run-session make -k check || :
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+
+ # 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 -Dt "$pkgdir/etc/security/limits.d" -m644 ../10-gcr.conf
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list