Commit graph

3270 commits

Author SHA1 Message Date
Jung-uk Kim
fa75392bda - Update to 1.3.1.
- Tidy up dependencies, trim Makefile header, and clean up style.

Feature safe:	yes
2012-11-08 18:22:11 +00:00
Jung-uk Kim
044b237329 - Remove patches for regression tests. Those patches are not necessary but
caused build failures on 7.x.
- Revert r306656.  bootstrap-openjdk builds it fine now (r306814).
- Remove registervm from build dependency.  This hack is no longer necessary
as javavmwrapper is fixed now (r306536).

Approved by:	glewis (maintainer)
Feature safe:	yes
2012-11-03 23:40:39 +00:00
Jung-uk Kim
ea1e79cd5a Fix deinstallation script for 7.x. -samefile option for find(1) does not
exist there.

Reviewed by:	glewis (maintainer)
Feature safe:	yes
2012-11-02 17:12:08 +00:00
Greg Lewis
20c71881ba . Update to 2012h.
Feature safe:	yes
2012-11-02 16:48:08 +00:00
Tilman Keskinoz
40958ff4ab Update to 1.4.2
Feature safe:	yes
2012-11-02 16:07:52 +00:00
Jung-uk Kim
627eaadea8 - Update to r306764.
- Generate distfiles directly from pkg-plist.  This list was compiled from
running "ktrace -i -tn make" on openjdk6 and openjdk7 ports.
- Re-add jre/bin/java to work around a bug in openjdk7 build infrastructure.
It is not really necessary but langtools fails to build without it because
langtools/make/tools/GenStubs/GenStubs.java executes it based on java.home
property, which points to jre subdirectory.  Note this problem only exists
on recent jdk7 langtools and jdk6 and jdk8 are not affected.

Feature safe:	yes
2012-11-01 17:25:59 +00:00
Greg Lewis
1158f572a3 . Introduce a DEBUG option and default it to unset. For now the .debuginfo
files are only installed if the option is set.  In future it will likely
  also mean to enable the debug and/or fastdebug build.

PR:		172627
Feature safe:	yes
2012-10-31 22:07:56 +00:00
Jung-uk Kim
e93fd31996 Shut up noise when there is no JDK/JRE to register.
Reviewed by:	glewis (maintainer)
Feature safe:	yes
2012-10-31 21:50:25 +00:00
Jung-uk Kim
ff193c17dc - Remove registervm from build dependency. This hack is no longer necessary
as javavmwrapper is fixed now (r306536).
- Remove an empty directory, which was missed in the previous commit.

Feature safe:	yes
2012-10-31 20:49:54 +00:00
Greg Lewis
ea24a012f6 . Remove bootstrap-openjdk as a potential bootstrap. It cannot compile
openjdk7 at the moment.  Instead to default to openjdk6 as the bootstrap
  if nothing is already installed.

Reported by:	olgeni@
Feature safe:	yes
2012-10-30 02:15:40 +00:00
Greg Lewis
5b9c189def . Update to build 27.
Feature safe:	yes
2012-10-29 06:13:33 +00:00
Greg Lewis
cd05fb5d6e . Update to 7u9.
Feature safe:	yes
2012-10-28 21:20:28 +00:00
Greg Lewis
94dfcbe517 . Remove duplicate MAKE_JOBS_SAFE line. [1]
. Group the USE_* directives together.
. Trim the Makefile header. [2]
. Convert to optionsNG. [2]
. Remove the ABI numbers from LIB_DEPENDS. [2]
. Fix the POLICY option. [2]
. Fix permissions and ownership of jexec. [2]
. Make sure the bootstrap JDK is used by the ant bootstrap. [2]

Submitted by:	kuriyama@ [1]
		jkim@ [2]
Feature safe:	yes
2012-10-28 20:36:03 +00:00
Jung-uk Kim
ace34c1a63 - Ignore bootstrap-openjdk when we automatically register existing JVMs.
- Make sure to destroy all symlinks pointing to ${PREFIX}/bin/javavm and
${PREFIX}/etc/javavms when we deinstall the package.

Reviewed by:	glewis (maintainer)
Feature safe:	yes
2012-10-28 02:11:29 +00:00
Baptiste Daroussin
959df3a8f1 diablo-jre/jdk 16 is also outdated and affected by security issues, consider
using openjdk6 or openjdk7

they were forgotten in previous run

Reported by:	glewis
Approved by:	java (glewis)
Feature safe:	yes
2012-10-27 17:48:37 +00:00
Greg Lewis
9261310c4b . Update to 2012g
Feature safe:	yes
2012-10-27 17:43:02 +00:00
Baptiste Daroussin
8e204e626b java 1.5 (aka 5.0) is EOLed since October 2009 [1]
java/jdk16 is outdated with security issues consider using java/openjdk6 [1]
java/jmp is java 1.5 only

