Author: richter Date: Sun Mar 16 13:51:23 2014 New Revision: 1578071 URL: http://svn.apache.org/r1578071 Log: Bump Version to 2.5.0 and adapt compitibilty list
Modified: perl/embperl/trunk/Changes.pod perl/embperl/trunk/Embperl.pm perl/embperl/trunk/Embperl.pod perl/embperl/trunk/INSTALL.pod perl/embperl/trunk/README Modified: perl/embperl/trunk/Changes.pod URL: http://svn.apache.org/viewvc/perl/embperl/trunk/Changes.pod?rev=1578071&r1=1578070&r2=1578071&view=diff ============================================================================== --- perl/embperl/trunk/Changes.pod (original) +++ perl/embperl/trunk/Changes.pod Sun Mar 16 13:51:23 2014 @@ -1,6 +1,6 @@ =pod -=head 2.5.0 +=head 2.5.0 16. March 2014 - Do not clear old code before compiling a Embperl page in Perl >= 5.14.x because it causes seg faults. This @@ -21,6 +21,9 @@ - Adapted tests to Perl 5.18 - Adapted test httpd.conf to Apache 2.4. Embperl fully supports Apache 2.4 + - Makefile.PL now uses apache2 or httpd2 as Apache binary + - Makefile.PL now autodetects if mpm needs to loaded as + module for tests. - Fix output inside of Registry script for mod_perl 2.0.4+ - Fix problem with error output on stderr for Windows 64Bit - removed support for XALAN XML parser. It was outdated Modified: perl/embperl/trunk/Embperl.pm URL: http://svn.apache.org/viewvc/perl/embperl/trunk/Embperl.pm?rev=1578071&r1=1578070&r2=1578071&view=diff ============================================================================== --- perl/embperl/trunk/Embperl.pm (original) +++ perl/embperl/trunk/Embperl.pm Sun Mar 16 13:51:23 2014 @@ -50,7 +50,7 @@ use vars qw( @ISA = qw(Exporter DynaLoader); -$VERSION = '2.5.0_4' ; +$VERSION = '2.5.0' ; if ($modperl = $ENV{MOD_PERL}) Modified: perl/embperl/trunk/Embperl.pod URL: http://svn.apache.org/viewvc/perl/embperl/trunk/Embperl.pod?rev=1578071&r1=1578070&r2=1578071&view=diff ============================================================================== --- perl/embperl/trunk/Embperl.pod (original) +++ perl/embperl/trunk/Embperl.pod Sun Mar 16 13:51:23 2014 @@ -1646,33 +1646,17 @@ performance. None known. -Under perl5.004 there are memory leaks. This is not an Embperl bug, -but can cause your httpd to grow endlessly when running under -mod_perl. Please upgrade to perl5.004_04 to fix this. You should -also upgrade to a mod_perl version higher than 1.07_01 as soon as -possible, because until 1.07_01 there is a memory leak in -Apache->push_handler. - - =head1 Compatibility I have tested Embperl successfully -=head2 on Linux 2.x with +=head2 on Linux 2.x/3.x with =over 4 -=item perl5.004_04 - -=item perl5.005_03 - -=item perl5.6.0 - -=item perl5.6.1 - -=item perl5.8.5 +=item perl5.005_03, 5.6.x, 5.8.x, 5.10.x, 5.12.x, 5.14.x, 5.16.x, 5.18.x -=item apache_1.3.0 - apache_1.3.31, apache 2.0.50 +=item apache_1.3.0 - apache_1.3.31, apache 2.0.x, apache 2.2.x, apache 2.4.x =item apache_ssl (Ben SSL) Modified: perl/embperl/trunk/INSTALL.pod URL: http://svn.apache.org/viewvc/perl/embperl/trunk/INSTALL.pod?rev=1578071&r1=1578070&r2=1578071&view=diff ============================================================================== --- perl/embperl/trunk/INSTALL.pod (original) +++ perl/embperl/trunk/INSTALL.pod Sun Mar 16 13:51:23 2014 @@ -77,28 +77,9 @@ they are mainly nesseccary for debugging =head2 XML and XSLT support -Starting with Embperl 2.0b4 it has a build in XSLT support. You can either -use the Apache Xerces-C and Xalan-C and/or Gnome libxml and libxslt. -Embperl is currently tested with Xalan 1.2 and libxslt 1.0.4. - -To install Xalan, download the Xalan archive for your OS from -http://xml.apache.org/dist/xalan-c/ - -For Linux it is Xalan-C_1_2-linux.tar.gz -For Solaris it is Xalan-C_1_2-solaris.tar.gz - -Extract the archive and make the shared libraries available to the system, -either by adding the directories to LD_LIBRARY_PATH or by coping them to -a library directory, e.g. /usr/local/lib and run ldconfig -v. The two -ncessary libraries can be found under - - xerces-c1_5_1-linux/lib/libxerces-c1_5_1.so - xml-xalan/c/lib/libxalan-c1_2.so - -Now you only have to enter the basepath of where you have extraced the -Xalan archive, when Makefile.PL asks you for it and proceed as normal. - -B<NOTE:> For special hints on compiling XALAN see below +Starting with Embperl 2.0b4 it has a build in XSLT support. You can +use Gnome libxml and libxslt. +Embperl is currently tested with libxslt 1.0.4 and newer. To use libxml/libxslt, download them from http://xmlsoft.org/ and install them on your system. Makefile.PL will automatically detect the installed @@ -109,9 +90,11 @@ that xml2-config and xslt-config can be =head2 Debian packages The Debian packages "libhtml-embperl-perl" and "libembperl-perl" are -maintained by Angus Lees and are available from the usual Debian +are available from the usual Debian mirrors. +To compile Embperl you need to install apache2-dev and libapache2-mod-perl2-dev. + =head2 UNIX (without Apache Source) If you have an UNIX with preinstalled Apache and mod_perl (e.g. a Linux @@ -139,6 +122,10 @@ For example in SuSE Linux 7.1 they could =back +In most cases it is sufficent to have to apache-dev and mod_perl-dev packages +from your favourite Linux distribution installed. + + Now go to the Embperl directory and start =over @@ -384,71 +371,3 @@ or you can view it online on http://perl and http://www.ecos.de/embperl/ -=head2 Compiling XALAN - -Normaly you should be fine with the binary packages that are provided for -XALAN. If you want to compile XALAN from the sources there should be normally -no problem as long as you use GNU gcc on Unix or Microsoft VC++ on Windows. - -Here are some hints how to compile XALAN 1.2 with the sun C++ 5.1: - -=over 4 - -=item * Get the sources for XERCES and XALAN - -=item * Untar the files - -Use GNU tar, solaris tar doesn't work! GNU tar can be found at -ftp://ftp.mcc.ac.uk/pub/gnu/tar/tar-1.13.tar.gz - -=item * Set the root directories - - export XERCESCROOT=/path/to/xerces-c-src1_5_1 - export XALANCROOT=/path/to/xml-xalan/c - -=item * Compile XERCES - - cd xerces-c-src1_5_1/src - sh runConfigure -p solaris -c cc -x CC - make - -=item * Patch XALAN - -There must be one typecast inserted in the following three files: - - "c/src/XSLT/ExtensionFunctionHandler.cpp", line 156 - 156c156 - < return m_functions.find(function) != m_functions.end(); - --- - > return StringSetType::const_iterator(m_functions.find(function)) != m_functions.end(); - - "c/src/XSLT/ExtensionNSHandler.cpp", line 200 - 200c200 - < return (m_elements.find(element) != m_elements.end()); - --- - > return (ExtensionSetType::const_iterator(m_elements.find(element)) != m_elements.end()); - - "c/src/XSLT/NamespacesHandler.cpp", line 366 - 366c366 - < || m_extensionNamespaceURIs.find(theURI) != m_extensionNamespaceURIs.end() - --- - > || ExtensionNamespaceURISetType::const_iterator(m_extensionNamespaceURIs.find(theURI)) - > != m_extensionNamespaceURIs.end() - - -=item * Compile XALAN - - cd xml-xalan/c/src - sh runConfigure -p solaris -c cc -x CC -z "-D__GNUC__" - make - -B<NOTE:> I found that only the above parameters to configure work. -Don't worry that __GNUC__ is defined. It works with sun C++ 5.1. -When using sun C++ 5.1 you don't need the STLPort template library. - -=item * Make the libraries available - - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/xerces-c-src1_5_1/lib:/path/to/xml-xalan/c/lib - -=item * Now you can run Embperl's Makefile.PL as described above - Modified: perl/embperl/trunk/README URL: http://svn.apache.org/viewvc/perl/embperl/trunk/README?rev=1578071&r1=1578070&r2=1578071&view=diff ============================================================================== --- perl/embperl/trunk/README (original) +++ perl/embperl/trunk/README Sun Mar 16 13:51:23 2014 @@ -1,7 +1,7 @@ Embperl - Building dynamic Websites with Perl Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de -Copyright (c) 2008-2012 Gerald Richter +Copyright (c) 2008-2014 Gerald Richter You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. @@ -148,7 +148,8 @@ perl5.10.x perl5.12.x perl5.14.x perl5.16.x -apache_1.3.x, apache 2.0.x, apache 2.2.x +perl5.18.x +apache_1.3.x, apache 2.0.x, apache 2.2.x, apache 2.4.x apache + mod_ssl apache_ssl (Ben SSL) Stronghold 2.2 --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-cvs-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-cvs-h...@perl.apache.org