Commit graph

54 commits

Author SHA1 Message Date
Tobias Nygren
04f850e5fa Fix fallout from pax(1) tool changes in pkgsrc. 2008-05-26 13:59:43 +00:00
Tobias Nygren
6079abbf3e Move more stuff to common handling.
Move all options handling to the corresponding options.mk.
Silence unzip progress.
2008-01-20 15:23:08 +00:00
Tobias Nygren
51abbd8b69 More rototill. Require GCC 3.x for compilation. 2008-01-19 15:26:35 +00:00
Tobias Nygren
2d4653e3d3 Separate the license mess into it's own .mk file so it can be shared with
jdk16. Also, fix MOTIF_TYPE definition broken by previous commit.
2008-01-19 09:49:27 +00:00
Tobias Nygren
d9fb3886f7 Share some code between the jdk packages. 2008-01-19 08:19:04 +00:00
Geert Hendrickx
fbe7d89edd Full DESTDIR support. 2008-01-09 11:03:45 +00:00
Geert Hendrickx
78284f4bf7 Drop maintainership. 2007-08-19 18:19:36 +00:00
Sergey Svishchev
7b4709677e Delint:
- convert spaces to tabs (pkglint --autofix)
- set, not append to USE_LANGUAGES
2006-10-29 08:32:37 +00:00
Geert Hendrickx
c99c5d6cb4 List more options for the browser plugin directory. 2006-06-10 16:29:06 +00:00
Geert Hendrickx
a64f103d85 Change LICENSE to scsl23-license to match pkgsrc/lang/scsl-(jdk|jre)15.
This way "make show-license" will also work for the pkgsrc-wip packages.
2006-05-24 16:33:15 +00:00
Roland Illig
c970b212b4 Removed "quotes" from variables that don't need them, for example BROKEN
and SUBST_MESSAGE.*.
2006-04-22 10:48:36 +00:00
Jeremy C. Reed
37f815a375 Change BUILDLINK_DEPENDS.foo to BUILDLINK_API_DEPENDS.foo.
Change BUILDLINK_RECOMMENDED.foo to BUILDLINK_ABI_DEPENDS.foo.

As discussed on tech-pkg.
2006-04-06 07:16:55 +00:00
Johnny C. Lam
64bfcf7b60 Catch up to modern pkginstall framework: USE_PKGINSTALL has been dead
for a while now, and *_EXTRA_TMPL are generally not needed anymore.
2006-03-14 01:27:57 +00:00
Geert Hendrickx
82666fe838 Addition to my previous commit (rev. 1.28), since it broke the extract/patch
stage on pkgsrc-2005Q4: unzip with -a (convert CR/LF to LF in text-files).
Suggested by PR pkg/32867.
2006-02-18 22:39:26 +00:00
Todd Vierling
121bc7fbb9 On NetBSD, check for a /proc node that only exists with "-o linux" (cpuinfo).
Also allow /proc itself (rather than /emul/linux/proc) to be mounted
"-o linux" -- this is a common configuration that allows mounting of only
one procfs usable by both NetBSD and Linux binaries.
2006-02-06 19:09:51 +00:00
Geert Hendrickx
438f6d8c4b The patchset contains a bunch of ^M (carriage return) characters, and the
package recently broke because of this (it still worked in pkgsrc-2005Q4,
so something must have changed in pkgsrc but I have no idea what exactly).

A workaround to fix this: just sed(1) the ^M's away.

Ok with veego@ (who brought this up).
2006-02-02 22:22:17 +00:00
Geert Hendrickx
a6227050d0 Update to jdk14 patchset 8.
Notable changes:
- DragonFly support (thanks to asmodai and joerg)
- Add DONT_ENABLE_IPV6 knob (turned into pkgsrc "inet6" option)
- Many small improvements and fixes
2005-12-19 13:32:01 +00:00
Geert Hendrickx
d40e15c640 Update my e-mail address. 2005-12-13 12:16:11 +00:00
Geert Hendrickx
3eab462dfe reindent. 2005-11-28 13:52:43 +00:00
Roland Illig
2c1cc3dceb Ran pkglint --autofix over the complete pkgsrc-wip. This changed all
instances like MAKE_ENV+= VAR=${VAR} to the properly quoted form,
VAR=${VAR:Q}, or even VAR=${VAR:M*:Q} if necessary.

