Commit graph

116 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
Edwin Groothuis
b9114fb2c1 Make portlint happy
PR:		ports/69041
Submitted by:	Wesley Shields <wxs@csh.rit.edu>
2004-12-15 02:24:05 +00:00
Mike Silbersack
3e4cef01a5 Updated changelog to go with changes. :) 2004-08-04 22:25:00 +00:00
Mike Silbersack
1112ff172d Orlando's latest changes (see changelog file for details.) 2004-08-04 22:24:11 +00:00
Mike Silbersack
72602ae5b4 Latest update from Orlando Bassotto, includes better
network support.
2004-07-08 08:26:34 +00:00
Mike Silbersack
8be1f0eb56 Fix a comparison that was giving false "you need a patch" messages
on 4.x systems.  No need for port revision bump.
2004-06-24 07:56:08 +00:00
Mike Silbersack
e3dd2e01d6 Update to keep up with the recent dev_t change in -current. No need for
a port revision bump, functionality is unchanged.
2004-06-24 07:52:27 +00:00
Edwin Groothuis
c600a14649 Renamed etc/rc.d/vmware.sh into etc/rc.d/001.vmware.sh to make sure
it is started before any other programs which require the vmnet
interface (like isc-dhcp etc)

Approved by:	orlando.bassotto@ieo-research.it (via email)
2004-06-11 23:35:29 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Mike Silbersack
4741398683 Add a missing comma which was breaking compilation on 5.x < 502103
No port rev bump, as the problem showed up at compile time.

Submitted by:	Nagilum
2004-03-18 21:45:46 +00:00
Mike Silbersack
cf1d119513 A slew of changes to allow vmware3 to work on 5.x with dynamic device
numbering while not breaking 4.x compatibility:

- Stop using device nodes in /usr/compat/linux/dev and instead rely
on the linuxaltor passing though to /dev
- Create needed device nodes in /dev (on 4.x)
- Account for a change in falloc's semantics that was preventing
the vmmon module from being unloaded on 5.1+ machines.
2004-03-13 21:29:24 +00:00
Martin Blapp
e79fa9453b Fix the cdev patch to work correctly with FreeBSD4. One check has
been wrong.

Bump portrevision.
2004-03-03 10:12:22 +00:00
Martin Blapp
a338b00f50 Portepoch should never be decreased.
Noticed by:	kris
2004-02-29 14:54:31 +00:00
Martin Blapp
b9d6cd413b Add patch for new cdevsw changes and make vmware working again
with latest CURRENT.
2004-02-29 10:32:30 +00:00
Mike Silbersack
12f8a5958e Bump the port revision to note the vm_page_alloc_contig -> contigalloc
change which is required for 5.x systems.
2004-01-21 22:40:22 +00:00
Mike Silbersack
9adc302b40 Update the kernel module to use contigmalloc instead of the now obsolete
vm_page_alloc_contig.
2004-01-21 22:36:50 +00:00
Mike Silbersack
4c73ff2ad7 Make the linprocfs check succeed if linprocfs is already mounted, and
make the error message (hopefully) more descriptive.
2004-01-21 22:10:20 +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
Max Khon
0282046741 Fix build on 4.x.
Bump PORTREVISION.
2003-11-18 15:35:32 +00:00
Michael Reifenberger
54dc5a55b6 vmware3 was broken on -current due to kernel changes.
Fix this by updating to new vmmon module version.

