Commit graph

4326 commits

Author SHA1 Message Date
joerg
251295c87f Supports DESTDIR installation. 2007-09-06 19:56:16 +00:00
rillig
43ba2d75f0 Don't assume any pre-installed perl5. This is necessary for pbulk builds
when Perl is installed in the "outer" pkgsrc. Otherwise, references to
the pbulk directory are stored in the binary package.
2007-09-06 16:31:38 +00:00
jdolecek
4c7816b248 remove ${WRKSRC}/INSTALL before creating ${WRKSRC}/install, so that this would
build on case-insensitive filesystem
2007-09-05 19:46:55 +00:00
joerg
15e7481621 Fix version. 2007-09-05 01:06:07 +00:00
jdolecek
ccd4418385 load extensions via dlopen(), in preference to using NsLinkModule() et.al. on Mac OS X,
so that symbols of loaded modules are available for other, dependant modules;
dlopen() is native function since 10.4, so actually apparently preferable interface
now

this is necessary for PDO family of modules (pdo_* depends on symbols of PDO module),
and for XSL module (which depends on symbols of DOM module); doing it this way
allows for PDO and DOM modules to be also shared and dynamically loaded, this avoids
need to compile them into main PHP binary

bump PKGREVISION, this is functionality change for Mac OS X (no change for other
platforms)
2007-09-04 23:39:31 +00:00
jdolecek
557cbfbaf1 install PHP unstripped on Darwin/Mac OS X, so that modules load properly; bump
PKGREVISION

PR: 36869 by Louis Guillaume
2007-09-04 22:12:23 +00:00
obache
0bb1707783 Fixed build error.
Patch provided by Aleksej Saushev in PR 36888.
2007-09-03 16:28:56 +00:00
obache
f667a7e4a0 Update smalltalk to 2.3.5.
List of user-visible changes in GNU Smalltalk

NEWS FROM 2.3.4 TO 2.3.5

o   Added more examples of continuations.

o   Fixed a floating-point accuracy problem in the test suite.

o   Fixed a 64-bit cleanliness problem in the GDBM bindings.

o   Generational GC enabled on x86_64.

o   Support for writing a block with arguments and no statements
    as [ :a :b ] in addition to [ :a :b | ].

o   The StreamFilter.st example, which provided lookahead, filtering,
    concatenation and other kinds of manipulation for Streams, has been
    promoted into the default image.

-----------------------------------------------------------------------------

NEWS FROM 2.3.3 TO 2.3.4

o   Behavior>>#evaluate: and MethodDictionary>>#removeAt:ifAbsent: would
    cause the method dictionary's size to double.  This caused sometimes
    spurious failures in floatmath.st.

o   Fixed bug in LargeInteger division on systems not equipped with GMP.

o   Fixed bug in socket #nextHunk implementation, which lost the first
    or second byte in the input buffer.

o   Fixed paths in the image when "make DESTDIR" was used.

o   Fixed implementation of Dictionary>>#addAll:, and fixed Integer>>#binomial:
    when the argument is 0 or self.

o   Fixed various minor bugs and imprecisions in the documentation.

o   Improvements to the ancillary scripts gst-load and gst-sunit.  In
    particular, a package can describe the classes that constitute its
    testsuite, and gst-sunit allows to quickly run the testsuite for a
    package.

o   Improvements to the test suite.  Several of the modules included with
    GNU Smalltalk are tested.  The testsuite is now written using Autotest.

o   Some libffi files (for IA64 and PA) were missing from the distribution.

o   Upgraded libsigsegv, for improved Mac OS X on Intel support

o   zlib bindings provided in package ZLib.

-----------------------------------------------------------------------------

NEWS FROM 2.3.2 TO 2.3.3

o   Introduced the --with-imagedir configure option to specify the directory
    used for the image.

o   The manual was not properly generated in version 2.3.2.

o   Removed text relocations from the virtual machine's shared library.

-----------------------------------------------------------------------------

NEWS FROM 2.3.1 TO 2.3.2

o   #copyFrom:to: is uniformly 0-based for all Streams (unlike in Collections),
    because a Stream has 0-based #position and #position: methods.

o   Fixed many floating point rounding bugs in LargeIntegers and Fractions,
    thanks to Nicolas Cellier.

-----------------------------------------------------------------------------

NEWS FROM 2.3 TO 2.3.1

o   configure does not lock up when the system emacs is XEmacs and does not
    include both the comint package and the package's source code.

o   Fixed a garbage collection bug that typically occurred when installing
    GNU Smalltalk, or when launching the installed image.

o   gst-package honors the INSTALL command found by configure.

o   gst-config does not "forget" to prefix the library directories with -L.

o   Segmentation violations on large integer operations (on 64-bit hosts)
    were fixed.

-----------------------------------------------------------------------------

NEWS FROM 2.2 TO 2.3

IMPORTANT: GNU Smalltalk now adds an explicit exception to the GNU GPL
license, allowing the programs running under the virtual machine to use
a GPL-incompatible license.  This exception is used both by the
virtual machine and by the library bindings included in GNU Smalltalk.
This clears gray areas when a Smalltalk program is using functions
in the external library bindings via dynamic linking and the foreign
function call interface (C call-outs).


