Commit Graph

227 Commits

Author SHA1 Message Date
kurt
14f6a7704d - remove work-arounds for missing getpwuid_r now that we have it
- regen pkg files with @bin markers
2008-06-28 12:34:57 +00:00
kurt
d612fb2796 Deprecate 1.3 and 1.4 due to lack of security updates, end-of-life status
or near eol, and bulk build time. This removes the limited Java support we
had on arm, powerpc and sparc until such time OpenJDK/IcedTea can replace
it. 1.3 and 1.4 ports directories will be removed next release to avoid
bit rot. Requested by espie@ and okay by many with no objections.
2008-06-24 02:38:31 +00:00
kurt
84aea7500b Fix build with gmake-3.81. Corrections from OpenJDK repository:
http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/12b0d64c4953
No package bump since package didn't change.
2008-06-12 18:45:20 +00:00
kurt
92ac5f7392 Add support for 1.6 and 1.7 level ports. okay nikolay@ ian@ 2008-05-05 02:53:15 +00:00
kurt
4bb9dd36b1 - Remove -Werror from CFLAGS in hotspot so the build works with user
specified CFLAGS - noticed by steven@
- Fix comment typo in Makefile - reported by Joachim Schipper
No change in packages so no package bump
2008-05-05 02:51:20 +00:00
kurt
ca7bea7a8d - add VMEM_WARNING
- adjust memory calculations so this has a chance of building on systems
  with 256M of real memory. Reported by Dongsheng Song
- bring the the rest of IcedTea's icedtea-graphics.patch and fix typo that
  prevented interactive apps from launching. I expect I will eventually
  will want to convert over to using IcedTea in full in the future.
2008-03-21 02:46:43 +00:00
kurt
00dc6d05e3 - connect 1.7 to the build and build distributable packages
ok nikolay@
2008-03-20 01:54:56 +00:00
kurt
b57a73740e - include the prerelease build number in the package version.
- add a description of the native_bootstrap flavor to DESCR-*
okay nikolay@
2008-03-19 20:44:18 +00:00
kurt
987cd4285a - switch to GPLv2 w/CLASSPATH exception licensed openjdk7 code
- update to early access build 24
- Use GPLv2 licensed binary plugs from the IcedTea project and parts of
  IcedTea's icedtea-copy-plugs.patch & icedtea-graphics.patch.
  For more info see:
    http://icedtea.classpath.org/wiki/Main_Page
- Enable packages since we're fully GPLv2 based now, but still not
  hooked up to bulk builds just yet.
2008-03-19 18:05:43 +00:00
sturm
418157194e fix java RUN_DEPENDS for the 1.5 case
ok kurt
2008-03-18 19:40:03 +00:00
kurt
fb70c641fb - use HW_{USER|PHYS}MEM64. okay naddy@
- update to bsd patchset 4
- for amd64, sync JVM_handle_bsd_signal with its linux counterpart from
  which it was originally derived; add two segments of code dealing with
  sigsegv fringe cases.
- update pkg/MESSAGE-* to use recent mozilla product names.
2008-03-17 03:28:26 +00:00
kurt
a5bc96319a - use HW_{USER|PHYS}MEM64. okay naddy@
- on amd64 only do implicit null optimizations on offsets landing in the
first page of memory.
2008-03-17 03:21:25 +00:00
kurt
b5be1f69c8 - use HW_PHYSMEM64. okay naddy@ 2008-02-28 14:54:56 +00:00
kurt
43fe843d56 - mark as BROKEN 'Work-in-progress and outdated' so users understand this
port is not finished yet. also remove a MASTER_SITE. okay naddy@
2008-02-26 18:26:23 +00:00
kurt
6284762954 - update to BSD patchset 8 based off Sun's JRL licensed Update 14 source:
http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_14
- NOTE: patchset 8 includes amd64 plugin support now.
- adjust pkg/MESSAGE-* files for change in plugin support and add missing
  JRL licensing blurb for the jre package.
2008-02-15 15:14:37 +00:00
kurt
b3296e52b5 - remove 1.3-linux now that it is no longer needed for building 1.4
- update 1.3+ MODJAVA_RUN_DEPENDS to account for 1.3-linux removal
okay ian@ pval@
2008-02-14 21:48:43 +00:00
kurt
e0c8972d72 - switch to kaffe bootstrap. linux emul no longer needed to build.
- update to patchset 8. mostly just removal of patches committed
  upstream a long time ago.
