diff --git a/aqbanking-open-call.patch b/aqbanking-open-call.patch new file mode 100644 index 0000000..20b4df6 --- /dev/null +++ b/aqbanking-open-call.patch @@ -0,0 +1,11 @@ +--- src/plugins/backends/aqhbci/plugin/msglayer/message.c.orig 2008-01-24 11:10:50.000000000 +0100 ++++ src/plugins/backends/aqhbci/plugin/msglayer/message.c 2008-01-24 11:11:01.000000000 +0100 +@@ -1515,7 +1515,7 @@ void AH_Msg_LogMessage(AH_MSG *msg, + return; + } + fd=open(logFile, +- O_RDWR | O_CREAT | O_APPEND); ++ O_RDWR | O_CREAT | O_APPEND, 0600); + if (fd==-1) { + DBG_ERROR(AQHBCI_LOGDOMAIN, + "open(%s): %s", diff --git a/aqbanking.changes b/aqbanking.changes index 4c2024b..8ca970d 100644 --- a/aqbanking.changes +++ b/aqbanking.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 24 11:16:17 CET 2008 - coolo@suse.de + +- fix open call + ------------------------------------------------------------------- Wed Aug 8 18:50:32 CEST 2007 - maw@suse.de diff --git a/aqbanking.spec b/aqbanking.spec index 5506680..a84916a 100644 --- a/aqbanking.spec +++ b/aqbanking.spec @@ -1,7 +1,7 @@ # # spec file for package aqbanking (Version 2.2.9) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -13,15 +13,16 @@ Name: aqbanking BuildRequires: doxygen fdupes gtk2-devel gwenhywfar-devel kdelibs3-devel ktoblzcheck-devel libchipcard3-devel libglade2-devel libofx-devel python-devel pyxml qt3-devel Version: 2.2.9 -Release: 4 +Release: 75 Requires: %{name}-lang = %{version} -URL: http://www.aquamaniac.de/aqbanking/ +Url: http://www.aquamaniac.de/aqbanking/ Group: Productivity/Office/Finance -License: GPL v2 or later, Link-exceptions for OpenSSL and AqYellowNet +License: GPL v2 or later Summary: Library for Online Banking Functions and Financial Data Import and Export Source: %{name}-%{version}.tar.bz2 Patch: aqbanking-aqyellownet-libtool.patch Patch1: aqbanking-internal-lib-reference.patch +Patch2: aqbanking-open-call.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define aq_plugindir %{_libdir}/aqbanking/plugins/16 %define fronts_libdir %{aq_plugindir}/frontends @@ -186,10 +187,11 @@ Authors: Martin Preuss %ifarch %ix86 + %package yellownet Summary: Library for Online Banking Functions and Financial Data Import/Export Group: Productivity/Office/Finance -License: GPL v2 or later, aAqYellowNet EULA +License: GPL v2 or later Requires: %{name} = %{version} %description yellownet @@ -221,10 +223,12 @@ Authors: %endif %lang_package + %prep %setup -q %patch %patch1 +%patch2 %build ACLOCAL="aclocal -I m4" autoreconf -f -i @@ -249,7 +253,6 @@ make cp -a AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name} rm $RPM_BUILD_ROOT%{_libdir}/aqbanking/plugins/16/bankinfo/*.la %find_lang %{name} - %fdupes $RPM_BUILD_ROOT %clean @@ -448,10 +451,12 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog -* Wed Aug 08 2007 - maw@suse.de +* Thu Jan 24 2008 coolo@suse.de +- fix open call +* Wed Aug 08 2007 maw@suse.de - Use %%fdupes - Split off a -lang subpackage. -* Mon Jul 30 2007 - sbrabec@suse.cz +* Mon Jul 30 2007 sbrabec@suse.cz - Updated to version 2.2.9: * Improvements in the setup wizard. * Fix qt4 porting code. @@ -467,17 +472,17 @@ rm -rf $RPM_BUILD_ROOT * Allows to setup iTAN HBCI accounts. * Import profile for ABN AMRO Bank (NL). * Other fixes and improvements, see NEWS for details. -* Thu May 24 2007 - stbinner@suse.de +* Thu May 24 2007 stbinner@suse.de - add missing %%run_ldconfig calls -* Sat Dec 16 2006 - prusnak@suse.cz +* Sat Dec 16 2006 prusnak@suse.cz - fixed comparison with string literal (strcmp.patch) [#224464] -* Wed Oct 18 2006 - sbrabec@suse.cz +* Wed Oct 18 2006 sbrabec@suse.cz - Updated to version 2.2.3: * Allows to setup iTAN HBCI accounts. * Improved support for HBCI iTAN mode, added an import profile for ABN AMRO Bank (NL). * Fixes some errors. -* Fri Sep 15 2006 - jhargadon@suse.de +* Fri Sep 15 2006 jhargadon@suse.de - update to version 2.2.1 - fixed a bug in DTAUS importer profile "default" - src/libs/aqbanking/types/transaction.xml: Fix typos @@ -498,17 +503,17 @@ rm -rf $RPM_BUILD_ROOT - implemented iTAN process type 2: It now works against the test server, tomorrow I will have to test it against a real server - Fix rule srcdoc if directory was not existing -* Wed Aug 23 2006 - schwab@suse.de +* Wed Aug 23 2006 schwab@suse.de - Work around broken configure check. -* Tue May 09 2006 - sbrabec@suse.cz +* Tue May 09 2006 sbrabec@suse.cz - Updated to version 2.0.0 (new branch). - Split package to follow upstream packaging. -* Thu Feb 23 2006 - sbrabec@suse.cz +* Thu Feb 23 2006 sbrabec@suse.cz - Fixed documentation path (#146744). -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Tue Oct 25 2005 - sbrabec@suse.cz +* Tue Oct 25 2005 sbrabec@suse.cz - Fixed libtool patch. -* Mon Oct 24 2005 - sbrabec@suse.cz +* Mon Oct 24 2005 sbrabec@suse.cz - New SuSE package, version 1.2.0. Based on spec file from Rajesh Singh .