Subject: pkg/20017: Update comms/scmxx package to 0.6.3.5
To: None <gnats-bugs@gnats.netbsd.org>
From: None <khym@azeotrope.org>
List: netbsd-bugs
Date: 01/23/2003 15:13:55
>Number:         20017
>Category:       pkg
>Synopsis:       Update comms/scmxx package to 0.6.3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 23 13:16:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dave Huang
>Release:        NetBSD 1.6
>Organization:
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 27 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
	
	
System: NetBSD yerfable.azeotrope.org 1.6 NetBSD 1.6 (YERFABLE) #196: Thu Sep 12 19:22:18 CDT 2002 khym@yerfable.azeotrope.org:/usr2/obj.alpha/YERFABLE alpha
Architecture: alpha
Machine: alpha
>Description:
	Update the comms/scmxx package from 0.6.1.6 to 0.6.3.5:

Changelog for SCMxx:

0.6.3.5
    fix segfault
    run phone_init (thus fixing direct sms receive)

0.6.3.4
    removing a lot of bugs about uninitialized variables that turned
	into segmentation faults (thanks to Ronald Wahl for showing
	up my programming errors)
    fixed some other small bugs that made show up wrong data (network
	status, network gprs status)
    remove caching code for vendor and model as it crashes e.g. with
	CygWin (maybe their compiler again?)

0.6.3.3
    replacing cfmakeraw by redefining the function (instead of a code block
	replacement) and adjust configure.in
    do not open device non-blocking
    set termios read counter to 10 seconds and character counter to 0
    make repeating of last at command generic
    rewritten tty_read method with split-off tty_readline method
    interpret the bit error rate value on info output
    replace "ATZ" init string with "\rATZ"
    apply the fix from 0.6.3.2 correctly
    create scmxx.spec from scmxx.spec.in by maintainer-prep script
       
0.6.3.2
    add S46 to supported phones
    include fix from http://bugs.debian.org/171217
    exchange 'make' with '$(MAKE)' in toplevel Makefile

0.6.3.1
    fix one character in scmxx.c to get output again
    fixed Makefile.in to install the man page

0.6.3
    first usage of wchar_t and iconv which makes several input/output charsets
	possible and even compatible
    enabling generic charsets for phonebook upload and download
    enabling generic charsets for sms sending and decoding
    enabling special sequences \XXXX for generic characters and \n for <NL> and
        \\ for '\'
    added local date format output for SMS and info
    fix sms resend bug
    fix a lot of sms decoding bugs and clean up the SMS header code
    added UCS2 decoding of SMS
    added status report request option --srr
    changes --file (-f) to --out (-o)

0.6.2
    fix configure.in to check for Win32 specialties
    fix Makefile.in to make use of Win32 specialties
    add SL45i (SLIK) to known phones
    decreased maximum PDU size for file upload to 175 to fix SL4x v23 VCF upload
    rearrange info() output

>How-To-Repeat:
	
>Fix:

Use patch -p0 so that the patches directory gets created...

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/comms/scmxx/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	2002/10/22 15:33:10	1.18
+++ Makefile	2003/01/23 21:08:15
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.18 2002/10/22 15:33:10 kleink Exp $
 #
 
-DISTNAME=		scmxx-0.6.1.6
+DISTNAME=		scmxx-0.6.3.5
 CATEGORIES=		comms
 MASTER_SITES=		http://ma2geo.mathematik.uni-karlsruhe.de/~hendrik/scmxx/download/
 EXTRACT_SUFX=		.tar.bz2
@@ -11,24 +11,29 @@
 COMMENT=		Data exchange utility for Siemens mobile phones
 
 GNU_CONFIGURE=		yes
+USE_BUILDLINK2=		yes
 USE_GMAKE=		yes
 
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scmxx
 	${INSTALL_DATA} ${WRKSRC}/docs/doc_sources.txt			\
 	    ${PREFIX}/share/doc/scmxx
