Commit graph

38 commits

Author SHA1 Message Date
Geert Hendrickx
a6227050d0 Update to jdk14 patchset 8.
Notable changes:
- DragonFly support (thanks to asmodai and joerg)
- Add DONT_ENABLE_IPV6 knob (turned into pkgsrc "inet6" option)
- Many small improvements and fixes
2005-12-19 13:32:01 +00:00
Geert Hendrickx
d40e15c640 Update my e-mail address. 2005-12-13 12:16:11 +00:00
Geert Hendrickx
3eab462dfe reindent. 2005-11-28 13:52:43 +00:00
Roland Illig
2c1cc3dceb Ran pkglint --autofix over the complete pkgsrc-wip. This changed all
instances like MAKE_ENV+= VAR=${VAR} to the properly quoted form,
VAR=${VAR:Q}, or even VAR=${VAR:M*:Q} if necessary.

Manually reviewed the changes.
2005-11-28 00:27:22 +00:00
Geert Hendrickx
3c75ce05dd Reindent. 2005-11-16 13:42:16 +00:00
Geert Hendrickx
c88d4e718c pkglint: PKG_FAIL_REASON should be modified using "+=". 2005-11-16 13:38:54 +00:00
Geert Hendrickx
4b9e36faf4 Fix PLIST
While here, take over maintainership (ok by recht)
2005-10-19 14:01:32 +00:00
Geert Hendrickx
23a5562717 Add notes about increasing limits and setting a sysctl. 2005-09-09 14:08:02 +00:00
Geert Hendrickx
7ef3143f15 Patch provided by Bernd Ernesti:
> pkglint was complaining about the PKGNAME, so I moved the version up
2005-08-11 15:46:26 +00:00
Geert Hendrickx
c3a6d5d21c Based on patches from Bernd Ernesti:
> there were some problems during deinstallation so I had to split PLIST
> into two files, one which contains the files and a second one which
> contains the @dirrm Just rename PLIST to PLIST.common and move the @dirrm
> lines into the new file PLIST.common_end.  This is needed because the
> @dirrm would be executed while there are still some files left from the
> PLIST.jce or PLIST.plugin filelist.  I also removed the '@exec ${MKDIR}
> %D/java/jdk-1.4.2/jre/lib/applet' line, while I did that.
>
> typo in options.mk: SCR instead of SRC and so PLIST.plugin wouldn't be
> included into the generated .PLIST

All files/directories are uninstalled correctly now.
2005-08-11 15:17:05 +00:00
Geert Hendrickx
5d1414a0d5 Patch provided by Bernd Ernesti <netbsd@lists.veego.de>
> removed the pre-build target and added a BUILDLINK_PASSTHRU_RPATHDIRS
> line, jlam told me about that trick.

The jdk14 package can be build as non-root user now.
2005-08-11 12:00:16 +00:00
Geert Hendrickx
56a233bf4d ${LOCALBASE} still used in MESSAGE; add it again. 2005-08-10 11:26:08 +00:00
Geert Hendrickx
d2efe3c972 Use ${JAVA_HOME} instead of ${LOCALBASE}/java/jdk-1.4.2 2005-08-10 11:24:23 +00:00
Geert Hendrickx
ab81d87b42 Optionally build the Mozilla browser plugin (option jdk14-plugin, enabled by default).
Convert the JDK14_USE_JCE variable to the options framework: jdk14-jce.
2005-08-10 11:23:21 +00:00
Geert Hendrickx
b9d73de12b Add test for /emul/linux/proc to be mounted. 2005-08-10 11:16:16 +00:00
Geert Hendrickx
62d9961b59 Use ${JAVA_HOME} instead of ${LOCALBASE}/java/jdk-1.4.2 2005-08-09 15:39:58 +00:00
Geert Hendrickx
b3c6ca5df9 Optionally build the Mozilla browser plugin (option jdk14-plugin, enabled by default).
Convert the JDK14_USE_JCE variable to the options framework: jdk14-jce.
2005-08-09 14:59:12 +00:00
Geert Hendrickx
418f2cd9b7 s/pax/${PAX}/ 2005-08-06 08:17:31 +00:00
Geert Hendrickx
2e5663ab7a Remove trailing whitespace. 2005-08-06 08:16:51 +00:00
Geert Hendrickx
33735b7a68 Update to patchset 7 2005-08-03 12:43:22 +00:00
Geert Hendrickx
2720ffaebb patch-ab is in patchset 7 as well 2005-08-02 16:30:40 +00:00
Geert Hendrickx
71f85ad189 Update to patchset 7 2005-08-02 16:28:25 +00:00
Krister Walfridsson
753f4543c4 Change obsolete USE_X11 to include ../../mk/x11.buildlink3.mk instead. 2005-06-12 23:51:13 +00:00
Roland Illig
2a1ca3d973 Replaced USE_GNU_TOOLS+=make with USE_TOOLS+=gmake. 2005-05-24 10:29:21 +00:00
Todd Vierling
5f60a41bb5 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:09:34 +00:00
Thomas Klausner
e2f0a59bec Rename ALL_TARGET variable to BUILD_TARGET.
Mechanical changes to all packages using ALL_TARGET.
Proposed by Roland Illig, ok'd by various people.
2004-12-02 16:38:55 +00:00
Marc Recht
5fc3cd1d5b Update checksum of the bsd patchfile. No changelog available.. 2004-09-15 20:24:23 +00:00
Marc Recht
992ea673e7 Update to the latest current patches.
Set PKGVERSION to 1.4.2.6.1 to distinguish it from the p6 patch.
Also, add the updated cacert file and some ns plugin related patches
(currently unused) from the FreeBSD port.

