Commit graph

3215 commits

Author SHA1 Message Date
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