pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/scmxx Update to 0.7.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05f9071408ed
branches:  trunk
changeset: 476822:05f9071408ed
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 21 04:06:16 2004 +0000

description:
Update to 0.7.1.

Changes:
version 0.7.1
- work-around for *BSD on SMS time decoding
- fixes some sms decoding bugs
- fixes crash on sending sms directly from a slot

version 0.7.0
Syntax changed!
many internal changes:
- no need for system's wchar_t support anymore (wchar_t was previously used but that was wrong)
- iconvtest() is gone
- completely rewritten command line parsing, now supporting getopt_long _and_ popt (configure decides which one to
use)
- configure checks for getopt and popt
- configure check for declaration of iconv
properly support Solaris (see popt above, compiler warning fixes)
make iconv code work with non-GNU implementations (e.g. Solaris)
new parameter --start-delay (see manpage)
new parameter --binary (-N)
new parameter --mem
new parameter --slot
-B, -M, -C and -F (and the long options for them) are now obsolete, use -N instead with --mem instead
parameter to -P is now obsolete, use --mem instead
parameter to -S is now obsolete, use --slot instead
"SM" is now default phonebook memory (if none was specified)
SMS outputs none-printable characters as '?' instead of hexcode
the memory list output was changed in --info (may break programs that depend on it)
add parameter --mem-info as trigger to --info to display more information about available memories
make --mem recognize "?" to show same information as in --mem-info but only for the specified memory type (faster)
rewritten phonebook file read-in with more syntax checking before actually sending the first entry
rewrote SMS decoding functions
simply do not change sms status on getting instead of complaining
update english manpage
russian manpage included, again
updated README and INSTALL

version 0.6.4.1
Features:
added SMS time zone conversion
Fixes:
fix crash on getting phonebook entries with empty text field
work-around for buggy strptime() in cygwin (for SMS dates)
added test to better usage of iconv (less dependent on nl_langinfo())
deal with a S55 strangeness (still does NOT mean that S55 is fully supported), thanks to Ole Langbehn
--ignore-serial-bits is now default, added parameter --keep-serial-bits (to get previous behaviour)
updated manpage

diffstat:

 comms/scmxx/Makefile         |   4 ++--
 comms/scmxx/distinfo         |   8 +++-----
 comms/scmxx/patches/patch-aa |  13 -------------
 comms/scmxx/patches/patch-ab |  43 -------------------------------------------
 4 files changed, 5 insertions(+), 63 deletions(-)

diffs (90 lines):

diff -r 5bba7ef50123 -r 05f9071408ed comms/scmxx/Makefile
--- a/comms/scmxx/Makefile      Mon Jun 21 02:25:39 2004 +0000
+++ b/comms/scmxx/Makefile      Mon Jun 21 04:06:16 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2004/04/11 07:05:33 snj Exp $
+# $NetBSD: Makefile,v 1.27 2004/06/21 04:06:16 wiz Exp $
 #
 
-DISTNAME=              scmxx-0.6.4
+DISTNAME=              scmxx-0.7.1
 CATEGORIES=            comms
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=scmxx/}
 EXTRACT_SUFX=          .tar.bz2
diff -r 5bba7ef50123 -r 05f9071408ed comms/scmxx/distinfo
--- a/comms/scmxx/distinfo      Mon Jun 21 02:25:39 2004 +0000
+++ b/comms/scmxx/distinfo      Mon Jun 21 04:06:16 2004 +0000
@@ -1,6 +1,4 @@
-$NetBSD: distinfo,v 1.19 2003/09/08 14:17:19 wiz Exp $
+$NetBSD: distinfo,v 1.20 2004/06/21 04:06:16 wiz Exp $
 
