1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Greg Lewis
6b5bfe2237 . Tell the user all the files they will need up front, instead of telling
porky pies about what they have and prompting them one file at a time.
  This is a rewording and reworking (for jdk12) of the patch in the
  attributed PR by fenner@ (which is for jdk14).
. Update the (commented out) MASTER_SITES while I'm here.

PR:		84644
2005-09-05 03:16:09 +00:00
Greg Lewis
991d2407bf . Add a necessary patch for jikes to be able to compile the source code
(which is what jbootstrap uses).
2005-07-23 07:51:52 +00:00
Greg Lewis
b9c205f18d . Default to bootstrapping with jbootstrap. 2005-07-23 07:49:57 +00:00
Greg Lewis
8805fa551a . 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 the next version of 1.5.
. Bump PORTREVISION for this fix.

Security: http://vuxml.FreeBSD.org/18e5428f-ae7c-11d9-837d-000e0c2e438a.html
2005-05-02 18:55:36 +00:00
Greg Lewis
6253055c55 . 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).
2005-02-17 19:41:13 +00:00
Greg Lewis
7050420087 . Assume (un)registervm is in LOCALBASE _not_ PREFIX.
. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
2004-09-01 05:52:27 +00:00
Greg Lewis
fbdb1126e5 . SIZEify. 2004-03-17 16:42:14 +00:00
Greg Lewis
73ae1039cb . Set an appropriate LATEST_LINK to avoid conflicts with other jdk ports.
Reminded by:	kris
2004-02-06 16:51:50 +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
Trevor Johnson
439b8a040c Use the CPIO macro defined in bsd.port.mk. 2004-01-22 12:18:43 +00:00
Greg Lewis
d0903cc2f9 . Add ${LOCALBASE}/lib to the default search path for libraries when using
JNI.

XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also
     be added?  /lib is part of the default search path on Linux.

Requested by:   marcus
2004-01-19 20:38:23 +00:00
Greg Lewis
258da93d21 . Install an updated cacerts file. This was produced by taking the
standard 1.2.2 cacerts file and updating it with the new root
  certificates using the procedure described in:

  http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436
2004-01-16 01:21:20 +00:00
Greg Lewis
7571311008 . Use the correct variables for appending to CPPFLAGS and LDFLAGS. This
also avoids grabbing the jni.h header from gcj, which really causes
  problems.
2004-01-15 20:26:36 +00:00
Trevor Johnson
e99ceadaf6 Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 14:45:08 +00:00
Greg Lewis
d73e9f7a29 . Add a script which checks if ${LINUX_BASE}/${WRKDIRPREFIX} is
(possibly indirectly) a symbolic link to ${WRKDIRPREFIX}.
. Use this script in preference to the direct symbolic link check
  previously used, as it handles indirections which cause the same
  problem.
. /compat/linux -> ${LINUXBASE} in the message output if the check
  detects a link.

PR:		43602
2003-08-23 15:17:29 +00:00
Greg Lewis
41a19263c6 . Autodetect a previous jdk13 install and use that to bootstrap by
default if it exists.  This can be overidden either using JDK13DIR
  or setting WITH_LINUX_BOOTSTRAP.

PR:		52195
2003-08-02 17:30:13 +00:00
Greg Lewis
08d5c4f240 . Switch to using the appropriate Blackdown JDK for bootstrapping since
it doesn't require user intervention to download and install.

PR:		30576
2003-07-21 17:21:49 +00:00
Greg Lewis
fae59e03a3 . Reorder the check for the source and patchset so that the failure
messages are produced in the order that they were intended.
2003-06-15 05:53:02 +00:00
Kris Kennaway
e694798742 Allow the build to commence by changing the BUILD_DEPENDS on jfc to
PATCH_DEPENDS, since it is required by pre-patch
2003-04-07 22:50:55 +00:00
Kris Kennaway
a7674c6fdf Add another check for !PACKAGE_BUILDING when setting IGNORE 2003-03-10 06:42:22 +00:00
Greg Lewis
d6894d86d9 . Allow package building on bento to bypass the distfile check.
Requested by:	kris
2003-03-06 17:43:24 +00:00
Greg Lewis
75e0e76533 . Commit the version of these patches with the correct paths. Grrr. 2003-02-21 16:12:35 +00:00
Greg Lewis
4e955de662 de-pkg-comment 2003-02-21 11:06:08 +00:00
Greg Lewis
0ed1ecd4dc . Make portlint happier. 2003-02-20 10:39:52 +00:00
Greg Lewis
7444b52f8d . Use <sys/soundcard.h> on FreeBSD (fixes compilation on 5.x).
. Cope with gcc 3.x in a preprocessor conditional.

PR:		47707, 47699
Submitted by:	grog (PRs),
		"R. Lake" <rich@lakes.plus.com> (independently in email)