changes:
2004-07-21 Wednesday 17:58  glewis
	* j2se/src/share/native/java/io/io_util.h:
	. At least on FreeBSD, O_SYNC and O_DSYNC aren't both defined
	  (for FreeBSD 4.x neither are defined and for FreeBSD 5.x
	  O_DSYNC isn't defined).  This caused them to be defined to
	  some bogus values.  In particular, O_SYNC would be defined
	  as 0x800, which is O_EXCL (at least on FreeBSD 4.x).  The
	  result being that the RandomAccessFile class would fail to
	  open an existing file if you specified "s" as part of the mode.
	  Fix this by defining O_SYNC and O_DSYNC to O_FSYNC on BSD if
	  they aren't defined.  This shouldn't hurt Net or Open.

2004-07-08 Thursday 20:21  glewis
	*
	j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp:
	. In the ReadChunk() function, change an assert() to be a "test for a
	  condition and return NULL".  Take account of the NULL in the
	  appropriate place (which is somewhat worrisome in itself since
	  ReadChunk() has always had the possibility of returning NULL).
	  This makes loading a font file a little more resilient to specially
	  crafted font data which can be used, for example, by an applet to
	  crash the browser plugin by triggering the assert().  Such an applet
	  was mentioned on Bugtraq:
	  http://www.securityfocus.com/archive/1/367331/2004-06-26/2004-07-02/0
	  and can be found at
	  http://www.illegalaccess.org/cms/?q=node/view/9
	  This change stops the browser plugin from crashing.  However, I'm
	  somewhat unfamiliar with this part of the code though, so any review
	  would be appreciated.
	. While I'm here, fix some warnings regarding types in debugging printf's.
2004-07-08 Thursday 20:10  glewis
	* j2se/src/share/native/java/lang/fdlibm/src/k_tan.c:
	. Merge in a fix recently added to FreeBSD's math library (taken from
	  fdlibm-5.3):
	  "Merge a bugfix from FDLIBM 5.3 to ensure that the error in tan()
	   is always less than 1 ulp."
	  I've not yet run this through the compatibility test suite, so this
	  change may be backed out if the suite relies on the broken behaviour.
2004-07-08 Thursday 20:09  glewis
	* j2se/src/share/native/java/lang/fdlibm/src/e_pow.c:
	. Merge in a fix recently added to FreeBSD's math library (taken from
	  fdlibm-5.3):
	  "Fixed the sign of the result in some overflow and underflow cases (ones
	   where the exponent is an odd integer and the base is negative)."
	  I've not yet run this through the compatibility test suite, so this
	  change may be backed out if the suite relies on the broken behaviour.
2004-07-08 Thursday 20:04  glewis
	* deploy/src/javaws/src/solaris/native/system_md.c:
	. The implementation of sysTempnam() formerly just called tempnam(), which,
	  on FreeBSD at least, would provoke warnings about security.  So, on *BSD,
	  implement sysTempnam() using mkstemp(3).
2004-04-03 Saturday 05:54  glewis
	* j2se/src/solaris/native/java/net/NetworkInterface.c:
	. Don't leak a file descriptor in the IPv6 case.
	Submitted by:	Pavlin Radoslavov <pavlin@icir.org>
2004-08-31 21:26:35 +00:00
Marc Recht
799e981760 Remove a couple of hard coded references to /usr/X11R6 to make this build
with X.org's X11 implementation.
While at it remove PKGREVISION -- with do not use this with pkgsrc-wip.
2004-08-03 13:15:15 +00:00
David Brownlee
abda428331 Add a JDK14_USE_JCE to pull in jce_policy-1_4_2.zip 2004-07-14 18:24:55 +00:00
Thomas Klausner
a9f696dd56 Add appropriate CPPFLAGS and PASSTHRU_DIRS variables so that packages
depending on this one can find the header files. Noted broken by snj.
2004-07-02 12:52:14 +00:00
Thomas Klausner
891ef04be0 Remove NO_MTREE line -- it does not apply here (see wrong comment). 2004-07-01 13:15:06 +00:00
David Brownlee
f30e0b14c3 Update jdk14 to jdk14-1.4.2.6nb1
Install JAVA_WRAPPERS
2004-06-28 18:00:05 +00:00
Juan Romero Pardines
164fe58a7c buildlink3 magic. 2004-06-05 16:17:33 +00:00
Marc Recht
322ee5a221 Document that it only can be built as root atm. 2004-05-26 16:50:01 +00:00
Marc Recht
a1047aac3f Document the HACK in patch-ag. 2004-05-26 16:25:39 +00:00
Marc Recht
e6814a9385 - use java-env.mk
- HACK: work-around a rpath-link related problem (patch-ag)
2004-05-26 16:22:24 +00:00
Marc Recht
25f7e62543 Initial import of the native JDK 1.4.2.
This is Sun's Java[tm] Development Kit, version 1.4.2, made buildable
and usable natively on NetBSD/i386 by Greg Lewis and a host of others.

===== From the patchset README:

This is a set of source code patches for the JDK 1.4.2 SCSL source.
The resulting JDK should be suitable for most uses, although using it in
a production environment is at your own risk.  Please note that this
patchset only provides support for recent versions of FreeBSD and NetBSD.
The patchset is available at
http://www.eyesbeyond.com/freebsddom/java/jdk14.html

Please read the file THANKS for attributions.

Instructions to build the JDK are contained in the file BUILD.

You should also examine the ChangeLog for the changes that have been
made so far, and notes on them.
2004-04-28 01:00:17 +00:00