summaryrefslogtreecommitdiff
path: root/www/asp2php
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-08 12:23:04 +0000
committerobache <obache@pkgsrc.org>2011-04-08 12:23:04 +0000
commit5a0772ef5b02d6879a9587ccaa3e2be020f27c63 (patch)
tree924560e068737d13ef16945406f3d244de736ad8 /www/asp2php
parent129c98a36b760bb21072480f6a1f2ff0d2c05933 (diff)
downloadpkgsrc-5a0772ef5b02d6879a9587ccaa3e2be020f27c63.tar.gz
Update asp2php to 0.77.3.
November 26, 2006 -0.77.3 Fixed bugs: 1) A=0.65 now converts properly to $A=0.65; 2) Raised the length of parameters on function calls Also changed 1) Request.ServerVariables("URL") to convert to $_SERVER["PHP_SELF"] Not really a bug, but an issue when moving servers. May 16, 2006 - 0.77.1 Matt Brown made the following additions/changes: 1) fixes key bugs in dictionary object support 2) fixes bug in filesystemobject.GetBaseName 3) fixes a couple of semi-colon generation issues 4) adds some support for filesystemobject.Attributes 5) an equal sign in an expression now gets recognized as a comparison operator Michael Kohn made the following changes: 1) fixed FormatCurrency so it adds a dollar sign infront of the number May 14, 2006 - 0.77.0 Matt Brown made the following additions/changes: 1) support for server.execute 2) support for querystring("a").count and form("a").count 3) changed semantics of -phpx options. These now specify the target version. Added -php5. Added -chgext option to include php version in the extensions of the output files. 4) support for class constructors with -php4 and -php5. 5) support for class destructors, public and private with -php5. 6) fixed a few more bugs with single line if/then 7) added #define's for all token types and database types -- just for readability. 8) changed gettoken so that it only returns single quote tokens when processing jscript. 9) fixed response.expires 10) support for response.cachecontrol 11) improved "<" detection in parse_for_script 12) rudimentary support for virtual includes: a new -v option can be used to specify a base path for virtual includes. 13) support for ByVal and ByRef 14) support for "is" in conditionals 15) support for vbSunday, etc constants 16) when parsing "sub(x,y,z)", eval_element is no longer called to process x, y, and z. 17) support for DateSerial and DatePart functions 18) improved support for Now, Date, and Time functions (can call time() or strftime depending on context) 19) added a -d option, which specifies a file and works like #include (calls preparse). Useful for converting include files that depend on other 20) support for dictionary objects! * several more FileSystemObject methods/properties (files, subfolders, size, name, DateLastModified, GetBaseName) * "\" in strings (gets converted to \\) * some support for the ERR object * in some cases getobject was getting called multiple times per token -- changed things around so that it is only called once * limited support when "for each" is called against a collection of objects (target var gets tracked as an object, just like set). As currently coded, it correctly detects: Set colFiles=objFolder.Files For each objFile in colFiles But does not detect: For each objFile in objFolder.Files Michael Kohn made the following changes: * Removed double dim array's sessionpool and aspextension. * Changed the way session's are done by using $_SESSION April 11, 2006 - 0.76.26 Matt Brown made the following changes: 1) mapped vbscript SPLIT function to php EXPLODE (evalelement.c) 2) added support for vbscript MOD operator (evalelement.c) 3) corrected bug in handling of single-line if/then/else statements (main_parser.c) August 17, 2005 - 0.76.25 - Fixed a problem with Now() June 23, 2005 - 0.76.24 - I was using system() calls to mkdir -p to make directories for a couple of reasons 1) cause it would automatically create all dirs that didn't exist and 2) cause it set up file permissions the way the system would want it. this fails miserably on DOS (aka, Microsoft Windows) so I switched it now to mkdir(). I'd still rather use mkdir -p, but owell. Anyway, this should fix problems with people using DOS (aka Microsoft Windows). September 8, 2004 - 0.76.23 - Fixed a bug with &'s from version 0.76.22 September 6, 2004 - 0.76.22 - mysql.c was modified by Tursi to add a semicolon after mysql_query($arg) - rnd() with a parameter added an extra ). This is now fixed. - date function changes - added new command line switch for changing .asp text in response.write to .php - hex literals are fixed August 10, 2004 - 0.76.21 - the postgres conversion code has been updated. January 11, 2004 Added FRAME to list of tags to change links from .asp to .php December 8, 2003 - 0.76.19 Along with little bug fixes here and there, fixed a problem in the way functions were converted. Also added a -fulltags option for creating PHP with tags that look like this: <?php instead of <?. May 3, 2002 Fixed a problem parsing functions that didn't have parenthesis around them. Added some Filesystem conversion code. Added an option to convert DOS path's with backslashes to Unix forward slashes (-fixwinpaths). Fixed a problem with preparsing include files.
Diffstat (limited to 'www/asp2php')
-rw-r--r--www/asp2php/Makefile9
-rw-r--r--www/asp2php/distinfo12
-rw-r--r--www/asp2php/patches/patch-ab19
-rw-r--r--www/asp2php/patches/patch-ac19
4 files changed, 34 insertions, 25 deletions
diff --git a/www/asp2php/Makefile b/www/asp2php/Makefile
index 85c8baf9c5c..4fa3df2d165 100644
--- a/www/asp2php/Makefile
+++ b/www/asp2php/Makefile
@@ -1,18 +1,21 @@
-# $NetBSD: Makefile,v 1.13 2009/06/30 00:07:24 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2011/04/08 12:23:04 obache Exp $
#
-DISTNAME= asp2php-0.76.17
+DISTNAME= asp2php-0.77.3
CATEGORIES= www
-MASTER_SITES= http://www.mikekohn.com/asp2php/
+MASTER_SITES= http://downloads.mikekohn.net/asp2php/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://asp2php.naken.cc/
COMMENT= Converts asp pages to php pages
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
+WRKSRC= ${WRKDIR}/${PKGBASE}
+
INSTALLATION_DIRS= bin
.include "../../mk/bsd.pkg.mk"
diff --git a/www/asp2php/distinfo b/www/asp2php/distinfo
index 7b282f77117..ce33135a815 100644
--- a/www/asp2php/distinfo
+++ b/www/asp2php/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2008/06/20 01:09:40 joerg Exp $
+$NetBSD: distinfo,v 1.10 2011/04/08 12:23:04 obache Exp $
-SHA1 (asp2php-0.76.17.tar.gz) = 9fe485f8f738c11a7104b935cbcadf365195bac4
-RMD160 (asp2php-0.76.17.tar.gz) = a1173e3ded769234bcfbf38b3cc11f32346c0072
-Size (asp2php-0.76.17.tar.gz) = 53793 bytes
+SHA1 (asp2php-0.77.3.tar.gz) = d415bcfe53eb297c4d9297a485a145b49f0b6c3f
+RMD160 (asp2php-0.77.3.tar.gz) = 92ac13aac01b638d70413255101e06742dbc9fee
+Size (asp2php-0.77.3.tar.gz) = 68369 bytes
SHA1 (patch-aa) = 9788bb50a07a32a8895c82580b21418114cae57f
-SHA1 (patch-ab) = a95a8ffcac811b32bb467482c0e208e9f8ab0bdd
-SHA1 (patch-ac) = e833373ae539b142849b9f89755d391532155846
+SHA1 (patch-ab) = 35208f8676c92658284738c70125e15b801a92f4
+SHA1 (patch-ac) = 139137eb76624eec76c91af805d8d06571fabfda
diff --git a/www/asp2php/patches/patch-ab b/www/asp2php/patches/patch-ab
index 6119b892084..b02a8cf5481 100644
--- a/www/asp2php/patches/patch-ab
+++ b/www/asp2php/patches/patch-ab
@@ -1,16 +1,21 @@
-$NetBSD: patch-ab,v 1.1 2004/07/11 00:31:25 salo Exp $
+$NetBSD: patch-ab,v 1.2 2011/04/08 12:23:04 obache Exp $
---- src/Makefile.orig 2003-03-26 19:35:11.000000000 +0100
-+++ src/Makefile 2004-07-11 02:08:45.000000000 +0200
-@@ -1,8 +1,8 @@
+--- src/Makefile.orig 2006-11-26 15:24:44.000000000 +0000
++++ src/Makefile
+@@ -1,13 +1,13 @@
-CC=gcc
-LD=ld
+#CC=gcc
+#LD=ld
- #FLAGS=-DDEBUG
--CFLAGS=-Wall
-+#CFLAGS=-Wall
+
+ #PATH=/opt/xmingw/bin:/usr/bin
+ #CC=i386-mingw32msvc-gcc
+ #LD=i386-mingw32msvc-ld
+
+ #DEBUG=-DDEBUG
+-FLAGS=-s -O2 -Wall $(DEBUG)
++FLAGS=$(CFLAGS) $(DEBUG)
default:
@cd jscript && make
diff --git a/www/asp2php/patches/patch-ac b/www/asp2php/patches/patch-ac
index e0bb78de913..5f03e97668b 100644
--- a/www/asp2php/patches/patch-ac
+++ b/www/asp2php/patches/patch-ac
@@ -1,16 +1,17 @@
-$NetBSD: patch-ac,v 1.1 2004/07/11 00:31:25 salo Exp $
+$NetBSD: patch-ac,v 1.2 2011/04/08 12:23:04 obache Exp $
---- src/jscript/Makefile.orig 2003-03-26 19:35:11.000000000 +0100
-+++ src/jscript/Makefile 2004-07-11 02:14:17.000000000 +0200
-@@ -1,8 +1,8 @@
+--- src/jscript/Makefile.orig 2006-11-26 15:24:44.000000000 +0000
++++ src/jscript/Makefile
+@@ -1,9 +1,9 @@
+
-CC=gcc
-LD=ld
+#CC=gcc
+#LD=ld
- #FLAGS=-DDEBUG
--CFLAGS=-Wall
-+#CFLAGS=-Wall
+ #DEBUG=-DDEBUG
+-FLAGS=-s -O2 -Wall $(DEBUG)
++FLAGS=$(CFLAGS) $(DEBUG)
- default:
- $(CC) -c conditionals_j.c $(CFLAGS) $(FLAGS)
+ #PATH=/opt/xmingw/bin:/usr/bin
+ #CC=i386-mingw32msvc-gcc