PR:		ports/59405
Submitted by:	Orlando Bassotto <orlando.bassotto@ieo-research.it
2003-11-18 12:59:45 +00:00
Max Khon
0cd9b607af kern.ipc.shm_allow_removed was MFC'ed. 2003-11-11 13:49:17 +00:00
Max Khon
cd70341924 Patch for FreeBSD 4.x was updated (now Power On always works as expected).
Point to new patch location.
Document sysctl kern.ipc.shm_allow_removed which should be set to 1
in order to run vmware3.
2003-11-05 01:40:46 +00:00
Max Khon
3077f71e0e Finally fix problems with libdir: install vmware3 files to correct location
(maintainer timeout).
2003-11-03 16:50:03 +00:00
Akinori MUSHA
52d49aa283 Compensate a versioning mistake with a PORTEPOCH bump, since this port
is previously vmware3-3.2.1 version 2242 instead of vmware3 version
3.2.1-2242 and now it is vmware3 version 3.2.1.2242, which is
obviously and annoyingly smaller than 2242.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-10-23 12:56:09 +00:00
Akinori MUSHA
b22496b3b6 PORTREVISION may not contain a hyphen. 2003-10-22 18:22:07 +00:00
Max Khon
6c55ab3f2f Port to FreeBSD 4.x. 2003-10-22 16:11:01 +00:00
Max Khon
9ebf3c1194 Restore loop.fullpath and libdir fixes. 2003-10-21 17:36:03 +00:00
Max Khon
9fab0bac23 Libdir points to other directory. 2003-10-21 15:46:37 +00:00
Martin Blapp
348a9ed23b Upgrade to portrevision 2242 and make it possible to run
multiple vm's running at the same time.

Submitted by:   Orlando Bassotto <orlando.bassotto@ieo-research.it>
2003-10-21 13:36:23 +00:00
Max Khon
29bf84b34c Add ftp:// so fenner's "Distfiles survey" does not fail
with "unknown url type" error.
2003-10-20 21:49:33 +00:00
Max Khon
3507a29168 Fix typo in loop.fullpath.
Fix typo in libdir.

PR:		57461
Submitted by:	Jan Srzednicki <Jan@miranda.expro.pl, Sr@miranda.expro.pl>
2003-10-20 21:26:31 +00:00
Anders Nordby
9019ec2268 Make vmware3 fetchable.
Approved by:	bento
2003-09-24 00:59:23 +00:00
Norikatsu Shigemura
d945dcc3e5 Make up to mention the needing of VFS_AIO to use VMWare properly.
PR:			ports/54417
Submitted by:		Scott M. Likens <damm@fpsn.net>
Not objected to by:	emulation
2003-07-31 10:02:36 +00:00
Martin Blapp
ab71b37e95 VMware-workstation-3.2.0-2230.tar.gz has disappeared everywhere on the
mirrors. Replace it with VMware-workstation-3.2.1-2237.tar.gz and fix the
patchset to work with this version.

Only issue a warning about needed system shm-patches if we are running a
old CURRENT.
2003-05-14 19:43:56 +00:00
Martin Blapp
d97a50a686 Use LINUXBASE where it is possible. Do not install into /etc
directly.

Submitted by:	Munehiro Matsuda <haro@kgt.co.jp>
2003-04-16 12:36:46 +00:00
Martin Blapp
35c68c3161 Install even more missing files. Bump portrevision. 2003-04-15 22:55:53 +00:00
Martin Blapp
85cdf33e02 Add missing files and make needed symlink.
Submitted by:	Orlando Bassotto <orlando.bassotto@ieo-research.it>
2003-04-14 22:38:13 +00:00
Martin Blapp
7871da092c Orlando does care now. I'll commit the changes for him. 2003-04-13 16:24:22 +00:00
Martin Blapp
1bf92a5edd Load vmnet too. 2003-04-13 03:15:23 +00:00
Martin Blapp
91c37b4bb6 Initial commit of vmware 3.2.0. This first version is CURRENT 5.x
only.
2003-04-13 02:59:12 +00:00
Martin Blapp
731300cf77 Fix broken mastersites. 2003-04-12 17:52:55 +00:00
Martin Blapp
860e9c75ea Mark this broken until I have committed the updated patches. 2003-04-12 17:25:12 +00:00
Martin Blapp
ef4a39488d Delete unneeded patch. It has been replaced by cdevsw.patch 2003-04-10 12:39: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
5d12a3bc25 Fix the stupid manual merge error I did in the last commit. 2003-02-12 17:11:09 +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
Alexander Langer
2c79ac7fa4 Fix this on 5.0. It isn't enough to "echo -n" to /compat/linux/dev/vmnet1,
but you also need to do this with /dev/vmnet1 in days of devfs.  This has
been in my tree for months now.
2003-02-11 21:10:04 +00:00