-	${INSTALL_DATA} ${WRKSRC}/docs/greekchars.txt			\
+	${INSTALL_DATA} ${WRKSRC}/docs/gsm0338.txt			\
 	    ${PREFIX}/share/doc/scmxx
 	${INSTALL_DATA} ${WRKSRC}/docs/gsmcharset.txt			\
 	    ${PREFIX}/share/doc/scmxx
-	${INSTALL_DATA} ${WRKSRC}/docs/specialchars.txt			\
-	    ${PREFIX}/share/doc/scmxx
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scmxx
+	${INSTALL_DATA} ${WRKSRC}/examples/debian_with_scmxx.bmp	\
+	    ${PREFIX}/share/examples/scmxx
 	${INSTALL_DATA} ${WRKSRC}/examples/phonebook			\
 	    ${PREFIX}/share/examples/scmxx
-	${INSTALL_DATA} ${WRKSRC}/examples/sms				\
+	${INSTALL_DATA} ${WRKSRC}/examples/sms.txt			\
 	    ${PREFIX}/share/examples/scmxx
-	${INSTALL_DATA} ${WRKSRC}/examples/vCalendar			\
+	${INSTALL_DATA} ${WRKSRC}/examples/vCalendar.vcs		\
 	    ${PREFIX}/share/examples/scmxx
+	${INSTALL_DATA} ${WRKSRC}/examples/vCard.vcf			\
+	    ${PREFIX}/share/examples/scmxx
+
+.include "../../converters/libiconv/buildlink2.mk"
 
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/comms/scmxx/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- PLIST	2002/05/20 21:54:18	1.4
+++ PLIST	2003/01/23 21:08:15
@@ -2,11 +2,12 @@
 bin/scmxx
 man/man1/scmxx.1
 share/doc/scmxx/doc_sources.txt
-share/doc/scmxx/greekchars.txt
+share/doc/scmxx/gsm0338.txt
 share/doc/scmxx/gsmcharset.txt
-share/doc/scmxx/specialchars.txt
+share/examples/scmxx/debian_with_scmxx.bmp
 share/examples/scmxx/phonebook
-share/examples/scmxx/sms
-share/examples/scmxx/vCalendar
+share/examples/scmxx/sms.txt
+share/examples/scmxx/vCalendar.vcs
+share/examples/scmxx/vCard.vcf
 @dirrm share/doc/scmxx
 @dirrm share/examples/scmxx
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/comms/scmxx/distinfo,v
retrieving revision 1.15
diff -u -r1.15 distinfo
--- distinfo	2002/10/22 15:33:10	1.15
+++ distinfo	2003/01/23 21:08:15
@@ -1,4 +1,5 @@
 $NetBSD: distinfo,v 1.15 2002/10/22 15:33:10 kleink Exp $
 
-SHA1 (scmxx-0.6.1.6.tar.bz2) = 7ba9060c8e1d3262b71ab07dacb67ecc6f3ef986
-Size (scmxx-0.6.1.6.tar.bz2) = 52968 bytes
+SHA1 (scmxx-0.6.3.5.tar.bz2) = 3d186d8bb354dd19cd77067c4ac43bde8f52ebe3
+Size (scmxx-0.6.3.5.tar.bz2) = 77185 bytes
+SHA1 (patch-aa) = a995f416dfab9278e253308951a91ea834e0229e
--- /dev/null	Thu Jan 23 15:08:15 2003
+++ patches/patch-aa	Thu Jan 23 13:10:26 2003
@@ -0,0 +1,8 @@
+--- src/Makefile.in.orig	Thu Jan 23 13:07:18 2003
++++ src/Makefile.in	Thu Jan 23 13:10:09 2003
+@@ -70,4 +70,4 @@
+ 
+ $(BINARY): $(OBJECTS)
+ 	$(COMPILER) -o $(BINARY) $(OBJECTS) $(LDFLAGS)
+-	@if [ "@EXEEXT@" == ".exe" ]; then chmod 755 $(BINARY); fi
++	@if [ "@EXEEXT@" = ".exe" ]; then chmod 755 $(BINARY); fi
>Release-Note:
>Audit-Trail:
>Unformatted: