Commit graph

47 commits

Author SHA1 Message Date
Pav Lucistnik
d095d4a965 - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 19:44:02 +00:00
Edwin Groothuis
9aaccaed7d Remove support for OSVERSION < 5 2007-10-03 23:00:29 +00:00
Alexander Leidinger
5d083f0bb1 Only mknod where appropriate (!devfs case). 2007-01-06 15:02:19 +00:00
Alexander Leidinger
0ac537d77c Unbreak port and make it a little bit more package friendly.
Approved by:	portmgr (kris)
2006-02-25 23:39:06 +00:00
Kris Kennaway
50fadab70b BROKEN: Incomplete pkg-plist 2006-02-20 01:44:59 +00:00
Alexander Leidinger
fcb536d684 Users are confused by a diagnostic message more than they are
helped because it is printing the -current- value of HZ, not the
value requested. This is fixed be rearranging the order of changing
the value and printing the message (they are in adjacent lines).

Submitted by:	rgrimes
2006-01-29 16:09:18 +00:00
Edwin Groothuis
e33233f948 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 01:55:36 +00:00
Florent Thoumie
87e9dc7ae1 - Fix rtc on systems where sizeof(int) != sizeof(long).
- Clean pkg-plist a bit.
- Re-word IGNORE lines and remove quotes.

PR:		ports/87546
Submitted by:	Simun Mikecin <numisemis@yahoo.com>
2005-11-29 15:43:43 +00:00
Mike Silbersack
8766c0c5a9 Change the hz warning so that it doesn't bother you if hz is already
set to 1000 or greater, and take out the check to see if hz is greater
than the requested tick rate.

Inspired by PR: 71536
2005-10-06 06:39:58 +00:00
Mike Silbersack
c9ac4e0cd1 Change the hz warning so that it doesn't bother you if hz is already
set to 1000 or greater, and take out the check to see if hz is greater
than the requested tick rate.
2005-10-06 06:38:38 +00:00
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
Trevor Johnson
e66743b7d5 Respect the user's USE_LINUX setting. 2005-03-01 21:51:48 +00:00
Kris Kennaway
07c34713b5 Use NO_FETCH instead of a gratuitous do-fetch target. 2004-12-27 21:28:43 +00:00
Mike Silbersack
cf1f2dd6ae Patch to keep up with the recent cdev changes. No need for a port
revision bump, the functionality is unchanged.
2004-06-24 07:49:45 +00:00
Mike Silbersack
2d30e526ba Update the rtc device to use dynamic numbering on -current. In order to
accomdate this change, stop using device nodes in /usr/compat/linux/dev
and instead rely on the linuxalator passing through requests to the
real /dev.  (This second change also applies to 4.x).
2004-03-13 21:20:03 +00:00
Mike Silbersack
9ee4a1434b Ugh, 502103 is the correct revision, not 502104.
No portrev bump needed.
2004-03-10 09:44:44 +00:00
Mike Silbersack
0428d161b2 Bump portrev for last change.
Reminded by:	kris
2004-03-10 09:35:29 +00:00
Mike Silbersack
2d5c22cfa8 *Actually* make rtc work on post-502104 -CURRENT. 2004-03-10 09:02:02 +00:00
Martin Blapp
a0bb6deda5 Make rtc module work with FreeBSD 502104. 2004-03-03 10:15:11 +00:00
Mike Silbersack
f1d3004b0d Update the rtc driver once again. As of this revision, I believe that
the linux rtc device is being emulated as accurately as possible,
at least in terms of its behavior.  Further improvements to its
accuracy will require much more precise measurement.

Device cloning is not yet implemented.
2004-02-24 23:07:48 +00:00
Mike Silbersack
465bd09c2a Replace rtc with a revamped version that I've been working on. This version
uses tsleep / selrecord and a worker thread to provide a much better emulation
of the rtc driver, as well as greatly decreased processor usage.

