Commit Graph

224 Commits

Author SHA1 Message Date
kurt
56509860b6 - fix build for systems with > 2G physical memory (signed int value was
assigned to uint64).
- set some fall-back max-memory values to reasonable values for OpenBSD.
Problem reported and update tested by Douglas Santos.
2005-11-30 02:21:32 +00:00
kurt
a174f4d822 - add plugin and javaws support. disable with no_web flavor.
Demos all work but deadlocking the vm under load has been
noted. Both MToolkit and XToolkit work ok so far.
- fix segfault with MToolkit where processTree was called
with to==NULL.
- fix NPE in plugin paintGrayBox where g==null
- fix javaws startup (from FreeBSD)
- forgot to mention in last commit: Forte Peformance Tools
collector is no longer disabled.
2005-11-23 19:39:13 +00:00
kurt
d616aeb0d0 forgot to bump pkgname in last commit 2005-11-22 14:48:07 +00:00
kurt
7f5e5f0bdf - update to patchset 2. mostly removing patches now included in patchset.
- link awt_robot with -pthread
- disable a runtime Motif version check that incorrectly thought we were
using Motif 1.2 based on Xm major version. problem reported by Laurence
Tratt
- plugin and webstart comming later
2005-11-22 14:43:05 +00:00
kurt
13dc22b0d1 libc is not explicitly linked into jvm shlibs, so using RTLD_NEXT to find
a symbol in libc won't work. dlopen libc and find it directly.
2005-10-21 22:36:30 +00:00
sturm
0136620a75 sync distfile
as this is the only port, where we have a versioned distfile in
systrace.policy AND this jdk is EOL, there is no need for a generic
solution

discussed with and ok kurt@
2005-10-01 12:16:47 +00:00
kurt
2b1ffc1eb7 update to 1.3.1_16 from steven mestdagh <steven.mestdagh@esat.kuleuven.be> 2005-09-22 16:17:15 +00:00
espie
0031945c6e Fix a buglet in bsd.port.mk where the PSEUDO_FLAVORS get encoded into
the FULLPKGPATH, thus providing changes to packing-lists which shouldn't
happen, and making update more difficult.

Accordingly, bump all pkgnames with PSEUDO_FLAVORS, and provide an
update @pkgpath for the bug for most of them (left out the ones with 3
or 4 pseudo flavors for space constraints...)
2005-09-16 09:51:25 +00:00
kurt
3a793e5c14 fix old zlib vuln http://www.zlib.net/advisory-2002-03-11.txt and
other bug fixes from the 1.5.0 jdk src.
2005-08-10 22:36:26 +00:00
kurt
afc1343d11 Add PREFIX/lib to the default java.library.path. Noticed, testing and
okay by ian@
2005-08-09 04:38:01 +00:00
kurt
c8dadd3e62 - enable 1.3 on arm 2005-07-14 17:29:58 +00:00
kurt
36e37cb41e - enable arm archs
- fix up arm/green thread patches (kurt/dale)
- remove unused native thread patches
- fix WANTLIB

okay drahn@
2005-07-14 17:29:08 +00:00
kurt
e94d72bb53 - fix linux 1.3.1 jdk pkgspec 2005-06-17 15:37:33 +00:00
kurt
7ddb5ebf43 - add java MODULE to handle some commmon java port issues
- Based on the MODJAVA_VER, MODJAVA_JRERUN, NO_BUILD
  and MACHINE_ARCH, the following things will be setup:
    ONLY_FOR_ARCHS if not already set.
    BUILD_DEPENDS on a jdk (native preferred).
    JAVA_HOME to pass on to the port build.
    RUN_DEPENDS for all jdk's and jre's that can run the port.

Review and feedback nikolay@, ian@.
2005-06-17 14:59:27 +00:00
kurt
b26c325c98 rename patch > 100 chars to shorter name. fixes tar of ports tree.
noticed by theo.
2005-06-16 14:47:48 +00:00
espie
36c389c5cc yet another typo... 2005-06-14 20:10:58 +00:00
kurt
31adc626ed - 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. From FreeBSD.
2005-06-04 15:47:53 +00:00
kurt
7d765564c2 - 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. From FreeBSD.
- Fix timezone issues. Allow /etc/localtime to be a symlink and fix the case
  where /etc/localtime points to a tz that the jdk doesn't know about.