o   C call-outs returning #void now return self rather than nil.
    Performance of code heavily using C call-outs has improved.

o   FileStreams can now use pwrite for more efficient operation on files
    opened for read/write, and will do many less gratuitous lseek
    operations.  pread will also be used by FileStream>>#copyFrom:to:.
    The number of system calls issued when generating the documentation,
    for example, is reduced by a third.

o   Fixed bug in methods containing both -0.0 and 0.0 (positive and negative
    floating-point zero).

o   Fixed bug in Directory class>>#create:, that could not create a
    directory relative to the current directory.

o   Fixed bug in File>>#touch, which did not work really.  There are also
    methods to modify a file's atime and mtime.

o   Fixed bug in SortedCollection.  After #removeAtIndex:, adds would leave
    the collection unordered.

o   Fixed many more bugs.

o   Introduced a method to efficiently convert a WriteStream into a ReadStream.
    It is called #readStream and makes WriteStream more polymorphic with String.

o   Introduced two more class shapes, #character and #utf32, that can be used
    for String and UnicodeString.

o   More reliable detection of at-end-of-file condition for pipes, TTYs,
    and so on (especially on Mac OS X), and of sockets closed by the peer.
    Due to incompatibilities between various OSes, you are advised to test
    end-of-stream conditions *before* rather than after reading a character
    from stdin.  In 2.2, either way would work, but serious bugs were
    found on Mac OS X unless stdin was redirected from a file.

o   Moved gdk_draw_ functions to GdkDrawable.

o   New goodie to parse the command line.  Look at the documentation for
    the Getopt class and for SystemDictionary>>#arguments:do:.

o   New example, lazy collections.  When loaded, #select:, #reject: and
    #collect: do not create a new collection unless necessary.  Idioms like

	(a select: [ :each | ... ]) do: [ : each | ... ]

    or

	a := a select: [ :each | ... ].
	a := a reject: [ :each | ... ].
	a := a select: [ :each | ... ].
	^a size

    can be much faster when this example is loaded.

o   Regular expressions are now included in the default image.  The interface
    is now definitive and is similar to 2.2.  The concrete classes for
    RegexResults are in a private namespace (since the user need not
    instantiate them anyway).  Right now, regular expressions are only
    usable for String objects (see Unicode support below).  This may
    change in the future.

o   The backtraces now omit again the internal methods in the exception
    handling system.

o   The class above which super-send bytecodes start searching is now embedded
    in the bytecode stream.  This provides the infrastructure to implement
    'here' as in Smalltalk/X or 'self.Foo b' to execute the Foo>>#b method
    (these possible extensions have not been implemented).

o   The header files compile cleanly with a C++ compiler.  For the occasion,
    the preferred name of the old `mst_Object' has changed to `gst_object'.

o   Various speedups.


Unicode support:

o   Characters above 127 are no longer used to represent extended ASCII
    characters.  Instead, they are only used to represent a byte in
    the encoding of the Unicode characters from 128 on.  To create
    them use the Blue Book method Character class>>#value:.

    To represent Unicode characters above 127 use the (ANSI Smalltalk)
    Character class>>#codePoint: method.  Note that these characters
    *cannot* be shown on a stream with #nextPut: (use #display: instead)
    nor compared with #== (use #= instead).

    Character literals like $+ or $A are guaranteed to create normal
    "Character" objects, for which you can safely use #nextPut:.  Right
    now, these are valid only for characters between 0 and 127.  To create
    Character literals for unicode characters, use the new syntax to
    express characters using their Unicode code point.  This may be
    extended in the future to support Unicode character literals.

    A ``safe'' way to obtain the character whose encoding is between
    128 and 255 is this (which requires the Iconv module to be loaded):

        ##('<your character>' asUnicodeString first)

    (This snippet has no shortcut by design because, in general, converting
    a Character to a UnicodeCharacter is not a well-defined operation).

o   New UnicodeCharacter and UnicodeString classes.  These new classes
    can also be passed to and received from C functions.  See the
    manual for more information.

o   New syntax $<13> to express characters using their Unicode code point.
    As anticipated, this syntax will create instances of the new UnicodeCharacter
    class when the number is > 127.

o   Part of the I18N module was separated into the Iconv module, which
    provides support for printing Unicode characters and strings correctly.


Other goodies:

o   NCurses bindings, contributed by Brad Watson.

-----------------------------------------------------------------------------

NEWS FROM 2.1.12 TO 2.2

Scripting improvements:

o   A sharp-bang sequence at the beginning of a file is parsed as a
    one-line comment.

o   Provides an "-f" option (long option "--file") to be used in a #! line,
    as in "#! /usr/bin/env gst -f", which has the same effect of -Q,
    processing the file indicated by the option's argument, and passing
    the rest of the command line to GNU Smalltalk.  In other words, the
    two invocations that follow are equivalent:

	gst -f script.st ARG1 ARG2
	gst script.st -Qa ARG1 ARG2

o   Load.st installed as gst-load, Reload.st installed as gst-reload,
    Test.st installed as gst-sunit.


VM changes:

o   Can define subclasses of CompiledMethod and have a method invoked on
    the instances whenever the method is called.

