SMSLink 0.56b-2 Project news ============================ For those of you already playing with the experimental 0.56b-2 tree, I decided to post here a short news bulletin detailing the current status of the work on that front. What's new: ----------- - 27/03/06: Upload prerelease archive to the site. - 23/03/06: Added System V init scripts for SuSE in the directory ./varia/scripts/SuSE. More cosmetics. - 22/03/06: Added PID file generation and removal code to both server modules, in order to ease integration with System V init scripts as used under SuSE linux. PID file name would be /var/run/sms_serv.pid by default, but can be set through the command line. Man pages and online help adapted accordingly. Cosmetics. - 08/01/06: Upload prerelease archive to the site. - 07/01/06: Solved the "can't move new inbox file - system() failed" crash (reported by Mark Pollock, Steven Delport and Johan Kotze) by removing the 'ignore' on SIGCHLD (in ./server/sms2mailgw.c). This prevented proper execution of the system() call on systems with more recent versions of glibc (and was unnecessary anyway). Improved error checking in mailbox_run() (./server/gw_stuff.c). Fixed a bug in mailbox_run() that would lose the first line(s) of a multiline, non-mail inbox entry if it came after mail entries. Cosmetics. Bumped sms2mailgw daemon version to 0.19b. - 31/12/05: Successfully tested SMSLink on a 64bit platform (AMD Athlon-64 3.2 GHz running SuSE 9.3 Pro, 64bit edition). - 30/11/05: Upload prerelease archive to the site. - 29/11/05: Solved a bug in dumptodb() (in ./server/mbchecker.c), where 'cursor' could have been used uninitialised in the case of a MySQL connection failure (bug spotted by Tarmo Kuuse). - 10/11/05: Added the mail to sms forwarding trick contributed by Steven Delport (in a new directory ./contrib/mail2sms). Upload prerelease archive to the site. Solved the same silly bug in file_outboxcheck() (./server/mbchecker.c), where 'gsm' was used before being initialized. It could cause a segfault in backend_send_sms(). Update server build date. Re-upload prerelease archive to the site. - 09/11/05: Fixed the bug that caused a segfault in resolve() on x86_64 platform when called with a hostname in debug mode. - 08/11/05: Fixed a bug introduced in resolve() (./server/smtp.c) with the previous mods. Fixed a major bug in resolve() (missing {}'s around an 'if' block). - 25/10/05: Improved error checking in resolve() (./server/smtp.c) + some code readability improvements. - 23/10/05: Solved a silly bug in db_outboxcheck() (./server/mbchecker.c), where 'gsm' was used before being initialized. It caused a segfault in backend_send_sms(). Checked-in the OBC list handling extra debug changes (no news from Nicki). Improved on-line help message in ./server/sms2mailgw.c. - 11/03/05: Improved error reporting in the client (sendsms). - 09/03/05: Added more debugging to the OBC list handling. In case of OBC cancellation, it will now output a syslog entry similar to the following: Mar 9 17:21:57 kermit sms_serv[6223]: OUTBOX check cancelled, <1> child procs already. Mar 9 17:21:57 kermit sms_serv[6223]: OBC list: Child #0: <6274> Those mods are not checked-in yet. Waiting for Nicki's feedback. N.B.: the whole OBC list handling should be protected by a semaphore to prevent separate OBC child processes from trying to update the list at the same time. If acting on semaphores is a no-go within a signal handler, we'll have to not rely on signals to handle this (have the child remove itself just before quitting -- and have the father ignore SIGCHLD). - 17/02/05: Finally integrated the last fix provided by Marty Lee. Solves a bug where the "prog" spawned child would kill its parent "mbchecker" process through SIGCHLD when terminating. I also committed the changes related to the implementation of the "skip" flag (requested by Maximo Cuadros), and I adapted the gsmdevices(5) man page accordingly. Latest version of the code tree exported and published on the site. - 12/11/04: Fixed an ugly oversight in ./varia/database.sql (the DB creation script hadn't been updated to take all changes specific to schema ver. 4 into account). Thanks a lot to Marty Lee () for spotting that one. I also followed his suggestion and improved the INSERT query in dumptodb() (./server/mbchecker.c). - 27/10/04: Fixed a compilation problem on FreeBSD 5 in ./server/smtp.c (thanks to Piet Ruyssinck for alerting me to the problem and providing the bugfix). - 17/10/04: Preliminary support for interfacing sms_serv with my new modem emulator "ostrich" (through the hacked libmodem called "libmodememu"). - 16/09/04: Increased (again) the value of PINLEN (now from 5 to 8). "Fluff" () reported a problem due to the fact that his SIM card used a six-digit PIN code. I'm now adding an extra 2 -- hope this will be enough for a while. First pre-release of the 56b-2 codebase uploaded on the site. - 12/09/04: Corrected a string sizing bug in translatemodname() (in gsmdevices.c). - 16/06/04: Opened the "dev-0_56b-2" branch in the CVS repository, based on the newly tagged "smslink-0_56b". Adapted the ./VERSION and .lsm files accordingly. Replaced the dump_string() debugging function in ./server/stuff.c with a vastly improved version. It now behaves as expected for any self-respecting hexdump (3 columns display: offset, hex codes, ascii equivalent). Adapted the Makefile accordingly (adds -lm to gateway build).