Approved by:	java (glewis) [1] \
		Ronald Klop <ronald@klop.ws> (maintainer) [2]
Feature safe:	yes
2012-10-27 06:56:10 +00:00
Jung-uk Kim
442124cd33 Do not create unused empty directories.
Feature safe:	yes
2012-10-26 21:55:26 +00:00
Baptiste Daroussin
da6c3af5fc Deprecate a bunch of ports that are either abandonware and/or for which no more
public distfiles are available, or for which are -devel version with a more
recent stable version for long

Feature safe:	yes
2012-10-26 14:57:50 +00:00
Jung-uk Kim
39d23ac84d Register javavmwrapper as dependency. It is not strictly necessary but it
should unbreak tinderbox build for openjdk6 and openjdk6-jre.

Feature safe:	yes
2012-10-25 22:21:53 +00:00
Jung-uk Kim
09bb1716ac Move .endif to a better place. No functional change.
Feature safe:	yes
2012-10-25 21:03:22 +00:00
Jung-uk Kim
e702292487 - Update to r306294.
- Trim more files to simplify maintenance.

Feature safe:	yes
2012-10-24 19:57:17 +00:00
Jung-uk Kim
3cc4634867 Bump PORTREVISION for the new cacerts.
Feature safe:	yes
2012-10-23 17:40:51 +00:00
Alex Dupre
e4c34a1063 Update CA list to Oracle Java 7u9.
Added CA:
- geotrustprimarycag2
- thawteprimaryrootcag2
- verisignclass3g4ca

Feature safe:	yes
2012-10-23 08:21:48 +00:00
Jung-uk Kim
85da8b848f Remove more environment variables. These variables are never meant to be
overridden by the user.

Feature safe:	yes
2012-10-22 23:43:36 +00:00
Jung-uk Kim
3c604f0e80 Remove a bogus environment variable, especially for i386. This fixes build
under certain conditions.

Feature safe:	yes
2012-10-22 20:29:54 +00:00
Pietro Cerutti
74e911d477 - Update to 7.2.1
Release notes: http://netbeans.org/community/releases/72/relnotes.html

Feature safe:	yes
2012-10-22 08:51:35 +00:00
Jung-uk Kim
81a8a55b63 - Add 2012/10/16 security patches from IcedTea6 1.11.5. [1]
http://icedtea.classpath.org/hg/release/icedtea6-1.11/rev/d9564350faa6
http://blog.fuseyism.com/index.php/2012/10/19/security-icedtea-1-10-10-1-11-15-2-1-3-2-2-3-2-3-3-released/

- Completely turn off parallel build by default and remove parallel build
hack for HotSpot.  There were several reports that it fails to build under
certain environment, ports/162991 for example.  Users can still do parallel
build by setting FORCE_MAKE_JOBS (and MAKE_JOBS_NUMBER if desired).
- Implement os::available_memory().  Now it is consistent with "vm.vmtotal"
sysctl(3) MIB rather than bogus (physical memory / 4).
- Prefer sysconf(_SC_NPROCESSORS_CONF) over HW_NCPU sysctl MIB to get the
number of installed processors.  There is no functional difference except
for CURRENT, which obtains the information from ELF aux vector.
- Prefer sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE) over HW_USERMEM
sysctl MIB to get size of physical memory.  Although it looks more logical
to find currently available memory, it has an inevitable side-effect, i. e.,
it changes dynamically depending on current wired page count.  Therefore,
it is unpredictable and not too useful some times.  For example, launcher
uses the parameter to determine initial heap size and machine class for i386.
Now it is more consistent with other places (and Linux JDK/JREs, including
the ones we have in ports tree).
- Implement os::active_processor_count() using cpuset_getaffinity(2).  For
example, Runtime.getRuntime().availableProcessors() now returns number of
available processors for the current process as it should.
- Sync. launchers (java_md.c) for HotSpot and JDK as much as possible for
maintainability.  As a good side-effect, launcher for i386 can now determine
machine class based on the current hardware configuration.  Previously,
client VM was always chosen by default.
- Fix CounterGet(), which is only used for debugging launcher.
- Add swap info for os::print_memory_info().

Obtained from:	IcedTea project [1]
Feature safe:	yes
2012-10-19 22:43:10 +00:00
Jung-uk Kim
aadc8c6b1d Update to 7u9.
Feature safe:	yes
2012-10-19 20:24:21 +00:00
Jung-uk Kim
b11f87a0e5 - Update to 7u9.
- Trim makefile header and convert to optionsNG.