Device cloning as well as a few more tweaks to the emulation are still pending.
2004-01-28 08:15:19 +00:00
Mike Silbersack
fdd8b072a2 Fix that pesky panic when the rtc module is unloaded.
PR:	ports/57465
2004-01-23 09:07:51 +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
Martin Blapp
09bbd91bf7 Bump portrevision 2003-05-15 13:07:42 +00:00
Martin Blapp
8f11d2a89b Fix panic if the rtc module gets loaded twice: Make rtc_dev static
and destroy the device on cleanup.

Submitted by:	Orlando Bassotto <orlando.bassotto@ieo-research.it>
2003-05-15 13:06:57 +00:00
Norikatsu Shigemura
bef6fea12f [Forced commit]
Correct dependency on linux.ko and Bump PORTREVISION.

PR:		ports/37992, ports/40973
Submitted by:	Alexandr Kovalenko <never@nevermind.kiev.ua>
		Vladimir B. Grebenschikov <vova@sw.ru>
2003-04-04 22:09:04 +00:00
Norikatsu Shigemura
1c169cbd85 Correct dependency on linux.ko.
PR:		ports/40973
Submitted by:	Vladimir B. Grebenschikov <vova@sw.ru>
2003-04-04 22:05:33 +00:00
Norikatsu Shigemura
288b6d293b Support post-500104-current.
Submitted by:	Marcin Cielak <saper@sgh.waw.pl>
Tested by:	freebsd-emulation
2003-03-23 12:36:58 +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
Alexander Langer
091a8416e7 Fix build on -CURRENT by conditionally defining M_WAITOK as 0x0000. 2003-02-12 19:19:03 +00:00
Josef Karthauser
dce696905d Current doesn't use KMODDEPS.
Submitted by:	Mark Santcroos <marks@ripe.net>
2002-08-14 15:56:57 +00:00
Akinori MUSHA
c7b626b1a3 Add $FreeBSD$ tags. 2001-09-16 07:05:18 +00:00
Akinori MUSHA
5867e6b1dd - Conditionalize bmaj and kqfilter in cdevsw. 2001-09-16 07:01:44 +00:00
Akinori MUSHA
5f50ae13d7 - Replace ugly perl substitution hacks with #if's.
- Support the post-KSE CURRENT.
2001-09-16 06:42:36 +00:00
Akinori MUSHA
33c97cffa6 Define USE_LINUX, as linux_base must be installed prior to this port. 2001-03-14 11:03:40 +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
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
48af3464ad Update for the latest current. (lminor() -> dev2unit())
Correct the startup script to unload rtc.ko module properly.
2000-09-22 11:08:22 +00:00
Akinori MUSHA
e54eaa34bb Set KMODDEPS=linux in Makefile.
Add $FreeBSD$ tag.

Submitted by:	Boris Popov <bp@FreeBSD.org>
2000-09-10 15:06:55 +00:00
Akinori MUSHA
f5e6c15f38 Chase the recent moving of linux_ioctl.h.
PR:		ports/20818
Submitted by:	Sean-Paul Rees <sean@dreamfire.net>
2000-08-24 14:51:20 +00:00
Jun Kuriyama
7ee7199ba0 Remove empty directory.
Submitted by:	bento
2000-08-02 05:19:16 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Akinori MUSHA
d166df7bfa Bump the version number corresponding to Peter's previous commit. 2000-05-06 12:49:51 +00:00
Peter Wemm
217c24e73e The rtc module depends on linux (for -current) 2000-05-05 13:08:30 +00:00
Akinori MUSHA
688db83363 Move /dev/rtc to ${LINUX_DIR}/dev/rtc, since we don't need rtc except
for running Linux stuff.

Suggested by:	Nick Sayer
2000-04-14 20:13:55 +00:00
Michael Haro
b7f08d10c0 PORTNAME/VERSION stuff 2000-04-12 04:56:17 +00:00
Akinori MUSHA
3cf900afec This is rtc, a kernel module for /dev/rtc device support.
Some apps such as VMware for Linux would be happy with it.

The code was originally written by Vladimir N. Silyaev.

Note: It _includes_ Linux ioctl support, but basically it's
FreeBSD native stuff.  I'm importing this into emulators
category for convevience' sake.   Check it out.
2000-04-03 15:28:30 +00:00