summaryrefslogtreecommitdiff
path: root/java/jdk14 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* . Update to tzupdater 1.2.1.Greg Lewis2007-06-032-7/+7
| | | | | | | PR: 113248 Notes: svn path=/head/; revision=192607
* . Make it so we include Xm/XmIm.h rather than defining our own prototype.Greg Lewis2007-05-221-0/+13
| | | | | | | | | | Fixes a build error due to the prototype being defined not matching the actual function. Approved by: portmgr (pav) Notes: svn path=/head/; revision=191608
* - Welcome X.org 7.2 \o/.Florent Thoumie2007-05-191-1/+1
| | | | | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}. Notes: svn path=/head/; revision=191544
* . Add JAIL as an option, the Makefile already supported it as anGreg Lewis2007-03-081-1/+2
| | | | | | | | | environment variable. PR: 110049 Notes: svn path=/head/; revision=186874
* . Update to tzupdater 1.1.0-2007c.Greg Lewis2007-03-072-7/+8
| | | | | | | . Clean up old zoneinfo files after tzupdater has run. Notes: svn path=/head/; revision=186826
* . Add a TZUPDATE option, defaulting to on, which will update the time zoneGreg Lewis2007-02-262-11/+27
| | | | | | | | | | | | | | data for the JDK using Sun's tzupdater. [1] . Some simplification of the convoluted logic around telling the user which files to download. In particular, don't care if we've already told them to download a file. . Bump PORTREVISION since many North American users will need to pick up the time zone changes. Collaboration with: Tim Zingelman <zingelman@fnal.gov> [1] Notes: svn path=/head/; revision=185941
* . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]Greg Lewis2006-12-084-15/+57
| | | | | | | | | | | | | . Small Makefile restructure to keep related variables in one place. . Trim the ancient bootstrapping options. . Add ipv6 to CATEGORIES if its enabled. [2] PR: 106129 [2] Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> [2] Pointed out by: pointyhat (via kris) [1] Notes: svn path=/head/; revision=179218
* . The IPV6_ONLY option is unnecessary as IPV6_V6ONLY is defined inGreg Lewis2006-10-091-5/+0
| | | | | | | | | /usr/include/netinet6/in6.h. Submitted by: ume@ Notes: svn path=/head/; revision=175111
* . Add support for installing the JCE policy files. [1]Greg Lewis2006-10-082-30/+47
| | | | | | | | | | | | . OPTIONify. [1] . Add a knob for IPV6_V6ONLY. . Bump PORTREVISION. PR: 103920 Submitted by: lioux@ Notes: svn path=/head/; revision=174997
* . Add a patch to support IPv6 only operation.Greg Lewis2006-10-081-0/+131
| | | | | | | | | | (Makefile knob to follow) PR: 92620 Submitted by: ume@ Notes: svn path=/head/; revision=174995
* . Use a mutex to make the resolver functions thread safe on FreeBSD 4.xGreg Lewis2006-10-081-0/+110
| | | | | | | | | (they are already thread safe on FreeBSD 5+). Submitted by: Arne Juul <arnej@europe.yahoo-inc.com> Notes: svn path=/head/; revision=174994
* Remove USE_REINPLACE from categories starting with a JEdwin Groothuis2006-05-091-1/+0
| | | | Notes: svn path=/head/; revision=161761
* Reassign these ports from inactive maintainer to glewis, who has been doingMark Linimon2006-03-311-1/+1
| | | | | | | | | most of the work over the past year. Hat: portmgr Notes: svn path=/head/; revision=158466
* . Link with the system libz instead of building the our own internalGreg Lewis2006-02-123-1/+50
| | | | | | | | | | | | | | | | | | copy. This should have the following effects: . Fix problems experienced by programmes that dynamically create their own copy of the JVM and are linked against the system's zlib (e.g., eclipse). . Reduce the potential for zlib based security problems affecting the JDK. This is similar to the patch in the PR, but was actually backported from the patches for the jdk15 port, so its a touch different. PR: 92459 Notes: svn path=/head/; revision=155803
* . Update to patchset 8.Greg Lewis2006-01-207-196/+17
| | | | Notes: svn path=/head/; revision=153996
* - fix build in JAILSDirk Meyer2006-01-071-0/+2
| | | | | | | | | | | | | | | | failed to build the jdk14 port in a jail under FreeBSD 5.4 FreeBSD 4.11 works. The problem is that mount don't list the linprocfs, and this make the selfcheck fail. maintainer emailed: So 6 Nov 2005 11:21:20 CET Approved by: (maintainer timeout) Notes: svn path=/head/; revision=152981
* . Tell the user all the files they will need up front, instead of tellingGreg Lewis2005-12-141-33/+31
| | | | | | | | | | | lies about what they have and prompting them one file at a time. This is a slight rewording of the submitted patch. PR: 84644 Submitted by: fenner Notes: svn path=/head/; revision=151171
* . Make pkg-install install a symbolic link for the browser plugin if aGreg Lewis2005-11-253-12/+84
| | | | | | | | | | | | 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=149373
* . Add SHA256.Greg Lewis2005-11-231-0/+3
| | | | Notes: svn path=/head/; revision=149194
* . Fix javaws.Greg Lewis2005-10-132-1/+16
| | | | | | | | | | . Bump PORTREVISION. PR: 81176 Submitted by: "Thomas M. Hermann" <__tmh@yahoo.com> Notes: svn path=/head/; revision=145270
* . Use ${PTHREAD_LIBS} when compiling the testos programme rather thanGreg Lewis2005-09-031-7/+1
| | | | | | | | | inventing our own version. Approved by: phantom (maintainer) Notes: svn path=/head/; revision=141862
* . Ensure that when files are extracted that their fully resolved path liesGreg Lewis2005-05-113-0/+72
| | | | | | | | | | | | | | | 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 a fixed version of 1.5. . Bump PORTREVISION for this fix. Approved by: maintainer timeout Security: http://vuxml.FreeBSD.org/18e5428f-ae7c-11d9-837d-000e0c2e438a.html Notes: svn path=/head/; revision=135087
* . Fix various problems with time zone handling including:Greg Lewis2005-04-181-0/+101
| | | | | | | | | | . /etc/localtime is a symlink. . /etc/localtime contains a time zone not recognised by the JDK. Submitted by: Kurt Miller <truk@optonline.net> Notes: svn path=/head/; revision=133601
* . 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=132123
* . 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
* Add support for picking up of motif includes and libraries via newlyAlexey Zelkin2005-01-311-3/+22
| | | | | | | | | added open-motif-jdk port. It's controlled via WITH_OPENMOTIF_JDK knob and currently disabled by default (it still requires additional testing and checking) Notes: svn path=/head/; revision=127791
* Unbreak plist generationAlexey Zelkin2005-01-291-8/+5
| | | | Notes: svn path=/head/; revision=127599
* Remove unused fileAlexey Zelkin2005-01-141-1763/+0
| | | | Notes: svn path=/head/; revision=126439
* Autogenerate PLIST while installingAlexey Zelkin2005-01-141-11/+13
| | | | Notes: svn path=/head/; revision=126438
* Do not remove /usr/local/share/doc/java on uninstall.Alexey Zelkin2005-01-121-1/+0
| | | | | | | Submitted by: pointyhat via kris Notes: svn path=/head/; revision=126275
* . Avoid a problem where, without linprocfs mounted, the first line ofGreg Lewis2004-12-171-0/+11
| | | | | | | | | | | | | a generated file will be overwritten with a warning, causing the build to fail. There is a check for linprocfs in pre-build, but it seems as though this problem can somehow trigger anyway, based on semi-regular reports to the mailing lists. PR: 74999 Approved by: phantom Notes: svn path=/head/; revision=124269
* . Update to patchset 7.Greg Lewis2004-12-1725-2018/+8
| | | | | | | | | . 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-039-3/+1420
| | | | | | | | | . 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
* . Take into account that pthread_mutex_trylock() can return EDEADLK asGreg Lewis2004-11-022-0/+22
| | | | | | | | | well as EBUSY with libkse on FreeBSD 5.x. Inspired by: green Notes: svn path=/head/; revision=120628
* The BSD patchset for the Sun JDK modeled its thread behavior mostly afterBrian Feldman2004-10-202-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* . Fix the Server VM for gcc 3.4 part 2/2.Greg Lewis2004-10-161-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | The HotSpot code (ab)uses named enums as ints in a number of places. The problem with this is that according the the C++ spec, the compiler (essentially) only needs to use an integral type wide enough to hold the values defined in the enum. Earlier versions of gcc appear to have just used an int whether they could have got away with a narrower type or not, hence the code worked as expected. gcc 3.4 now appears to implement this part of the spec, so using an enum blindly as an int causes various problems due to overflow. In this case the enum, Bytecodes::Code, appears to be a genuine enum, its just assumed to be wide enough to hold an arbitrary int in various places in the code. The correct fix would be to track down all those places in the code and fix them. Since there are quite a lot of these places and 5.3 is close to release for now we just add a value to the enum set to INT_MAX, forcing the compiler to use at least an int for the type. Sleuth work, discussion and code suggestions: peadar Notes: svn path=/head/; revision=119609
* . Fix the Server VM for gcc 3.4 part 1/2.Greg Lewis2004-10-161-0/+38
| | | | | | | | | | | | | | | | | | | | | The HotSpot code (ab)uses named enums as ints in a number of places. The problem with this is that according the the C++ spec, the compiler (essentially) only needs to use an integral type wide enough to hold the values defined in the enum. Earlier versions of gcc appear to have just used an int whether they could have got away with a narrower type or not, hence the code worked as expected. gcc 3.4 now appears to implement this part of the spec, so using an enum blindly as an int causes various problems due to overflow. This case is particularly bogus since the enums are merely to define a named integral type within a class (VMReg::Name doesn't even have any values enumerated in the declaration). So, convert these two enums to simply be typedef'ed ints. Sleuth work, discussion and code suggestions: peadar Notes: svn path=/head/; revision=119608
* . In the ReadChunk() function, change an assert() to be a "test for aGreg Lewis2004-10-161-0/+53
| | | | | | | | | | | | | | | | | | | | | | 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. . Fix some warnings regarding formats in debugging printf's. Notes: svn path=/head/; revision=119606
* . At least on FreeBSD, O_SYNC and O_DSYNC aren't both definedGreg Lewis2004-10-161-0/+21
| | | | | | | | | | | | | | (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 if they aren't defined. Notes: svn path=/head/; revision=119604
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.Greg Lewis2004-09-021-2/+2
| | | | | | | | . Call unregistervm with the VM we registered, not the comment associated with it (as comments should be optional). Notes: svn path=/head/; revision=117883
* . 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
* . Fix the build for gcc 3.4.Greg Lewis2004-08-123-0/+47
| | | | | | | | | PR: 69853 Submitted by: Jake Hamby <jhamby@anobject.com> Approved by: phantom (maintainer) Notes: svn path=/head/; revision=116077
* SIZEfyAlexey Zelkin2004-03-201-0/+3
| | | | Notes: svn path=/head/; revision=104735
* . Set LATEST_LINK [1]Alexey Zelkin2004-03-053-1/+317
| | | | | | | | | | | | | | | . 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-285-1099/+1220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update license to most recent SCSL license version.Alexey Zelkin2004-01-281-24/+14
| | | | Notes: svn path=/head/; revision=99317
* Use LS macro.Trevor Johnson2004-01-231-1/+1
| | | | Notes: svn path=/head/; revision=98863