Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
gsignond
gsignond-1.0.5_storagedir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gsignond-1.0.5_storagedir.patch of Package gsignond
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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor