summaryrefslogtreecommitdiff
path: root/lang
AgeCommit message (Collapse)AuthorFilesLines
2008-09-15Implement a proper fix for PR 39449adrianp3-15/+22
Don't leak tmp_dir in pear.conf Should also fix builk builds (pointed out by joerg@) Remove evil pear.conf handling PKGREVISION++
2008-09-15Accept none existing directory in REPLACE_RUBY_DIRS.taca1-3/+10
2008-09-15Fix interpreter for h2rb script.taca1-2/+3
Bump PKGREVISION.
2008-09-14Add fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3790taca4-2/+63
(http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/) from ruby_1_8 branch. Bump PKGREVISION.
2008-09-13* Add a note about SunOS and needing to have SUNWaudh installed toadrianp3-3/+12
compile the sunaudiodev module. * PLIST fix for SunOS
2008-09-13Add a note about SunOS and needing to have SUNWaudh installed toadrianp1-0/+8
compile the sunaudiodev module.
2008-09-13Install files to share/${PKGBASE} not ${PKGNAME}.ahoka2-36/+36
2008-09-12Make it depend on libsigsegv25 instead as its broken with 2.6.ahoka1-3/+4
2008-09-12Default EGG_NAME to ${DISTNAME} in egg.mk and drop EGG_NAME from packages thatepg1-1/+3
set it to ${DISTNAME}.
2008-09-10Add PRINT_PLIST_AWK code.epg1-1/+5
2008-09-08Properly implement the equivalent of strdup again as the portablejoerg2-4/+7
version and the src version of nawk differ in that. Complained about by Joachim Koenig, blame on me. Bump revision.
2008-09-07Add a comment warning that this package can cause bulk builds to hang.dholland1-1/+3
(I tried patching it for amd64 yesterday; it chunks along for a good while and then drops into its debugger. So it's important that ONLY_FOR_PLATFORM be set conservatively.)
2008-09-07Update to 5.1.4:wiz4-28/+33
Bugfix release.
2008-09-07Make this configure for and build on amd64.dholland2-6/+15
2008-09-07DESTDIR works, so enable it.dholland1-1/+3
2008-09-07Update to 1.5.1 and make it build on amd64. Add destdir support.dholland4-34/+31
JamVM 1.5.1 released on 10th March 2008 ======================================= A summary of changes since 1.5.0: - Implemented a new internal VM symbol framework. This ensures that all class, method, field names, etc. are unique thus removing the need to use strcmp for comparison. - Implemented a new internal VM exception mechanism for frequent exceptions thrown within the VM. - Hand-coded support for AMD64 ABI. Previously AMD64 required libffi but this is not individually packaged on some Linux distributions. On a random set of signatures the hand-coded assembler is 4.6 times faster (and jBYTEmark FP Index is 30% faster). - Ported to Darwin/ARM (i.e. the iPhone). Built using unofficial toolchain and tested on jailbroken iPhone (1.1.3 firmware) - Class initialisation/first active use fixes - initialise if first active use is object allocation via reflection (newInstance) - initialise if first active use is object allocation via JNI (AllocObject/NewObject) - The wait in step 2 of the initialisation sequence must be non-interruptible (not specified in the JVM or Java spec). - If allocation of the ExceptionInInitializerError fails, OutOfMemoryError should be thrown not the original exception - Don't resolve if initialiser throws ExceptionInInitializerError (subsequent resolution will not see the class is erroneous) - JNI_OnLoad fixes - initialise JNI local refs before calling - if JNI_FindClass is called from JNI_OnLoad, ensure correct class loader context is used. - JNI_OnUnload fixes - initialise JNI local refs before calling - If a library defines JNI_OnUnload, and the class loader which loaded it is GCed JNI_OnUnload is called and the library is unloaded. Previously this was done within the GC. If OnUnload allocated objects it could corrupt the heap. Dummy unloader objects are now created, and JNI_OnUnload is called from the finalize method by the finalizer thread. - Fix variable argument passing of floats When calling Java methods from native code - Rework VM initialisation/start-up sequence - Fix for JNI_ThrowNew and exceptions loaded by non-bootstrap classloader - Fix for JNI_GetMethodID and object/class initialiser methods (do not search class hierarchy) - During resolution throw IllegalAccessError and not IllegalAccessException - handle loadClass returning null without throwing exception - Fix for running Jar files where the main class is package-protected - Interpeter inlining changes - Do not inline class initialisers (<clinit>). No performance improvement as they are only ran once. Reduces memory usage - Fix for class unloading when inlining disabled (-Xnoinlining) - Bump java.specification.version to 1.5 - Improve error messages if VM aborts during initialisation - During configure, do not disable zip/jar file support if zlib library or header can't be found (now aborts). Users never saw the warning and they ended up with a build which "didn't work". - Various compiler warnings. JamVM 1.5.0 released on 28th October 2007 ========================================= A summary of changes since 1.4.5: - Substantially modified the interpreter to implement inline-threading (also known as super-instructions or code-copying). This copies code sequences together to produce native code that executes without the normal interpreter dispatch overhead (similar to a simple JIT). - Supported on i386, AMD64, PowerPC and ARM, with or without stack- caching. It is enabled by default on i386, AMD64 and PowerPC. - Performance improvement upto 300% on Pentium 4 (NetBurst), and upto 200% on Athlon 64. Less on Core 2 Duo (upto 70% faster as it has indirect branch prediction), and PowerPC which was already very optimised (upto 30% faster). - Tested on gcc 3.4 (i386, AMD64, PowerPC), 4.0 (i386), 4.1 (i386, AMD64, PowerPC, ARM), 4.2 (i386, AMD64) - Several new command line options to control inlining: -Xreplication : determines whether duplicate code sequences are replicated or shared. Can be set to 'none' (no replication), 'always' (all sequences are copies) or a threshold value (e.g. 10, when sharing of a sequence reaches the threshold the sequence is replicated). -Xcodemem : the maximum amount of memory for super-instructions. Once the maximum is reached no new super-instructions are generated but existing super-instructions are reused (class unloading will also free unused sequences). Can be set to a value or 'unlimited'. This option can be used to limit code memory on systems with little RAM (i.e. embedded). -Xshowreloc : debugging option, which shows which opcodes were determined to be relocatable, and for opcodes which aren't why they aren't relocatable. When using stack-caching there are three versions of each opcode (for 3 stack-cache levels). -Xnoinlining : turns off inlining (equivalent to setting codemem to zero). - Opcode relocatability is determined by default at build time, but this doesn't work when cross-compiling (so inlining is disabled). Relocatability can be determined at runtime using configure option --enable-runtime-reloc-checks, but this increases executable size by approx 30%. - Command line options -version and -showversion now shows build information. This includes the execution engine (e.g. inline- threaded interpreter with stack-caching), the gcc version which was used to compile JamVM (useful for debugging) and the "built in" boot library path and classpath. - Ported to ARM systems using EABI. This is a full port, with hand- coded assembler to handle the construction of a call-frame for calling JNI native methods. - Refactored GC to remove all possible calls which may deadlock with threads suspended in "unsafe" operations. This includes use of malloc/realloc/free and pthreads operations. - In allocClass() check if gcMalloc() returns NULL (i.e. OOM). - Copy Sun's behaviour when dealing with an empty property key or no equals after key. - Add java.util.concurrent.atomic.AtomicLong.VMSupportsCS8. - In method and field access checks, put back in access check for class (removed previously because it caused regressions, since fixed in Classpath). - Enable suspend on thread creation (parent thread created thread with suspension disabled). Effects threads which immediately call a long running native method. - Fixed race condition in thread creation and compaction (start function obtains class reference when it is not suspendable, if compaction occurs, the reference may be threaded, or moved). - Fix potential deadlock in threadInterrupt under Linuxthreads. - Protect lock operation in resetPeakThreadsCount(). - In createJavaThread(), re-enable suspension if pthread_create fails. - Fix race-condition in thread deletion. - Fix bug in hash table "scavenge". This could lead to entries not being freed, and exhaustion of Monitors on embedded systems. - Removed use of malloc/free in thread dump. Removes potential deadlock with threads suspended in malloc/realloc/free. - Added symbolic link from lib/rt.jar to Classpath's glibj.zip (fixes programs such as ecj which locates rt.jar via java.home). - Bumped Java compatible version to 1.5.0 as Classpath is now the generics branch (since Classpath 0.95).
2008-09-07Use ${INSTALL_ENV} instead of passing DESTDIR explicitly, at thedholland1-7/+5
suggestion of bjs@.
2008-09-07Refine previous slightly; it can now actually configure libjavadholland1-2/+3
library, and it might build for i386, although x86_64 is still pretty broken.
2008-09-07Make this configure for NetBSD amd64. While here, add DESTDIR support.dholland9-9/+138
2008-09-07And now, add some logic so if gcc declines to configure libjava, asdholland1-1/+4
happens by default on amd64, the build will fail instead of silently skipping it.
2008-09-07Changes that should result in DESTDIR support, only the package is toodholland1-8/+10
broken to test fully, so I've left PKG_DESTDIR_SUPPORT commented out.
2008-09-07Add DESTDIR support.dholland1-7/+12
2008-09-07Add some bits to the previous commit's destdir support, so install nowdholland4-13/+25
works consistently. Should fix broken bulk builds. Update PLIST accordingly && PKGREVISION++.
2008-09-07Add DESTDIR support.dholland3-10/+34
2008-09-07Fix broken build arising from C++ version skew.dholland2-1/+15
2008-09-07Fix broken build caused by invalid shell syntax in a configure script.dholland7-13/+93
While here, patch a couple 64-bit issues and add destdir support. The latter involved making some absolute symlinks relative, which changes the binary package, and someone might have built this revision with a version of bash accepting the invalid script syntax, so PKGREVISION++.
2008-09-06Mark this not available on sparc64 and x86_64 as well as alpha; it isdholland1-2/+3
thoroughly 32-bit only. It *might* work if someone rebuilt the boostrap files with a suitable Scheme compiler capable of generating 64-bit-clean C code. But someone who knows Scheme better than I do will have to figure that out.
2008-09-06Replace perl and sed interpreter in installed scripts.ahoka1-1/+10
2008-09-05Fix broken 64-bit build, and patch makefile to stop on error. Theredholland15-3/+332
are a lot of woolly things going on here, so PKGREVISION++ as a precaution.
2008-09-05Fix broken 64-bit build. Add destdir support.dholland23-19/+438
PKGREVISION++, because I changed some things around.
2008-09-02Change /tmp directory used on installation (fix for PR 39449)adrianp3-6/+7
2008-09-02Fix one pkglint warining, remove unwanted tail of slash for @dirrm.obache1-2/+2
2008-09-01Merge fix for Bug 418620 (SVN revision 111276) - Sys.Web is prone tokefren4-3/+96
"HTTP header injection" attacks
2008-08-31Mark this NOT_FOR_PLATFORM on 64-bit platforms; it is severely broken.dholland1-1/+4
2008-08-31lang/gambc and lang/scheme48 are conflict with bin/scheme-r5rs.obache2-2/+8
Noticed by Aleksej Saushev in PR 39403.
2008-08-30Add security patches for CVE-2008-2315, CVE-2008-2316, CVE-2008-3142 andtron22-9/+1003
CVE-2008-3144 (this one shouldn't affect platforms supported by pkgsrc) all taken from Gentoo. Bump package revision.
2008-08-30patch-aa (with dragonfly config) got merged upstream. Applying thedholland3-38/+3
patch with a more tolerant version of patch (like netbsd's) gives two copies of the definitions in the same file, with who knows what consequences. Applying the patch with a less tolerant version of patch fails. So, remove it, and bump PKGREVISION just in case.
2008-08-28Add destdir support and mark not make jobs safe.ahoka3-15/+61
Submitted by Aleksej Saushev in PR pkg/39406.
2008-08-26As dholland pointed out, don't leak memory when FS needs resizing morejoerg2-3/+5
than once. Bump revision again.
2008-08-26Remove hard-coded limit on FS. Merge minor performance improvements.joerg4-12/+20
Bump revision.
2008-08-26Remove junk.joerg1-88/+0
2008-08-19Use pax instead of requiring GNU tar.joerg6-26/+45
DESTDIR support Fix unbalanced ' in configure.
2008-08-19Remove trailing ' to unbreak shell scripts.joerg4-10/+37
2008-08-19MAKE_JOBS_SAFE=noahoka1-1/+2
Reported by Aleksej Saushev.
2008-08-17Add a comment about the changed behaviour in include_path WRT php{4,5}adrianp1-1/+3
packages.
2008-08-17This adds ${PREFIX}/lib/php to the default include_path in php.iniadrianp2-3/+10
which makes integration with PEAR a little simpler. PKGREVISION++
2008-08-17Fix this to not compile in the pkgsrc dummy $HOME. (Patching lisp code,dholland3-2/+38
whee.) PKGREVISION++.
2008-08-17Set interpreter properly in the bash script this installs.dholland1-3/+4
PKGREVISION++.
2008-08-15Update to Java 5.0 Update 16. Fixes a number of security vulnerabilities.he6-26/+28
Also updates some root certificates and imports tzdata2008b. Sun's release notes are at http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_16
2008-08-12add lang/ecltnn1-1/+2