Commit graph

88 commits

Author SHA1 Message Date
Jung-uk Kim
72fe6d5b0b Fix symbol mapfile for libvm.so. Note FreeBSD still uses GNU nm(1). 2014-11-19 21:52:04 +00:00
Antoine Brodin
2e3a92ee44 Cleanup plist 2014-11-14 15:38:27 +00:00
Greg Lewis
ba2e9ae12a . Update to 7u71. 2014-11-01 20:18:09 +00:00
Greg Lewis
63182852ca . Update to 7u65. 2014-07-16 15:21:38 +00:00
Greg Lewis
49d7c249aa . Fix unpack200 on i386/amd64 by only swapping bytes when this is actually
a big endian machine. [1]
. Bump PORTREVISION for the fix.
. Speed up the build on multi-core machines using the MAKE_JOBS trickery
  from the openjdk8 Makefile.
. Enlist openjdk7 users as testers of ant 1.9.4.
. Add a dependency on fontconfig.

PR:		191735 [1]
Requested by:	Michael Schmiedgen <schmiedgen@takwa.de> [2]
2014-07-12 17:36:17 +00:00
Jung-uk Kim
6d8c62429c Implement current and signal methods for sun.nio.ch.NativeThread. Note this
fixes a test case in the following Apache Solr bug report.

https://issues.apache.org/jira/browse/SOLR-6204

Reported by:	Dawid Weiss <dawid.weiss@gmail.com>
2014-06-27 18:41:19 +00:00
Greg Lewis
6f1ddbf6db Update to 7u60. 2014-06-07 23:37:24 +00:00
Jung-uk Kim
d7cffff692 - Fix printing services. When CUPS is used, ${LOCALBASE}/bin/lpr must be
used to print a generated PostScript file.  When lpd(8) is used, lpr(1) from
base must be used.  Also, status command for lpc(8) requires a printer name.
If no argument is specified, i.e., "/usr/sbin/lpc status", then it displays
the command usage, i.e., "usage: status  {all | printer ...}".
Unfortunately, "usage" is interpreted as a printer name because ":" is
included.  Add "all" and adjust an expression for grep(1). [1]
- Use /proc/curproc/file to find its executable path if available.  It fixes
java/icedtea-web, for example. [2]

PR:		ports/178856 [1]
PR:		java/189905 [2]
2014-05-21 20:03:14 +00:00
Greg Lewis
dce9c0bf02 . Handle spaces in CC, CXX or HOST_CC [1]
. Convert a space to a tab [2]
. Pet portlint by changing /nonexistent to ${NONEXISTENT} [2]

PR:		189385 [2]
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de> [1]
		Takefu <takefu@airport.fm> [2]
2014-05-09 01:36:19 +00:00
Greg Lewis
139ca58e28 . Fix spawning external processes from the JVM. [1]
. Remove some patches that have been merged to the upstream repository.

PR:		188979, 188980 [1]
Obtained from:	Kurt Miller (via the upstream bsd-port repo) [1]
2014-04-29 04:15:11 +00:00
Greg Lewis
95e1070605 . Update to 7u55.
. Use version 1.9.3 of ant [1]
. Don't insist on GCC since compilation with clang now works [2].

Obtained from:	jkim@'s openjdk7 redport repo ([1], [2])
2014-04-20 22:56:18 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Baptiste Daroussin
da20543449 Support stage
Use options helpers
Modernise LIB_DEPENDS
use pax instead of copytree_share to install, this allows preserving the modes and thus avoid playing with ${CHMOD}
2014-04-06 22:48:52 +00:00
Antoine Brodin
701b60c846 Attempt to unbreak 2014-03-11 07:16:16 +00:00
Baptiste Daroussin
4af74fc7f1 Convert j* to USES=zip 2014-03-10 15:21:21 +00:00
Tijl Coosemans
4264a8f23c - Include bsd.port.pre.mk before testing if ICONV_LIB is empty. It is
always empty without this. [1]
- Add -DLIBICONV_PLUG to CFLAGS to enforce the use of libc iconv even when
  libiconv is installed. [2]