Feature safe:	yes
2012-10-19 20:21:54 +00:00
Jung-uk Kim
de8b0ab5ad Update to 6u37.
Feature safe:	yes
2012-10-19 20:15:14 +00:00
Jung-uk Kim
aed848db40 Update to 6u37.
Feature safe:	yes
2012-10-19 20:13:32 +00:00
Jung-uk Kim
2d4e9c6a9c Fix pkg-plist for i386.
Feature safe:	yes
2012-10-12 06:41:51 +00:00
Jung-uk Kim
2151c80bb7 Add a port to self-bootstrap OpenJDK6. Note the initial distfiles were
bootstrapped with pre-built openjdk6 packages from FreeBSD build clusters
on clean 7.4-RELEASE installation, and the ports tree was checked out at
r305682.

Feature safe:	yes
2012-10-12 00:42:31 +00:00
Jung-uk Kim
2007d57691 - Explicitly set registervm as build dependency. When BOOTSTRAPJDKDIR is
manually set, this dependency may not be fulfilled.
- Consistently use WRKSRC over WRKDIR where it makes sense.  Although they
are actually the same directory, there is no reason to confuse users.

Feature safe:	yes
2012-10-10 19:55:27 +00:00
Jung-uk Kim
064102df55 Update to build 26. 2012-10-09 20:59:37 +00:00
Jung-uk Kim
3b1e868657 Recommend newly added openjdk6-jre. 2012-10-09 17:47:53 +00:00
Jung-uk Kim
02cfcdf497 - Sanitize user, group and permission. Inspired by openjdk7.
- Add a slave port to create JRE-only package.
2012-10-09 17:47:06 +00:00
Jimmy Olgeni
9d0b742cb3 Upgrade to version 1.0.14. 2012-10-08 13:47:58 +00:00
Jimmy Olgeni
422abf72c7 Upgrade to version 1.0.18. 2012-10-08 13:46:34 +00:00
Pietro Cerutti
5f9b41440a - Update to 7.3.b 2012-10-08 09:05:29 +00:00
Jung-uk Kim
aff852ecef - Update to 1.6.0.
- Reset maintainership.  See ports/164941.
- Make it as amd64 and i386 only.  Other architectures needs porting.
- Reduce Makefile headers, add licenses, and convert to optionsNG.
- Add an option to build with native JDK.  When it is not selected, GCJ is
used instead.  Turned on by default.
2012-10-05 20:40:39 +00:00
Jung-uk Kim
02e125120c We have to supply -Xmx directly to JVM because ECJ ignores -J option.
http://developer.classpath.org/mediation/ClasspathDeveloperGuidelines
2012-10-05 17:40:54 +00:00
Jung-uk Kim
58f8b8de4d Fix a typo for the wrappers. 2012-10-04 18:47:53 +00:00
Jung-uk Kim
2197766d97 - Update ECJ to 3.8.1.
The following changes were made in the previous commit.

- Use ECJ 3.8 instead of 4.2.  This simplifies and add more Eclipse mirrors.
They are actually the same compilers released with different Eclipse JDTs.
- Add an option to build gjdoc.
- Add an option to build with GMP, which enables java.math.BigInteger.
- Add an option to build with native JDK.  When it is turned off, ECJ or GCJ
(when WITH_GCJ is defined) is used for glibj.zip.  Note ECJ (with gij) and
GCJ can compile classpath perfectly fine on FreeBSD 9 and later but it seems
libgcj interacts badly with 7 and 8.  Need more investigation.
- Reduce unnecessary dependencies.  zip is not used when "--with-jar" is
specified.  Use pre-built ANTLR jar file, which is only used for gjdoc.
Remove JDK run-time dependency because it is only necessary to execute tools
and these tools are actually wrappers.  Now we just execute them with javavm
wrapper (or user-specified VM when JAVACMD environment variable is set).
Note you need a valid JVM to run these commands now.
- Add a patch to fix an ugly JAR updater bug.  Without this, the file name
must include "/" in it, e.g., "gjar i ./glibj.zip".
2012-10-04 17:32:13 +00:00
Jung-uk Kim
2ed69d4811 Revert the previous accidental commit. It is not ready yet. 2012-10-04 16:30:16 +00:00
Jung-uk Kim
7b1d3862e2 Revert the previous accidental commit. 2012-10-04 16:19:53 +00:00
Jung-uk Kim
e2756cb835 - Reset maintainership. See ports/164941.
- Fix conflicts with java/classpath.  Note security provider configuration
is moved to ${PREFIX}/lib/security/SableVM.security.  This file is always
loaded first because the short vendor name is SableVM.  If it does not
exist, then classpath.security is loaded (java/security/Security.java).
- Reduce Makefile headers, add licenses, and convert to optionsNG.
2012-10-04 16:13:00 +00:00
Baptiste Daroussin
5ac78e2f5e Convert to new options framework 2012-10-04 07:18:39 +00:00
Jason Helfman
fed1744b45 - reset maintainer per maintainer
- while here...
  - fix MASTER_SITES
  - use optionsNG for DOCS
  - add additional CATEGORIES
  - adjust COMMENT
  - update WWW address and pkg-descr