Manually reviewed the changes.
2005-11-28 00:27:22 +00:00
Geert Hendrickx
3c75ce05dd Reindent. 2005-11-16 13:42:16 +00:00
Geert Hendrickx
c88d4e718c pkglint: PKG_FAIL_REASON should be modified using "+=". 2005-11-16 13:38:54 +00:00
Geert Hendrickx
4b9e36faf4 Fix PLIST
While here, take over maintainership (ok by recht)
2005-10-19 14:01:32 +00:00
Geert Hendrickx
23a5562717 Add notes about increasing limits and setting a sysctl. 2005-09-09 14:08:02 +00:00
Geert Hendrickx
7ef3143f15 Patch provided by Bernd Ernesti:
> pkglint was complaining about the PKGNAME, so I moved the version up
2005-08-11 15:46:26 +00:00
Geert Hendrickx
c3a6d5d21c Based on patches from Bernd Ernesti:
> there were some problems during deinstallation so I had to split PLIST
> into two files, one which contains the files and a second one which
> contains the @dirrm Just rename PLIST to PLIST.common and move the @dirrm
> lines into the new file PLIST.common_end.  This is needed because the
> @dirrm would be executed while there are still some files left from the
> PLIST.jce or PLIST.plugin filelist.  I also removed the '@exec ${MKDIR}
> %D/java/jdk-1.4.2/jre/lib/applet' line, while I did that.
>
> typo in options.mk: SCR instead of SRC and so PLIST.plugin wouldn't be
> included into the generated .PLIST

All files/directories are uninstalled correctly now.
2005-08-11 15:17:05 +00:00
Geert Hendrickx
5d1414a0d5 Patch provided by Bernd Ernesti <netbsd@lists.veego.de>
> removed the pre-build target and added a BUILDLINK_PASSTHRU_RPATHDIRS
> line, jlam told me about that trick.

The jdk14 package can be build as non-root user now.
2005-08-11 12:00:16 +00:00
Geert Hendrickx
56a233bf4d ${LOCALBASE} still used in MESSAGE; add it again. 2005-08-10 11:26:08 +00:00
Geert Hendrickx
d2efe3c972 Use ${JAVA_HOME} instead of ${LOCALBASE}/java/jdk-1.4.2 2005-08-10 11:24:23 +00:00
Geert Hendrickx
ab81d87b42 Optionally build the Mozilla browser plugin (option jdk14-plugin, enabled by default).
Convert the JDK14_USE_JCE variable to the options framework: jdk14-jce.
2005-08-10 11:23:21 +00:00
Geert Hendrickx
b9d73de12b Add test for /emul/linux/proc to be mounted. 2005-08-10 11:16:16 +00:00
Geert Hendrickx
62d9961b59 Use ${JAVA_HOME} instead of ${LOCALBASE}/java/jdk-1.4.2 2005-08-09 15:39:58 +00:00
Geert Hendrickx
b3c6ca5df9 Optionally build the Mozilla browser plugin (option jdk14-plugin, enabled by default).
Convert the JDK14_USE_JCE variable to the options framework: jdk14-jce.
2005-08-09 14:59:12 +00:00
Geert Hendrickx
418f2cd9b7 s/pax/${PAX}/ 2005-08-06 08:17:31 +00:00
Geert Hendrickx
2e5663ab7a Remove trailing whitespace. 2005-08-06 08:16:51 +00:00
Geert Hendrickx
33735b7a68 Update to patchset 7 2005-08-03 12:43:22 +00:00
Geert Hendrickx
2720ffaebb patch-ab is in patchset 7 as well 2005-08-02 16:30:40 +00:00
Geert Hendrickx
71f85ad189 Update to patchset 7 2005-08-02 16:28:25 +00:00
Krister Walfridsson
753f4543c4 Change obsolete USE_X11 to include ../../mk/x11.buildlink3.mk instead. 2005-06-12 23:51:13 +00:00
Roland Illig
2a1ca3d973 Replaced USE_GNU_TOOLS+=make with USE_TOOLS+=gmake. 2005-05-24 10:29:21 +00:00
Todd Vierling
5f60a41bb5 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:09:34 +00:00
Thomas Klausner
e2f0a59bec Rename ALL_TARGET variable to BUILD_TARGET.
Mechanical changes to all packages using ALL_TARGET.
Proposed by Roland Illig, ok'd by various people.
2004-12-02 16:38:55 +00:00
Marc Recht
5fc3cd1d5b Update checksum of the bsd patchfile. No changelog available.. 2004-09-15 20:24:23 +00:00
Marc Recht
992ea673e7 Update to the latest current patches.
Set PKGVERSION to 1.4.2.6.1 to distinguish it from the p6 patch.
Also, add the updated cacert file and some ns plugin related patches
(currently unused) from the FreeBSD port.

