Commit graph

99 commits

Author SHA1 Message Date
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
jlam
33f30156fb * Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
2007-07-29 05:18:36 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
6e2c35c083 pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.
2007-02-22 19:01:13 +00:00
rillig
362f94fe44 Fixed the latest bulk build for NetBSD 3.0 by adding
CHECK_SHLIBS_SUPPORTED=no.

Made the installed files read-only for group members.
2006-09-27 06:48:56 +00:00
joerg
f6c7c70bfe Disable CHECK_SHLIBS for sun-jre13 and sun-jdk13, as it can't work
in the current form. The wrapper handle it currectly.
2006-09-25 16:16:35 +00:00
ghen
d70e59adae Update sun-jre13 and sun-jdk13 to 1.3.1_19 + fix PLIST.
Bugs fixed in 1.3.1_19:
6420685	ResourceMark breaks growable array
6180969	JVM 1.3.1 crash due to fatal error in exception handler
6353457	Long Integer value changes in unpredictable manner with
        Deoptimization(1.3.1_06)
6359662	OutOfMemoryError with Object allocation in JDK1.3.1_09
6358532	HttpURLConnection.disconnect doesn?t really do the job
6425120	Support tzdata2006g
6276622	1.3.1_16 uninstaller removing TreatAs key for 1.5.0_02
4980600	Syntax used when invoking coreutils does not conform to POSIX
        1003.1-2001
6292347	unexpected packet is sent in java.util.ResourceBundle.getBundle

Bugs fixed in 1.3.1_18:
6391777 JDK 1.3 TZ fix required - Related to SUN BASE RFE 6332148
6317483 Beans extending JPanel class are not released when created via 1.3.1
        ActiveX bridge
