aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/Makefile
Commit message (Collapse)AuthorAgeFilesLines
...
* . "Privatise" the symbols in libzip.so to avoid conflicting with thoseGreg Lewis2005-12-021-1/+1
| | | | | | | | | | | | | | | | | in the systems libz.so. This conflict broke applications such as Eclipse which is linked with libz.so (via gtk+ I believe). This is a slightly modified version of the submitter's patch. A better solution may be to link with the system's libz.so and remove the JDK's internal zlib code altogether, but I'd like to test that a little more first. Until then this solves the problem. . Bump PORTREVISION since Eclipse seems to be quite widely used. Submitted by: "Arno J. Klaassen" <arno@heho.snv.jussieu.fr> Notes: svn path=/head/; revision=150270
* . Make pkg-install install a symbolic link for the browser plugin if aGreg Lewis2005-11-231-2/+5
| | | | | | | | | | | | valid one doesn't currently exist. . Add a pkg-deinstall which removes the symbolic link if this port owns it. . Produce pkg-install and pkg-deinstall with SUB_FILES and SUB_LIST rather than manually using ${SED} ourselves. Approved by: maintainer timeout Notes: svn path=/head/; revision=149158
* Bump PORTREVISION to chase the glib20 shared library update.Joe Marcus Clarke2005-11-051-1/+1
| | | | Notes: svn path=/head/; revision=147269
* . Bump PORTREVISION for the last two fixes.Greg Lewis2005-10-131-0/+1
| | | | | | | Approved by: phantom (maintainer) Notes: svn path=/head/; revision=145273
* . Update to patchset 2:Greg Lewis2005-09-201-23/+37
| | | | | | | | | | | | | | | | | | | | | . Many patches are now unnecessary as they are included in the new patchset. . The browser plugin and Java Web Start is enabled on i386 (there are 64 bit issues with both the plugin and Mozilla/Firefox which prevent enabling it on amd64). . Update the amount of disk space needed. . Update the status of the port. . Disable building the shared class data archive. This broke the build on amd64 and appears to also be problematic on some i386 versions (4.11 is broken at least). It will reappear in future, probably initially on a limited set of FreeBSD versions and architectures (6.0/i386 is reported to work). Reviewed by: freebsd-java@ Approved by: maintainer timeout (1 week) Notes: svn path=/head/; revision=143246
* . Generate the class data shared archive during post-install to speedGreg Lewis2005-09-041-1/+2
| | | | | | | | | | | | up VM load times. See http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html Suggested by: "Ronald Klop" <ronald-freebsd8@klop.yi.org> Approved by: phantom (maintainer) Notes: svn path=/head/; revision=141916
* Use code long floating around the Internet to add support for KOI8-UMikhail Teterin2005-07-281-3/+9
| | | | | | | | | | | encoding. It is even easier to do the same thing to jdk14 and jdk13, where only one charset-interface exists (jdk15 has two with the old one considered obsolete). Approved by: Alexey Zelkin (maintainer) Notes: svn path=/head/; revision=140315
* . Ensure that when files are extracted that their fully resolved path liesGreg Lewis2005-05-121-1/+1
| | | | | | | | | | | | | | | 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. . Bump PORTREVISION for this fix. Security: http://vuxml.FreeBSD.org/18e5428f-ae7c-11d9-837d-000e0c2e438a.html Reviewed by: maintainer timeout Notes: svn path=/head/; revision=135102
* . Bump PORTREVISION, forgotten when doing the fixes prior to the portsGreg Lewis2005-04-081-3/+4
| | | | | | | | | | freeze. . Fix a typo and improve some grammar in some user output. Approved by: phantom (maintainer) Notes: svn path=/head/; revision=132768
* . Unbreak the packing list by adding explicit PLIST_FILES/PLIST_DIRS forGreg Lewis2005-03-301-0/+4
| | | | | | | | | | files that are generated by the post-install script (which runs after the dynamic packing list has been generated). Approved by: portmgr (krion), phantom (maintainer) Notes: svn path=/head/; revision=132124
* . Move the invocation of unregistervm to the top of the packing list.Greg Lewis2005-02-181-1/+1
| | | | | | | | | | | 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). Approved by: phantom (maintainer) Notes: svn path=/head/; revision=129191
* Unbreak plist generationAlexey Zelkin2005-01-291-8/+5
| | | | Notes: svn path=/head/; revision=127599
* Please welcome new participant of FreeBSD ports tree and Java portsAlexey Zelkin2005-01-201-106/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | family -- first public patchset of native Sun JDK 1.5.0 port. Most valuable addition of this patchset is native amd64 support. And special thanks goes to Daniel Seuffert <ds@freeBSD.org> for making it possible by providing amd64 hardware. This patchset was tested on following configurations: i386/4.10, i386/5.3, amd64/5.3. 5.3-RELEASE support is quite strong and shown no huge visible problems over last week. But even mentioning above note, keep in mind -- THIS IS ALPHA PATCHSET and suitable for testers/developers ONLY! Known issues are including (but for sure not limited to): . Browser plugin support is missing . JVMTI, JDWP and JMX are not tested yet . FreeBSD i386/4.10 support is suffering from hidden memory allocation failres (ideas and patches are welcome) NOTE ABOUT BOOTSTRAPING: It's possible to bootstrap jdk 1.5.0 using jdk 1.4.2 (either native or linux one). There's no need to have java/linux_jdk15 installed and working. Supported by: FreeBSD Foundation Notes: svn path=/head/; revision=126909
* . Update to patchset 7.Greg Lewis2004-12-171-2/+4
| | | | | | | | | . Fix a permissions problem with the plugins directory. Approved by: phantom (maintainer) Notes: svn path=/head/; revision=124268
* . Backport parts of the 1.5 plugin to address plugin vulnerabilities.Greg Lewis2004-12-031-3/+1
| | | | | | | | | . Bump PORTVERSION. Submitted by: Kurt Miller <truk@optonline.net> Notes: svn path=/head/; revision=123058
* . Mark FORBIDDEN when building with the browser plugin due to theGreg Lewis2004-11-241-0/+2
| | | | | | | | | | vulnerabilities discussed in: http://sunsolve.sun.com/search/document.do?assetkey=1-26-57591-1 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1029 Notes: svn path=/head/; revision=122308
* The BSD patchset for the Sun JDK modeled its thread behavior mostly afterBrian Feldman2004-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | existing the Solaris base, and similarly to what happened with NSPR, made a bad assumption on undefined behavior. This broke locking in various places in Java, for example, causing the the debugging support to be totally broken. It is worth someone who knows the Java codebase taking a look to see what other things could have been broken by this on FreeBSD 5.x+. The assumption is that pthread_mutex_trylock(3) on a default-type mutex will fail with EBUSY. This assumption is wrong for our libpthread, which returns EDEADLK if the owner thread is trying to acquire the mutex again with trylock. The behavior of performing a locking operation on a self-locked default-type mutex is explicitly undefined for pthread_mutex_lock(3). The POSIX specification is still not very clear. It defines pthread_mutex_trylock(3) in terms of pthread_mutex_lock(3) yet does not say what the defined behavior should be for a self-locked pthread_mutex_trylock(3) for any of the various mutex types, so it is ambiguous whether the result is clearly undefined or clearly to return EBUSY. It is a one line change whether or not to make libpthread return EDEADLK in this case, where it seems that most implementations do not. Reference: http://www.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_lock.html Notes: svn path=/head/; revision=119887
* . Bump PORTREVISION for the recent fixes.Greg Lewis2004-10-161-1/+1
| | | | Notes: svn path=/head/; revision=119610
* . The changes to make in -CURRENT to use MAKEFLAGS make us unable toGreg Lewis2004-08-181-1/+2
| | | | | | | | | | | | override the MAKEFLAGS ARCH value in the main HotSpot Makefile. Fix this by passing in a blank MAKEFLAGS up front so there is nothing to (try to) override. Submitted by: truckman Requested by: kris Notes: svn path=/head/; revision=116566
* . Set LATEST_LINK [1]Alexey Zelkin2004-03-051-1/+2
| | | | | | | | | | | | | | | . Fix rare NULL pointer de-reference bug in plugin code [2] . Use better chinese fonts [3] . Bump PORTREVISION Requested by: kris [1] Submitted by: Georg-W. Koltermann <gwk@rahn-koltermann.de> [2], Clive Lin <clive@tongi.org> [3] Notes: svn path=/head/; revision=103016
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.Joe Marcus Clarke2004-02-041-1/+1
| | | | | | | (Part 2) Notes: svn path=/head/; revision=99920
* 1. Switch 5.x version of jdk14 back to libc_r as default threading library.Alexey Zelkin2004-01-281-13/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We switched FreeBSD-5.x port to libkse as default threading library before releasing of patchset 6, but users who has most of stuff linked against libc_r and attempted to use jdk linked against libkse got into local hell of threading libraries mix. So, rollback to libc_r by default and add PTHREAD_LIBS support for this port. IMPORTANT: In order to use libkse as threading library for jdk14 you have to use rtld's libmap feature or recompile your ports stuff (like mozilla) with libkse. NOTE: libkse still has issues with java debug support, so if you're going to use debuging (JVMDI) stuff - leave with libc_r for now. 2. Disable IPv6 support by default. Unfortunatelly due to security reasons IPv4-to-IPv6 addresses mapping is disabled by default in FreeBSD-5.x, so those who would like to use Java Networking stuff had to manually enable it. To make jdk14 port more user-friendly IPv6 is disabled now on compile time. Those who need this stuff enabled have to use WITH_IPV6 compile time option. 3. Add MINIMAL compile option. If this option is used to build jdk14 port then plugin, javaws and demos stuff will not be installed and/or packaged. Also (as noted in [5]) X11 runtime dependancy will not be registered into built package. 4. Strip runtime depends of jdk14 port. There's no need to require open-motif to be runtime depends since libXm is staticly linked into libawt.so. 5. Make X11 runtime dependancy conditional (via urwfonts) in !WITHOUT_PLUGIN case only. This should affect only prebuilt package users: there's no need to install X11 libraries if you're going to use non-GUI stuff only (i.e. tomcat or jboss) 6. Add ${LOCALBASE}/lib to the deafult search path for JNI libraries. 7. Bump PORTVERSION Reported by: many [1] Submitted by: glewis [6] Requested by: marcus [6] Notes: svn path=/head/; revision=99318
* Use LS macro.Trevor Johnson2004-01-231-1/+1
| | | | Notes: svn path=/head/; revision=98863
* Use the CPIO macro defined in bsd.port.mk.Trevor Johnson2004-01-221-2/+0
| | | | Notes: svn path=/head/; revision=98793
* Use the SORT macro from bsd.port.mk.Trevor Johnson2004-01-221-1/+0
| | | | Notes: svn path=/head/; revision=98788
* . Check the return value of stat(2) when trying to read the javawsGreg Lewis2004-01-171-0/+1
| | | | | | | | | | | configuration file and behave appropriately if its -1. Fixes a SEGV caused by ignoring the return value and just carrying on. . Bump PORTREVISION. PR: 61392 Notes: svn path=/head/; revision=98375
* . Update to 1.4.2 patchset 6.Greg Lewis2004-01-141-1/+5
| | | | | | | | | | | | . Install the cacerts file from Sun's 1.4.2_03 release to avoid some problems associated with expired root certificates described in: http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436 Hopefully not objected to by: phantom Notes: svn path=/head/; revision=98174
* Don't use patch release number while setting up BUILD_DEPENDS forAlexey Zelkin2003-12-161-2/+3
| | | | | | | linux-sun-jdk. Notes: svn path=/head/; revision=95931
* USE_REINPLACE need be defined only when REINPLACE_CMD is used.Trevor Johnson2003-11-171-1/+0
| | | | Notes: svn path=/head/; revision=94172
* Fix bootstrap jdk detection process, so it work in case if no valid jdkAlexey Zelkin2003-11-121-4/+11
| | | | | | | | | installed. Previously BUILD_DEPENDS was not set correctly. Add all possible choices for 1.4.1/1.4.2 JDKs while auto-detecting. Notes: svn path=/head/; revision=93811
* Update to 1.4.2p5.Alexey Zelkin2003-11-111-50/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | Important changes since last patchset: . jdk14 port is now JDK 1.4.2 based! . JavaWS distributing with jdk . Runway problem fixed (fork() is no more problem for java apps) . Sound support updated . IPv6 support overhauled . Drag'n'Drop support fixed (require open-motif mods) As for now there's no more outstanding issues with this port! FreeBSD port is also got a important of changes: . optimized setup is now default (to get debuging bins/libs use WITH_DEBUG) . bootstrap jdk autodetection. If WITH_LINUX_BOOTSTRAP is not set, then it checks all known to work JDKs installed. If nothing found, forces to install of linux-sun-jdk14 . Because of above change there's no NATIVE_BOOTSTRAP option anymore. If native jdk14 is installed, it will be used by default. Notes: svn path=/head/; revision=93743
* Don't redefine ECHO_MSG to echo explicitly. It b0rked IGNORE messages.Alexey Zelkin2003-11-101-1/+0
| | | | | | | | PR: java/58902 Reported by: Linh Pham <question@closedsrc.org> Notes: svn path=/head/; revision=93646
* . Add fix for "runaway process" problem. It should fix of stalledAlexey Zelkin2003-10-291-2/+1
| | | | | | | | | | | | | | | | | processes problem for people who use Runtime.getRuntime.exec() method and related things. Least five people reported that this patch fixed problem for them. IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x and use libc_r at FreeBSD 5.x to upgrade. . Stop removing "src.zip" from installation bundle. Since -p4 it builds correctly and there's no reason to forbit people to use it. . Bump PORTREVISION. Notes: svn path=/head/; revision=92540
* . Sort PTHREAD_FILES.Greg Lewis2003-10-211-2/+3
| | | | | | | | | | | . Add j2se/ext/plugin/build/solaris/GNUmakefile to PTHREAD_FILES. Should fix plugin compilation on -CURRENT. Mea culpa. PR: 58269 Submitted by: Scott Dodson <sdodson@sdodson.com> Notes: svn path=/head/; revision=91780
* . Add a missing BUILD_DEPENDS on NSPR so the plugin builds.Greg Lewis2003-10-131-1/+2
| | | | | | | Forgotten by: glewis Notes: svn path=/head/; revision=91100
* . Override PKGINSTALL to place it in WRKDIR, which is writeable, ratherGreg Lewis2003-10-131-0/+1
| | | | | | | | | than PORTSDIR, which may not be. Submitted by: kris Notes: svn path=/head/; revision=90979
* . Update to 1.4.1p4.Greg Lewis2003-10-111-2/+18
| | | | | | | | | | . Use ${PTHREAD_LIBS} rather than -pthread or -lc_r. . Install system preferences to avoid annoying and constant error messages. Approved by: phantom (the update, anyway) Notes: svn path=/head/; revision=90830
* . Sync with the change to linux-sun-jdk14 (it now installs inGreg Lewis2003-10-011-1/+1
| | | | | | | /usr/local/linux-sun-jdk1.4.2) so this port will bootstrap. Notes: svn path=/head/; revision=89990
* Update linux jdk location after recent linux-sun-jdk update to 1.4.2_01Alexey Zelkin2003-09-081-1/+1
| | | | Notes: svn path=/head/; revision=88767
* Warn users about requirement of having linprocfs mounted in order toAlexey Zelkin2003-08-041-2/+22
| | | | | | | | | | | | | | start native JDK port build. linprocfs mounted become pre-requisite of build after Linux SUN JDK port was updated to 1.4.2. Add run-time (pre-build) check for linprocfs mounted as well. Bump space requirements note about disk space required for build of whole JDK 1.4.1 port and package to more appropriate value (as reported by many people). Notes: svn path=/head/; revision=86264
* Now expects bootstrap JDK in ${LOCALBASE}/linux-sun-jdk1.4.2.Ernst de Haan2003-07-211-1/+3
| | | | | | | Approved by: MAINTAINER Notes: svn path=/head/; revision=85275
* Fix checking of libc_r capabilities at FreeBSD version whichAlexey Zelkin2003-03-151-6/+22
| | | | | | | | | | don't have pthread_attr_get_np() at all (early 4.7-STABLE and previous versions). Reported by: Phillip Oleson <poleson@verio.net> Notes: svn path=/head/; revision=77130
* Add runtime test to check of required libc_r functionality. I.e. warnAlexey Zelkin2003-03-131-8/+13
| | | | | | | | | | | people about requirement of libc_r updates as early as possible. Bump PORTREVISION Approved by: portmgr (kris) (implicitly) Notes: svn path=/head/; revision=77122
* Add notice about amount of disk space requiredAlexey Zelkin2003-03-131-0/+9
| | | | Notes: svn path=/head/; revision=77121
* Make sure that demo/jfc/SwingSet2/resources does not exists (it should not,Alexey Zelkin2003-03-131-0/+2
| | | | | | | but sometimes leaves in) Notes: svn path=/head/; revision=77119
* Bump PORTREVISIONAlexey Zelkin2003-03-111-0/+1
| | | | Notes: svn path=/head/; revision=77091
* I am pleased to announce first public -beta patchset of FreeBSD/Java portAlexey Zelkin2003-03-061-166/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for JDK 1.4.1. This is complete and close to production quality native JDK with both working client and server native JVMs. Local micro benchmarks shown very little difference between Linux and FreeBSD JVMs in speed. One of important points of this patchset that it marks point when we are very close to passing of Sun TCK tests. Currently about 20 of >27000 tests are known to be broken (tests were run at -STABLE). If testing of this patchset will be smooth and founding of this work will be continued we may expect to have binary distribution of JDK 1.4.1 in April or begining of May. BUT, don't forget that even TCK tests can't cover all possible problems and this is -beta patchset. Keep your eyes open and report your problems to freebsd-java mailing list or to me directly! * About supported FreeBSD releases: Altough 4.8-RELEASE will be first officially supported FreeBSD release, you may use JDK 1.4.1-p3 at stock post-02-Feb-2003 -STABLE or -CURRENT. You also may use it at post-07-Jan-2003 -STABLE and -CURRENT (including 5.0-RELEASE), but it's required to apply libc_r patch, distributed with patchset3 archive, and rebuild libc_r first. * About compiler: This port is supposed to be built with stock FreeBSD compiler (3.2.[12] for -CURRENT and 2.95.4 for -STABLE)! * Following issues are known, but not yet addressed: . IPv6 networking. IPv6 support is disabled in this patchset. . Asian languages support. Patches are welcome! . K6 (586-class) processors support. There're issues with building on old K6 processors. If you've problems with 586-class machines other than K6 - please let me know. . Mozilla plugin is not yet ported. * Following areas should be used with increased attention: . Java Virtual Machine Profiling Interface (JVMPI) . Java Virtual Machine Debugging Interface (JVMDI) . Host Porting Interface (HPI) If you have problems with these interfaces please let me know. * THANKS! I would thank very much to FreeBSD Foundation, without which support and sponsorship JDK 1.4.1 port would not happen in such timeframes (less than 2 months). Sponsored by: FreeBSD Foundation Approved by: portmgr Notes: svn path=/head/; revision=77039
* Don't set IGNORE when PACKAGE_BUILDINGKris Kennaway2003-03-041-2/+2
| | | | Notes: svn path=/head/; revision=76825
* de-pkg-commentGreg Lewis2003-02-281-0/+1
| | | | Notes: svn path=/head/; revision=76665
* 1. Bump PORTREVISION for this and previous changes.Greg Lewis2003-02-281-1/+82
| | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=76664