changes:
2004-07-21 Wednesday 17:58  glewis
	* j2se/src/share/native/java/io/io_util.h:
	. At least on FreeBSD, O_SYNC and O_DSYNC aren't both defined
	  (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 on BSD if
	  they aren't defined.  This shouldn't hurt Net or Open.

2004-07-08 Thursday 20:21  glewis
	*
	j2se/src/share/native/sun/awt/font/fontmanager/fontobjects/fontObject.cpp:
	. In the ReadChunk() function, change an assert() to be a "test for a
	  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.  However, I'm
	  somewhat unfamiliar with this part of the code though, so any review
	  would be appreciated.
	. While I'm here, fix some warnings regarding types in debugging printf's.
2004-07-08 Thursday 20:10  glewis
	* j2se/src/share/native/java/lang/fdlibm/src/k_tan.c:
	. Merge in a fix recently added to FreeBSD's math library (taken from
	  fdlibm-5.3):
	  "Merge a bugfix from FDLIBM 5.3 to ensure that the error in tan()
	   is always less than 1 ulp."
	  I've not yet run this through the compatibility test suite, so this
	  change may be backed out if the suite relies on the broken behaviour.
2004-07-08 Thursday 20:09  glewis
	* j2se/src/share/native/java/lang/fdlibm/src/e_pow.c:
	. Merge in a fix recently added to FreeBSD's math library (taken from
	  fdlibm-5.3):
	  "Fixed the sign of the result in some overflow and underflow cases (ones
	   where the exponent is an odd integer and the base is negative)."
	  I've not yet run this through the compatibility test suite, so this
	  change may be backed out if the suite relies on the broken behaviour.
2004-07-08 Thursday 20:04  glewis
	* deploy/src/javaws/src/solaris/native/system_md.c:
	. The implementation of sysTempnam() formerly just called tempnam(), which,
	  on FreeBSD at least, would provoke warnings about security.  So, on *BSD,
	  implement sysTempnam() using mkstemp(3).
2004-04-03 Saturday 05:54  glewis
	* j2se/src/solaris/native/java/net/NetworkInterface.c:
	. Don't leak a file descriptor in the IPv6 case.
	Submitted by:	Pavlin Radoslavov <pavlin@icir.org>
2004-08-31 21:26:35 +00:00
Marc Recht
799e981760 Remove a couple of hard coded references to /usr/X11R6 to make this build
with X.org's X11 implementation.
While at it remove PKGREVISION -- with do not use this with pkgsrc-wip.
2004-08-03 13:15:15 +00:00
David Brownlee
abda428331 Add a JDK14_USE_JCE to pull in jce_policy-1_4_2.zip 2004-07-14 18:24:55 +00:00
Thomas Klausner
a9f696dd56 Add appropriate CPPFLAGS and PASSTHRU_DIRS variables so that packages
depending on this one can find the header files. Noted broken by snj.
2004-07-02 12:52:14 +00:00
Thomas Klausner
891ef04be0 Remove NO_MTREE line -- it does not apply here (see wrong comment). 2004-07-01 13:15:06 +00:00
David Brownlee
f30e0b14c3 Update jdk14 to jdk14-1.4.2.6nb1
Install JAVA_WRAPPERS
2004-06-28 18:00:05 +00:00
Juan Romero Pardines
164fe58a7c buildlink3 magic. 2004-06-05 16:17:33 +00:00