okay brad@
2008-02-13 13:53:50 +00:00
kurt
d658fc57aa don't install libnative_chmod.so. it is an unused linux shared lib
okay ajacoutot@
2008-01-18 16:08:05 +00:00
kurt
54a9930f43 - don't install libnative_chmod.so. it is an unused linux shared lib
- install JRL LICENSE in second location in JDK
okay ajacoutot@
2008-01-18 15:52:55 +00:00
kurt
447d54c5a1 update fetch manually url xalan. reported by James Hartley 2007-11-30 14:57:23 +00:00
kurt
ccfa8aa068 add 1.6 2007-11-19 03:20:55 +00:00
kurt
5d62878859 Initial import of Java (TM) 2 SDK, Standard Edition Version 1.6.0 with
amd64 plugin support. 64-bit plugin hacking by myself and Jung-uk Kim.
Credit for the majority of the 1.6 BSD porting goes to Greg Lewis who
back ported my 1.7 hotspot patches to 1.6 and forward ported the 1.5
j2se patches to 1.6. Thanks to several testers who provided helpful
feedback. okay ian@
2007-11-19 03:19:43 +00:00
kurt
c7b570efa8 s/ERRORS/BROKEN/ to fix mirror-maker per espie@ and nikolay@ 2007-11-09 15:27:55 +00:00
kurt
d03e52ac71 - another master site url 2007-11-07 17:17:41 +00:00
kurt
8778311747 Remove interactive license verification since it causes issues due to
lack of stdin availability when built indirectly as a depend of another
port. Instead of interactive license verification solely use the
ACCEPT_JRL_LICENSE var. If it's not correctly set error out and let the
user know what to do. Cluestick and okay espie@
2007-11-07 17:04:36 +00:00
kurt
a51d7f9f59 - migrate forward a few necessary networking patches from 1.5 that fell
through the cracks.
2007-11-07 03:53:53 +00:00
kurt
f35ddca1d5 Exit prompt loop when there's nothing to read from stdin. This can happen
when stdin is redirected someplace unanticipated. This fixes the infinite
prompt loop when the port is built as a build depend of another port
(reported by Martin Toft <mt at martintoft.dk>). Still to do is fix
bsd.port.mk to not redirect stdin for build depends...
2007-10-29 01:22:34 +00:00
kurt
c347040e92 - update to BSD patchset 7 based off Sun's JRL licensed Update 13 source:
http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_13
- Do a better job respecting Sun's JRL license by using interactive
  license verification, installing the correct license and include a
  license blurb in the pkg MESSAGEs. (Interactive license verification
  script from FreeBSD/Greg Lewis)
- fix a packing problem with the no_web FLAVOR.

NOTE: This port is now IS_INTERACTIVE=Yes. After agreeing to the JRL
license, users can put ACCEPT_JRL_LICENSE=Yes into /etc/mk.conf to
automatically accept the license and make the port IS_INTERACTIVE=No.
Bulk builders will need to do this so things like OpenOffice get built.
okay naddy@
2007-10-25 20:51:41 +00:00
kurt
d9e46b09e2 - fix patch borked by cvs changing cvs tag upon commit (i.e. $Revision$).
breakage reported by RD Thrush rd at thrush.com
2007-09-17 13:31:20 +00:00
merdely
376b75df06 Remove quotes surrounding COMMENT*/PERMIT_*/BROKEN 2007-09-16 02:52:56 +00:00
kurt
324a878467 Remove BROKEN and update port to b19. The port is fully 1.7 now (both
hotspot and j2se). The j2se patches are from the bsd java repositories
1.5 -> 1.6 (performed by Greg Lewis) -> 1.7 by myself. j2se patches are
in sync with 1.6 patchset 1 plus the Runtime.exec fix from Michiel Boland
via FreeBSD PR http://www.freebsd.org/cgi/query-pr.cgi?pr=115557.

Also from FreeBSD: interactive JRL license verification. By default the
port is IS_INTERACTIVE=Yes. Add ACCEPT_JRL_LICENSE=Yes to /etc/mk.conf
to permanently accept the JRL license.

At some point in the future I will work on switching this back to
OpenJDK/GPLv2 src. That largely depends on Sun's progress at removing more
of the binary plug bits so that stubbing out the remainder is less
cumbersome and time consuming.