- timezone is a function on BSD, not a variable, so move the timezone
  == 0 check to the non-BSD section. from millert@
2005-06-03 20:36:07 +00:00
kurt
bda3767814 remove zero length files missed in last commit 2005-06-03 17:55:47 +00:00
kurt
683c76d57c - Add support for powerpc. With some tips from tedu@ and drahn@, thanks!
- Change bootstrap method. No longer use 1.3-linux port to bootstrap.
  Use class files from a linux binary jdk and extra source and header
  files from my website.
- Remove plugin support. plugin has security issues and doesn't work
  with recent mozilla/firefox versions.
- Patches for arm native-threads are included but not enabled yet.
  I prefer to have all arches use green-threads to avoid arch specific
  pkg files. Also noticed some regressions with native-threads on i386.
  arm support from Dale Rahn (drahn@).
- quiet pre-patch phase

okay ian@
2005-06-03 17:27:53 +00:00
kurt
56f5b6a11c timezone is a function on BSD, not a variable, so move the timezone
== 0 check to the non-BSD section. from millert@

no funtional change, so no PKGNAME bump
2005-06-02 18:18:15 +00:00
espie
66b1717b38 tsk, tsk, distibution 2005-05-27 09:34:00 +00:00
kurt
55254799c8 + 1.5 2005-05-25 17:29:01 +00:00
kurt
599fca9561 initial import of 1.5 2005-05-25 17:27:53 +00:00
kurt
48f713b65f quiet the pre-patch phase 2005-05-24 22:02:47 +00:00
kurt
aad015c882 - add missing -pthread to java_vm. From niklas@.
- add missing -pthread to awt_robot, libjavaplugin_oji.so.
- fix misc timezone issues
- bump PKGNAME
2005-04-19 14:35:56 +00:00
db
0925c3a284 typo and wording fixes; approved by pval
ok mbalmer@ "that diff was fun to read"
2005-03-15 01:57:02 +00:00
sturm
6313a1dba0 build with systrace 2005-02-20 11:18:55 +00:00
sturm
3a51ccb48b add $OpenBSD$ tag 2005-02-09 20:36:29 +00:00
sturm
91d5b61cdd build with systrace 2005-02-06 22:06:34 +00:00
kurt
a53e8bb58b - teach jdk about /usr/local/lib
- teach ClassLoader how to load native libs with version numbers
- fix writes to HOME complaints
- point license URL to license itself
- fix timezone problem noticed by Roy Morris
- bump package name

ok alek@
2005-02-04 17:06:45 +00:00
naddy
3f04f8f321 SIZE 2005-01-05 16:22:24 +00:00
kurt
4e38e89a1b Add URL to jdk archive. ok pval@ 2004-12-28 16:23:59 +00:00
sturm
574ea67282 trivial update to 1.3.1_15 2004-12-25 19:23:25 +00:00
kurt
5339a096a6 - 1.4-linux 2004-12-22 02:05:39 +00:00
kurt
7077797dfd Won't ever work unless compat linux gets kernel threads emulation.
ok msf@, kevlo@
2004-12-22 02:04:41 +00:00
kurt
ebb6900dd2 +1.4 2004-12-21 04:02:57 +00:00
kurt
9a7dc09e56 - Initial import of jdk-1.4.2
Version 1.4.2 of Java 2 Platform, Standard Edition (J2SE)

