Commit graph

64 commits

Author SHA1 Message Date
Alexander Leidinger
23b3bc4b0d Mega-patch to cleanup the ports infrastructure regarding our linux bits:
- USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD
    tools to strip binaries anymore, so it's not neccesary anymore to override
    STRIP and STRIP_CMD.
  - USE_LINUX_PREFIX implies NO_MTREE now.
  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 libraries
    instead upon the native FreeBSD libraries.
  - The variable LINUX_BASE_PORT contains a string which is suitable as an
    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the
    default (or overriden) linux base, ${LINUX_BASE_PORT} should be used
    instead of a hardcoded reference.
  - Change all ports to comply to the "new world order".
  - The Ports Collection now allows to override the default linux_base port.
    Specify e.g. OVERRIDE_LINUX_BASE_PORT=rh-9 in /etc/make.conf to use
    ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
    ${PORTSDIR}/emulators/linux_base-${OVERRIDE_LINUX_BASE_PORT}).
  - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base
    port and if USE_LINUX isn't set to "yes" (case insensitive), the port will
    be marked as IGNORE. [1]
  - Readd USE_LINUX knobs into several ports and make several uses of a
    conditional dependency ("USE_LINUX?=") into an unconditional one
    ("USE_LINUX=") which where removed/changed by Trevor to allow the use of
    alternative linux_base ports. While this is a nice goal, the implementation
    resulted in missing dependencies. The OVERRIDE_LINUX_BASE_PORT knob
    in this commit is supposed to fix the problem while keeping the feature.
    Basicaly this includes a backout of Trevor's commit, to prevent confusion
    I mention it here explicitely.
  - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for some ports.
    Chase dependencies for this.
  - Changes to make linux_devtools installable on amd64, remove some stray
    device nodes (they don't work on recent OS versions and aren't really
    needed).
  - Make linux_base-8 PREFIX clean and remove some stray device nodes.
    Additionally tell a little bit more about how to setup NIS/YP [2].
  - Update the PGSQL dependency in the linux-opengroupware port to a recent
    version (the old one isn't available anymore), I don't know if this
    works (at least it isn't more broken than before).
  - Use PREFIX/usr/share/doc instead of PREFIX/usr/doc in the divx4linux
    ports, the former path exists already and gets populated by other
    packages too (PREFIX=LINUXPREFIX!).
  - Fix some obvious (non-linuxolator) bugs in some linux ports while being
    there.
  - Bump PORTREVISION where neccesary.

Requested by:	portmgr (linimon) [1]
Submittted by:	Gerrit Kuehn <gerrit_huehn@gruft.fido.de [2]
Approved by:	portmgr (kris, linimon), maintainers (or maintainer timeout)
Tested on:	ports cluster (kris)
Reviewed by:	silence on emulation@
Superseedes PR:	69997

Maintainer approval from:
	chris@chrisburkert.de
	cracauer@cons.org
	des
	girgen
	jamie@bishopston.net
	mezz
	mi
	nivit@users.sf.net
        pat
	simond@irrelevant.org
	riggs@rrr.de
	Udo.Schweigert@Siemens.com
2005-06-17 22:59:29 +00:00
Florent Thoumie
4b19291d48 - Should fix compilation and vmmon in latest 5.x.
PR:		ports/68202
Submitted by:	Marc van Kempen <marc@bowtie.nl>
Approved by:	maintainer
2005-04-15 10:20:18 +00:00
Trevor Johnson
e66743b7d5 Respect the user's USE_LINUX setting. 2005-03-01 21:51:48 +00:00
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
Joe Marcus Clarke
0ecea7d9d6 Substitute BROKEN with IGNORE in cases where the port requires the src tree
to be present, or does not compile on certain versions of FreeBSD.  This
will potentially avoid needless compilations on bento, and has the added
benefit of improving certain reporting tools.  To most users, this change
is a no-op.

PR:		61090
Submitted by:	linimon
2004-01-10 07:18:55 +00:00
Joe Marcus Clarke
3ccf7ec93f unPERLify and use REINPLACE_CMD and USE_PERL5 where appropriate.
PR:		48249
Submitted by:	Simon 'portlint' Schubert <corecode@corecode.ath.cx>
2003-11-15 20:20:56 +00:00
Max Khon
316be76e1f Fix pkg-plist for FreeBSD 4.x. 2003-10-22 08:47:36 +00:00
Max Khon
3dc6b25525 Fix build on post-PAE RELENG_4 (maintainer timeout). 2003-10-06 10:07:36 +00:00
Anders Nordby
62e0146a64 Make vmware2 fetchable.
Approved by:	bento
2003-09-24 00:59:22 +00:00
Martin Blapp
03b57d00e7 Deal with minor number changes in CURRENT.
PR:	48608
Submitted by:		Per Hedeland <per@hedeland.org>
2003-04-13 09:55:44 +00:00
Martin Blapp
d501e989d5 Make portlint a bit more happy. 2003-04-13 09:31:20 +00:00
Martin Blapp
0707449c37 Allow to specify a different src base.
Submitted by:	Kim Scarborough <sluggo@unknown.nu>

PR:	44758
2003-04-12 20:08:07 +00:00
Martin Blapp
91b4157956 Add separator for the patches and vmware patches. 2003-04-12 18:31:44 +00:00
Martin Blapp
731300cf77 Fix broken mastersites. 2003-04-12 17:52:55 +00:00
Martin Blapp
c56bfed62c Add patches to support CURRENT 20030401.
Submitted by:	Mark Santcroos <marks@ripe.net>
2003-04-10 12:29:07 +00:00
Alexander Langer
4322c88339 Fix for -CURRENT with the recent struct cdevsw changes and
cdevsw_add()/remove() removal.

This outputs a
WARNING: driver "vmmon" used unreserved major device number 200
message, but as the vmware application really requires to use a major
of 200 (error otherwise, tested), we need to use a fixed one, and I
don't want to register a major for this.
2003-03-23 15:01:23 +00:00
Akinori MUSHA
a8edaa568e De-pkg-comment. 2003-02-21 12:06:51 +00:00
Alexander Langer
7c0370e8fb Seems like I had another fix in my system. On 5.0, the vmnet1 in
$LINUXBASE/dev had a different device minor than the cloned one
in /dev/vmnet1.  Thus delete the one in $LINUXBASE and link it
to the devfs one to have everything right.

This fixes the port on my fresh installed 5.0-RELEASE box.
2003-02-12 19:15:54 +00:00
Alexander Langer
dde1455600 Make this port build on CURRENT systems older than 2003/01/01 (abusing
OSVERSION of 5.0-RELEASE for this)
- include sys/filedesc.h where required
- define M_WAITOK to 0 until THEY found a solution.
2003-02-11 21:42:52 +00:00
Ian Dowse
af93bed2da Make vmware2 compile on -current again.
Submitted by:	Mark Santcroos <marks@ripe.net>
Approved by:	joe
2002-09-02 16:47:39 +00:00
Josef Karthauser
08f7eabb66 Fix vmware2 for -current so that it compiles again.
Submitted by:	Mark Santcroos <marks@ripe.net>
2002-08-14 16:09:27 +00:00
Maxim Sobolev
62f2687e21 Add USE_SUBMAKE, where it might be necessary. 2002-03-25 09:19:20 +00:00
Marcel Moolenaar
eb9f710310 Fix -current breakage caused by a type change of pt_entry_t.
Note that the OSVERSION test is inexact. The type change
happened after 500027, but since there's no 500028 yet and
making one specifically for this port is considered overkill
we hope to get away with it.

Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Approved by: Vladimir N. Silyaev <vsilyaev@mindspring.com>
Coordinated by: Mark Santcroos <marks@ripe.net> :-)
2001-12-06 05:09:21 +00:00
Marcel Moolenaar
a40ced47b8 Change Vladimir's email address.
approved by: Vladimir (maintainer)
2001-11-11 08:36:28 +00:00
Marcel Moolenaar
b80e5ac6af Apply the KSE patch on post-KSE systems. This unbreaks the port
on -current.

Suggested by: Mark Santcroos <marks@ripe.net>
No response from: maintainer
2001-11-11 01:31:50 +00:00
Akinori MUSHA
200e127a87 Update to 2.0.4.1142.
PR:		ports/29100
Submitted by:	Scott Renfro <scott@renfro.org>
2001-07-23 03:56:15 +00:00
Akinori MUSHA
01e5f869a2 Fix for the latest CURRENT. (SMPng folks, feel free to correct it if
it's a wrong fix)

Tested by:	kuriyama
2001-07-12 14:26:10 +00:00
Brian Somers
337163c4a2 Handle machine/ioctl_fd.h moving to sys/fdcio.h
Approved by:	Vladimir Silyaev <vsilyaev@mindspring.com>
2001-06-10 09:48:08 +00:00
CHOI Junho
c738796b0a Fix for the latest -current. (sys/lock.h -> sys/mutex.h)
PR:		ports/27666
2001-05-31 06:07:31 +00:00
Akinori MUSHA
323e64d126 Fix the build on 5-CURRENT by creating dummy bus_if.h and device_if.h.
(Now machine/smp.h seems to include sys/bus.h which demands them)
2001-05-01 19:29:50 +00:00
Jimmy Olgeni
82c7f9761b Fix creation of /etc/vmware link (it could be created into itself, if it
already existed at install time).
2001-02-22 21:10:34 +00:00
Akinori MUSHA
485f1b4641 Fix for the latest -current. (sys/select.h -> sys/selinfo.h) 2001-01-22 10:39:32 +00:00
Maxim Sobolev
2b1a883dc4 Massive style enforcement - use ^I instead of spaces for variables identation. 2001-01-16 17:33:20 +00:00
Akinori MUSHA
ab27f1e02d Bump PORTREVISION. 2000-12-28 21:39:24 +00:00
Nick Sayer
7a7a493036 Switch the port over to netgraph bridging. This method has a number of
advantages, chief of which is that it doesn't hose over multi-interface
configurations the way the default installation did before. This
mechanism "chains" the guest's interface to an interface specified at
installation-time (it can be changed afterwards by editing the rc.d
script).

Approved by:	(maintainer)
2000-12-24 05:20:51 +00:00
Akinori MUSHA
2bee36945b Update to 2.0.3 release, build 799. 2000-11-07 14:40:23 +00:00
Akinori MUSHA
3256ab48f4 Fix a stupid typo. It wasn't a problem as it was consistent, but I'm
fixing it so I don't look stupid. :>
2000-11-02 23:01:40 +00:00
Akinori MUSHA
36293b0d4e Add a WANT_BETA knob so people can easily try out 2.0.3 RC1.
Convert the extract script hack to simple extractions in Makefile to
make it easy to comprehend.
2000-11-02 22:56:44 +00:00
Akinori MUSHA
a4dab13de1 Make the startup script read ${PREFIX}/etc/vmware/config so people do
not have discrepant configurations between them.
2000-11-02 12:20:26 +00:00
Akinori MUSHA
8b3cd773ff Use LINUXBASE/USE_LINUX variables.
This is only a cosmetic change, so there's no need to reinstall your
installation(s).
2000-09-22 17:22:24 +00:00
Akinori MUSHA
e20b8f3499 Fix for the latest -current. (another tiny ad hoc fix here..)
Noted by:	kuriyama

Use LINUXBASE and USE_LINUX.
2000-09-22 16:55:01 +00:00
Akinori MUSHA
7bc3142cfd Add support for the latest current. (a bit kind of ad hoc) 2000-09-15 10:19:47 +00:00
Akinori MUSHA
43d55cefa0 Do in Makefile as make groks, not as Ruby groks. (make groks it though)
.if exists?(..) -> .if exists(..)
2000-08-24 15:01:44 +00:00
Akinori MUSHA
be957101cb Chase the recent moving of linux_ioctl.h. 2000-08-23 19:13:51 +00:00
Akinori MUSHA
d0b2934087 Merge with Vladimir's latest version.
- Add support for FreeBSD bridging facility.  To use it, you need a
kernel built with `options BRIDGE'.

- Integrate vmnet and if_tap code into vmmon module.

- Install vmmon/vmnet1 pseudo-device nodes under /compat/linux/dev
instead of /dev

- Set TMPDIR to /var/tmp if empty.

- Change MAINTAINER back to Vladimir N. Silyaev <vns@delta.odessa.ua>,
now he is back and being active. :)
2000-07-31 21:56:38 +00:00
Akinori MUSHA
9046f5e5ad Update the vmmon-freebsd module to Vladmir's latest version, 0.97-b1.
- Improve LBA magic for huge IDE drives
2000-07-27 05:46:31 +00:00
Akinori MUSHA
ed3cdba5a1 Update to 2.0.2 release candidate, build 621.
Use it at your own risk, as it is supposed to be of beta quality.

FYI, vmmon/vmnet hasn't been changed at all since 2.0.1 release.
2000-07-22 20:55:26 +00:00
Satoshi Asami
be6c01ee85 Use ${MASTER_SITE_LOCAL}. 2000-06-29 02:31:42 +00:00
Akinori MUSHA
6b5cc67e4c Update to the 2.0.1 release. (Build 570)
I've tested this version for several hours and found it pretty stable,
which means this "release" version could handle the situations which
RC versions never could.

If you suffer any problems with it, feel free to report the situations
in detail at the freebsd-emulation list.
2000-06-20 08:59:05 +00:00
Akinori MUSHA
4e4f338ce2 Add a knob to try installing VMware 2.0.1 RC2 for those who are willing to try it out.
Add a piece of advice that users should not run VMware as root to Hints.FreeBSD.
2000-06-19 18:02:59 +00:00