PR:		ports/184204 [1], ports/184782 [1], ports/186956 [2]
Approved by:	glewis (maintainer)
2014-03-05 20:59:50 +00:00
Greg Lewis
e9ec4ef357 . Add BSD support to PortConfig. Fixes JMX on FreeBSD.
PR:		186636
2014-02-15 23:31:42 +00:00
Greg Lewis
7f6a61c0f8 . Remove OSVERSION checks. These are too restrictive but we don't have
OSVERSION bumps to check for on the release branches (even though they
  have had the fix MFC'ed).

  People seeing kernel panics on their machines need to update and pick up
  those fixes.
2014-02-10 13:35:12 +00:00
Greg Lewis
da5a136cad . Update to 7u51.
. Mark as FORBIDDEN for releases without the MAP_STACK fix (or where that
  fix isn't detectable), since kernel panics may result there.
2014-02-09 23:12:11 +00:00
Mathieu Arnold
a396f66981 Revert lang/openjdk7 to 7u25.
With hat:	portmgr-lurker
2014-01-04 15:56:26 +00:00
Baptiste Daroussin
313cb94889 Part 2 at removing now useless FETCH_ARGS redifition 2014-01-03 01:12:59 +00:00
Baptiste Daroussin
992c8a537c Mark as forbidden, the port is now trigering a nasty FreeBSD bug!
A fix is being investigated
2013-12-27 11:50:37 +00:00
Greg Lewis
152acbd814 . Fix the POLICY option to actually install the unlimited strength policy
files again.

PR:		185015
Submitted by:	Phil Phillips <pphillips@experts-exchange.com>
2013-12-27 04:32:45 +00:00
Greg Lewis
c010f08a58 . Update to 7u45. 2013-12-08 04:11:54 +00:00
Greg Lewis
00bc59125f . Fix DefaultAsynchronousChannelProvider.create to not crash on FreeBSD but
to instead create an instance of BsdAsynchronousChannelProvider().

PR:		183389
Submitted by:	girgen@
2013-10-30 04:29:14 +00:00
Greg Lewis
a419e4f7dc . Make set_native_priority return a (correct) value on FreeBSD, rather than
whatever happens to be on the stack.
. Bump PORTREVISION.

Submitted by:	Xiaoguang Sun <sunxiaoguang@gmail.com>
2013-09-22 00:39:22 +00:00
Baptiste Daroussin
c2c2a2b86b Add NO_STAGE all over the place in preparation for the staging support (cat: java) 2013-09-20 19:48:32 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Baptiste Daroussin
625ccfe662 fix build without gcc in base
Always use gcc whatever the default compiler is to build openjdk (it needs gcc -dumpspecs)
Define HOST_CC to ${CC} to make avoir direct call to "/usr/bin/gcc"
2013-08-26 06:35:58 +00:00
Greg Lewis
82b71a6c38 . Update to 7u25.
. Unbreak the port by committing the other half of the patch-set split.
2013-06-23 20:45:14 +00:00
Greg Lewis
b46768de7a . Update to 7u21. 2013-05-05 20:10:26 +00:00
Bryan Drewery
63f76304d6 - When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
  without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
  to always have a number

Reviewed by:	bapt
Spotted by:	John Marino <draco@marino.st>
With hat:	portmgr
2013-05-04 14:06:08 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Greg Lewis
faa4210a82 . Bump PORTREVISION for the last two commits. 2013-03-27 03:12:09 +00:00
Greg Lewis
3429746801 . Update to 7u17. 2013-03-10 01:41:07 +00:00
Greg Lewis
78d642088f . Use gpatch for patching on older (7.x) versions of FreeBSD.
PR:		175829
Submitted by:	Nobuhiro Ban <ban.nobuhiro@gmail.com>
2013-03-03 05:08:45 +00:00
Jung-uk Kim
060e5cd2f0 Add a patch to fix MulticastSocket.setInterface().
http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/bfa676f5b5db

Submitted by:	oliver
2013-02-11 23:53:16 +00:00
Greg Lewis
e2304463d3 . Fix a crash under heavy network load by reverting to using poll(2) rather
than select(2).

PR:		175417
Based on the patch by:	Phil Phillips <pphillips@experts-exchange.com>
2013-01-29 05:06:46 +00:00
Greg Lewis
53c61a4f9d . Update to 7u11.
Security:	CVE-2013-0422
2013-01-18 04:28:38 +00:00
Greg Lewis
c15a9595f1 . Add a runtime dependency on dejavu fonts. Several have reported problems
with font related crashes without them.  I haven't been able to reproduce,
  but this should be relatively harmless, so I'm committing it anyway.

PR:		173760
Submitted by:	girgen@
2012-12-25 20:49:55 +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
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
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
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
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
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
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
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