2003-02-20 10:04:20 +00:00
Greg Lewis
54fc94c029 Be consistent. If we're going to explicitly use /sbin/sysctl to check
the value, then tell the user to use that to set the value too.
2003-01-30 11:10:10 +00:00
Kris Kennaway
d604e1d6d3 Use the full path to /sbin/sysctl
Noticed by:	'make index' in crontab
2003-01-30 08:23:53 +00:00
Kris Kennaway
063c457172 Don't remove system directories share/java, share/java/classes, and
share/doc
2002-11-10 22:44:03 +00:00
Greg Lewis
c68fd88a5b . Make the instructions for downloading the various source bits clearer.
The instructions are based on text submitted in the PR (by grog).

PR:	42942
2002-10-17 16:31:45 +00:00
Ernst de Haan
2c50b3e55f Not using IGNORE anymore to avoid package building.
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif

This was superfluous and inhibiting package builds of things that
depend on the port. Having RESTRICTED and NO_CDROM is enough to
ensure that a package will not appear on the FTP site or a CDROM
(it will be built and used as a basis for other packages to build
with, but will be deleted at the end of the build run).

Requested by:	kris
Reviewed by:	portmgr (silence)
PR:		42758
2002-10-10 08:38:39 +00:00
Greg Lewis
957134d737 Update to patchset 11. 2002-09-18 10:12:03 +00:00
Greg Lewis
11994ba6da . Synchronise with jdk13 Makefile as much as possible to reduce
maintenance.  The main changes are:
  . Use 'p' for the patchset version, not 'b' and refer to the
    patchset internally with JDK_PATCHSET_VERSION rather than
    JDK_BETALEVEL.
  . Add the NATIVE_BOOTSTRAP feature and synchronise DEPENDS lists
    as much as possible.
  . Add the extra pre-build checks to try and avoid build errors.
  . There is also a very minor amount of whitespace diff reduction (this
    should have gone in a separate commit).  Last hunk of the diff.
2002-08-19 20:47:04 +00:00
Ernst de Haan
c74d548b1e Unified one-line descriptions for JDK ports. 2002-08-12 11:49:59 +00:00
Greg Lewis
2f62ed9f9d . Fix the dependencies for this port following the renaming of the JDK
ports.
. Use (and define if necessary) ${FIND} and ${CPIO}, rather than
  /usr/bin/find and /usr/bin/cpio, respectively.

Reviewed by:	znerd
2002-06-14 19:08:49 +00:00
Kris Kennaway
36de601b52 Switch dependency from open-motif-devel to open-motif, since the former
was removed.

Pointy hat to:	obrien
2002-06-04 00:43:27 +00:00
Greg Lewis
251616adc1 Fix user and group ownership of the installed files when they have been
built by someone other than root.  Instead of moving the files with tar,
move them with cpio and set up ownership.

This leaves 11 of the ports listed in the PR still to go.

PR:		36411
Submitted by:	Alan Eldridge <ports@geeksrus.net>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-13 01:04:08 +00:00
Maxim Sobolev
3d75734ef7 Hand over maintainership to Java Boy (glewis). :))) 2002-04-12 20:05:37 +00:00
Maxim Sobolev
f9d3d952da Update link to the place where distfile can be downloaded.
PR:		27058
Submitted by:	Ernst de Haan <ernst@heinz.jollem.com>
2001-05-03 14:25:51 +00:00
Mario Sergio Fujikawa Ferreira
2f5bb732d3 fix typo:
- the previous replacement of \s+# -> \t\t# triggered
error "Unassociated shell command #"

Submitted by:	Dan Langille <dan@langille.org>
2001-02-14 21:12:54 +00:00
Mario Sergio Fujikawa Ferreira
d124027c46 typo clean up police: \s -> \t 2001-02-14 20:19:44 +00:00
Maxim Sobolev
ee070a89d6 Forcefully set JAVA_COMPILER and CLASSPATH to "" to prevent build from failing.
Reported by:	Max Khon <fjoe@plesk.com>, Ilya Krel <ilya@krel.org>
2000-11-03 16:06:41 +00:00
Maxim Sobolev
4f81079d73 Correct patch, so it will apply cleanly.
Submitted by:	Ed Sweeney <edwardsweeney@yahoo.com>
2000-10-16 07:50:21 +00:00
Maxim Sobolev
14f1f7fdbd This port is i386 only for the moment. We need some assembler code written
to make the Alpha work.

Submitted by:	Greg Lewis <glewis@trc.adelaide.edu.au>
2000-10-14 11:58:04 +00:00
Maxim Sobolev
a09d414989 Add jdk12-beta - a "glue" to build a native JDK1.2.2 using source code from
Sun and patchset from FreeBSD Java Project.
2000-10-13 12:41:25 +00:00