[arch-commits] Commit in (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sun Oct 27 14:39:07 UTC 2013
Date: Sunday, October 27, 2013 @ 15:39:07
Author: andrea
Revision: 197628
community2extra: Moving signon from community to extra
Added:
signon/
signon/repos/
signon/trunk/
signon/trunk/PKGBUILD
signon/trunk/signon.install
signon/trunk/use_keyring.patch
-------------------+
PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
signon.install | 6 +++++
use_keyring.patch | 12 +++++++++++
3 files changed, 71 insertions(+)
Added: signon/trunk/PKGBUILD
===================================================================
--- signon/trunk/PKGBUILD (rev 0)
+++ signon/trunk/PKGBUILD 2013-10-27 14:39:07 UTC (rev 197628)
@@ -0,0 +1,53 @@
+# $Id$
+#Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=signon
+pkgname=('signon' 'signon-doc')
+pkgver=8.54
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/accounts-sso/"
+license=('LGPL')
+makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'ttf-font')
+options=('!emptydirs')
+source=("http://accounts-sso.googlecode.com/files/$pkgbase-$pkgver.tar.bz2"
+ 'use_keyring.patch')
+sha1sums=('a29a12d6fe3747930e94932f6e1b1339b471d108'
+ 'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
+
+prepare() {
+ cd $pkgbase-$pkgver
+
+ # Use gnome-keyring secrets storage if signon-keyring-extension is available
+ patch -Np1 -i "$srcdir/use_keyring.patch"
+
+ # qt4 fix
+ sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt4/' src/signond/signond.pro
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+ make
+}
+
+package_signon() {
+ pkgdesc="Framework to provide credential storage and authentication service"
+ depends=('qt4' 'libproxy')
+ backup=('etc/signond.conf')
+ install=$pkgname.install
+
+ cd $pkgbase-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Split out documentation
+ mv "$pkgdir/usr/share/doc" "$srcdir"
+}
+
+package_signon-doc() {
+ pkgdesc="Developer documention of signon"
+
+ mkdir -p "$pkgdir/usr/share"
+ mv "$srcdir/doc" "$pkgdir/usr/share"
+}
Property changes on: signon/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: signon/trunk/signon.install
===================================================================
--- signon/trunk/signon.install (rev 0)
+++ signon/trunk/signon.install 2013-10-27 14:39:07 UTC (rev 197628)
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ "$(vercmp 8.44 "$2")" -eq 1 ]; then
+ printf '==> Default config location changed\n'
+ printf ' Move the file signon.db from ~/.signon/ to ~/.config/signond/\n'
+ fi
+}
Added: signon/trunk/use_keyring.patch
===================================================================
--- signon/trunk/use_keyring.patch (rev 0)
+++ signon/trunk/use_keyring.patch 2013-10-27 14:39:07 UTC (rev 197628)
@@ -0,0 +1,12 @@
+=== modified file 'src/signond/signond.conf'
+--- old/src/signond/signond.conf 2012-07-25 14:57:50 +0000
++++ new/src/signond/signond.conf 2012-07-25 19:27:16 +0000
+@@ -17,6 +17,7 @@
+ FileSystemName=signonfs
+ Size=8
+ FileSystemType=ext2
++SecretsStorage=gnome-keyring
+
+ [ObjectTimeouts]
+ IdentityTimeout=300
+
More information about the arch-commits
mailing list