PR:		172097
Submitted by:	maintainer, jonc@chen.org.nz
2012-09-27 23:03:38 +00:00
Jung-uk Kim
bedc8d0abc Tidy up patches. No functional change. 2012-09-27 00:18:41 +00:00
Jung-uk Kim
160ffd1866 Use fdescfs(5) and procfs(5) consistently. 2012-09-26 23:24:44 +00:00
Alex Dupre
799566f891 Fix sed substitution by forcing LANG=C. 2012-09-25 12:55:00 +00:00
Boris Samorodov
ab15538b30 Add jboss7 , JBoss AS 7.1.1.Final Brontes.
PR:		ports/166665
Submitted by:	Alexander Yerenkow <yerenkow@gmail.com>
2012-09-23 17:09:22 +00:00
Eitan Adler
31ff7fad6d Unbreak index on i386 by marking this port as broken without linuxpluginwrapper.
Pointyhat:	eadler
2012-09-22 14:36:25 +00:00
Greg Lewis
3fbe814e84 . Also fix permissions in the dropins/jdt/plugins directory.
Pointed out by:	ale@
2012-09-21 15:23:56 +00:00
Greg Lewis
3ddc6cd1ed . Fix permissions problems with some of the JARs installed as plugins.
This is the same fix applied ale@ to java/eclipse.

Reported by:	Olivier Smedts <olivier@gid0.org>
2012-09-21 05:47:34 +00:00
Greg Lewis
8424671b18 . Update to 4.2.0 and re-enable.
Submitted by:	tg@
2012-09-19 19:58:38 +00:00
Alex Dupre
65878ec96d Update to 1.7 release. 2012-09-19 09:46:14 +00:00
Alex Dupre
0f72d36bc9 Fix wrong permissions on a few plugin jars. 2012-09-19 09:16:03 +00:00
Jung-uk Kim
e1b4da42cd - Override GCC used by HotSpot SA. [1]
- Fix build with GCC 4.5+ on i386. [2]
- Convert to the new header format.

Submitted by:	Claude Buisson (clbuisson at orange dot fr) [1]
Obtained from:	OpenJDK7 [2]
	http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/da880ba4edf9
2012-09-18 22:30:19 +00:00
Jung-uk Kim
17f28ea268 - Honor CC, CXX, and CPP. [1]
- Fix build with clang.

PR:	ports/151042 [1]
2012-09-18 20:53:20 +00:00
Jung-uk Kim
1677e26dfe - Fix possible build issues with pkgconf. [1]
- Update Makefile header to the new format.

Pointed by:	bapt [1]
2012-09-17 17:02:59 +00:00
Greg Lewis
dca8492cc2 . Update to 2012.f. 2012-09-15 02:38:27 +00:00
Jung-uk Kim
2a39a6d67e Simplify the previous commit a bit. 2012-09-14 22:13:10 +00:00
Jung-uk Kim
f2f668884c - Update to 1.5.4.
- Reset maintainer to java.
- Convert to optionsNG and add license.
- Unbreak sparc64.

PR:	ports/164941 (partial)
2012-09-14 22:02:09 +00:00
Jung-uk Kim
1f25a1209d Add an option to build with Eclipse Java Compiler. It also adds
com.sun.tools.javac implementation in tools.zip.  Turned off by default.
2012-09-14 21:56:20 +00:00
Jung-uk Kim
71853b153d Add license. 2012-09-14 18:36:45 +00:00
Jung-uk Kim
09e2b8f6e3 - Update to 0.99.
- Reset maintainer to java (ports/164941).
- Convert to optionsNG.
- Honor NOPORTEXAMPLES.
2012-09-14 18:10:55 +00:00
Beat Gaetzi
734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00
Jung-uk Kim
e6d638b4ac - Add perl as a build dependency.
- Fix perl path for javac wrapper. [1]

