commit gsignond for openSUSE:Factory
Hello community, here is the log from the commit of package gsignond for openSUSE:Factory checked in at 2016-09-30 15:31:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gsignond (Old) and /work/SRC/openSUSE:Factory/.gsignond.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gsignond" Changes: -------- New Changes file: --- /dev/null 2016-09-15 12:42:18.240042505 +0200 +++ /work/SRC/openSUSE:Factory/.gsignond.new/gsignond.changes 2016-09-30 15:31:30.000000000 +0200 @@ -0,0 +1,18 @@ +------------------------------------------------------------------- +Mon Sep 19 09:12:54 UTC 2016 - sor.alexei@meowr.ru + +- Avoid using _service. +- Correct licence: LGPL-2.1+. +- Fix building on SLE 12 SP1 and older. +- Add baselibs.conf. + +------------------------------------------------------------------- +Tue Sep 13 03:50:57 UTC 2016 - avvissu@yandex.by + +- Change the database path to don't use suid + +------------------------------------------------------------------- +Thu Aug 4 07:27:14 UTC 2016 - avvissu@yandex.by + +- Initial package + New: ---- baselibs.conf gsignond-1.0.5+git20160714.tar.gz gsignond-1.0.5_storagedir.patch gsignond.changes gsignond.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gsignond.spec ++++++ # # spec file for package gsignond # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define typelib typelib-1_0-gSignond-1_0 %define soname libgsignond-common %define sover 0 Name: gsignond Version: 1.0.5+git20160714 Release: 0 Summary: Online Accounts Sign-on glib daemon License: LGPL-2.1+ Group: Productivity/Networking/Other Url: https://gitlab.com/accounts-sso/gsignond Source: %{name}-%{version}.tar.gz Source1: baselibs.conf # PATCH-FIX-OPENSUSE gsignond-1.0.5_storagedir.patch avvissu@yandex.by -- Change the database path to not use SUID. Patch0: gsignond-1.0.5_storagedir.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gtk-doc BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(sqlite3) %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) BuildRequires: pkgconfig(vapigen) >= 0.28.0 %endif %description The GSignOn daemon is a D-Bus service which performs user authentication on behalf of its clients. %package -n %{soname}%{sover} Summary: The core library for gsignond Group: System/Libraries Provides: lib%{name}%{sover} = %{version} %description -n %{soname}%{sover} Online Accounts Sign-on glib daemon. This package contains the shared library. %package -n %{typelib} Summary: Library for GLib applications -- Introspection Bindings Group: System/Libraries %description -n %{typelib} This package contains the GObject Introspection bindings for the gsignond. %package devel Summary: Development files for gsignond Group: Development/Libraries/C and C++ Requires: %{soname}%{sover} = %{version} %description devel Online Accounts Sign-on glib daemon. This package contains header files and libraries needed to develop application that use gsignond. %package doc Summary: Documentation for gsignond Group: Documentation/HTML BuildArch: noarch %description doc Online Accounts Sign-on glib daemon. Developer documentation for developing plugins and extensions. %lang_package %prep %setup -q %patch0 -p1 %build NOCONFIGURE=1 ./autogen.sh %configure \ --enable-introspection=yes \ --enable-dbus-type=session \ --enable-storagedir="" \ --enable-gtk-doc make %{?_smp_mflags} %install %make_install if [ -u %{buildroot}%{_bindir}/%{name} ]; then chmod u-s %{buildroot}%{_bindir}/%{name} fi find %{buildroot} -type f -name "*.la" -delete -print %post -n %{soname}%{sover} -p /sbin/ldconfig %postun -n %{soname}%{sover} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING* %config(noreplace) %{_sysconfdir}/%{name}.conf %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/dbus-1/services/*.gSingleSignOn*.service %files -n %{soname}%{sover} %defattr(-,root,root) %{_libdir}/%{soname}.so.%{sover}* %files -n %{typelib} %defattr(-,root,root) %{_libdir}/girepository-1.0/gSignond-1.0.typelib %files devel %defattr(-,root,root) %{_includedir}/%{name}/ %{_libdir}/%{soname}.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/dbus-1/interfaces/*SSO*.xml %{_datadir}/gir-1.0/gSignond-1.0.gir %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse}) %dir %{_datadir}/vala/vapi/ %{_datadir}/vala/vapi/%{name}* %endif %files doc %defattr(-,root,root) %{_datadir}/gtk-doc/html/%{name}/ %changelog ++++++ baselibs.conf ++++++ libgsignond-common0 ++++++ gsignond-1.0.5_storagedir.patch ++++++ diff -U 3 -dHrN gsignond.orig/src/common/gsignond-storage-manager.c gsignond/src/common/gsignond-storage-manager.c --- gsignond.orig/src/common/gsignond-storage-manager.c 2016-09-04 07:01:51.644453252 +0300 +++ gsignond/src/common/gsignond-storage-manager.c 2016-09-04 07:53:56.672449206 +0300 @@ -84,7 +84,7 @@ self->config, GSIGNOND_CONFIG_GENERAL_STORAGE_PATH); if (!storage_path) { - storage_path = BASE_STORAGE_DIR; + storage_path = g_get_user_config_dir(); DBG ("storage path not configured, using default location"); } # ifdef ENABLE_DEBUG @@ -92,7 +92,7 @@ if (env_val) storage_path = env_val; # endif - self->location = g_build_filename (storage_path, user_dir, NULL); + self->location = g_build_filename (storage_path, "gsignond", user_dir, NULL); g_free (user_dir); DBG ("secure dir %s", self->location); } diff -U 3 -dHrN gsignond.orig/src/extensions/ostro/ostro-storage-manager.c gsignond/src/extensions/ostro/ostro-storage-manager.c --- gsignond.orig/src/extensions/ostro/ostro-storage-manager.c 2016-09-04 07:01:51.652453252 +0300 +++ gsignond/src/extensions/ostro/ostro-storage-manager.c 2016-09-04 07:55:02.632449121 +0300 @@ -94,13 +94,13 @@ parent->config, GSIGNOND_CONFIG_GENERAL_STORAGE_PATH); if (!storage_path) - storage_path = BASE_STORAGE_DIR; + storage_path = g_get_user_config_dir(); # ifdef ENABLE_DEBUG const gchar *env_val = g_getenv("SSO_STORAGE_PATH"); if (env_val) storage_path = env_val; # endif - parent->location = g_build_filename (storage_path, user_dir, NULL); + parent->location = g_build_filename (storage_path, "gsignond", user_dir, NULL); g_free (user_dir); /* store key in user dir */ self->priv->kdir = g_strdup (parent->location); diff -U 3 -dHrN gsignond.orig/src/extensions/tizen/tizen-storage-manager.c gsignond/src/extensions/tizen/tizen-storage-manager.c --- gsignond.orig/src/extensions/tizen/tizen-storage-manager.c 2016-09-04 07:01:51.656453252 +0300 +++ gsignond/src/extensions/tizen/tizen-storage-manager.c 2016-09-04 07:55:04.172449119 +0300 @@ -84,13 +84,13 @@ parent->config, GSIGNOND_CONFIG_GENERAL_STORAGE_PATH); if (!storage_path) - storage_path = BASE_STORAGE_DIR; + storage_path = g_get_user_config_dir(); # ifdef ENABLE_DEBUG const gchar *env_val = g_getenv("SSO_STORAGE_PATH"); if (env_val) storage_path = env_val; # endif - parent->location = g_build_filename (storage_path, user_dir, NULL); + parent->location = g_build_filename (storage_path, "gsignond", user_dir, NULL); g_free (user_dir); self->priv->cdir = g_strdup_printf ("%s.efs", parent->location); DBG ("location %s encryption point %s", parent->location, self->priv->cdir);
participants (1)
-
root@hilbert.suse.de