head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2009.05.13.20.04.24; author rse; state Exp; branches; next 1.1; commitid jghzG41275BfxKNt; 1.1 date 2009.04.28.20.15.59; author rse; state Exp; branches; next ; commitid uVUGTtGlzUK75PLt; desc @@ 1.2 log @upgrading package: ejs 0.9.8.8 -> 0.9.9.1 @ text @Index: build/bin/makeInstall --- build/bin/makeInstall.orig 2009-05-13 00:07:30 +0200 +++ build/bin/makeInstall 2009-05-13 21:55:28 +0200 @@@@ -273,9 +273,9 @@@@ . package/makeInstall.${BLD_PRODUCT} + CHGRP="true chgrp" + CHOWN="true chown" if [ "$DRY_RUN" = 1 ] ; then - CHGRP="true chgrp" - CHOWN="true chown" CHMOD="true chmod" CP="true cp" GZIP="true gzip" Index: build/config/config.FREEBSD --- build/config/config.FREEBSD.orig 2009-05-13 00:07:30 +0200 +++ build/config/config.FREEBSD 2009-05-13 21:55:28 +0200 @@@@ -8,4 +8,4 @@@@ # ############################################################################### -. build/os/config.base +. build/config/config.base Index: build/make/make.gcc --- build/make/make.gcc.orig 2009-05-13 00:07:30 +0200 +++ build/make/make.gcc 2009-05-13 21:55:28 +0200 @@@@ -211,16 +211,15 @@@@ # # Support for dynamically loadable modules is present in shared and static builds # -ifneq ($(BLD_OS),VXWORKS) +ifeq ($(BLD_OS),LINUX) _LIBS += -ldl - +endif ifeq ($(BLD_FEATURE_FLOATING_POINT),1) _LIBS += -lm endif ifeq ($(BLD_FEATURE_AUTH_PAM),1) _LIBS += -lpam endif -endif # # Using the standard C++ library. Default for products using C++ is to use their own C++ library to save space. Index: src/include/mpr.h --- src/include/mpr.h.orig 2009-05-13 00:07:45 +0200 +++ src/include/mpr.h 2009-05-13 21:55:28 +0200 @@@@ -71,6 +71,7 @@@@ #include #include #include + #include #include #include #include @@@@ -95,7 +96,6 @@@@ #include #include #include - #include #include #include #include @@@@ -115,7 +115,7 @@@@ #define __USE_ISOC99 1 #include #if !CYGWIN - #include + #include #endif #endif #endif /* BLD_UNIX_LIKE */ Index: src/mpr/mprLib.c --- src/mpr/mprLib.c.orig 2009-05-13 00:07:32 +0200 +++ src/mpr/mprLib.c 2009-05-13 21:55:28 +0200 @@@@ -1984,6 +1984,8 @@@@ } #elif FREEBSD +#include +#include { int cmd[2]; size_t len; Index: src/mpr/mprPcre.c --- src/mpr/mprPcre.c.orig 2009-05-13 00:07:32 +0200 +++ src/mpr/mprPcre.c 2009-05-13 21:55:28 +0200 @@@@ -72,6 +72,7 @@@@ #include #include #include + #include #include #include #include @@@@ -96,7 +97,6 @@@@ #include #include #include - #include #include #include #include @@@@ -116,7 +116,7 @@@@ #define __USE_ISOC99 1 #include #if !CYGWIN - #include + #include #endif #endif #endif /* BLD_UNIX_LIKE */ Index: src/mpr/mprSsl.c --- src/mpr/mprSsl.c.orig 2009-05-13 00:07:33 +0200 +++ src/mpr/mprSsl.c 2009-05-13 21:55:28 +0200 @@@@ -71,6 +71,7 @@@@ #include #include #include + #include #include #include #include @@@@ -95,7 +96,6 @@@@ #include #include #include - #include #include #include #include @@@@ -115,7 +115,7 @@@@ #define __USE_ISOC99 1 #include #if !CYGWIN - #include + #include #endif #endif #endif /* BLD_UNIX_LIKE */ Index: src/web/gateways/ejsCgi.c --- src/web/gateways/ejsCgi.c.orig 2009-05-13 00:07:33 +0200 +++ src/web/gateways/ejsCgi.c 2009-05-13 21:55:28 +0200 @@@@ -15,6 +15,8 @@@@ #include "ejs.h" +extern char **environ; + /***************************** Forward Declarations *****************************/ static void copyFile(cchar *url); @ 1.1 log @new package: ejs 0.9.8.8 (Embedded JavaScript) @ text @d1 15 d17 2 a18 2 --- build/config/config.FREEBSD.orig 2009-04-23 21:27:02 +0200 +++ build/config/config.FREEBSD 2009-04-28 21:46:24 +0200 d26 3 a28 3 --- build/make/make.gcc.orig 2009-04-23 21:27:02 +0200 +++ build/make/make.gcc 2009-04-28 21:46:24 +0200 @@@@ -218,16 +218,15 @@@@ d48 2 a49 2 --- src/include/mpr.h.orig 2009-04-23 21:27:11 +0200 +++ src/include/mpr.h 2009-04-28 21:46:24 +0200 d66 1 a66 1 @@@@ -118,7 +118,7 @@@@ d74 1 a74 1 d76 3 a78 3 --- src/mpr/mprLib.c.orig 2009-04-23 21:27:04 +0200 +++ src/mpr/mprLib.c 2009-04-28 21:46:24 +0200 @@@@ -1956,6 +1956,8 @@@@ d88 2 a89 2 --- src/mpr/mprPcre.c.orig 2009-04-23 21:27:04 +0200 +++ src/mpr/mprPcre.c 2009-04-28 21:46:24 +0200 d106 1 a106 1 @@@@ -119,7 +119,7 @@@@ d114 1 a114 1 d116 2 a117 2 --- src/mpr/mprSsl.c.orig 2009-04-23 21:27:04 +0200 +++ src/mpr/mprSsl.c 2009-04-28 21:46:24 +0200 d134 1 a134 1 @@@@ -118,7 +118,7 @@@@ d142 1 a142 1 d144 2 a145 2 --- src/web/gateways/ejsCgi.c.orig 2009-04-23 21:27:05 +0200 +++ src/web/gateways/ejsCgi.c 2009-04-28 21:47:02 +0200 a154 36 Index: src/appweb/appwebLib.c --- src/appweb/appwebLib.c.orig 2009-04-23 21:27:03 +0200 +++ src/appweb/appwebLib.c 2009-04-28 21:51:45 +0200 @@@@ -3879,7 +3879,7 @@@@ -#if BLD_FEATURE_SEND && (MACOSX || LINUX) +#if BLD_FEATURE_SEND && (MACOSX || LINUX || FREEBSD) static void addPacketForSend(MaQueue *q, MaPacket *packet); @@@@ -15513,7 +15513,7 @@@@ http->uid = http->gid = -1; #endif -#if BLD_FEATURE_SEND && !WIN +#if BLD_FEATURE_SEND && (MACOSX || LINUX || FREEBSD) maOpenSendConnector(http); #endif #if BLD_FEATURE_NET Index: build/bin/makeInstall --- build/bin/makeInstall.orig 2009-04-28 22:01:40 +0200 +++ build/bin/makeInstall 2009-04-28 22:04:12 +0200 @@@@ -295,9 +295,9 @@@@ . package/makeInstall.${BLD_PRODUCT} + CHGRP="true chgrp" + CHOWN="true chown" if [ "$DRY_RUN" = 1 ] ; then - CHGRP="true chgrp" - CHOWN="true chown" CHMOD="true chmod" CP="true cp" GZIP="true gzip" @