[zypp-commit] r10482 - in /branches/SuSE-Linux-10_3-Branch/libzypp: VERSION.cmake package/libzypp.changes zypp/PublicKey.cc
Author: mlandres Date: Fri Jun 27 16:41:18 2008 New Revision: 10482 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10482&view=rev Log: Invoke gpg with --homdir Modified: branches/SuSE-Linux-10_3-Branch/libzypp/VERSION.cmake branches/SuSE-Linux-10_3-Branch/libzypp/package/libzypp.changes branches/SuSE-Linux-10_3-Branch/libzypp/zypp/PublicKey.cc Modified: branches/SuSE-Linux-10_3-Branch/libzypp/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_3-Branch/libzypp/VERSION.cmake?rev=10482&r1=10481&r2=10482&view=diff ============================================================================== --- branches/SuSE-Linux-10_3-Branch/libzypp/VERSION.cmake (original) +++ branches/SuSE-Linux-10_3-Branch/libzypp/VERSION.cmake Fri Jun 27 16:41:18 2008 @@ -47,4 +47,4 @@ SET(LIBZYPP_MAJOR "3") SET(LIBZYPP_MINOR "27") SET(LIBZYPP_COMPATMINOR "24") -SET(LIBZYPP_PATCH "0") +SET(LIBZYPP_PATCH "1") Modified: branches/SuSE-Linux-10_3-Branch/libzypp/package/libzypp.changes URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_3-Branch/libzypp/package/libzypp.changes?rev=10482&r1=10481&r2=10482&view=diff ============================================================================== --- branches/SuSE-Linux-10_3-Branch/libzypp/package/libzypp.changes (original) +++ branches/SuSE-Linux-10_3-Branch/libzypp/package/libzypp.changes Fri Jun 27 16:41:18 2008 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Jun 27 16:16:50 CEST 2008 - ma@suse.de + +- Invoke gpg with --homdir, otherwise command fails if executed + within a wrapper. (bnc #401259) +- version 3.27.1 +- revision 10482 + +------------------------------------------------------------------- Thu Jun 26 15:31:24 CEST 2008 - ma@suse.de - Import newer gpg keys if a trusted key is updated Modified: branches/SuSE-Linux-10_3-Branch/libzypp/zypp/PublicKey.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_3-Branch/libzypp/zypp/PublicKey.cc?rev=10482&r1=10481&r2=10482&view=diff ============================================================================== --- branches/SuSE-Linux-10_3-Branch/libzypp/zypp/PublicKey.cc (original) +++ branches/SuSE-Linux-10_3-Branch/libzypp/zypp/PublicKey.cc Fri Jun 27 16:41:18 2008 @@ -21,8 +21,7 @@ #include "zypp/TmpPath.h" #include "zypp/PathInfo.h" #include "zypp/Date.h" - -//#include <ctime> +#include "zypp/TmpPath.h" using std::endl; @@ -94,6 +93,7 @@ if ( copy( keyfile, _data_file.path() ) != 0 ) ZYPP_THROW(Exception("Can't copy public key data from " + keyfile.asString() + " to " + _data_file.path().asString() )); + filesystem::TmpDir dir; const char* argv[] = { "gpg", @@ -102,6 +102,8 @@ "--fixed-list-mode", "--with-fingerprint", "--with-colons", + "--homedir", + dir.path().asString().c_str(), "--quiet", "--no-tty", "--no-greeting", -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlandres@svn.opensuse.org