o   Can pass a "void **" to C using the #cObjectPtr parameter specifier
    (previously undocumented and broken).

o   The #class method can be overridden.  This is useful for example
    for debuggers and proxies.

o   Code for decoding/interpreting the bytecode set is for the most part
    automatically generated.  Take a look at the ``genbc'' and ``genvm''
    programs if you are going to write an high performance interpreter, and
    write to the mailing list for any information on them or on the other
    program ``superops'' (this one is much more specialized).

o   CompiledBlocks and CompiledMethods are read-only.

o   Dollars are allowed in the middle of identifiers and method names.
    This is unportable, so do not abuse it.  As with underscores, it is not
    possible to use them at the beginning of an identifier or method name.

o   Fixed bug that caused the compiler to accept duplicate argument or
    temporary names.

o   GCC needed to compile GNU Smalltalk.

o   gst_smalltalk_args accepts a const char **.

o   Improved clarity and portability using intptr_t, size_t and ptrdiff_t
    more widely and wisely.

o   Indexed instance variables can be 8-bit and 16-bit, signed and unsigned
    integers; or they can be 32-bit and 64-bit, signed integers and unsigned
    integers and floating point values; or objects of course.  Previously
    the only three possibilities were objects, 8-bit unsigned ints, and
    pointer-sized unsigned ints.

o   Instance variables are scanned backwards: if a subclass declares an
    instance variable with the same name of the superclass, it wins when
    compiling code in the subclass (fixes the so-called "fragile subclass"
    problem).