-SHA1 (scmxx-0.6.4.tar.bz2) = 35eae644fbc92f97de3e275b4b8a41013686e5b7
-Size (scmxx-0.6.4.tar.bz2) = 82955 bytes
-SHA1 (patch-aa) = 3902b85797d2062509da1e36db1c891e54f61b3f
-SHA1 (patch-ab) = 3b9692a592acb3f0b696c1fd42b075c3c638bc21
+SHA1 (scmxx-0.7.1.tar.bz2) = 23cf16bb80f050afef95c577286902ae544803b6
+Size (scmxx-0.7.1.tar.bz2) = 92605 bytes
diff -r 5bba7ef50123 -r 05f9071408ed comms/scmxx/patches/patch-aa
--- a/comms/scmxx/patches/patch-aa      Mon Jun 21 02:25:39 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2003/09/08 14:17:20 wiz Exp $
-
---- src/s35_pbook.c.orig       Mon Sep  8 15:56:36 2003
-+++ src/s35_pbook.c
-@@ -229,7 +229,7 @@ void send_pb_s35 (char* file, char* phon
-       token[strlen(token)-1]=0;
-       }
-       entry_len=strlen(token);
--      wide_str=convert_to_internal(nl_langinfo(CODESET),token,entry_len);
-+      wide_str=convert_to_internal("char",token,entry_len);
-       if (unicode) {
-         token=convert_to_ucs2(wide_str); 
-       }
diff -r 5bba7ef50123 -r 05f9071408ed comms/scmxx/patches/patch-ab
--- a/comms/scmxx/patches/patch-ab      Mon Jun 21 02:25:39 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2003/07/18 13:12:21 wiz Exp $
-
---- src/smspdu.c.orig  2003-06-02 16:48:59.000000000 +0200
-+++ src/smspdu.c
-@@ -91,7 +91,7 @@ void create_smssubmit_pdu(char *pdu, cha
-   //leave PID and vp_relative as is
-       
-   //process user data length and user data
--  wide_str=convert_to_internal(nl_langinfo(CODESET),smstext,strlen(smstext));
-+  wide_str=convert_to_internal("char",smstext,strlen(smstext));
-   if (mysmsopts.unicode) {
-     dcs &= 0xf3; //clear all affected bits
-     dcs |= 0x08; //set unicode charset
-@@ -227,7 +227,7 @@ void decode_smsdeliver_pdu(unsigned char
-       sprintf(&oa.number[strlen(oa.number)],"%c%c",pdu[i],pdu[i+1]);
-       }
-       wide_str=sms_data_7bit_decode(oa.number,(oa.length*4)/7);
--      t=convert_from_internal(nl_langinfo(CODESET),wide_str,2);
-+      t=convert_from_internal("char",wide_str,2);
-       mem_realloc(wide_str,0);
-       strcpy(oa.number,t);
-       mem_realloc(t,0);
-@@ -316,9 +316,9 @@ void decode_smsdeliver_pdu(unsigned char
-       //all encodings of uncompressed 7bit
-       wide_str=sms_data_7bit_decode(pdu+where,udl);
-       if ((pdutype>>6)&1){
--      t=convert_from_internal(nl_langinfo(CODESET),&wide_str[1+((udh_length*8)+(udh_length*8)%7)/7],2);
-+      t=convert_from_internal("char",&wide_str[1+((udh_length*8)+(udh_length*8)%7)/7],2);
-       } else {
--      t=convert_from_internal(nl_langinfo(CODESET),wide_str,2);
-+      t=convert_from_internal("char",wide_str,2);
-       }
-       mem_realloc(wide_str,0);
-       strcpy(ud,t);
-@@ -333,7 +333,7 @@ void decode_smsdeliver_pdu(unsigned char
-       } else {
-       wide_str=convert_from_ucs2(pdu+where);
-       }
--      t=convert_from_internal(nl_langinfo(CODESET),wide_str,2);
-+      t=convert_from_internal("char",wide_str,2);
-       mem_realloc(wide_str,0);
-       strcpy(ud,t);
-       mem_realloc(t,0);



Home | Main Index | Thread Index | Old Index