59 Commits

Author SHA1 Message Date
Alexander Leidinger
64cf27c85d Say hello to the linux mega patch, it consolidates our linux bits a
little bit and allows to proceed to a more recent linux_base from
a stable (read as: the major bugs should be ironed out or identified
and most linux ports build just fine) source.

It also allows to ship 4.11 with a working linuxolator (the EOLed
linux_base is marked forbidden because of a security hole).

This is a major update, please read UPDATING (and CHANGES if you
develop linux ports).

Changes:
 - change the default linux_base from v7 to v8
 - add a newer freetype to linux_base-8 for nicer fonts display [1]
 - don't let cpio use hardlinks in the linux_base-8 port to quiet some
   warnings in some cases [2]
 - fix a cut&past error in the linux_base-8 pkg-install script [3]
 - convert the binary knob "USE_LINUX" to a version specifier, e.g.
   USE_LINUX=<value> specifies a dependency upon
   emulators/linux_base-<value>, exceptions are a value of "7" (which
   does what you want and adds a dependency to linux_base) and any
   value without a corresponding port in
   PORTSDIR/emulators/linux_base-<value> (which adds a dependency to
   the default linux_base)
 - don't implicitly add USE_LINUX with the USE_LINUX_PREFIX knob,
   this allows us to use the USE_LINUX_PREFIX knob for linux_base and
   paves the way for splitting up future linux base ports into
   individual pieces
 - remove RESTRICTED from some GPL licensed ports, even when we only
   distribute binaries, we get them from official linux sites, so
   anyone can grab them there if he needs to
 - add a dependency upon the linux X11 bits where necessary (based upon
   guesswork)
 - don't use USE_X_PREFIX in some linux ports since it adds a dependency
   to the FreeBSD X11 libs, as a workaround use PREFIX?= (the clean
   solution would be to remove the implicit USE_XLIB from USE_X_PREFIX)
 - bump the portrevision of the linux ports ("better safe than sorry"
   algorithm)
 - pass maintainership of the important linux infrastructure to a
   mailinglist, hijack freebsd-emulation@ for this purpose (if somebody
   doesn't like this: tell us your bikeshed color at freebsd-emulation@,
   my color would be "linuxolator@" in case someone cares...)
 - add a pkg-install script for linux-fontconfig, but don't use it;
   everything should work without it (the FreeBSD fc-cache program should
   do all the work), but in case we need it we just need to decomment the
   pkg-install part in the Makefile
 - fix some dependencies
 - fix some bugs
 - add some static plists
 - unbreak the ports with dependecies to more than one linux_base

This also fixes some ports which are marked BROKEN because of dependencies
to v7 and v8 of linux_base at the same time.

Known bugs:
 - the linux-mesa and linux-devtools ports install libGL*.so symlinks
 - some "minor" plist bugs (e.g. ld.so.{conf,cache} are modified by
   the linux X11 port, so linx_Base-8 moans at deinstall time)

Future work (interested souls should coordinate with freebsd-emulation@):
 - add some kind of USE_LINUX_X11 knob to streamline the X11 dependencies,
   or modify the behavior of USE_XLIB in the USE_LINUX case
   AFAIK trevor has some patches.
 - make USE_XLIB and USE_X_PREFIX orthogonal to be able to get rid of
   the PREFIX?= workaround in some linux ports
   Should be discussed/coordinated on/with x11@.
 - move the RPM bits from x11-toolkits/linux-gtk/Makefile to PORTSDIR/Mk/
 - update to a more recent linux base

PR:			69997, 70539 (and maybe others)
Discussed with/on:	java@, x11@, trevor, portmgr
Tested by:		mezz, portmgr, pointyhat
RPM hunted down by:	Joseph Gelinas <scirocco@tasam.com> [1]
Requested by:		portmgr [2]
Submitted by:		kris [3]
Approved by:		portmgr
2004-12-31 18:24:10 +00:00
Greg Lewis
edc017dfd3 . Remove pointless (these ports all set NO_BUILD) BUILD_DEPENDS.
PR:		50114
Noticed by:	olgeni
2004-12-09 22:53:09 +00:00
Greg Lewis
acb1f291d5 . Add amd64 to ONLY_FOR_ARCHS line.
PR:		74465
Submitted by:	Conrad J. Sabatier <conrads@cox.net>
2004-12-08 16:26:21 +00:00
Herve Quiroz
e868aeb5e7 Reset znerd's ports maintainership:
- All JDK ports (and JDK documentation ports) that were formerly maintained by
  znerd have been assigned to java@FreeBSD.org
