Commit graph

116 commits

Author SHA1 Message Date
Greg Lewis
d342403f93 . Update to tzupdater 1.3.9-2008g. 2008-11-03 14:38:25 +00:00
Greg Lewis
6dc6d22c10 . Update to tzupdater 1.3.6.
PR:		125469
Submitted by:	Wayne Sierke <ws@au.dyndns.ws>
2008-07-13 18:18:44 +00:00
Greg Lewis
30d270a334 . Update to tzupdater 1.3.5. This patch is based on that submitted in the
PR but also fixes the path to tzupdater and bumps PORTREVISION.

PR:		123189
Submitted by:	Greg Larkin
2008-05-06 06:05:39 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Greg Lewis
53c68e35c6 . Update to tzupdater 1.3.3. 2008-01-13 04:48:37 +00:00
Greg Lewis
cd96d8f0fb . Update to tzupdater 1.3.0 to fix the default build (the previous version
of tzupdater is no longer available).

Approved by:	portmgr (linimon)
2007-11-15 17:45:00 +00:00
Greg Lewis
8ba89d398a . Explicitly pull in X dependencies instead of depending on the open-motif
dependency to implicitly pull in the X libraries we need.

Requested by:	linimon
2007-10-11 02:18:15 +00:00
Greg Lewis
e536dbe496 . Update to tzupdater 1.2.2. 2007-09-07 06:42:55 +00:00
Greg Lewis
53ea106755 . Mark this as BROKEN for gcc 4.2. The HotSpot C++ code needs some work
to be made gcc 4.2 compliant.
2007-09-02 06:00:00 +00:00
Greg Lewis
b700222ac1 . Update to tzupdater 1.2.1.
PR:	113248
2007-06-03 00:42:33 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Greg Lewis
eea3879a0a . Add JAIL as an option, the Makefile already supported it as an
environment variable.

PR:		110049
2007-03-08 05:18:45 +00:00
Greg Lewis
9a9c9f526e . Update to tzupdater 1.1.0-2007c.
. Clean up old zoneinfo files after tzupdater has run.
2007-03-07 16:30:42 +00:00
Greg Lewis
ce95857bda . Add a TZUPDATE option, defaulting to on, which will update the time zone
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]
2007-02-26 00:21:36 +00:00
Greg Lewis
4da04f5537 . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. 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]
2006-12-08 22:36:16 +00:00
Greg Lewis
4d0131162b . The IPV6_ONLY option is unnecessary as IPV6_V6ONLY is defined in
/usr/include/netinet6/in6.h.

Submitted by:	ume@
2006-10-09 16:35:29 +00:00
Greg Lewis
8531c78c89 . Add support for installing the JCE policy files. [1]
. OPTIONify. [1]
. Add a knob for IPV6_V6ONLY.
. Bump PORTREVISION.

PR:		103920
Submitted by:	lioux@
2006-10-08 19:22:19 +00:00
Edwin Groothuis
8f4ccb0a04 Remove USE_REINPLACE from categories starting with a J 2006-05-09 00:18:07 +00:00
Mark Linimon
cdda1e9d10 Reassign these ports from inactive maintainer to glewis, who has been doing
most of the work over the past year.

Hat:	portmgr
2006-03-31 08:47:17 +00:00
Greg Lewis
5954b07aaa . Link with the system libz instead of building the our own internal
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
2006-02-12 00:28:23 +00:00
Greg Lewis
c59b2ea8a8 . Update to patchset 8. 2006-01-20 16:39:05 +00:00
Dirk Meyer
b30917b04a - fix build in JAILS
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)
2006-01-07 09:33:41 +00:00
Greg Lewis
6f887ea63e . Tell the user all the files they will need up front, instead of telling
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
2005-12-14 16:52:32 +00:00
Greg Lewis
2481baa02d . Make pkg-install install a symbolic link for the browser plugin if a
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
2005-11-25 03:39:42 +00:00
Greg Lewis
ee62db26fb . Fix javaws.
. Bump PORTREVISION.

