commit cceedb441ecee79fc805ced771001a9d857b07f6fadd90885c2950101f8dabc8 Author: OBS User unknown Date: Mon Jan 15 23:13:26 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gammu?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gammu-1.09.00.tar.bz2 b/gammu-1.09.00.tar.bz2 new file mode 100644 index 0000000..c8d3710 --- /dev/null +++ b/gammu-1.09.00.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb1bea76745ebf907c8bf2ec963d34c0f1bf78b3d35c2f5e0f4410b08b9399e9 +size 870312 diff --git a/gammu-uninitialized.diff b/gammu-uninitialized.diff new file mode 100644 index 0000000..4c80431 --- /dev/null +++ b/gammu-uninitialized.diff @@ -0,0 +1,29 @@ +--- common/phone/at/atgen.c ++++ common/phone/at/atgen.c +@@ -333,7 +333,7 @@ + } + } + +-GSM_Error ATGEN_DecodeDateTime(GSM_StateMachine *s, GSM_DateTime *dt, unsigned char *input) ++GSM_Error ATGEN_DecodeDateTime(GSM_StateMachine *s, GSM_DateTime *dt, unsigned char *_input) + { + /* This function parses datetime strings in the format: + [YY[YY]/MM/DD,]hh:mm[:ss[+TZ]] , [] enclosed parts are optional */ +@@ -342,13 +342,16 @@ + unsigned char buffer[100]; + unsigned char *pos; + unsigned char buffer2[100]; ++ unsigned char input[100]; + int len; + ++ strncpy(input, _input, 100); ++ input[99] = '\0'; + pos = input; + + /* Strip possible quotes */ + if (*pos == '"') pos++; +- if (buffer[strlen(pos) - 1] == '"') buffer[strlen(pos) - 1] = 0; ++ if (input[strlen(pos) - 1] == '"') input[strlen(pos) - 1] = 0; + + len = strlen(pos); + diff --git a/gammu.changes b/gammu.changes new file mode 100644 index 0000000..2bda3c1 --- /dev/null +++ b/gammu.changes @@ -0,0 +1,227 @@ +------------------------------------------------------------------- +Tue Nov 28 12:57:36 CET 2006 - prusnak@suse.cz + +- update to 1.09.00 + +------------------------------------------------------------------- +Tue Oct 17 01:56:26 CEST 2006 - ro@suse.de + +- update to 1.08.00 + * many bugfixes + +------------------------------------------------------------------- +Thu Jul 27 15:37:38 CEST 2006 - mjancar@suse.cz + +- update to 1.07.00 + * lots of fixes and enhancements + * reports work OK now (they were wrong after updating all 00000000000000 + to 0000-00-00 00:00:00 in DB) + * you can use " in outgoing sms too + * fix for multipart sms + * added new CreatorID entry in DB for outbox/sentsms + Series 40 3.0 (N6111 now) + * added: filesystem support, getting call lengths from call logs, + getting sent SMS log ("Message recipients" from "Log" in phone menu, + new memory SL in Gammu) + * checked: calendar, notes, todo (generally OK) + * SMS memory (decoding SMS files from filesystem) not supported yet + + * see also /usr/share/doc/packages/gammu/changelog for details + +------------------------------------------------------------------- +Wed Jan 25 21:36:05 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Jan 23 17:34:10 CET 2006 - mjancar@suse.cz + +- really fix use of uninitialized variable (#144165) + +------------------------------------------------------------------- +Fri Jan 20 17:08:06 CET 2006 - mjancar@suse.cz + +- fix use of uninitialized variable (#144165) + +------------------------------------------------------------------- +Thu Jan 12 19:28:04 CET 2006 - mjancar@suse.cz + +- update to 1.04.0 + +------------------------------------------------------------------- +Thu Jul 28 18:43:02 CEST 2005 - anicka@suse.cz + +- update to 1.02.0 + +------------------------------------------------------------------- +Wed May 25 13:52:31 CEST 2005 - mcihar@suse.cz + +- update to 1.01.11 + +------------------------------------------------------------------- +Wed Apr 13 19:04:56 CEST 2005 - mcihar@suse.cz + +- update to 1.01.0, patch merged upstream + +------------------------------------------------------------------- +Mon Apr 4 16:47:39 CEST 2005 - mcihar@suse.cz + +- fix compilation with GCC 4 +- fix documenation installation + +------------------------------------------------------------------- +Fri Apr 1 15:40:32 CEST 2005 - mcihar@suse.cz + +- update to 1.00.23 + +------------------------------------------------------------------- +Mon Feb 14 17:53:20 CET 2005 - mcihar@suse.cz + +- update 1.00.04 +- 64-bit fixes merged upstream + +------------------------------------------------------------------- +Wed Feb 9 14:40:15 CET 2005 - mcihar@suse.cz + +- update to 1.00.0 +- fix crashes on 64-bit platforms + +------------------------------------------------------------------- +Mon Jan 24 11:47:34 CET 2005 - mcihar@suse.cz + +- update to 0.99.22 + +------------------------------------------------------------------- +Fri Sep 03 17:34:18 CEST 2004 - mcihar@suse.cz + +- update to 0.97.7 + +------------------------------------------------------------------- +Wed May 19 15:36:17 CEST 2004 - mcihar@suse.cz + +- update to 0.95.0 + +------------------------------------------------------------------- +Fri Mar 05 11:03:07 CET 2004 - mcihar@suse.cz + +- update to 0.94.0 + +------------------------------------------------------------------- +Fri Feb 20 09:14:21 CET 2004 - mcihar@suse.cz + +- update to 0.93.0 + +------------------------------------------------------------------- +Fri Jan 23 12:49:59 CET 2004 - mcihar@suse.cz + +- update to 0.92.9 +- fixed file conflict + +------------------------------------------------------------------- +Mon Jan 05 11:47:43 CET 2004 - mcihar@suse.cz + +- update to 0.92.0 +- run ldconfig + +------------------------------------------------------------------- +Tue Dec 16 14:12:00 CET 2003 - mcihar@suse.cz + +- update to 0.90.0 + +------------------------------------------------------------------- +Mon Nov 03 12:21:23 CET 2003 - mcihar@suse.cz + +- updated to 0.88 +- installing script for queuing smses + +------------------------------------------------------------------- +Fri Oct 24 16:09:58 CEST 2003 - mcihar@suse.cz + +- pkgconfig files are in %_libdir + +------------------------------------------------------------------- +Tue Oct 21 19:25:17 CEST 2003 - mcihar@suse.cz + +- updated to 0.87 +- no root for build +- branched devel package + +------------------------------------------------------------------- +Wed Aug 06 12:31:44 CEST 2003 - mcihar@suse.cz + +- updated to 0.81 + +------------------------------------------------------------------- +Mon Jun 23 16:38:02 CEST 2003 - mcihar@suse.cz + +- updated to 0.78 + +------------------------------------------------------------------- +Wed May 28 16:16:07 CEST 2003 - mcihar@suse.cz + +- updated to 0.76: + Adding files to DCT4 phones has been implemented. This feature + includes uploading files to Gallery, uploading Java application + and Java games and other. Setting the color operator and color + startup logos in DCT4 has been added. More options in Alcatel + source have been added. Some other compatibility fixes have been + made. Full support for MMS settings in DCT4 has been added, full + support for MMS indicator SMS has been added, and many small + corrections have been made. + +------------------------------------------------------------------- +Tue May 13 12:08:44 CEST 2003 - mcihar@suse.cz + +- fixed file list + +------------------------------------------------------------------- +Mon May 12 12:09:11 CEST 2003 - mcihar@suse.cz + +- updated to 0.74: + * getting files from filesystem in DCT4 phones (--getfiles) + * added 3650, 7250 ID + * FULL support for Bluetooth + * can make backup and restore using new Unicode format of backup files. + No more duplicated (once in ASCII and once in coded Unicode) strings in + backup files with this format and no problems with national chars. + +------------------------------------------------------------------- +Tue Apr 29 13:35:52 CEST 2003 - mcihar@suse.cz + +- updated to 0.73 (all my patches accepted): + * more support for EMS +- included configuration script +- included wxBasic GUI (however we don't distribute wxBasic) + +------------------------------------------------------------------- +Thu Apr 24 12:55:03 CEST 2003 - mcihar@suse.cz + +- fix Makefile to not include whole source in docs +- better fix for bluetooth +- fix configure to accept CFLAGS + +------------------------------------------------------------------- +Wed Apr 23 13:31:01 CEST 2003 - mcihar@suse.cz + +- updated to 0.72 + * better information for AT phones + * improved localisation support + * better statistics about phonebook for AT + * improved FM stations support + * polyphonic ringtones support + * added Alcatel BF5 (One Touch 715) support + * support for internal filesystem in Nokia phones + * supported work with bitmaps on Siemens + ... and many more :) +- built with bluetooth support + +------------------------------------------------------------------- +Mon Feb 10 12:40:08 CET 2003 - mcihar@suse.cz + +- added -fPIC to CFLAGS + +------------------------------------------------------------------- +Fri Feb 07 18:26:16 CET 2003 - mcihar@suse.cz + +- initial version + diff --git a/gammu.spec b/gammu.spec new file mode 100644 index 0000000..e4bc227 --- /dev/null +++ b/gammu.spec @@ -0,0 +1,237 @@ +# +# spec file for package gammu (Version 1.09.00) +# +# Copyright (c) 2006 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. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: gammu +BuildRequires: bluez-libs +Version: 1.09.00 +Release: 1 +AutoReqProv: on +Group: Hardware/Mobile +License: GNU General Public License (GPL) +URL: http://www.gammu.org +Summary: Mobile Phone Tools +Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-uninitialized.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Gammu can do things with cellular phones such as making data calls, +updating the address book, changing calendar and ToDo entries, sending +and receiving SMS messages, loading and getting ring tones and pictures +(different types of logos), synchronizing time, enabling NetMonitor, +managing WAP settings and bookmarks, and much more. Functions depend on +the phone model. + +Currently supported phones are: + +* Many Nokia phones + +* Alcatel BE5 (501/701), BF5 (715) + +* Any AT capable phone (Siemens, Nokia, Alcatel, IPAQ, etc) + +Another similar tool you might want to check is gnokii. + + + +Authors: +-------- + Marcin Wiacek + +%package devel +Summary: Development files for Gammu +Group: Development/Libraries/C and C++ +Autoreqprov: on +Requires: gammu = %{version}, pkgconfig + +%description devel +Gammu can do such things with cellular phones as making data calls, +updating the address book, changing calendar and ToDo entries, sending +and receiving SMS messages, loading and getting ring tones and pictures +(different types of logos), synchronizing time, enabling NetMonitor, +managing WAP settings and bookmarks and much more. Functions depend on +the phone model. + +Currently supported phones are: + +* Many Nokia phones. + +* Alcatel BE5 (501/701), BF5 (715). + +* Any AT capable phone (Siemens, Nokia, Alcatel, IPAQ,...). + +Another simmilar tool you might want to check is gnokii. + + + +Authors: +-------- + Marcin Wiacek + +%prep +%setup -q +%patch0 + +%build +%configure --enable-cb --with-docdir=%_defaultdocdir/gammu/ CFLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign" +make shared + +%install +make installshared DESTDIR=$RPM_BUILD_ROOT +rm -rf other/SYMBIAN/gnapplet/CVS + +%post +%{run_ldconfig} + +%postun +%{run_ldconfig} + +%files +%defattr(-,root,root) +%_bindir/* +%_libdir/libGammu*so.* +/usr/share/gammu +%doc %_mandir/man1/* +%doc docs/* other + +%files devel +%defattr(-,root,root) +%_libdir/libGammu*so +%_libdir/libGammu.a +%_includedir/gammu +%_libdir/pkgconfig/gammu.pc + +%clean +rm -rf $RPM_BUILD_ROOT + +%changelog -n gammu +* Tue Nov 28 2006 - prusnak@suse.cz +- update to 1.09.00 +* Tue Oct 17 2006 - ro@suse.de +- update to 1.08.00 + * many bugfixes +* Thu Jul 27 2006 - mjancar@suse.cz +- update to 1.07.00 + * lots of fixes and enhancements + * reports work OK now (they were wrong after updating all 00000000000000 + to 0000-00-00 00:00:00 in DB) + * you can use " in outgoing sms too + * fix for multipart sms + * added new CreatorID entry in DB for outbox/sentsms + Series 40 3.0 (N6111 now) + * added: filesystem support, getting call lengths from call logs, + getting sent SMS log ("Message recipients" from "Log" in phone menu, + new memory SL in Gammu) + * checked: calendar, notes, todo (generally OK) + * SMS memory (decoding SMS files from filesystem) not supported yet + * see also /usr/share/doc/packages/gammu/changelog for details +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Mon Jan 23 2006 - mjancar@suse.cz +- really fix use of uninitialized variable (#144165) +* Fri Jan 20 2006 - mjancar@suse.cz +- fix use of uninitialized variable (#144165) +* Thu Jan 12 2006 - mjancar@suse.cz +- update to 1.04.0 +* Thu Jul 28 2005 - anicka@suse.cz +- update to 1.02.0 +* Wed May 25 2005 - mcihar@suse.cz +- update to 1.01.11 +* Wed Apr 13 2005 - mcihar@suse.cz +- update to 1.01.0, patch merged upstream +* Mon Apr 04 2005 - mcihar@suse.cz +- fix compilation with GCC 4 +- fix documenation installation +* Fri Apr 01 2005 - mcihar@suse.cz +- update to 1.00.23 +* Mon Feb 14 2005 - mcihar@suse.cz +- update 1.00.04 +- 64-bit fixes merged upstream +* Wed Feb 09 2005 - mcihar@suse.cz +- update to 1.00.0 +- fix crashes on 64-bit platforms +* Mon Jan 24 2005 - mcihar@suse.cz +- update to 0.99.22 +* Fri Sep 03 2004 - mcihar@suse.cz +- update to 0.97.7 +* Wed May 19 2004 - mcihar@suse.cz +- update to 0.95.0 +* Fri Mar 05 2004 - mcihar@suse.cz +- update to 0.94.0 +* Fri Feb 20 2004 - mcihar@suse.cz +- update to 0.93.0 +* Fri Jan 23 2004 - mcihar@suse.cz +- update to 0.92.9 +- fixed file conflict +* Mon Jan 05 2004 - mcihar@suse.cz +- update to 0.92.0 +- run ldconfig +* Tue Dec 16 2003 - mcihar@suse.cz +- update to 0.90.0 +* Mon Nov 03 2003 - mcihar@suse.cz +- updated to 0.88 +- installing script for queuing smses +* Fri Oct 24 2003 - mcihar@suse.cz +- pkgconfig files are in %%_libdir +* Tue Oct 21 2003 - mcihar@suse.cz +- updated to 0.87 +- no root for build +- branched devel package +* Wed Aug 06 2003 - mcihar@suse.cz +- updated to 0.81 +* Mon Jun 23 2003 - mcihar@suse.cz +- updated to 0.78 +* Wed May 28 2003 - mcihar@suse.cz +- updated to 0.76: + Adding files to DCT4 phones has been implemented. This feature + includes uploading files to Gallery, uploading Java application + and Java games and other. Setting the color operator and color + startup logos in DCT4 has been added. More options in Alcatel + source have been added. Some other compatibility fixes have been + made. Full support for MMS settings in DCT4 has been added, full + support for MMS indicator SMS has been added, and many small + corrections have been made. +* Tue May 13 2003 - mcihar@suse.cz +- fixed file list +* Mon May 12 2003 - mcihar@suse.cz +- updated to 0.74: + * getting files from filesystem in DCT4 phones (--getfiles) + * added 3650, 7250 ID + * FULL support for Bluetooth + * can make backup and restore using new Unicode format of backup files. + No more duplicated (once in ASCII and once in coded Unicode) strings in + backup files with this format and no problems with national chars. +* Tue Apr 29 2003 - mcihar@suse.cz +- updated to 0.73 (all my patches accepted): + * more support for EMS +- included configuration script +- included wxBasic GUI (however we don't distribute wxBasic) +* Thu Apr 24 2003 - mcihar@suse.cz +- fix Makefile to not include whole source in docs +- better fix for bluetooth +- fix configure to accept CFLAGS +* Wed Apr 23 2003 - mcihar@suse.cz +- updated to 0.72 + * better information for AT phones + * improved localisation support + * better statistics about phonebook for AT + * improved FM stations support + * polyphonic ringtones support + * added Alcatel BF5 (One Touch 715) support + * support for internal filesystem in Nokia phones + * supported work with bitmaps on Siemens + ... and many more :) +- built with bluetooth support +* Mon Feb 10 2003 - mcihar@suse.cz +- added -fPIC to CFLAGS +* Fri Feb 07 2003 - mcihar@suse.cz +- initial version diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4