Testing, comments and okay ian@
2007-09-06 15:46:18 +00:00
kurt
1afa07f15b let's not give the impression 4.2 has a working 1.7 port. mark it BROKEN
for now. okay ian@ naddy@
2007-08-07 16:07:22 +00:00
kurt
c882a87b87 - upgrade to Update 12 srcs which fixes the following bugs:
http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_12
- remove patches I committed into patchset 6
2007-07-27 19:29:51 +00:00
kurt
dacf31c5b4 make this work with motif > 2.1 too 2007-07-18 17:53:07 +00:00
kurt
f71ecfc678 regen patches 2007-07-18 15:09:52 +00:00
kurt
515f2a2739 regen patches 2007-07-18 14:19:27 +00:00
kurt
d46a2a67a5 - remove patch that should have been removed with last commit 2007-07-13 23:25:30 +00:00
kurt
6b86e4383e - update to build 15
- switch to the JRL licensed src. why? because it will allow me to complete
the port. OpenJDK/GPLv2 src isn't complete and the parts that we don't have
are only released in binary form with a defend and indemnify clause. When
all of the jdk is GPLv2 I will switch back to OpenJDK/GPLv2 src.
- copy the Linux src files for the rest of the jdk so i can begin to patch
them. One src file is based on solaris code since that suits us better as
a starting point.
2007-07-13 22:52:35 +00:00
kurt
ca0e01e493 - don't link jvmti demo native libs with $ORIGIN in RPATH since ld.so
does not support it yet.
- fix writes to HOME complaints
- clean up post-build target
2007-07-06 01:35:57 +00:00
kurt
ff364b1c3b - actually enable version scripts on libjvm which fixes a symbol conflict
with recent xulrunner which is used by eclipse's internal swt-browser.
(patch missed in last update)
- adjust url to update 11 download which has been move to the archive.
2007-07-01 20:34:02 +00:00
ian
614ac9a90a Better url in FETCH_MANUALLY, ok kurt@ 2007-06-28 03:20:20 +00:00
kurt
450f231ad4 - update port to be based of Sun's 1.5.0 Update 11 src which includes many
bug fixes since the initial release of the 1.5 jdk. I'm sure some of the
fixes are security related but I wasn't able to find a concise list. All
the bugs fixes listed here from update 11 and lower should be fixed by
this update: http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_11
- NOTE: License change: used to be SCSL, now is JRL (Java Research
License). Still no packages with this license but at least we get the bug
fixes and security fixes now: https://tiger.dev.java.net/
- enable version scripts on libjvm which fixes a symbol conflict with
recent xulrunner which is used by eclipse's internal swt-browser.
2007-06-27 21:51:09 +00:00
kurt
01ba206cd1 expand BUILD_DEPENDS to allow building ports with jdk-1.5.0 update 11 2007-06-27 21:33:33 +00:00
steven
05565e86a6 linux-getcwd -> linux-__getcwd after the change in linux compat.
fixes build of jdk 1.4 with systrace.

"makes sense" sturm@
2007-06-06 04:33:33 +00:00
kurt
0d2c9182de . update to b12 sources (just building hotspot)
. adjust SIGRTMIN SIGRTMAX defines - from Jung-uk Kim <jkim@freebsd.org>
. use SIGSEGV || SIGBUS in amd64 signal handling code
2007-05-09 15:48:31 +00:00
kurt
a6b2a31df6 Initial import of jdk 1.7 (a.k.a. OpenJDK 7) work in progress. So far Sun
has released the hotspot portion of 1.7 under GPLv2. j2se and deploy
(plugin & webstart) will come later. No packages yet since j2se is copied
in from 1.5.

Note: hotspot for BSD in previous versions of the jdk were based on a
mixture of Solaris code and Linux code (for amd64). In this version I have
selected Linux as the base and only ported of small parts of the Solaris
code as needed. Using Linux code as the base has significantly reduced the
code divergence for BSD support and should make maintaining the port
easier.

okay ian@, go for it espie@
2007-05-08 17:06:18 +00:00
kurt
7083038c36 fix bug in the filtering of corrupt environment vars 2007-05-01 02:05:46 +00:00
kurt
3cb2b7ac3b - work-around libpthread limitations in javaForkAndExec() by adjusting the
child process to not set file descriptors back to blocking when closing
  them. This fixes the netbeans build failure since a libpthread fix is not
  evident.
- update the North America time zone file to account for the tz changes
  (from ian@)
- use X11BASE
- SHARED_ONLY=Yes
2007-04-13 00:29:48 +00:00
kurt
3a2afa990f - fix the build for good on systems with >= 4G memory by limiting
the jdk's view of physical memory to datasize rlimit max
- remove and adjust old memory adjustments for OpenBSD
- shrink overhead on amd64 making more memory available for use
ok wilfried@
2007-04-08 12:43:06 +00:00
espie
470294650d base64 distinfo with SHA256 2007-04-05 15:37:40 +00:00