summaryrefslogtreecommitdiff
path: root/comms/scmxx
diff options
context:
space:
mode:
authorkleink <kleink>2002-03-27 22:44:28 +0000
committerkleink <kleink>2002-03-27 22:44:28 +0000
commitafae8196ad44ad0463fb40681e6946965937e360 (patch)
tree73e21ee1be3da20691e4a56e9a8766e427ff4657 /comms/scmxx
parent81f6e454bef93785c76ad9f800c013629e321abc (diff)
downloadpkgsrc-afae8196ad44ad0463fb40681e6946965937e360.tar.gz
Update scmxx to 0.5.16; changes since last revision include:
0.5.16 (2002-03-27) new parameter --reset which resets the phone if it does not respond after a user-aborted file transfer lots of code cleanups changed the read_mytty method to be more cleaner and work with raw mode added read_mytty_limited to read to a boundry instead of a lines end change sending code (sms and files) to makes use of raw mode, so data is really only sent, when no error occurs added is_number method to be more specific than atoi added "all" to file deleting and getting added pipe ability to file getting method do not try to decode unsupported PDU types rearranged this file (now with release dates from this version on) added C45 to the list of supported phones
Diffstat (limited to 'comms/scmxx')
-rw-r--r--comms/scmxx/Makefile4
-rw-r--r--comms/scmxx/distinfo8
-rw-r--r--comms/scmxx/patches/patch-aa56
-rw-r--r--comms/scmxx/patches/patch-ab14
4 files changed, 77 insertions, 5 deletions
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index 585e4f5eaef..40424ddab06 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2002/03/13 14:22:35 kleink Exp $
+# $NetBSD: Makefile,v 1.8 2002/03/27 22:44:28 kleink Exp $
#
-DISTNAME= scmxx-0.5.15
+DISTNAME= scmxx-0.5.16
CATEGORIES= comms
MASTER_SITES= http://www.hendrik-sattler.de/scmxx/download/ \
http://ma2geo.mathematik.uni-karlsruhe.de/~hendrik/scmxx/download/
diff --git a/comms/scmxx/distinfo b/comms/scmxx/distinfo
index 4fb87e39356..5e941d8b1fe 100644
--- a/comms/scmxx/distinfo
+++ b/comms/scmxx/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.5 2002/03/13 14:22:35 kleink Exp $
+$NetBSD: distinfo,v 1.6 2002/03/27 22:44:29 kleink Exp $
-SHA1 (scmxx-0.5.15.tar.bz2) = afb412436d724c25a9c85a34fad1e6d23f8b03b4
-Size (scmxx-0.5.15.tar.bz2) = 45050 bytes
+SHA1 (scmxx-0.5.16.tar.bz2) = 3ae5fb567fb5f07ae67e2051cbf486caccb1d836
+Size (scmxx-0.5.16.tar.bz2) = 45955 bytes
+SHA1 (patch-aa) = 8af9c0c646c66f745588a16c55f1219258c91a06
+SHA1 (patch-ab) = e427f9d9ec8518684d8ca4fff881e005878b7680
diff --git a/comms/scmxx/patches/patch-aa b/comms/scmxx/patches/patch-aa
new file mode 100644
index 00000000000..875f5c629e4
--- /dev/null
+++ b/comms/scmxx/patches/patch-aa
@@ -0,0 +1,56 @@
+$NetBSD: patch-aa,v 1.3 2002/03/27 22:44:29 kleink Exp $
+
+--- common.c.orig Wed Mar 27 22:34:02 2002
++++ common.c Wed Mar 27 23:34:49 2002
+@@ -198,19 +198,19 @@
+ int open_myFile_ro(){
+ int myfd;
+ char *myFILE_p=myFILE;
+- static int stdin = 0;
++ static int use_stdin = 0;
+
+ if (!strcmp(myFILE,"-")) {
+- stdin=1;
++ use_stdin=1;
+ }
+- if (strlen(myFILE)!=0 && !stdin){
++ if (strlen(myFILE)!=0 && !use_stdin){
+ myfd=open(myFILE,O_RDONLY);
+ if(myfd==-1){errexit("Could not access %s, aborting\n",myFILE);}
+ else{myprintf(0,"Accessing %s\n",myFILE);}
+ }else{
+- myfd=0;
++ myfd=STDIN_FILENO;
+ sprintf(myFILE_p,"stdin");
+- stdin=1;
++ use_stdin=1;
+ }
+ return(myfd);
+ }
+@@ -218,21 +218,21 @@
+ int open_myFile_rw(){
+ int myfd;
+ char *myFILE_p=myFILE;
+- static int stdout = 0;
++ static int use_stdout = 0;
+
+ if (!strcmp(myFILE,"-")) {
+- stdout=1;
++ use_stdout=1;
+ }
+- if (strlen(myFILE)!=0 && !stdout){
++ if (strlen(myFILE)!=0 && !use_stdout){
+ myfd=open(myFILE ,O_RDWR|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR|S_IRGRP);
+ if (myfd==-1){
+ close(myfd);
+ errexit("%s could not be created.\n",myFILE);
+ }else{myprintf(0,"%s created.\n",myFILE);}
+ }else{
+- myfd=1;
++ myfd=STDOUT_FILENO;
+ sprintf(myFILE_p,"stdout");
+- stdout=1;
++ use_stdout=1;
+ }
+ return(myfd);
+ }
diff --git a/comms/scmxx/patches/patch-ab b/comms/scmxx/patches/patch-ab
new file mode 100644
index 00000000000..6e2176a54be
--- /dev/null
+++ b/comms/scmxx/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.4 2002/03/27 22:44:29 kleink Exp $
+
+--- scmxx.c.orig Wed Mar 27 22:34:03 2002
++++ scmxx.c Wed Mar 27 23:40:15 2002
+@@ -345,8 +345,7 @@
+ va_list arg_list;
+ va_start(arg_list,output);
+ if (verbose_level<=SET_VERBOSE) {
+- vfprintf(stdout,output,arg_list);
++ vfprintf(stderr,output,arg_list);
+ }
+ va_end(arg_list);
+- fflush(stdout);
+ }