- I will handle some of the remaining ports (jakarta-commons-*, jdom, xalan-j
  and xmlenc)
- Everything else is reset to ports@FreeBSD.org

Approved by:	znerd (maintainer)
2004-12-03 01:01:33 +00:00
Greg Lewis
fe9948f039 . Fix SIZE. 2004-11-25 18:16:23 +00:00
Greg Lewis
472f4a4216 . Update to 1.4.2_06. 2004-11-24 08:21:40 +00:00
Herve Quiroz
17f4a27d8e Fix file name for size in distinfo
PR:		72454
Submitted by:	Linh Pham <question+freebsdpr@closedsrc.org>
2004-10-29 00:43:00 +00:00
Greg Lewis
cc59f5091e . 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 20:54:42 +00:00
Greg Lewis
dacf14741c . Update to 1.4.2_05. 2004-07-02 19:57:06 +00:00
Greg Lewis
5538f31e01 . Add missing terminating " to registervm arguments.
Submitted by:	bento via kris
2004-06-10 22:57:49 +00:00
Greg Lewis
b8f5af00fb . Update to 1.4.2_04.
. SIZEify.
2004-03-11 21:35:31 +00:00
Ernst de Haan
fb965b9791 Set LATEST_LINK.
Reported by:	kris
2004-03-08 10:01:12 +00:00
Trevor Johnson
439b8a040c Use the CPIO macro defined in bsd.port.mk. 2004-01-22 12:18:43 +00:00
Ernst de Haan
3a0061061b Update to 1.4.2_03.
Noticed by:	Andrew Edwards <andrew@shavers.co.uk>
2003-12-15 07:26:25 +00:00
Ernst de Haan
4d31ee4af9 Updated message:
- This JDK may be quite stable.
- Advice to use the native FreeBSD JDK 1.4, not the
  1.3 JDKs anymore.
2003-12-15 07:18:34 +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
8f47442883 . Update to 1.4.2_02. 2003-11-11 23:34:26 +00:00
Greg Lewis
dcee19701b . Override PKGINSTALL to place it in WRKDIR, which is writeable, rather
than PORTSDIR, which may not be.

Submitted by:	kris
2003-10-13 03:31:42 +00:00
Greg Lewis
42189f5a5d . Install system preferences during post-install to avoid annoying error
messages.
2003-10-11 05:39:21 +00:00
Greg Lewis
3ad6d5bee5 . Install in ${LOCALBASE}/linux-sun-jdk1.4.2, not
${LOCALBASE}/linux-sun-jdk1.4.2_01 as the latter is wrong and breaks
  detection in bsd.java.mk.
. Bump PORTREVISION for this fix.

PR:		57420
2003-09-30 23:42:51 +00:00
Ernst de Haan
90d16bdc36 Fixed installation (destination directory) and
package list (missing files).
Bumped PORTREVISION.
2003-09-04 15:09:56 +00:00
Ernst de Haan
37ea3344e3 Update to 1.4.2_01. 2003-09-04 09:19:03 +00:00
Greg Lewis
82387aef2a . Update recommendations on alternatives.
. Note that you now need to enable linprocfs for this port to work
  correctly.
2003-07-21 17:12:55 +00:00
Greg Lewis
c6b2a64123 . Update to 1.4.2. 2003-07-09 18:04:57 +00:00
Greg Lewis
189a2623d5 . Update DOWNLOAD_URL
Submitted by:	nork
2003-06-13 14:15:35 +00:00
Greg Lewis
30d793bee7 . Update to 1.4.1_03.
. Use the POSIX command line syntax for tail, not the "historical".
2003-06-12 20:56:21 +00:00
Maxim Sobolev
eef403e569 linux_base needs to be in EXTRACT_DEPENDS, otherwise ports doesn't
install if linux_base isn't installed.
2003-05-03 22:26:11 +00:00
Greg Lewis
7b18610272 . Be consistent with other JDK ports and silence execution of the
post-patch clean up.
. Simplify installation find command.