PR:		ports/170772 [1]
2012-09-10 19:15:11 +00:00
Jung-uk Kim
f2768fbc01 Set LC_ALL instead of LANG. Some users still complain about locale issues. 2012-09-10 18:34:58 +00:00
Herve Quiroz
b1bbf18f20 Update to 4.10
Submitted by:	mi
2012-09-10 13:33:08 +00:00
Jung-uk Kim
90302aaed2 Add a symlink for MD include directory. It is just good enough to make it
bootstrap JDK for OpenJDKs.
2012-09-07 22:58:24 +00:00
Jung-uk Kim
93ec3ca459 - Enlist openjdk6 users as testers of ant 1.8.4 as well.
- Set JAVACMD environment variable to point to bootstrap JDK for ant.  When
it is unset or empty, ant sets it by executing `which java`, which may be
different from bootstrap JDK.
2012-09-07 22:16:05 +00:00
Jung-uk Kim
d256da64fc Update to 6u35. 2012-09-07 21:00:54 +00:00
Jung-uk Kim
ef74469ba7 Update to 6u35. 2012-09-07 21:00:29 +00:00
Jung-uk Kim
aba89129e7 - Update security patch to fix CVE-2012-0547 and CVE-2012-1682.
- Catch up with icedtea.classpath.org server changes for distfiles.
2012-09-07 19:27:31 +00:00
Jung-uk Kim
ad941604d6 Catch up with icedtea.classpath.org changes to fix fetch & extract issues.
Reported by:	osa, barbara (barbara dot freebsd at gmail dot com)
2012-09-07 18:59:28 +00:00
Jung-uk Kim
14d7f5f921 Remove an unnecessary change in the previous commit. 2012-09-06 21:21:00 +00:00
Jung-uk Kim
61a04e3a5b Update to 1.3. 2012-09-06 21:15:59 +00:00
Dag-Erling Smørgrav
dbc36c9345 Remove useless metadata from ports I created. 2012-09-05 15:43:33 +00:00
Greg Lewis
3a99e9f96e . Update to 7u7. 2012-09-01 05:59:14 +00:00
Greg Lewis
5d7bd54d78 . Update to 7u7. This update is complicated by the demo package not having
a u7 version released.
2012-09-01 05:39:07 +00:00
Steven Kreuzer
6d68817f7c Update port to 3.5.5
Create a link for a current version
Update WWW and master sites

PR:		ports/171011
Submitted by:	Mikhail Tsatsenko m.tsatsenko@gmail.com
2012-08-30 19:14:32 +00:00
Greg Lewis
a553b8d753 . Commit a fix for CVE-2012-4681.
Obtained from:	Mark Wielaard <mjw@redhat.com> via rea@
2012-08-30 05:32:57 +00:00
Pietro Cerutti
8e6a07fa93 - Update to 7.2
Release notes: http://netbeans.org/community/releases/72/

PR:		171144
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net>
2012-08-29 09:29:02 +00:00
Jung-uk Kim
0271a4a8b2 Allow java/openjdk7 to build and execute Java plugin. A necessary patch for
OpenJDK7 was committed as r303173.
2012-08-27 17:43:38 +00:00
Greg Lewis
8c5212b4a8 . Allow openjdk7 to work with icedtea-web port.
Submitted by:	jkim@
2012-08-26 02:41:46 +00:00
Greg Lewis
65f9ad6643 . Update to 2012.e. 2012-08-21 12:38:34 +00:00
Greg Lewis
9b42878dd4 . Update to 7u6.
. Enlist openjdk7 users as testers of ant 1.8.4.
2012-08-21 04:56:41 +00:00
Greg Lewis
26a44bd643 . Update to 7u6. 2012-08-19 17:53:56 +00:00
Greg Lewis
357a1f4415 . Update to 6u34. 2012-08-19 17:42:14 +00:00
Jung-uk Kim
432b80cefa Fix web plugin crash with Firefox 14.
PR:		ports/170352
Obtained from:	IcedTea Project (PR1106)
2012-08-13 21:27:49 +00:00
Greg Lewis
c07f18f52f . Update to what should be 7u5. Based on the bug ids from
http://blog.fuseyism.com/index.php/2012/06/13/security-icedtea-2-1-1-2-2-1-released/
2012-08-06 05:57:54 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Greg Lewis
174111e974 . Update to 6u33. 2012-08-04 18:54:39 +00:00
Greg Lewis
1255022078 . Update to 7u5. 2012-08-04 18:37:43 +00:00
Jason Helfman
1000b02e5d - update to 3.8
- bring in patch from https://bugs.eclipse.org/bugs/show_bug.cgi?id=374724
2012-08-03 18:35:56 +00:00
Jung-uk Kim
227e93bb6e Update to 1.2.1. 2012-07-31 20:02:08 +00:00