[arch-commits] Commit in signon/repos (8 files)

Antonio Rojas arojas at archlinux.org
Fri Oct 2 10:54:59 UTC 2015


    Date: Friday, October 2, 2015 @ 12:54:59
  Author: arojas
Revision: 248250

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  signon/repos/testing-i686/
  signon/repos/testing-i686/PKGBUILD
    (from rev 248249, signon/trunk/PKGBUILD)
  signon/repos/testing-i686/signon.install
    (from rev 248249, signon/trunk/signon.install)
  signon/repos/testing-i686/use_keyring.patch
    (from rev 248249, signon/trunk/use_keyring.patch)
  signon/repos/testing-x86_64/
  signon/repos/testing-x86_64/PKGBUILD
    (from rev 248249, signon/trunk/PKGBUILD)
  signon/repos/testing-x86_64/signon.install
    (from rev 248249, signon/trunk/signon.install)
  signon/repos/testing-x86_64/use_keyring.patch
    (from rev 248249, signon/trunk/use_keyring.patch)

----------------------------------+
 testing-i686/PKGBUILD            |   70 +++++++++++++++++++++++++++++++++++++
 testing-i686/signon.install      |    6 +++
 testing-i686/use_keyring.patch   |   12 ++++++
 testing-x86_64/PKGBUILD          |   70 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/signon.install    |    6 +++
 testing-x86_64/use_keyring.patch |   12 ++++++
 6 files changed, 176 insertions(+)

Copied: signon/repos/testing-i686/PKGBUILD (from rev 248249, signon/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-10-02 10:54:59 UTC (rev 248250)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=signon
+pkgname=('libsignon-qt4' 'signon')
+pkgver=8.58
+pkgrel=1
+arch=('i686' 'x86_64')
+url="https://gitlab.com/accounts-sso/signond/"
+license=('LGPL')
+makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'qt5-base' 'ttf-font' 'qt5-tools')
+options=('!emptydirs')
+source=("https://gitlab.com/accounts-sso/signond/repository/archive.tar.bz2?ref=VERSION_$pkgver"
+        'use_keyring.patch')
+sha1sums=('e736e13d15f7f74e3681696f3a57bc3639bb24ff'
+          'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
+
+prepare() {
+  mv signond-VERSION_$pkgver-* $pkgbase-$pkgver
+
+  cd $pkgbase-$pkgver
+  # Use gnome-keyring secrets storage if signon-keyring-extension is available
+  patch -Np1 -i "$srcdir/use_keyring.patch"
+  cd ..
+
+  cp -a $pkgbase-$pkgver $pkgbase-$pkgver-qt4
+
+  # qt4 fix
+  cd $pkgbase-$pkgver-qt4
+  sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt4/' src/signond/signond.pro
+}
+
+build() {
+  cd $pkgbase-$pkgver
+  qmake PREFIX=/usr LIBDIR=/usr/lib
+  make
+    
+  cd ../$pkgbase-$pkgver-qt4
+  qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+  make
+}
+
+package_libsignon-qt4() {
+  pkgdesc="Qt4 signon library"
+  depends=('qt4' 'signon')
+  conflicts=('signon-qt4')
+  replaces=('signon-qt4')
+
+  cd $pkgbase-$pkgver-qt4/lib/SignOn
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Do not ship docs
+  rm -rf "${pkgdir}"/usr/share/doc
+}
+
+package_signon() {
+  pkgdesc="Qt Framework to provide credential storage and authentication service"
+  depends=('qt5-base' 'libproxy')
+  conflicts=('signon-qt5')
+  provides=('signon-qt5')
+  replaces=('signon-qt5')
+
+  cd $pkgbase-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Do not ship docs
+  rm -rf "${pkgdir}"/usr/share/doc
+}
+

Copied: signon/repos/testing-i686/signon.install (from rev 248249, signon/trunk/signon.install)
===================================================================
--- testing-i686/signon.install	                        (rev 0)
+++ testing-i686/signon.install	2015-10-02 10:54:59 UTC (rev 248250)
@@ -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
+}

Copied: signon/repos/testing-i686/use_keyring.patch (from rev 248249, signon/trunk/use_keyring.patch)
===================================================================
--- testing-i686/use_keyring.patch	                        (rev 0)
+++ testing-i686/use_keyring.patch	2015-10-02 10:54:59 UTC (rev 248250)
@@ -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
+

Copied: signon/repos/testing-x86_64/PKGBUILD (from rev 248249, signon/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-10-02 10:54:59 UTC (rev 248250)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=signon
+pkgname=('libsignon-qt4' 'signon')
+pkgver=8.58
+pkgrel=1
+arch=('i686' 'x86_64')
+url="https://gitlab.com/accounts-sso/signond/"
+license=('LGPL')
+makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'qt5-base' 'ttf-font' 'qt5-tools')
+options=('!emptydirs')
+source=("https://gitlab.com/accounts-sso/signond/repository/archive.tar.bz2?ref=VERSION_$pkgver"
+        'use_keyring.patch')
+sha1sums=('e736e13d15f7f74e3681696f3a57bc3639bb24ff'
+          'cfdd48b494ad267654ceba23f1b81bcb8f56b9a1')
+
+prepare() {
+  mv signond-VERSION_$pkgver-* $pkgbase-$pkgver
+
+  cd $pkgbase-$pkgver
+  # Use gnome-keyring secrets storage if signon-keyring-extension is available
+  patch -Np1 -i "$srcdir/use_keyring.patch"
+  cd ..
+
+  cp -a $pkgbase-$pkgver $pkgbase-$pkgver-qt4
+
+  # qt4 fix
+  cd $pkgbase-$pkgver-qt4
+  sed -i 's/qdbusxml2cpp/qdbusxml2cpp-qt4/' src/signond/signond.pro
+}
+
+build() {
+  cd $pkgbase-$pkgver
+  qmake PREFIX=/usr LIBDIR=/usr/lib
+  make
+    
+  cd ../$pkgbase-$pkgver-qt4
+  qmake-qt4 PREFIX=/usr LIBDIR=/usr/lib
+  make
+}
+
+package_libsignon-qt4() {
+  pkgdesc="Qt4 signon library"
+  depends=('qt4' 'signon')
+  conflicts=('signon-qt4')
+  replaces=('signon-qt4')
+
+  cd $pkgbase-$pkgver-qt4/lib/SignOn
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Do not ship docs
+  rm -rf "${pkgdir}"/usr/share/doc
+}
+
+package_signon() {
+  pkgdesc="Qt Framework to provide credential storage and authentication service"
+  depends=('qt5-base' 'libproxy')
+  conflicts=('signon-qt5')
+  provides=('signon-qt5')
+  replaces=('signon-qt5')
+
+  cd $pkgbase-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+
+  # Do not ship docs
+  rm -rf "${pkgdir}"/usr/share/doc
+}
+

Copied: signon/repos/testing-x86_64/signon.install (from rev 248249, signon/trunk/signon.install)
===================================================================
--- testing-x86_64/signon.install	                        (rev 0)
+++ testing-x86_64/signon.install	2015-10-02 10:54:59 UTC (rev 248250)
@@ -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
+}

Copied: signon/repos/testing-x86_64/use_keyring.patch (from rev 248249, signon/trunk/use_keyring.patch)
===================================================================
--- testing-x86_64/use_keyring.patch	                        (rev 0)
+++ testing-x86_64/use_keyring.patch	2015-10-02 10:54:59 UTC (rev 248250)
@@ -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