Reviewed by:	znerd
Approved by:	znerd
2003-04-24 05:53:46 +00:00
Ernst de Haan
a47630ba31 Fixed DOWNLOAD_URL.
Pointed out by:	joerg
2003-04-09 12:20:02 +00:00
Alexey Zelkin
1d6100e342 Fix plist after update to 02 patch bundle
Requested by:	kris
2003-03-15 17:49:26 +00:00
Alexey Zelkin
5349781c47 Make this port non-interactive. I.e. extract distfile unconditionally.
This is pre-requisite of native jdk14 port build on bento.

Requested by:	kris
Approved by:	portmgr
No response from:	znerd (maintainer)
2003-03-13 21:58:48 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +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
a6b2225259 . Fix the DOWNLOAD_URL to point at 1.4.1_02, not 1.4.1_01.
Submitted by:	Mark Linimon <linimon@lonesome.com>
Pointy hat to:	glewis
2003-03-06 17:26:01 +00:00
Greg Lewis
22842d3f1d . Update to 1.4.1_02
. find -> ${FIND}
. Make install owner/group safe. (*)

PR:		36411 (*)
Approved by:	znerd
2003-03-05 17:37:17 +00:00
Kris Kennaway
1c24674242 Use pre-everything:: instead of pre-everything: to avoid conflict with
targets in bsd.port.mk
2003-02-28 22:53:02 +00:00
Ernst de Haan
f5a768a695 Installing to ${PREFIX}/linux-sun-jdk1.4.1. This port is now
compatible with bsd.java.mk again.
Bumped PORTREVISION.
2002-10-19 00:03:28 +00:00
Ernst de Haan
82f3ee9b27 Upgrade from 1.4.1 to 1.4.1_01. 2002-10-18 23:56:00 +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
Ernst de Haan
4bcca22e3e Installing in ${PREFIX}/linux-sun-jdk1.4.1 instead of
${PREFIX}/linux-sun-jdk1.4, bsd.java.mk is already expecting
linux-sun-jdk1.4.1.
2002-09-17 09:43:43 +00:00
Ernst de Haan
1ac76a8949 Upgrade to 1.4.1.
See:	http://java.sun.com/j2se/1.4.1/changes.html
2002-09-17 08:59:27 +00:00
Ernst de Haan
741b3d1feb Now properly using pkg-message to display warning about
stability of this port.
2002-09-13 22:49:38 +00:00
Kris Kennaway
87e58b5a0d Comment out .BEGIN section, which is breaking the INDEX build. 2002-08-31 07:04:00 +00:00
Ernst de Haan
8bcf2ee8cc Printing warning message since this JDK is unstable. The message
is displayed before any targets. The message displayed is:

This JDK is currently unstable, especially when run as a non-root
user. You are advised to use either the Sun JDK 1.3 for Linux
(${PORTSDIR}/java/linux-sun-jdk13) or the FreeBSD JDK 1.3
(${PORTSDIR}/java/jdk13) instead.

Pointed out by:	Yuri Khotyaintsev <yuri@irfu.se>
2002-08-29 21:55:22 +00:00
Ernst de Haan
c74d548b1e Unified one-line descriptions for JDK ports. 2002-08-12 11:49:59 +00:00
Ernst de Haan
5d2630c7f4 Changed the installation directory of the Sun JDK 1.4.x
for Linux from linux-sun-jdk1.4.0.01 to linux-sun-jdk1.4.0.
This is more like the installation directories for the other
JDK ports.

PR:		41424
2002-08-10 10:54:06 +00:00
Ernst de Haan
b0efcd4f99 Changed the installation directory of the Sun JDK 1.4.x for Linux
to linux-sun-jdk1.4.0.01.

PR:		41424
2002-08-10 10:47:25 +00:00
Maxim Sobolev
22d3ec7231 Add missed @unexec keyword to the call to unregistervm as well as missed
@exec registervm [...].

Reported by:	phantom
2002-07-10 16:50:21 +00:00
Ernst de Haan
1af1af5eed Upgrade to 1.4.0_01. 2002-06-06 13:00:29 +00:00
Ernst de Haan
5427f343f8 Improved download URL.
Prompted by:	obrien

Also now unregistering with javavm at deinstallation.
2002-05-28 09:28:11 +00:00