summaryrefslogtreecommitdiff
path: root/comms/scmxx
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-06-21 04:06:16 +0000
committerwiz <wiz@pkgsrc.org>2004-06-21 04:06:16 +0000
commit23613b42a6c37dbc551aa5654013e2b112ab6e14 (patch)
tree9ae2f1aa03c78593ce2122a20c91104e4062fd7c /comms/scmxx
parentc79d40778eb5ec205a2df7f9a448636a4a6a1acc (diff)
downloadpkgsrc-23613b42a6c37dbc551aa5654013e2b112ab6e14.tar.gz
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 (limited to 'comms/scmxx')
-rw-r--r--comms/scmxx/Makefile4
-rw-r--r--comms/scmxx/distinfo8
-rw-r--r--comms/scmxx/patches/patch-aa13
-rw-r--r--comms/scmxx/patches/patch-ab43
4 files changed, 5 insertions, 63 deletions
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index 3b817fbaf60..fa628ef7937 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -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 --git a/comms/scmxx/distinfo b/comms/scmxx/distinfo
index d534ddf61a6..3aafbf2e6d3 100644
--- a/comms/scmxx/distinfo
+++ b/comms/scmxx/distinfo
@@ -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 --git a/comms/scmxx/patches/patch-aa b/comms/scmxx/patches/patch-aa
deleted file mode 100644
index 1c2290565ea..00000000000
--- a/comms/scmxx/patches/patch-aa
+++ /dev/null
@@ -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 --git a/comms/scmxx/patches/patch-ab b/comms/scmxx/patches/patch-ab
deleted file mode 100644
index 6a44ab3c4e0..00000000000
--- a/comms/scmxx/patches/patch-ab
+++ /dev/null
@@ -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);