pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42846: [lang/bwbasic]Update to 2.5.0
>Number: 42846
>Category: pkg
>Synopsis: [lang/bwbasic]Update to 2.5.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 19 08:45:00 +0000 2010
>Originator: Wen Heping
>Release: NetBSD-5.0.1
>Organization:
Private
>Environment:
NetBSD NB501 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 01:39:11 UTC 2009
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/i386/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
CHANGES FROM 2.40 to 2.50
* Bug fixes
* New compilation procedure for MVS and CMS
CHANGES FROM 2.30 to 2.40
* Bug fixes from Bill Chatfield
* Updated documentation
* Added support for compiling on CMS (another IBM mainframe OS)
CHANGES FROM 2.20pl2 to 2.30
* Minor bug fixes, cosmetic improvements and portability improvements
* Added support for compiling on MVS (IBM mainframe)
>How-To-Repeat:
>Fix:
diff -urN bwbasic.orig/Makefile bwbasic/Makefile
--- bwbasic.orig/Makefile 2010-02-19 22:53:06.000000000 +0800
+++ bwbasic/Makefile 2010-02-20 00:16:33.000000000 +0800
@@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.12 2009/03/02 14:27:11 joerg Exp $
-PKGNAME= ${DISTNAME:=pl2}
-DISTNAME= bwbasic-2.20
+DISTNAME= bwbasic-2.50
CATEGORIES= lang
-MASTER_SITES= http://www.nicholson.com/rhn/files/
-EXTRACT_SUFX= .tar.Z
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bwbasic/}
+EXTRACT_SUFX= .zip
MAINTAINER= jspath%bcpl.net@localhost
COMMENT= The Bywater Basic interpreter
@@ -12,25 +11,18 @@
PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/bwbasic-2.20p2
-BWBASIC_WRKSRC= ${WRKSRC}/bwbasic-2.20
+WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
GNU_CONFIGURE= yes
-CONFIGURE_DIRS= ${BWBASIC_WRKSRC}
-BUILD_DIRS= ${CONFIGURE_DIRS}
SHARE_DIR= ${PREFIX}/share/bwbasic
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${SHARE_DIR}
-pre-patch:
- ${CP} ${WRKSRC}/bwb-2.20-patch01/* ${BWBASIC_WRKSRC}
- ${CP} ${WRKSRC}/bwb-2.20-patch02/* ${BWBASIC_WRKSRC}
-
post-install:
- ${CP} -r ${BWBASIC_WRKSRC}/bwbtest ${DESTDIR}${SHARE_DIR}
+ ${CP} -r ${WRKSRC}/bwbtest ${DESTDIR}${SHARE_DIR}
${FIND} ${DESTDIR}${SHARE_DIR} -type d -print | ${XARGS} ${CHMOD}
${BINMODE}
${FIND} ${DESTDIR}${SHARE_DIR} -type f -print | ${XARGS} ${CHMOD}
${SHAREMOD
E}
- ${INSTALL_MAN} ${BWBASIC_WRKSRC}/bwbasic.doc
${DESTDIR}${PREFIX}/${PKGMANDIR
}/man1/bwbasic.1
+ ${INSTALL_MAN} ${WRKSRC}/bwbasic.doc
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/b
wbasic.1
.include "../../mk/bsd.pkg.mk"
diff -urN bwbasic.orig/distinfo bwbasic/distinfo
--- bwbasic.orig/distinfo 2010-02-19 22:53:06.000000000 +0800
+++ bwbasic/distinfo 2010-02-20 00:37:46.000000000 +0800
@@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.7 2005/12/30 23:29:36 joerg Exp $
-SHA1 (bwbasic-2.20pl2/bwbasic-2.20.tar.Z) =
b96ff440c573b9aac17dfd90830e3defa46a559
2
-RMD160 (bwbasic-2.20pl2/bwbasic-2.20.tar.Z) =
a6ae5cdde2aa18228258314a34b776d3681cb
0e8
-Size (bwbasic-2.20pl2/bwbasic-2.20.tar.Z) = 485971 bytes
-SHA1 (patch-aa) = 6b955a62001cb357a960202842c7f08930b70448
-SHA1 (patch-ab) = 7c2efa205c5866733bfd99dbd102aa517afc819f
-SHA1 (patch-ac) = 286c3f91c90b33d1bab2de1581900129661ca74a
+SHA1 (bwbasic-2.50/bwbasic-2.50.zip) = 6e8e8af9fa791bff791534d429092b4904609424
+RMD160 (bwbasic-2.50/bwbasic-2.50.zip) =
bccc94eb3dcbf903fc1535cda67353f7c372d520
+Size (bwbasic-2.50/bwbasic-2.50.zip) = 209629 bytes
+SHA1 (patch-aa) = f9dcb2a27a9cc0ee27284b73b2c1222fe3572e64
+SHA1 (patch-ab) = f7f70ffcf44103fbee5387c4375574a75b80fa38
diff -urN bwbasic.orig/patches/patch-aa bwbasic/patches/patch-aa
--- bwbasic.orig/patches/patch-aa 2010-02-19 22:53:06.000000000 +0800
+++ bwbasic/patches/patch-aa 2010-02-20 00:07:12.000000000 +0800
@@ -1,27 +1,24 @@
-$NetBSD: patch-aa,v 1.2 2005/11/03 22:19:01 rillig Exp $
-
---- bwbasic-2.20/Makefile.in.orig Sat Nov 25 14:32:18 1995
-+++ bwbasic-2.20/Makefile.in Sun Feb 6 16:12:49 2000
-@@ -16,9 +16,10 @@
+$NetBSD$
+--- bwbasic.h.orig 2010-02-20 00:04:09.000000000 +0800
++++ bwbasic.h 2010-02-20 00:05:48.000000000 +0800
+@@ -111,11 +111,20 @@
+ ***************************************************************/
- DEFS = @DEFS@
+ #ifdef __STDC__
++#ifndef HAVE_RAISE
+ #define HAVE_RAISE TRUE
++#endif
++
++#ifndef HAVE_STRING
+ #define HAVE_STRING TRUE
++#endif
++
++#ifndef HAVE_STDLIB
+ #define HAVE_STDLIB TRUE
+ #endif
--# Revised by JBV
--#CFLAGS = -O
--CFLAGS = -g -ansi
-+# Re-revised by MJS
-+CFLAGS ?= -O
-+CFLAGS += -ansi
-+#CFLAGS = -g -ansi
-
- # Revised by JBV
- #LDFLAGS = -s
-@@ -75,7 +76,7 @@ $(OFILES): $(HFILES)
- $(CC) -c $(CPPFLAGS) -I$(srcdir) $(DEFS) $(CFLAGS) $<
-
- install: all
-- $(INSTALL_PROGRAM) bwbasic $(bindir)/bwbasic
-+ $(INSTALL_PROGRAM) bwbasic ${DESTDIR}$(bindir)/bwbasic
-
- uninstall:
- rm -f $(bindir)/bwbasic
++#endif
++
+ #ifdef __STDC__
+ #define HAVE_SIGNAL TRUE
+ #else
diff -urN bwbasic.orig/patches/patch-ab bwbasic/patches/patch-ab
--- bwbasic.orig/patches/patch-ab 2010-02-19 22:53:06.000000000 +0800
+++ bwbasic/patches/patch-ab 2010-02-20 00:37:38.000000000 +0800
@@ -1,22 +1,117 @@
$NetBSD$
-
---- bwbasic-2.20/bwbasic.c.orig 2005-12-30 23:25:02.000000000 +0000
-+++ bwbasic-2.20/bwbasic.c
-@@ -51,7 +51,7 @@
- char *bwb_ebuf; /* error buffer */
- static char *read_line;
- int bwb_trace = FALSE;
--FILE *errfdevice = stderr; /* output device for error messages */
-+FILE *errfdevice; /* output device for error messages */
-
- #if HAVE_LONGJUMP
- jmp_buf mark;
-@@ -133,6 +133,8 @@ bwb_init( argc, argv )
- static char end_buf[] = "\0";
- #endif
-
-+ errfdevice = stderr;
-+
- #if INTENSIVE_DEBUG
- prn_xprintf( stderr, "Memory Allocation Statistics:\n" );
- prn_xprintf( stderr, "----------------------------\n" );
+--- bwbasic.doc.orig 2006-10-24 14:40:18.000000000 +0800
++++ bwbasic.doc 2010-02-20 00:36:51.000000000 +0800
+@@ -1,33 +1,10 @@
+-
+-
+-
+-
+- Bywater BASIC Interpreter/Shell, version 2.10
+- ---------------------------------------------
+-
+- Copyright (c) 1993, Ted A. Campbell
+- for bwBASIC version 2.10, 11 October 1993
+-
+-
+-CONTENTS:
+-
+- 1. DESCRIPTION
+- 2. TERMS OF USE
+- 3. QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
+- 4. GENERAL NOTES ON USAGE
+- 5. EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
+- 6. PREDEFINED VARIABLES
+- 7. UNIMPLEMENTED COMMANDS AND FUNCTIONS
+- and AGENDA FOR DEVELOPMENT
+- 8. THE STORY OF BYWATER BASIC
+- 9. COMMUNICATIONS
+-
+- The author wishes to express his thanks to Mr. David MacKenzie,
+- who assisted in the development Unix installation and configuration
+- for this version.
+-
+-
+-1. DESCRIPTION
++.Dd Feb 19, 2010
++.Dt bwBASIC 1
++.Os
++.Sh NAME
++.Nm bwBASIC
++.Nd BASIC Interpreter/Shell, version 2.50
++.Sh SYNOPSIS
+
+ The Bywater BASIC Interpreter (bwBASIC) implements a large
+ superset of the ANSI Standard for Minimal BASIC (X3.60-1978)
+@@ -60,7 +37,7 @@
+ offer further shell-processing capabilities.
+
+
+-2. TERMS OF USE:
++.Sh TERMS OF USE:
+
+ This version of Bywater BASIC is released under the terms of the
+ GNU General Public License (GPL), which is distributed with this
+@@ -71,7 +48,7 @@
+ for information on which you should contact the author.
+
+
+-3. QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
++.Sh QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
+
+ Be aware that many of these commands and functions will not be
+ available unless you have set certain flags in the header files
+@@ -199,7 +176,7 @@
+ WRITE [# device-number,] element [, element ]....
+
+
+-4. GENERAL NOTES ON USAGE:
++.Sh GENERAL NOTES ON USAGE:
+
+ 4.a. Interactive Environment
+
+@@ -305,7 +282,7 @@
+ aliases to allow Microsoft-style programs to be run.
+
+
+-5. EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
++.Sh EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
+
+ The "Dependencies" listed in the folowing reference materials
+ refers to flags that must be set to TRUE in bwbasic.h for the
+@@ -1636,7 +1613,7 @@
+ ------------------------------------------
+
+
+-6. PREDEFINED VARIABLES
++.Sh PREDEFINED VARIABLES
+
+ BWB.EDITOR$
+ BWB.FILES$
+@@ -1669,7 +1646,7 @@
+ (specifically CLS, LOCATE, and INKEY$) may be available.
+
+
+-7. UNIMPLEMENTED COMMANDS AND FUNCTIONS, and AGENDA FOR DEVELOPMENT
++.Sh UNIMPLEMENTED COMMANDS AND FUNCTIONS, and AGENDA FOR DEVELOPMENT
+
+ There are some items not implemented that have been so long
+ a part of standard BASICs that their absence will seem surprising.
+@@ -1853,7 +1830,7 @@
+ ZONEWIDTH
+
+
+-8. THE STORY OF BYWATER BASIC
++.Sh THE STORY OF BYWATER BASIC
+
+ This program was originally begun in 1982 by my grandmother, Mrs.
+ Verda Spell of Beaumont, TX. She was writing the program using
+@@ -1873,9 +1850,3 @@
+ bag and eventually managed to have it all copied over to a PC
+ diskette. I have revised it slightly prior to this release. You
+ should know, though, that I myself am an historian, not a programmer.
+-
+-
+-9. COMMUNICATIONS:
+-
+- email: tcamp%delphi.com@localhost
+-
diff -urN bwbasic.orig/patches/patch-ac bwbasic/patches/patch-ac
--- bwbasic.orig/patches/patch-ac 2010-02-19 22:53:06.000000000 +0800
+++ bwbasic/patches/patch-ac 1970-01-01 07:00:00.000000000 +0700
@@ -1,118 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2000/02/15 19:43:22 pooka Exp $
-
---- bwbasic-2.20/bwbasic.doc Tue Oct 12 19:30:12 1993
-+++ bwbasic-2.20/bwbasic.1 Fri Feb 11 22:42:36 2000
-@@ -1,33 +1,10 @@
--
--
--
--
-- Bywater BASIC Interpreter/Shell, version 2.10
-- ---------------------------------------------
--
-- Copyright (c) 1993, Ted A. Campbell
-- for bwBASIC version 2.10, 11 October 1993
--
--
--CONTENTS:
--
-- 1. DESCRIPTION
-- 2. TERMS OF USE
-- 3. QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
-- 4. GENERAL NOTES ON USAGE
-- 5. EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
-- 6. PREDEFINED VARIABLES
-- 7. UNIMPLEMENTED COMMANDS AND FUNCTIONS
-- and AGENDA FOR DEVELOPMENT
-- 8. THE STORY OF BYWATER BASIC
-- 9. COMMUNICATIONS
--
-- The author wishes to express his thanks to Mr. David MacKenzie,
-- who assisted in the development Unix installation and configuration
-- for this version.
--
--
--1. DESCRIPTION
-+.Dd October 11, 1993
-+.Dt bwBASIC 1
-+.Os
-+.Sh NAME
-+.Nm bwBASIC
-+.Nd BASIC Interpreter/Shell, version 2.10
-+.Sh SYNOPSIS
-
- The Bywater BASIC Interpreter (bwBASIC) implements a large
- superset of the ANSI Standard for Minimal BASIC (X3.60-1978)
-@@ -60,7 +37,7 @@
- offer further shell-processing capabilities.
-
-
--2. TERMS OF USE:
-+.Sh TERMS OF USE
-
- This version of Bywater BASIC is released under the terms of the
- GNU General Public License (GPL), which is distributed with this
-@@ -71,7 +48,7 @@
- for information on which you should contact the author.
-
-
--3. QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
-+.Sh QUICK REFERENCE LIST OF COMMANDS AND FUNCTIONS
-
- Be aware that many of these commands and functions will not be
- available unless you have set certain flags in the header files
-@@ -199,7 +176,7 @@
- WRITE [# device-number,] element [, element ]....
-
-
--4. GENERAL NOTES ON USAGE:
-+.Sh GENERAL NOTES ON USAGE
-
- 4.a. Interactive Environment
-
-@@ -305,7 +282,7 @@
- aliases to allow Microsoft-style programs to be run.
-
-
--5. EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
-+.Sh EXPANDED REFERENCE FOR COMMANDS AND FUNCTIONS
-
- The "Dependencies" listed in the folowing reference materials
- refers to flags that must be set to TRUE in bwbasic.h for the
-@@ -1636,7 +1613,7 @@
- ------------------------------------------
-
-
--6. PREDEFINED VARIABLES
-+.Sh PREDEFINED VARIABLES
-
- BWB.EDITOR$
- BWB.FILES$
-@@ -1669,7 +1646,7 @@
- (specifically CLS, LOCATE, and INKEY$) may be available.
-
-
--7. UNIMPLEMENTED COMMANDS AND FUNCTIONS, and AGENDA FOR DEVELOPMENT
-+.Sh UNIMPLEMENTED COMMANDS AND FUNCTIONS, and AGENDA FOR DEVELOPMENT
-
- There are some items not implemented that have been so long
- a part of standard BASICs that their absence will seem surprising.
-@@ -1853,7 +1830,7 @@
- ZONEWIDTH
-
-
--8. THE STORY OF BYWATER BASIC
-+.Sh THE STORY OF BYWATER BASIC
-
- This program was originally begun in 1982 by my grandmother, Mrs.
- Verda Spell of Beaumont, TX. She was writing the program using
-@@ -1873,9 +1850,3 @@
- bag and eventually managed to have it all copied over to a PC
- diskette. I have revised it slightly prior to this release. You
- should know, though, that I myself am an historian, not a programmer.
--
--
--9. COMMUNICATIONS:
--
-- email: tcamp%delphi.com@localhost
--
Home |
Main Index |
Thread Index |
Old Index