Commit graph

91 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
Volker Stolz
5226e9d152 Fix broken patch on <501114
PR:		ports/80925
Submitted by:	Tsurutani Naoki
2005-05-12 07:09:22 +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
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +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
d7dce4ed00 Fix typo in loop.fullpath. 2003-10-22 08:43:53 +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
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
Ian Dowse
8e07872e6a Catch up with some not-so-recent VM changes to make vmware2 work
again on -CURRENT. Without this, attempting to boot the virtual
machine causes an instant panic in the host.

Approved by: knu, vsilyaev@mindspring.com (maintainer)
2002-10-18 16:33:02 +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
Marcel Moolenaar
13708133aa Patch to make this compile on post-KSE systems.
Submitted by: Mark Santcroos <marks@ripe.net>
No response from: maintainer
2001-11-11 01:23:04 +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
Tatsumi Hosokawa
34765bae74 Latest mutex fix was imcomplete and vmware2 port still hangs at vmmon
kernel module.  Added mutex code before and after calling vm operations
in vmmon.

Submitted by:	John Baldwin <jhb@FreeBSD.org>
Approved by:	the Maintainer
2001-06-07 15:18:33 +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
Nick Sayer
30bc1c26bb Update the Hints notes about the MAP_NOSYNC issue. It's now fixed in
4-stable and -current.
2001-03-07 18:04:10 +00:00
Akinori MUSHA
9b0e7f3d02 As our new bsd.kmod.mk doesn't seemt to support "make clean all",
do "make clean && make" instead.

This should fix the build on a recent CURRENT.
2001-02-25 10:16:25 +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
Nick Sayer
6242007870 Don't attempt to load modules if they're already in place.
Submitted by:	fyr@usenet-edu.net
2000-12-29 19:10:04 +00:00
Nick Sayer
26f0edd0b7 Add sections about netgraph bridging and the restore-from-disk
performance issue.
2000-12-29 13:52:39 +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
de49c3f91d Replace obsolete /dev/rfd0 with /dev/fd0. 2000-12-05 10:31:00 +00:00
Akinori MUSHA
2bee36945b Update to 2.0.3 release, build 799. 2000-11-07 14:40:23 +00:00