with help from many; ok naddy@ espie@
2004-12-21 04:01:05 +00:00
kurt
57d4d1656b Set default FLAVOR to no_plugin and mark !no_plugin as BROKEN until
Security Vulnerability With Java Plug-in in JRE/SDK (SunSolve #57591)
is fixed.
2004-12-17 18:22:48 +00:00
espie
e2e843199a some more WANTLIB 2004-11-23 21:34:27 +00:00
alek
9285bdc4ed Use @sysctl
ok espie@
2004-11-09 14:48:25 +00:00
danh
c902aefaa6 second sweep for MESSAGE decoration removal; ok espie@ 2004-10-13 20:28:01 +00:00
danh
6362fb0bc7 initial sweep for MESSAGE decoration removal; ok espie@ 2004-10-13 18:59:18 +00:00
naddy
4efcc99722 - Stop installing man pages in man dirs. Use @mandir instead to avoid
conflicts with JRE and future JDKs.
- Add flavor descriptions to DESCR*.
- Add missing lib depend via MODULES devel/gettext.
- Comment the native_threads dir creation that was added in a recent commit.

From: Kurt Miller <truk@optonline.net>
2004-10-12 20:46:22 +00:00
sturm
29b772b57b update to 1.3.1_13 2004-10-03 14:33:53 +00:00
espie
45cfc49a9c slipped 2004-09-26 11:19:08 +00:00
espie
ee7b7a460a still broken, update plist now that I've got the binary package. 2004-09-25 14:33:57 +00:00
pvalchev
a004d6b491 fix typo 2004-09-22 17:28:26 +00:00
espie
96b0043b84 new style conflicts 2004-09-18 10:55:03 +00:00
espie
f28f2a833d switch to new plist, killing a few install scripts along the way. 2004-09-14 23:43:54 +00:00
naddy
b70c06e601 We've grown dladdr(3), adapt. From: Kurt Miller <truk@optonline.net> 2004-08-14 21:50:38 +00:00
naddy
d605f3d348 Bump to 1.3.1_12; from Waldemar Brodkorb <wbx@openbsd.de>.
Regen plist.
2004-08-10 22:20:26 +00:00
xsa
93568351bb set BUILD_DEPENDS= ${RUN_DEPENDS} not the opposite .. for obvious
reasons... okay pvalchev@.
2004-06-26 07:35:05 +00:00
sturm
cbe7bc983c fix build on -current, from maintainer Kurt Miller <truk at optonline.net>
update NO_SYSTRACE comment
2004-06-02 15:23:20 +00:00
brad
095c483f42 remove obsolete 1.2 JVMs
ok Christian Edward Gruber
2004-05-05 05:03:14 +00:00
sturm
f494ab289f build with systrace enabled 2004-05-01 14:29:17 +00:00
sturm
887fc3e5a9 update to linux jdk 1.3.1_11
from maintainer Christian Edward Gruber <cgruber at israfil.net>
ok pval@
2004-03-10 17:09:16 +00:00
wilfried
7c450c645f better plugin-dirs, ok maintainer 2004-02-19 20:26:23 +00:00
sturm
afbbb3b0b9 no systrace for now if 1.3-linux jdk is used (extraction fails due to
systrace bug)
2004-02-04 09:17:37 +00:00
pvalchev
ad55c52b4c - fix 1.3-linux dependency (restrict to newest version)
- enable/reset linux emulation automagically ala the change to 1.3-linux
  (for when that's used for bootstrapping)
from maintainer Kurt Millert
2004-02-03 03:30:55 +00:00
wilfried
e988b58aca fix build conflict, from maintainer 2004-01-30 13:52:27 +00:00
pvalchev
fd7018ebec fix link to BSD patchset; reminded by wilfried 2004-01-29 22:17:09 +00:00
pvalchev
c2ced449fb + 1.3 2004-01-29 22:03:33 +00:00
pvalchev
52164fc27e Import of NATIVE jdk-1.3.1
The Java 2 SDK software includes tools useful for developing and 
testing programs written in the Java programming language and
running on the Java platform.

i386-only for now.
Requires manual registration/fetch of distfile from Sun due to
their restrictions.

From maintainer Kurt Miller <truk@optonline.net>
2004-01-29 22:02:18 +00:00
sturm
06a51fedaa emulation sysctl 2004-01-15 22:38:02 +00:00
espie
562d71fce5 Fix compile with gcc3 2003-12-31 17:18:16 +00:00
sturm
cb161ecf05 update to jdk 1.3.1-10
NO_SYSTRACE=Yes due to not recognizing the archive as a linux binary
2003-12-30 23:24:32 +00:00
naddy
2276d3b230 remove WWW lines 2003-12-15 21:42:08 +00:00
sturm
4fbc4707e7 help bootstrapping 1.3 native jdk by adding an empty OpenBSD.properties
file to tools.jar; the same was done in 1.2-blackdown back in the days

from Kurt Miller <truk at optonline dot net>
2003-12-15 17:16:45 +00:00
naddy
cba26e8fcf poll() prototype changed 2003-12-14 22:51:21 +00:00
naddy
f0785d3b44 Use FULLDISTDIR to refer to distribution file location.
From: Xavier Santolaria <xavier@santolaria.net>
2003-10-26 23:49:31 +00:00
brad
e8a1977a16 update to Sun JDK 1.3.1_09
ok naddy@
2003-08-24 20:57:26 +00:00
brad
c132b523a6 - relax pkgspec's a bit
- LIB_DEPENDS -> USE_MOTIF
- remove test target which does not seem to serve any purpose
--
ok MAINTAINER
2003-08-20 00:08:31 +00:00
brad
b493ffd6eb fix dependency registration so we don't have a bogus run-time dependency
on bzip2.
--
ok MAINTAINER
2003-08-20 00:04:06 +00:00
naddy
cdef03c574 Bring us into the i386/ELF world. From Kurt Miller <truk@optonline.net>. 2003-08-17 01:06:57 +00:00
naddy
20db2316c6 patch -b => -z 2003-08-02 01:53:48 +00:00
espie
94442259be Some examples of FETCH_MANUALLY 2003-07-25 13:07:17 +00:00
sturm
68acf6813f update to sun jdk 1.3.1_08
ok'ed some moons ago by Christian Gruber
2003-06-23 18:54:21 +00:00
naddy
68285f34b6 Remove historic JDK1.1. Ancient, unfriendly license, no longer useful.
ok ian@
2003-05-22 22:51:09 +00:00
reinhard
cfab7e2e57 update to linux jdk 1.3.1_07; ok maintainer 2003-02-03 09:31:19 +00:00
sturm
5da443f4b0 mark broken
symptom: eats all cpu and gets nowhere, seems stuck in rt_sigsuspend

niklas@ speculated about our Posix RT signalling not being perfectly
emulated, no quick fix expected

MAINTAINER agreed
2003-01-22 16:37:45 +00:00
pvalchev
c6d43893ca Update to jdk-1.3.1_06 which is the latest and greatest from Sun
from santana@openbsd.org.mx, ok'ed by maintainer
2003-01-19 09:13:56 +00:00
fgsch
6256399a40 and more.. 2002-12-29 20:19:09 +00:00
ian
67908bf66a Add missing VMEM_WARNING 2002-12-01 00:40:15 +00:00
ian
8b675763dd Add 1.2 2002-11-01 17:55:12 +00:00
ian
be60f204fe Initial import of native Java JDK1.2 2002-11-01 17:52:53 +00:00
kevlo
f8aeed1729 upgrade to version 1.4.1_01; requested by Ian Delahorne <iand02@kth.se>. 2002-10-29 03:25:21 +00:00
kevlo
e18f32f5fd Update to version 1.4.1 2002-09-19 06:09:39 +00:00
nino
2dbe12308c Remove default conflicts and add a explicit conflict with itself only.
Ok kevlo@
2002-09-02 04:46:05 +00:00
kevlo
20214854f2 remove package conflicts.
--
Pointed out by Christian Edward Gruber <cgruber@israfil.net>.
2002-08-16 01:18:51 +00:00
kevlo
86da8f6391 +1.4-linux 2002-08-01 05:57:35 +00:00
kevlo
c413d3383f Initial import of Sun's Java Development Kit 1.4. 2002-08-01 05:56:56 +00:00
naddy
d84d8fdb2b Update to 1.3.1_04.
From maintainer Christian Edward Gruber <cgruber@israfil.net>.
2002-07-26 00:08:09 +00:00
matt
dc6d4c3824 release the rest of my ports to ports@ 2002-07-10 11:56:35 +00:00
matt
523b0ee587 taken by ian@ 2002-07-09 12:35:54 +00:00
espie
3c08c3c943 Kill a few SUBDIR. 2002-05-13 18:50:36 +00:00
matt
57a6f42922 license comments 2002-05-11 23:59:35 +00:00
espie
955b9f08fc one single address 2002-05-08 17:52:50 +00:00
espie
e723329a24 reference an existing distfile. 2002-04-11 18:49:18 +00:00
matt
7aaba8c3e5 update MASTER_SITES to breathe a little more life into this cruft 2002-02-10 18:00:35 +00:00
matt
b36b3d8fe9 j2sdk-1.3.1_02, thanks ben@trumpetpower.com, bsdguy@docisland.org
no thanks to Sun's dodgy FTP servers...
2002-02-09 14:43:59 +00:00
matt
d577d78c9d MASTER_SITES update; thx arrigo@sevenseas.org 2001-12-10 23:45:38 +00:00
matt
cff09c587f - NO_REGRESS
- distinfo
- move non-installation-related MESSAGE into DESCR
2001-11-22 05:38:32 +00:00
espie
00ce723944 Kill remaining RUN_DEPENDS/BUILD_DEPENDS first parters. 2001-11-13 22:13:22 +00:00
espie
0e6f6f93bb Kill first component of BUILD_DEPENDS.
Fix sawfish comment while I'm at it.
`window manager for the X windows system'.
Like DUH ! It's going to be a window manager for my microwave oven ?
2001-11-10 15:00:47 +00:00
kevlo
fcc986c1f4 - upgrade to the lastest version: j2sdk-1_3_1_01-linux-i386.bin
- bump NEED_VERSION
--
No response from maintainer
2001-09-17 14:17:16 +00:00
naddy
15bc69a522 fix dependency: emulators/redhat_base -> emulators/redhat/base 2001-09-16 17:02:02 +00:00
naddy
1d176437c8 replace ${LOCALBASE}/emul/redhat with /emul/linux in *_DEPENDS 2001-08-29 15:40:10 +00:00
matt
8778f4cd8e make APPHOME check a bit smarter; allows java to be invoked with all kinds
of different relative paths
2001-08-28 22:16:51 +00:00
matt
5fe5ef617e - 1.3.1, requested by MAINTAINER
- a few correctness fixes
2001-06-27 00:36:45 +00:00
kevlo
87205a7bd1 update MASTER_SITES
--
Ok'd by maintainer
2001-06-02 15:18:43 +00:00
matt
e619a9e66d oops, last change makes redhat_base a build dependency 2001-05-13 13:10:08 +00:00
matt
c3ed4a55e1 fix javah problem bootstrapping JDK native build 2001-05-13 13:08:30 +00:00
matt
c5c0cbe0bd - reorg existing JDKs, update devel/jdk dependencies
- become MAINTAINER for jdk 1.1 and 1.2 (ok MAINTAINERs)
- add jdk 1.3
2001-05-08 00:54:36 +00:00
lebel
0ae87f81fc devel: COMMENT is out, bump NEED_VERSION. 2001-05-06 00:12:42 +00:00
brad
008002aba4 fix dependency path to FreeBSD's a.out libc now that freebsd_lib has been upgraded. 2001-03-02 14:12:12 +00:00
naddy
abfa9851a8 If HOMEPAGE is defined in Makefile, reference it in DESCR, too.
authorized by espie@

Fix a few minor cosmetic issues along the way.
2000-12-21 21:20:34 +00:00
kevlo
1888076638 - Bump NEED_VERSION
- Update MASTER_SITES
- Add @comment to PLIST
2000-12-06 02:51:31 +00:00
espie
aa4a7733cc Complete a few MAINTAINER names. 2000-10-22 14:02:46 +00:00
espie
f100c128f9 Remove NO_CONFIGURE/NO_PATCH/NO_EXTRACT/NO_MTREE
Kill corresponding FAKE=Yes and switch to CONFIGURE_STYLE while I'm at it.
2000-06-16 23:06:03 +00:00
chris
7c5527d45b Fix o'Master Sites 2000-06-16 05:25:28 +00:00
espie
a6cf1cb721 Looks more like an OpenBSD port. Not perfect, though. 2000-03-30 09:27:02 +00:00
chris
563d77295a Add license and fix hotjava pre-fetch 2000-03-30 06:51:28 +00:00
chris
9fa7531384 Sun JDK, based on the FreeBSD port, for those times when Kaffe won't
cut it.
2000-03-30 03:07:25 +00:00