PR:		81176
Submitted by:	"Thomas M. Hermann" <__tmh@yahoo.com>
2005-10-13 15:09:11 +00:00
Greg Lewis
aac4424426 . Use ${PTHREAD_LIBS} when compiling the testos programme rather than
inventing our own version.

Approved by:	phantom (maintainer)
2005-09-03 21:13:49 +00:00
Greg Lewis
0be8478644 . 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 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
2005-05-11 21:18:39 +00:00
Greg Lewis
9606aa53d0 . Unbreak the packing list by adding explicit PLIST_FILES/PLIST_DIRS for
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)
2005-03-30 15:45:52 +00:00
Greg Lewis
8feb88e6e0 . 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).

Approved by:	phantom (maintainer)
2005-02-18 17:21:52 +00:00
Alexey Zelkin
994fbfdfa0 Add support for picking up of motif includes and libraries via newly
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)
2005-01-31 16:47:37 +00:00
Alexey Zelkin
1c39d32f2f Unbreak plist generation 2005-01-29 12:19:15 +00:00
Alexey Zelkin
61c7543378 Autogenerate PLIST while installing 2005-01-14 15:50:22 +00:00
Greg Lewis
55f5e15a50 . Update to patchset 7.
. Fix a permissions problem with the plugins directory.

Approved by:	phantom (maintainer)
2004-12-17 07:02:51 +00:00
Greg Lewis
008ccf15cd . Backport parts of the 1.5 plugin to address plugin vulnerabilities.
. Bump PORTVERSION.

Submitted by:	Kurt Miller <truk@optonline.net>
2004-12-03 19:53:44 +00:00
Greg Lewis
9b1f3ccd02 . Mark FORBIDDEN when building with the browser plugin due to the
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
2004-11-24 15:16:38 +00:00
Brian Feldman
52602010f0 The BSD patchset for the Sun JDK modeled its thread behavior mostly after
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
2004-10-20 23:22:56 +00:00
Greg Lewis
c8e6445d77 . Bump PORTREVISION for the recent fixes. 2004-10-16 17:17:09 +00:00
Greg Lewis
e8fea2e4e7 . The changes to make in -CURRENT to use MAKEFLAGS make us unable to
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
2004-08-18 07:06:03 +00:00
Alexey Zelkin
17eaf80bc2 . Set LATEST_LINK [1]
. 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]
2004-03-05 13:43:41 +00:00
Joe Marcus Clarke
053fdb6a6b Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2)
2004-02-04 05:21:48 +00:00
Alexey Zelkin
ae179afb91 1. Switch 5.x version of jdk14 back to libc_r as default threading library.
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]
2004-01-28 14:00:27 +00:00
Trevor Johnson
06acd13c21 Use LS macro. 2004-01-23 05:28:50 +00:00
Trevor Johnson
439b8a040c Use the CPIO macro defined in bsd.port.mk. 2004-01-22 12:18:43 +00:00
Trevor Johnson
fbd1108f49 Use the SORT macro from bsd.port.mk. 2004-01-22 11:06:02 +00:00
Greg Lewis
db3bca7b78 . Check the return value of stat(2) when trying to read the javaws
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
2004-01-17 07:11:12 +00:00
Greg Lewis
df0cd23644 . Update to 1.4.2 patchset 6.
. 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
2004-01-14 21:21:53 +00:00
Alexey Zelkin
ae130fdf6b Don't use patch release number while setting up BUILD_DEPENDS for
linux-sun-jdk.
2003-12-16 06:50:59 +00:00
Trevor Johnson
b3ba3ae427 USE_REINPLACE need be defined only when REINPLACE_CMD is used. 2003-11-17 12:29:10 +00:00
Alexey Zelkin
be57f40929 Fix bootstrap jdk detection process, so it work in case if no valid jdk
installed.  Previously BUILD_DEPENDS was not set correctly.

Add all possible choices for 1.4.1/1.4.2 JDKs while auto-detecting.
2003-11-12 12:38:03 +00:00
Alexey Zelkin
371e6b4b5c Update to 1.4.2p5.
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.
2003-11-11 16:16:20 +00:00