Searches without login should now work. You must get asked to click a button.
Port details
jdk13Java Development Kit 1.3
1.3.1p9_11javaΣ=109 1.3.1p9_11Version of this port present on the latest quarterly branch.
DEPRECATED: ancient version of Java This port expired on: 2011-07-12 IGNORE: is only for i386, while you are running amd64 RESTRICTED: "Redistribution of pre-compiled binaries is not permitted" NO CDROM: "Redistribution of pre-compiled binaries is not permitted"
This is the latest patchset from the Java 2 FreeBSD porting project. This
port allows you to easily build a native JDK1.3.1 for FreeBSD.
Please note that due to the current Sun licensing policy the resulting binaries
can't be distributed and you are only permitted to use/hack it personally.
Due to the same reasons you have to manually fetch the source code and patchset
for FreeBSD.
WWW: http://www.freebsd.org/java/http://www.eyesbeyond.com/freebsddom/java/index.htmlhttp://www.sun.com/software/communitysource/java2/
. Mark all 1.3 associated Java ports for removal in a month. These are
ancient and no doubt full of vulnerabilities. There are no dependencies
on them.
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
. Add USE_XORG configuration. I'm guessing that prior to the modular
xorg ports the Open Motif dependency pulled in the appropriate X11
libraries since this hasn't been a problem previously.
Reported by: pointyhat (via kris)
. Make it so we include Xm/XmIm.h rather than defining our own prototype.
Fixes a build error due to the prototype being defined not matching
the actual function.
Pointed out by: pointyhat (via kris)
. Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. Replace one hardwired /usr/local instance with LOCALBASE. This wasn't
a problem since the port Makefile overrode that variable anyway.
. Small Makefile restructure to keep related variables in one place.
Pointed out by: pointyhat (via kris) [1]
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.
Submitted by: mezz, ahze, pav, and many others
Approved by: portmgr (implicit, kris)
. Always fix up the pthread library references, even if we're not
building either native threads or HotSpot. This is due to libcmm
always wanting to link against a pthread library, which was causing
problems on 7-CURRENT since it was erroneously hardwired to -lc_r.
This should really fix the problem.
Pointed out by: pointyhat via kris
. Try to bandaid a build problem on 7-CURRENT. This is a legitimate fix,
and will stay in the port, but it masks an underlying problem that still
remains.
Reported by: pointyhat (via kris)
. Tell the user all the files they will need up front, instead of telling
porky pies about what they have and prompting them one file at a time.
This is a rewording and reworking (for jdk13) of the patch in the
attributed PR by fenner@ (which is for jdk14).
. Update the (commented out) MASTER_SITES while I'm here.
PR: 84644
. Ensure that when files are extracted that their fully resolved path lies
in or below the current working directory. Fixes a security problem with
jar(1).
This fix may change to be compatible with whatever fix Sun applies when
they release the next version of 1.5.
. Move the invocation of unregistervm to the top of the packing list.
This ensures that this command is run before the files in the package
are deleted (which is necessary for it to correctly delete the symbolic
links created by registervm).
. Backport some fixes from 1.4 for the HotSpot Server VM when compiled
under gcc 3.4. In particular, this fixes some places where an enumerated
type is assumed to be the same width as an int (which the standard
doesn't guarantee and gcc 3.4 now enforces).
For full details, see the log for the jdk14 equivalent changes.
. Make sure that all calls to pthread_mutex_trylock handle EDEADLK as well
as EBUSY.
These are taken from equivalent patches to jdk14 by green and myself.
. Fix the build with gcc 3.4 part 2/2. Don't use the flag
-fmemoize-lookups as gcc 3.4 doesn't understand it. [1]
. Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS.
Also, respect the setting of CXX and CXXFLAGS.
PR: 71516 [1]
Submitted by: Damir Kiramov <damirycha@damirycha.net.ru> [1]
. Fix the HotSpot build for gcc 3.4 part 1/2. Make some methods public
where previously they defaulted to protected. gcc 3.4 seems to pick
this up where earlier versions didn't.
PR: 71516
Submitted by: Damir Kiramov <damirycha@damirycha.net.ru>
. Fix the main build for gcc 3.4. The HotSpot build may need some
additional patches.
This patch is taken almost verbatim from PR 69853 which was
submitted by Jake Hamby <jhamby@anobject.com>. I've applied it to
jdk13 rather than jdk14 though.
. Set CC, CXX and CPP conditionally so that this port will respect them
if set in the port build. Note that the HotSpot build will likely
require additional changes for it to also respect these variables.
. It appears as though diablo is problematic on 5.x still, so default to
bootstrapping with the Linux JDK if there isn't a previously compiled
native one.
. Add ${LOCALBASE}/lib to the default search path for libraries when using
JNI.
XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also
be added? /lib is part of the default search path on Linux.
Requested by: marcus
. Remove native_threads directories when native threads are not specified
during the compile. The native threads java_vm binaries are compiled
regardless of the settings and were causing problems with the packing
list.
. Fix packing list so that native_threads versions of java_vm are
conditionalised.
PR: 56007
. Check for a setting of "-mcpu=k6" in CFLAGS and error if so. This
setting will cause an internal compiler error in gcc 2.95.x when
compiling the JDK.
PR: 46269
Submitted by: Simon Barner <barner@in.tum.de>
. Add support for bootstrapping with the Diablo Caffe JDK. The bootstrap
order is now:
. linux-blackdown-jdk13 iff WITH_LINUX_BOOTSTRAP is set.
. A previous installation of this port, if it exists.
. The Diablo Caffe JDK.
That is, the Diablo Caffe JDK is now the default bootstrapper in the
absence of a previous installation of this port.
. Add a script which checks if ${LINUX_BASE}/${WRKDIRPREFIX} is
(possibly indirectly) a symbolic link to ${WRKDIRPREFIX}.
. Use this script in preference to the direct symbolic link check
previously used, as it handles indirections which cause the same
problem.
. /compat/linux -> ${LINUXBASE} in the message output if the check
detects a link.
PR: 43602
1. Autodetect a previous jdk13 install and use that to bootstrap by
default if it exists. This can be overidden either using JDK13DIR
or setting WITH_LINUX_BOOTSTRAP.
2. Don't create directories for new files, invoke patch with -p0.
PR: 52195 [1]
Submitted by: David Yeske <dyeske@yahoo.com> [1 - based on]
. Try to ensure that we get the correct version of some Netscape header
files. This will hopefully fix some build problems people have been
experiencing with bogus versions of these files being installed by Qt.
PR: 54180
. Remove an assert() which asserts that if isatty() is true then
ttyname() must not return NULL. This isn't entirely true according
to the manual page (the device must be able to be found as well) and
certainly appears to not necessarily be true in the package building
environment on bento (plus at least the PR submitter's environment).
Note that this assert() was, of course, only ever triggered when
running in debug mode (which most people don't, but does happen
during the build in some parts). Also note that there is a check
for isatty() preceding the call for ttyname() and a NULL return
from ttyname() is handled, so removing this assert should not
create any problems.
PR: 48164
. Fix Math.pow() when the JDK is compiled with optimisation flags set.
There may be other Math methods which similarly fail under optimisation,
these will be addressed by a more extensive change in patchset 9.
PR: 48825
. Fix the shell wrapper to cope with HotSpot and as a result remove the
warning that the Classic VM is unusable with HotSpot.
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
1. Clean up demo/jfc/SwingSet2/resources before the install. This should
not be installed, but appears to be on rare occasions for reasons
unknown.
2. Add handling of share/doc/java, previously only done in pkg-plist.
PR: 50092 (2)
Submitted by: Munehiro Matsuda <haro@kgt.co.jp> (2)
. Fix the packing list:
. Clean up for WITHOUT_PLUGIN.
. Clean up for WITH_NATIVE_THREADS.
. Add handling of jre/lib/ext, previously only done in Makefile.
PR: 50092
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Munehiro Matsuda <haro@kgt.co.jp>
1. Bump PORTREVISION for this and previous changes.
2. Enable compiling the HotSpot JVM. This is experimental and there are a
number of caveats with its use that are reported by the port. The flag
to enable this is WITH_HOTSPOT.
3. Try to pick some OSVERSION settings appropriate for the current native
threads implementation.
PR: 47397 (2)
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp> (2)
. Updated version of native threads for FreeBSD. This uses recently
committed enhancements to libc_r and is only suitable for very recent
versions of FreeBSD. The big benefit is that it removes almost all
the previous grovelling about in the pthreads internals.
The change only comes into effect when WITH_NATIVE_THREADS is set.
A separate Makefile commit will attempt to enforce appropriate
OSVERSION settings for using it.
Submitted by: fjoe
. Rename our internal gethostby{name,addr}_r functions to avoid collisions.
Currently gethostbyaddr_r collides with the implementation (in libc!) for
FreeBSD 5.x which both uses a different prototype (as per the Linux
version) and is marked temporary and not thread safe. Also, limit the
scope of these internal implementations to this file.
This fixes crashes in networked applications for FreeBSD 5.x.
Some tweaks (making the functions static, naming, BSD ifdefs) by me.
Submitted by: "Georg-W. Koltermann" <g.w.k@web.de>
. Add missing include of <sys/time.h>, needed by <sys/resource.h> for
FreeBSD 5.x. This fixes native threads compilation on FreeBSD 5.x.
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
. Be consistent about our compiler settings. Using gcc32 here was both
inconsistent with the rest of the code and only relevant on 4.x (since
5.x has gcc 3.2.x as its default compiler).
. In the informative message regarding downloading the necessary files,
use ${DISTDIR} rather than /usr/ports/distfiles.
Submitted by: Mike Meyer <mwm@mired.org>
. Link the Netscape 4 plugin against libintl to avoid a runtime link
error. This may allow browsers which use Netscape 4 plugins (e.g.
Konqueror) to make use of it.
Code change by me, problem report by Dylan Carlson <absinthe@pobox.com>.
Number of commits found: 145 (showing only 100 on this page)