o   Keywords and parameters need not be separated by a space (as in
    `self x: y z:w').

o   New bytecode set.  This is a significant departure from the Blue Book's
    instruction set, and it improves performance by ~20%.  Over 150 common
    bytecode sequences are optimized, saving on dispatching overhead and
    minimizing the cost of decoding arguments.

o   Options -l and -L (--log-changes and --log-file) are no more.  The
    change log is not useful outside the GUI, while inside the GUI it
    ought to be maintained by the GUI itself.

o   Option -s is no more.  It was made the default in 2.1.5.

o   Passing floating-point arguments to C works.

o   Prefetching instructions are used wherever supported (Alpha, SPARC,
    PPC, AMD K6 or newer, Intel PIII or newer, all with GCC 3.2).  This
    speeds up the startup by up to 20%.

o   Instances of subclasses of CompiledBlock and CompiledMethod can be
    created using the same primitive that creates CompiledBlocks and
    CompiledMethods, but sent to the subclass.

o   Several important bug fixes in event handling and asynchronous file
    input/output.

o   Subclasses of MethodInfo can be used as the descriptors for CompiledMethod
    objects.

o   Two-character binary messages ending with a minus are scanned differently
    if followed by a number: "1+-2" is now read as "1 + -2", not "1 +- 2".
    This is what you would usually expect; however, including spaces explicitly
    is recommended.

o   When GCC 3.3 or later is used, a shared library is also built.  The
    code has been to some extent optimized to make this less expensive, but
    the shared library still has a 5-10% performance hit.  Note that the x86
    shared library is undebuggable (-fomit-frame-pointer) with GCC < 4.0
    because of the dearth of registers.  The installed virtual machine is not
    linked to the shared library for optimal speed.

o   Wider set of operations available to modules that plug into GNU Smalltalk,
    including access to system classes, queries on the method dictionaries,
    and access to indexed instance variables.



Smalltalk changes:

o   CLongDouble class allows one to access long doubles; long doubles are
    supported by CStruct, Memory and ByteArray as well.

o   CompiledCode>>#literalsDo: does what CompiledCode>>#allLiteralsDo:
    used to do.  CompiledCode>>#allLiteralsDo: recurses into literal
    arrays.

o   Glorp, a layer for mapping objects to relational databases, is provided
    and integrated with the MySQL driver.

o   GNU Smalltalk includes a mechanism for defining security policies
    on a class-by-class basis.  See below for more information.

o   Interval can return a #first and #last even if the Interval is empty.
    These are the start and stop object that it was created with.  The
    private methods #start, #stop and #step have thus been superseded by
    #first, #last and #increment.

o   #min: and #max: always return a NaN when one of the two operands is
    a NaN; previously they would always return the other operand.

o   New syntax for C call-outs, can be transparently filed out from the
    image and then filed back in.  See the documentation or the
    kernel/CFuncs.st file for more information.

o   PackageLoader can be told the namespace in which to load the package.
    Most package loading scripts are now no longer necessary or can be
    reduced to simple initialization duties.

o   #raisedToInteger: is better optimized and does the minimum number of
    multiplications for exponents up to 256.

o   SequenceableCollection has a more efficient implementation of #fold:,
    as well as #second, #third, and #fourth (and I'm going to stop here!).

o   #return and #return: now reinstate exception handlers, which will
    therefore be active while executing pending #ensure: or #ifCurtailed:
    blocks.

o   Stored CompiledBlocks into the method's literal frame for non-clean
    blocks, and turned #blockCopy: into a `make dirty block' bytecode
    without introducing a method of unclear utility.  This is a little
    faster and (consistently) saves around 1% on image files.

o   The syntax for primitives has been generalized into a "method attribute"
    mechanism; pragmas are accessible through methods in CompiledMethod.

o   The thisContext variable is compiled as a message send like
    "ContextPart thisContext".

o   When a send to super fails, #doesNotUnderstand: is also sent to super
    and not to self.  This change is experimental; these semantics look more
    coherent to me.  As a result (think about it...) sends to super from a
    root class are now forbidden.

o   When a non-existing message is sent with the wrong number of arguments
    (using #perform:), #doesNotUnderstand: is invoked.  In the past, the
    wrong number of arguments error would have been printed.  The reason
    for this is to allow selector names that would be invalid for the
    Smalltalk language.


Work in progress:

o   Blox-GTK interface, to use the browser under Gtk+.  Currently, only
    the browser works; to try it, configure with --enable-gtk=blox or
    load the BloxGTK package.  Thanks to Robert Collins.

o   GNU Smalltalk now supports executing (some) Java programs.  See the
    info documentation for more information.  The class library is based
    on GCJ 3.4, but should be reasonably upwards-compatible.  There is no
    AWT nor JNI support, and it is not planned; networking, reflection and
    serialization are not there but should be added in the future.


Overview of the security mechanism:

o   Implemented class-level permissions.  Each class can have its own
    permission set, and if this is not trivial (all-allowed) the class
    is marked untrusted; then instances of that class, as well as contexts
    that have at least an untrusted object as the receiver in the sender
    chain, are considered untrusted.  In the future, security checks will
    be made for untrusted objects in such methods as

	C call-outs				[#memoryAccess]
	CObject class>>#alloc:			[#memoryAccess]
	CObject class>>#alloc:type:		[#memoryAccess]
	CObject>>#free				[#memoryAccess]
	CObject>>#at:				[#memoryAccess]
	CObject>>#at:put:			[#memoryAccess]
	Memory>>#at:				[#memoryAccess]
	Memory>>#at:put:			[#memoryAccess]
	FileDescriptor>>#fileOp:...		[#io]
	ObjectMemory>>#snapshot:		[#io]
	ObjectMemory>>#quit:			[#system]
	ObjectMemory>>#abort			[#system]
	ObjectMemory>>#setSpaceGrowRate:	[#system]
	ObjectMemory>>#setSmoothingFactor:	[#system]
	ObjectMemory>>#setGrowThresholdPercent:	[#system]
	ObjectMemory>>#setBigObjectThreshold:	[#system]
	ObjectMemory>>#growTo:			[#system]
	Object>>#makeUntrusted:			[#securityManagement]
	Object>>#instVarAt: 			[#debugging]
	Object>>#instVarAt:put:	           	[#debugging]
	Object>>#perform:... 			[#debugging]
	Object>>#changeClassTo:			[#debugging]
	Process>>#suspend			[#processManagement]
	Process>>#resume			[#processManagement]
	UndefinedObject>>#subclass:... etc...	[#system]
	Class>>#subclass:... etc... (mutation)	[#system]
	Metaclass>>#instanceVariableNames: 	[#system]
	MethodDictionary>>#at:put:		[#system]

o   Instance variables of an untrusted class that are declared by a trusted
    class are read-only.  This is necessary to avoid that a misbehaving
    class method screws up the instance variables of Behavior that are known
    to the VM.

o   Methods are verified.

o   Permissions can be granted by a method to its callees if the method's
    definition class owns those permissions.  This can be used to invoke
    trusted C call-outs.

o   Primitives cannot be declared for untrusted objects (this might be
    fine-grained in the future).


-----------------------------------------------------------------------------

NEWS IN 2.1.12

This is a bugfix release.  It fixes several problems on 64-bit systems.

-----------------------------------------------------------------------------

NEWS IN 2.1.11

This is a bugfix release.

-----------------------------------------------------------------

NEWS IN 2.1.10

This is a bugfix release, but with this visible change:

o   PackageLoader supports loading package source code from multiple
    directories.

    Directory packages.xml is in       Directories looked in
    /usr/share/smalltalk               /usr/share/smalltalk
                                       parent of local kernel directory, if any
                                       image directory
    parent of local kernel directory   parent of local kernel directory
                                       image directory
    image directory                    image directory

o   Directory>>#append:to: supports passing an absolute path as the file
    name (first argument).  In this case, the file name itself is returned.

This release works under MacOS X 10.3 and 10.4 as well.  It also works
around bugs in MacOS X Tiger's poll function.
2007-09-03 13:36:28 +00:00
tron
91381d836a Stop the path to the wrapper "sed" script from ending up in "php-config".
Bump package revision.
2007-09-03 11:48:44 +00:00
wiz
1374ac631c Reset maintainer: SMTP connections to comet.lbl.gov time out. 2007-09-03 06:12:43 +00:00
jdolecek
9e483171bf fix build of php-bz2 on Mac OS X 2007-09-02 21:13:43 +00:00
jdolecek
465b8d375c Update lang/php5 to 5.2.4 - miscellaneous security fixes and over 120 other
bug fixes
2007-09-02 21:12:40 +00:00
jlam
213551bd50 * Convert to use the pkgsrc emulator framework. This allows NetBSD/amd64
to install and use this NetBSD/i386 JRE/JDK distribution.

* Make the scsl-* packages look more like the sun-* JRE and JDK packages.

* The scsl-jre15 package was built on NetBSD-2.0.x and needs libstdc++.5.0,
  so require netbsd>=2.0.  Bump the PKGREVISION of scsl-jre15 to 1 to
  reflect the potential new dependencies on the compat20 and compat30
  packages.  This addresses part of PR pkg/36797.
2007-08-30 17:52:48 +00:00
jlam
3544f37c8d If running native Linux, fail to install if the X11 libraries aren't
available "somehow" -- for X11_TYPE == "native", then just fail,
otherwise for X11_TYPE == "modular", then build the libX11 package to
satisfy the library requirements for "javaws" and "policytool".

This fixes pkg/36838 reported by Ondrej Tuma.

Bump the PKGREVISIONs for sun-jre14, sun-jre15, and sun-jre6.
2007-08-27 21:51:22 +00:00
jlam
bdbf6fabaf Add checksums for the Linux AMD64 JDK 5 update 12. 2007-08-24 16:08:49 +00:00
rillig
3eba055a93 Added PYTHON to ALL_ENV, since otherwise many packages may be confused
by other Python installations.
2007-08-24 07:14:28 +00:00
jlam
c1ef32dc2d We always install into "i386", not ${MACHINE_ARCH}, which would be wrong
on amd64.
2007-08-23 18:46:36 +00:00
jlam
081c0f8957 Allow a nicer syntax for expressing needing at least a certain version
of an emulated operating system.  Instead of proliferating things like
SUSE_VERSION_REQD, NETBSD_VERSION_REQD, SOLARIS_VERSION_REQD, etc., a
package can say:

	EMUL_REQD=	suse>=9.1 netbsd>=2.0 solaris>=10

all in one, succinct line.
2007-08-23 18:20:30 +00:00
agc
492b007d10 Set MAKE_JOBS_SAFE=no, per Francois Tigeot in PR 36801 2007-08-22 16:03:58 +00:00
jlam
ee8ef2f817 Don't bother stating that we need COMPAT_LINUX, as the packages we
depend upon to supply the Linux shared libraries already tell the user
this.  The JDK packages also depend on the corresponding JRE package,
so they don't need to show the same message -- keep the message with
the JRE packages instead.
2007-08-22 14:49:21 +00:00
jlam
505cbc4440 Fix error that happened during conversion to the emulator framework:
the Sun JDK/JRE packages require the "compat" Linux module, so make
that a hard requirement in EMUL_MODULES.linux.

Bump the PKGREVISION for sun-{jdk,jre}{13,14,15,6}.
2007-08-22 14:03:47 +00:00
agc
446a0e15d2 Add DESTDIR support 2007-08-20 21:42:26 +00:00
obache
267d236655 Substitute of PLIST was converted to PLIST_SUBST framework at previous commit.
No need to define PLIST_SRC anymore.

Fixes installation problem in PR 36805.
2007-08-19 11:53:33 +00:00
rillig
e098c81361 Matt Fleming said on tech-pkg that this package builds and installs find
on Darwin-*-i386.
2007-08-18 23:39:26 +00:00
veego
22858a310b Add a @dirrm java/sun-1.5/lib/deploy to the i386 PLIST, because the last
update had a new file (java/sun-1.5/lib/deploy/ffjcext.zip) which cause
a problem during pkg_delete.
PKGREVISION++
2007-08-18 17:31:50 +00:00
heinz
174f668679 Fixed typo. 2007-08-18 06:03:14 +00:00
joerg
0349dd5631 Mark as DESTDIR save and fix modular Xorg build. 2007-08-17 22:27:15 +00:00
joerg
8e69f20134 Modular Xorg and DESTDIR support. 2007-08-17 22:13:56 +00:00
joerg
29a80a3a24 Add DESTDIR support. 2007-08-16 00:31:21 +00:00
taca
637a6903f1 Handle safer mremap(2)'s flags parameter on NetBSD.
Patch supplied from Matthias Drochner.

Bump PKGREVISION.
2007-08-13 16:41:34 +00:00
ghen
13ea59af42 Adjust the documented default PHP version to the actual default. 2007-08-13 14:46:30 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
wiz
4f4a027f7c Update to 1.60, provided by Blair Sadewitz in private mail.
* JS 1.6.0 is based on the same branch (1.8.0.9) as Firefox 1.5.0.9
and includes the same stability and security fixes.

* JS 1.6.0 includes support for JavaScript 1.6 with support for
  E4X, several new Array methods, and Array and String generics.
2007-08-12 03:04:32 +00:00
joerg
3d18e6981d Explicitly specify --root=/ for the non-DESTDIR case so that setuptools
shuts up. Fixes PR 36758.
2007-08-10 13:49:08 +00:00
pooka
37ccd33e48 add MAKE_JOBS_SAFE=no
patch from Aleksej Saushev in PR pkg/36752
2007-08-10 08:25:58 +00:00
joerg
37fcba077c EGGNAME -> EGG_NAME for consistency. 2007-08-09 13:25:31 +00:00
joerg
2a3a65e1e2 Add some basic infrastructure to manage Python eggs in pkgsrc.
We use the flat installation mode (e.g. no multiple versions by
default) by default. That avoids having to run DEINSTALL/INSTALL
scripts and allows DESTDIR installation.
2007-08-09 13:24:12 +00:00
joerg
ed44b8fd11 Add forgotten patch to kill malloc.h. 2007-08-08 21:43:35 +00:00
joerg
61395cb336 Don't use malloc.h. 2007-08-08 19:48:13 +00:00
abs
ba26e1e7ef Update lang/sun-jdk15 from sun-jdk15-5.0.11 to sun-jdk15-5.0.12
Update lang/sun-jre15 from sun-jre15-5.0.11 to sun-jre15-5.0.12

i386 fully tested. amd64 by inspection

Bug fixes since 5.0.11 below

6451451 	hotspot 	compiler2 	EXCEPTION_ACCESS_VIOLATION caused by -XX:+AggressiveOpts flag in Bigapps ATG test for 1.5.0_08b03
6472714 	hotspot 	compiler2 	crash compiling com.sun.jndi.ldap.sasl.LdapSasl::saslBind
6487381 	hotspot 	compiler2 	Additional path for 5.0 jvm crash on exhaustion of CodeBuffer
6502317 	hotspot 	compiler2 	Deoptimization code of Java 1.5.x looks leaking memory.
6297094 	hotspot 	compiler2 	The result type of Class.getModifiers is labeled as a "boolean" to the optimizer instead of "int"
6471004 	hotspot 	compiler2 	Incorrect displacement check for short branches.
6519527 	hotspot 	compiler2 	PartialSubtypeCheckNode without a control edge could get scheduled too high (5.0)
6518092 	hotspot 	compiler2 	1.5.0_05 crash in method::handler_for_exception_and_pc
6454444 	hotspot 	compiler2 	SEGV on solaris-i586 -server running ConcurrentQueueLoops
6461827 	hotspot 	compiler2 	Performance: java.lang.Class.isAssignable
6472335 	hotspot 	garbage_collector 	Allocation of huge array which would cause OutOfMemoryError causes JVM to hang with -Xincgc
6468516 	hotspot 	garbage_collector 	CMS: deal correctly with concurrently cleared or enqueued Reference objects
6487931 	hotspot 	runtime_system 	JVM reports EXCEPTION_FLT_STACK_CHECK when calling a Java method through JNI
6502780 	java 	build 	Adjustment jprt rules
6459676 	java 	classes_2d 	JDK 1.5 should flush metrics caches when using alternate composite fonts
6353972 	java 	classes_2d 	REGRESSION: GUI fails to paint text with large heap size setting
6500903 	java 	classes_2d 	PrintServices are incorrectly listed as "not accepting jobs"
6542419 	java 	classes_2d 	SharedMemoryPixmapsTest.sh failed on 5.0u12b02 but passed on previous one
6405311 	java 	classes_awt 	XtVaSetValues call does not work when running in 64-bit Java 1.5 on Linux
6473485 	java 	classes_awt 	No keyboard focus in a focusable JWindow
6496958 	java 	classes_awt 	incorrect backoff in the process of dispatching lw requests queue
4052517 	java 	classes_lang 	(process) Runtime.exec won't execute programs belonging to other groups on Unix
6370080 	java 	classes_lang 	(ann) Method.getAnnotations() sometimes throw SecurityException: doPrivileged or javadoc missing?
6480566 	java 	classes_management 	TEST_BUG: several tests fail because TESTVMOPTS are passed to javac directly
6415062 	java 	classes_net 	30 MB memory trashed to get 30 kb string url encoded
6446855 	java 	classes_net 	https connections failing when connecting through a proxy
6347873 	java 	classes_nio 	(so) Ports opened with ServerSocketChannel blocks when using Runtime.exec
6321453 	java 	classes_security 	Remove GTE CyberTrust root CA cert after it expires
6495567 	java 	classes_sound 	CR 4964288 (sound, Unexpected IAE raised while getting TargetData) is not fixed in windows-amd64 JDK
6498661 	java 	classes_sound 	api/javax_sound/sampled/TargetDataLine/index.html#TargetDataLine fails
5036146 	java 	classes_swing 	REGRESSION: problems with 1.5.0 action listeners
6432667 	java 	classes_swing 	Vista: Menu dropdown differs while compare with naitve in vista laf.
6491714 	java 	classes_swing 	JFileChooser does not work properly with File selection when filter is changed
6432397 	java 	classes_swing 	Windows l&f on Vista JComboBox does not look like native
6500302 	java 	classes_swing 	GTKLAF:Check mark/bullet is not visible for selected checkbox & radio menu items in disabled state.
6542335 	java 	classes_swing 	different behavior on knob of scroll bar between 1.4.2 and 5.0
6523518 	java 	classes_swing 	javax/swing/AbstractButton/6298940/bug6298940.java failed against 1.5.0_12_01 but passed on 1.5.0_11
6396844 	java 	classes_swing 	JFileChooser seems to cause OutOfMemory in 1.4.2, 5.0u4 and mustang-b75
6511568 	java 	classes_swing 	JFileChooser throws OOM in 1.4.2, 5.0u4 and 1.6.0
6530336 	java 	classes_text 	(tz) DST bug in latest jdk releases when using EST MST and HST abbreviations
6470111 	java 	classes_util_concurrent 	Deadlock in Exchanger
6460501 	java 	classes_util_concurrent 	Synchronizer timed acquire still leaks memory
6492173 	java 	classes_util_i18n 	Please delete or modify test/java/util/TimeZone/4261506 test
6496224 	java 	classes_util_i18n 	Slovenian currency change
6541843 	java 	classes_util_i18n 	(tz) Support tzdata2007e
4879507 	java 	classes_util_jarzip 	ZipInputStream does not check CRC for stored (uncompressed) files
6467152 	java 	classes_util_logging 	deadlock occurs in LogManager initialization and JVM termination
6520670 	java 	install 	1.5.0_11 installer writes wrong JavaHome value in Windows registry
6525690 	java 	install 	offline non -s installer pops up "internal error 2762" after clicking "finish"
6526421 	java 	install 	Truncated localized texts in finish dialog
6416988 	java 	localization 	[ko]Translation of 'Certificate' is inconsistent
6386647 	java 	localization 	Full date format in DateFormat does not include day of the week for UK locale
6450945 	java 	localization 	The week day for Saturday and the first week day in Romania locale are incorrect
6500174 	java 	localization 	[ja] wrong translation in Java Update warning message
6497154 	java 	localization 	getFirstDayOfWeek() not works correctly for Slovak locale
6488119 	java 	localization 	en_ZA local has unusable time format
4494727 	java 	localization 	[Fmt-Nu] Formatting of percents incorrect for some locales
6486607 	java 	localization 	incorrect french localization for GY country code
6485516 	java 	localization 	incorrect french localization for GF country code
4225362 	java 	localization 	localized DateFormatSymbols for fr_FR is wrong
6379214 	java 	localization 	Danish Translation of the word Danish is wrong
6481177 	java 	localization 	Add Eras for Dutch LocaleElements
6414459 	java 	localization 	Wrong first day of week for Croatian locale
6311411 	java 	serviceability 	SA: jmap -histo reports wrong histogram with CMS
4753347 	java 	serviceability 	OutOfMemoryError - Stack Trace missing
6484462 	java_plugin 	converter 	Applet HTML generated by HTML converter tool crashes the new IE7
6424564 	java_plugin 	iexplorer 	Browser window is not blocked by the modal dialog
6404972 	java_plugin 	iexplorer 	IE Window and Dialogue are displayed in different order from the order of button click.
6523707 	java_plugin 	iexplorer 	IE browser thread dead after modal dialog created from liveconnect in another window
6395737 	java_plugin 	iexplorer 	IE hangs when a modal dialog is active with concurrent window re-focus activities
6502189 	java_plugin 	iexplorer 	applet hang when try to reload a page with the applets in a frame
6501186 	java_plugin 	iexplorer 	JVM crashes when IE windows are opened and closed so many times thru JavaScript in 5.0u10
6418035 	java_plugin 	other 	Applets freeze in 5u7 on XP Japanese
6216340 	java_plugin 	other 	Java to support Firefox browser
6475032 	jaxp 	parse 	Regression: declaring a a duplicate Namespace mapping to an exisitng prefix:URI throws an Exception
6428590 	jaxp 	sax 	com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager does not demand namespace-prefixes
6401137 	jaxp 	xslt 	Null Pointer Exception in Java 1.5
6434840 	jaxp 	xslt 	Memory Leak in XSL Transform leading to OutOfMemory Exception
6475157 	jmx 	classes 	RMIConnectorServer.stop: deadlock
6524112 	tooldocs 	all 	sloppy developer missed testcase when fixing 6490790
2007-08-08 16:59:10 +00:00
tnn
1b4e6adfd0 A subtle change introduced in gcc-4.2.x broke perl's makedepend script.
The name of the "standard input file" in the preprocessor was changed from
<command line> to <command-line>. Make makedepend recognize this.
2007-08-04 10:27:58 +00:00
joerg
5a4f6849f1 Fix dependency on erlang. 2007-08-03 23:48:56 +00:00
obache
3c088a79a0 Fix permission of sample files and remove unused *.bat files.
Bump PKGREVISION to nb1.
2007-08-03 11:01:37 +00:00
taca
9a932eee6d Fix build problem on NetBSD currnet with mremap(2).
Patch supplied from Makoto Fujiwara.
2007-08-03 07:46:54 +00:00
jlam
594c02995d Skip the check for the right file -- the installed file is under
${EMUL_ARCH}, not ${MACHINE_ARCH}.
2007-08-02 17:55:17 +00:00
obache
730ba9ab46 Update scm to 5.5.3 a.k.a 5e3.
Based on patch provided by Aleksej Saushev in PR 36471.

pkgsrc changes:
 Enable to build x11 feature (optional, default=on).
 Previously, depend on x11, but not build x11 feature.

scm5e3 news:

Richard Harke ported SCM to the Linux-ia64.

SRFI-94 Type-Restricted Numerical Functions.

SRFI-63 uniform array type support expanded to:

  A:floC64b 	inexact	64.bit binary flonum complex
  A:floC32b 	inexact	32.bit binary flonum complex
  A:floC16b 	inexact	16.bit binary flonum complex
  A:floR64b 	inexact	64.bit binary flonum real
  A:floR32b 	inexact	32.bit binary flonum real
  A:floR16b 	inexact	16.bit binary flonum real
  A:fixZ32b 	exact	32.bit binary fixnum
  A:fixZ16b 	exact	16.bit binary fixnum
  A:fixZ8b 	exact	8.bit binary fixnum
  A:fixN32b 	exact	32.bit nonnegative binary fixnum
  A:fixN16b 	exact	16.bit nonnegative binary fixnum
  A:fixN8b 	exact	8.bit nonnegative binary fixnum
  A:bool 		boolean
  string 		char

Radey Shouman has changed LETREC to behave like LETREC*:

  * eval.c (ceval_1): Change LETREC behavior to that of LETREC*:
  initializers are run in left to right order, and may use
  previously evaluated variables bound in the same contour.  This
  change also applies to LETRECs resulting from internal DEFINE.

  * eval.c (macroexp1): Add #ifdef to switch case handling line numbers
  in ceval_1 so that they are safely discarded when MEMOIZE_LOCALS is
  not #defined.  Perhaps line number generation should be disabled in
  that case.

  * scl.c: Changes to allow compilation with MinGW (gnu-win32);
  asinh, acosh, and atanh are not yet supported.

From Aubrey Jaffer:

  * indexes.texi (Indexes): Give each index its own node when not in
  info mode.  Moved index stuff here so it doesn't break
  texinfo-every-node-update.

  * scm.texi (Index): Replaced nodes under Indexes with node Index
  when in info mode; fixes indexing in Emacs 21.4.1.
  Converted to use @copying.
  (Indexes): Reorganized.
  (Data Type Representations): Corrected pattern for specfun and cclo.

  * byte.c (subbytes): Added.
  (scm_subbytes_read, scm_subbytes_write): Renamed from substring.

  * Makefile (dscm4, dscm5): != is string operator in shell.
  "mv -f" for previous scm, slibcat, and implcat.

  * Init5e2.scm (boot-tail): Don't load ScmInit.scm if *script*.
  (string-index, read-line): Defined for login->home-directory, which
  may be called before REQUIRE is defined.

  * Makefile (dscm4, dscm5): Added randomize_va_space machinations.
  (dvi, pdf): New tetex-3.0(-20.FC5) broke them -- fixed.
  (SETARCH): Workarounds allow dumping in recent Linux.

  * time.c (linux): defined CLKTCK to (sysconf(_SC_CLK_TCK)).

  * repl.c (scm_read_numbered): Don't #ifndef MEMOIZED_LOCALS.

  * build.scm (dont-memoize-locals): Added feature.
  (stack-limit): Removed feature.

  * scmfig.h (STACK_LIMIT): Always defined.
  (CHECK_STACK): Condition on scm_verbose.

  * sys.c (stack_check): Always present.

  * Makefile (docs): Added target to make all documentation files;
  then invoke xdvi.

  * ugsetjmp.s (_setjump, _longjump): For Ultrix VAX circa 1997.

  * subr.c (mkbig, adjbig): Improved overflow message.

  * mkimpcat.scm (wbtab, rwb-isam): moved to "Simple associations".
  (add-source): Use 'source form and check file's existence.

  * scl.c (scm_magnitude): Extend dynamic range by eliminating
  intermediate expression swell.
  (divide): Use "Smith's formula" to extend dynamic range;
  but makes an insignificant difference when compiled with -O3.
  (atanh, acosh, asinh): define if #ifndef HAVE_ATANH.

  * scmfig.h (HAVE_ATANH): Decides whether atanh, asinh, and acosh
  are supported.

  * r4rstest.scm (5 2 1): Expose Bigloo tprint redefinition bug.
  (test-bignum): Convert test bignums from strings.
  (have-bignums?): Check bignum arithmetic works.
  (test-inexact): Do complex tests only if non-real numbers are
  supported.
  (test-inexact): Added equal? tests.
  (test-inexact): Test for -0.0 lossage.
  (test-inexact): Check that / and magnitude work for
  very large and very small complex numbers (1e300; 1e-300);
2007-08-02 14:47:24 +00:00
joerg
c5cd514663 Don't use malloc.h. Kill some stupid prototypes that are part of ISO C
while here.
2007-08-01 20:40:42 +00:00
taca
f7c3b63dde - Add patches to fix CVE-2007-3806 referring CVS repository.
- Fix compile problem on NetBSD with mremap(2).

Bump PKGREVISION.
2007-08-01 01:40:07 +00:00
jlam
744b79fd77 Delete the correct file path for ${EMUL_ARCH}, not for ${MACHINE_ARCH}. 2007-07-31 20:04:17 +00:00
jlam
15610723d3 Don't substitute for ${MACHINE_ARCH} in the PLIST for linux-i386, which
would be wrong if this was built in amd64.  Instead, just say "i386",
like it will always be for linux-i386.
2007-07-31 19:31:17 +00:00