2006-09-25 08:00:31 +00:00
jlam
4c09a7046a Convert _FETCH_MESSAGE to plain old FETCH_MESSAGE. Remove _FETCH_MESSAGE
processing from mk/fetch/*.mk.
2006-07-18 23:27:14 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
minskim
261d863461 The fake JRE package for Darwin is not needed any more, because the builtin
framework can detect a native JRE implementation.
2006-07-07 03:18:18 +00:00
minskim
7b2c59dbe2 Add builtin.mk to use Darwin's native java. 2006-07-07 02:58:20 +00:00
rillig
9fc2d7d281 Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-22 09:22:05 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
wiz
9afd217047 Fix CHECK_FILES build. 2006-03-01 23:53:21 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
758d912e33 Update package Makefile now that bsd.pkg.extract.mk is using the
"extract" script for extraction.  Many cases where a custom EXTRACT_CMD
simply copied the distfile into the work directory are no longer
needed.  The extract script also hides differences between pax and
tar behind a common command-line interface, so we no longer need code
that's conditional on whether EXTRACT_USING is tar or pax.
2006-01-21 18:57:40 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
abs
088691f458 Update lang/sun-jre13 to sun-jre13-1.0.17.
Changes since sun-jre13-1.0.16

- REGRESSION: hotspot c2 crash running rmi JCK tests
- server VM crashes with -Xcomp in 1.4.2_05
- Crashes at Function name=JVM_GetCPFieldSignatureUTF in jdk 1.3.1_13
- Exception message's size is more than doubled everytime an
  exception is thrown
- RFE: Stall allocation requests while heap is full and GC locker
  is held
- VolanoTest OOM with mustang b14
- JVMPI obj_frees come before method_exits
- improve the performance of GC_locker
- JRE/Browser crash during repaint - IE/XP on MP or HT systems.
- GregorianCalendar returns bad WEEK_OF_YEAR
- Escalation: broken for time zone issue with date on windows
- Memory leak due to unreferenced Objects created via 1.3.1 ActiveX
  bridge
- Possible regression in ActiveX Bridge 1.3.1_13 and higher
- Beans extending JPanel class are not released when created via
  1.3.1 ActiveX bridge
2005-12-28 09:21:57 +00:00
joerg
1f6a39a84e First step at reworking Linux binary packages.
Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
2005-12-12 14:43:23 +00:00
wiz
f7fbfd3ef4 Fix path in ln. 2005-11-10 07:25:32 +00:00
jschauma
e04c320df6 Commit patch provided by Hauke Fath in PR pkg/31538 to update
sun-j*13 to version 1_3_1_16 aka 1.0.16.

Changes and bugs fixed, according to
http://java.sun.com/j2se/1.3/ReleaseNotes.html#131_16

SIGSEGV in Type*Type::meet(const Type*)const+0x0
JVM crashes at assert(!n->is_Phi() && !n->is_CFG(),..) with java_g in 1.3.1_11
JVM stops merging state vectors for blocks where there's a monitor mismatch.
Incorrect abstract interface semantics in JDK ValueHandler
1.3.1-only: JVM crashes during WTextComponentPeer.getText() using Citrix
java.util.zip stream classes do not close default {De,In}flaters
Unnecessary object retention in java.util.zip.Deflater
Test CTE_REGTEST/Generic/4894903 is unpredictable
Java 1.4.2 on RedHat Enterprise Linux 4.0 Beta-1 (32 bit) seg faults.
different behavior among 1.3.1, 1.4.2 and tiger-b63 in Java plug-in for PrintJob
JRE 1.3.1+ series Plugin Changes Windows registry settings of JRE 1.4.2+,that is already installed
JNDI sending premature ABANDON after connection has closed
2005-10-10 14:59:20 +00:00
rillig
ce57fb90d9 Removed deprecated use of NO_PATCH. 2005-09-28 19:04:44 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
wiz
4ddb642e06 Add RMD160 checksum. 2005-05-25 11:17:11 +00:00
jschauma
11b407f64e as with sun-jre14, pull in suse_locale to ensure that other charset
characters can be used
2005-05-10 01:55:39 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jmmv
da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00
jschauma
ac9381558a Update sun-j*13 to version 1.0.15.
Changes according to http://java.sun.com/j2se/1.3/ReleaseNotes.html

Incorrect clsid is registered in windows registry for jre 1.3.1_14 release

NullPointerException with no stack trace
Focus disappears after deiconifying frame
Runtime exec hangs if ulimit nofiles is unlimite
CTW assertion at srcsharevmoptolock.cpp, 379
A bug of javax.swing.JTextField
GregorianCalendar uses wrong ERA value in non-lenient mode
Application crashes using :XX+UseTLE and -server on Windows
REGRESSION: 4789981 fails for 1.3.1_13-b01 on Solaris for Mozilla 1.0.1
java.lang.IllegalArgumentException: Signal already used by VM: SIGHUP
JCK: QuickSilver api test fails with -Xprof flag
2005-01-25 18:06:44 +00:00
wiz
5f47fd7eca Fix path in @exec command. 2004-11-26 11:51:21 +00:00
jschauma
da2058677c Update to version 1.3.1_13.
Addresses security issue
  http://sunsolve.sun.com/search/document.do?assetkey=1-26-57591-1

Changes since _12 according to
  http://java.sun.com/j2se/1.3/ReleaseNotes.html

Can't display localized exception messages of the native method correctly
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
2004-11-23 16:56:33 +00:00
tv
136f803cfe Expand the JAVA_WRAPPERS definitions for the sun-j{re,dk}* packages.
This adds many commonly used tools to $PREFIX/bin, such as keytool,
rmiregistry, rmic, idlj, etc.
2004-10-05 22:09:23 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
abs
e8ddfaf3ad When sugggesting the URL from which to download make the first choice easier
to cut and paste:	${DOWNLOAD}
			or ${ARCHIVE}
rather than		${DOWNLOAD} or
			${ARCHIVE}
2004-06-15 12:00:09 +00:00
jschauma
0f7bb0d5a1 Update Sun's JDK version 1.3 to latest release 1.3.1_12, making this
sun-jre13-1.0.12 and sun-jdk13-1.0.12 respectively.  Patches provided by
Hauke Fath in PR pkg/25870 and PR pkg/25871.  This update done during the
freeze as Sun removes the older distfiles when they release a new version.

Changes since latest version, according to
http://java.sun.com/j2se/1.3/ReleaseNotes.html:

- stack yellow zone not re-enabled after a StackOverflowError
- Gregorian calendar gives a java.lang.Illegal ArgumentException only on 12-31-00
- [server] stack yellow zone not re-enabled after a StackOverflowError
- compilation results in stack overflow while unrolling loop
- rmic uses AWT ?!
- -Xcheck:jni uses oop directly in _thread_in_native state
- Loop related Hotspot crash
- internal Error occurs during offet conversion of byte code in rewrite/relocate
- [1.3.1_09]JVM crashes when big number is specified in fillRect()
- Japanese characters not converting correctly from Codepage 930 to Codepage 943
- JVM crash with error "Fatal: null exception in compiled code"
- Client blocks on getInputStream even after server completes its response
- Error ID: e:\ws\1.3.1\hotspot\src\share \vm\ci\ciInstanceKlass.cpp, 121
- 5 JCK tests failing with -Xcheck:jni flag
2004-06-08 14:52:38 +00:00
xtraeme
c67c0108b8 Simplify BUILDLINK_JAVA_PREFIX.<jvm>. 2004-06-05 16:33:52 +00:00
jmmv
5443ed1bac Convert sun-{jre,jdk}13 to use java-env.mk. This implies that the
package now install several wrappers under ${PREFIX}/bin to run the
binaries installed under ${JAVA_HOME}/bin easily.  While here, drop
the direct modification of PREFIX.  No revision bump since these
packages were updated just some minutes ago.
2004-05-22 21:22:59 +00:00
jmmv
04459b0fe8 Update sun-{jre,jdk}13 to 1.3.1_11. Bugs fixed since 1.3.1_10:
- GetCurrentThreadCpuTime returns wrong information
- infinite loop in sun.net.www.http. KeepAliveStream [due to skip()]
- fatal error handler enhancements
- RFE: DNS-related functions in PAC file support do not support foward DNS
  lookups
- Reading entries from certain zipped files causes JVM death (native exception)
- Missing encoding conversion in PlainSocketImpl.socketCreate
- in with J2se1.3 in multithread situation, socket reads data unexpectly
- REGRESSION 1.4: PropertyDescriptors do not find the most specific methods
- C2 crash in adjust_check
- Null Pointer in creating Window
- Signature timestamps in signed jar files break forward compatibility
- java.sql.TimeStamp results in wrong time for some timezones when dates are
  in BC
- (thread) Thread.interrupt() is not executed after first try
- REGRESSION:Ctor IndexedPropertyDescriptor works incorrectly
- Netscape hang situation
2004-05-22 20:20:06 +00:00
xtraeme
43f76bf354 bl3ify 2004-05-05 17:20:29 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
cjep
0bf6bf3ffd Use tabs (not spaces) to make indentation 2004-01-11 19:41:39 +00:00
cjep
abe3f1a57a Whitespace 2004-01-10 19:12:51 +00:00
jschauma
bf4808d0ad Update sun-j*13 to latest version 1.3.1_10. Bugs fixed since 1.3.1_09
according to http://java.sun.com/j2se/1.3/ReleaseNotes.html:

- J# Compiler silently generates bytecode that exceeds VM limits.
- BigDecimal String constructor throws StringIndexOutOfBounds.
- URL constructor throws java.lang.StringIndexOutOfBoundsException
- VM crashes if a run method throws an expection in a finally block
- JVM crash in java.net.ServerSocket.implAccept
- -Xcheck:jni overly strict in JNI method IsSameObject
- JVM hangs up with C++ std lib because of mutex deadlock in 1.3.1_03/1.4.0_0X
- jvm crashes without any error message
- java.util.Date(int,int,int,int,int,int) is unable to give hour information
- 1.3.1_09: JVM process size grows after every JVMPI heap dump request.
2004-01-02 17:07:21 +00:00
jschauma
0dcde9d835 Same as for 1.4:
Don't duplicate the FETCH_MESSAGE, move it to Makefile.common instead.
 Found a URL for older distfiles, so make that known.
2004-01-02 16:56:01 +00:00
jschauma
cc0621ca9f Put these packages into a new pseudo-category called 'java'. 2003-08-23 15:13:56 +00:00
jschauma
8f03bdf914 Update Sun's JRE and JDK 1.3.1 to latest 1.3.1_09 (or, as we call it,
sun-jre13-1.0.9 and sun-jdk13-1.0.9).  A complete list of changes is
available at http://java.sun.com/j2se/1.3/ReleaseNotes.html
Bugs fixed in this release:

readObject in java.net.URL fails to restore transient fields
java_g -version throws Segmentation Fault in Linux
Solaris/Intel: Synch test hangs trying to get to compiled code safepoint
LINUX: process reaping is broken
BigInteger(String, int) does not fail on multiple minus signs
JCK1.4, api/java_net/... tests hang in "-Xprof -verbose -verify" mode, linux
JVMPI_MONITOR_WAITED value returned is wrong
Java HotSpot(TM) Client VM warning: Attempt to allocate stack guard pages failed
JDK Downgrade Install: Java Plugin 1.4 Fatal Error
incorrect localization for javac diagnostic in J2SE 1.3.1
JDK 1.3.1_07/1.4.1_02 - New ORBs create new threads forever
1.3.1_03] Infinite loop seems to happen in phaseX.cpp with -server
JNI GetArrayElements fails with zero length arrays.
1.3.1 Escalation: JFileChooser: Access key Alt+o doesn't work for "ok" button
1.3.1 Escalation: JFileChooser:  Key not working
1.3.1: Fix CDRInputStream.java optimization code to avoid chunk overflow errors
Right borders missing in JMenuItem and JScrollbar in 1.3.1_0x
behaviour of method changes after dynamic compilation occurs
JVM crashes w/ SEGV when trying to execute Java code > 64 kB
JVM crash while reading FVD described class
JVM crashes trying to draw very small Arc2D pie fraction when antialiasing is on
Backward compatibility - jni apps need to dereference bogus returned reference
[1.3.1_04] JVM Crashes
Bottom border missing in JComboBox.
Applies to 1.3.1 only - ServerSocket's accept() throws unexpected SocketException
2003-08-12 16:37:04 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
abs
7fd76d35cd Update sun-jdk13 and sun-jre13 to sun-jdk13-1.0.8 and sun-jre13-1.0.8
Changes since 13-1.0.7:

  - A de-serialized GregorianCalendar did not correctly handle the
    Calendar.set(int field, int value) method.
  - Java Plug-in Security Warning dialog did not show buttons.
  - java.beans.Introspector returned results depending on the order
    that classes were loaded by the Virtual Machine.
  - A help viewer search would sometimes yield NullPointerExceptions,
    and search hit highlighting was unstable.
  - The "~" character was not properly displayed in an HTML file
    using the SJIS character set.
  - There was a system crash generating a Fatal: unhandled ci exception.
  - Plugin regional locale parameters were incorrectly displayed.
  - The VM crashed while running a large application.
  - An application ignored the nohup(1) command, caught and processed
    the SIGHUP signal, resulting in application exit with a return code
    of 129.
  - In some cases, the text field caret did not return when window
    focus was moved and then restored.
  - SIGSEGV during C2 compilation of a method.
  - System crashed with hotspot errors.
  - Plug-in crashed when the ethernet cable was unplugged.
  - Signed applet failed only on JRE 1.3.1_06.
  - System crashed when attempting to widen the range check of an IF
    node during compilation.
  - The background color of a Menu was different from that of the
    MenuBar for classic style.
  - Application crashed due to problems in JVM/plug-in/Mozilla.
  - Serviceability is improved by exposing VM version and flags to
    Serviceability Agent.
  - Double primitive lost value when using -client.
  - White background persisted when applet exited to a different web
    page.
  - An applet could access a local resource without permission on
    IE60+JRE1.3.1_06.
2003-05-02 08:42:05 +00:00