Commit graph

54 commits

Author SHA1 Message Date
Eitan Adler
fe6465bb1b Reset maintainer 2015-12-14 02:52:14 +00:00
Dmitry Marakasov
f3ace4251b - Switch to options helpers
- While here, add some NO_ARCHes

Approved by:	portmgr blanket
2015-08-26 18:26:14 +00:00
Mathieu Arnold
88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00
Baptiste Daroussin
5222d6e212 Cleanup plist 2014-10-08 10:18:51 +00:00
Adam Weinberger
9bfca7c0d6 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 15:12:57 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Juergen Lock
9806a29b61 Switch to USES= gmake uidfix, fixing make package as user. 2014-02-07 19:41:18 +00:00
Juergen Lock
0f75a8ca3d Stagify. 2014-01-26 15:51:20 +00:00
Juergen Lock
f745cff607 Mark BROKEN on 10+: KPI changes in 10 and up, use bhyve or vbox.
(If someone wants to fix it: patches welcome! :)

PR:		ports/184984
Submitted by:	Alex <alex323@gmail.com>
2014-01-11 22:03:26 +00:00
Rene Ladan
bfc52e7104 Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.

There are no user-visible changes.  The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.

PR:		ports/183625
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-09 19:13:27 +00:00
Juergen Lock
56d4c68624 (Attempt to) fix build with gcc46 on i386.
Submitted by:	beefy1 via pkg-fallout
2013-11-03 16:41:35 +00:00
Juergen Lock
2acde1c040 (Attempt to) fix build on i386 with gcc46 and -Werror.
Submitted by:	beefy1 via pkg-fallout
2013-09-26 20:09:57 +00:00
Baptiste Daroussin
1089da7dcc Add NO_STAGE all over the place in preparation for the staging support (cat: emulators) 2013-09-20 16:43:52 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Juergen Lock
28dd2f0c7f Actually fix build with gcc46 when bsd.gcc.mk passes LDFLAGS with -Wl,... 2013-06-27 21:45:00 +00:00
Juergen Lock
a1c0bdc008 - Switch to new header style. [1]
- Add LICENSE. [1]
- Remove 7.x bug workarounds, FreeBSD 7 is no more supported. [1]
- Respect ${CC} instead of using 'gcc'. [1]
- Switch to optionsng. [1]
- Fix build with gcc46 (it doesn't like -fformat-extensions in CWARNFLAGS.)
- Sync kqemu-kmod with these -devel updates.

PR:		ports/179952 [1]
Submitted by:	r4721@tormail.org
2013-06-25 20:32:57 +00:00
Juergen Lock
8d370eb0f9 (Attempt to) fix build on head.
Note: setting CC=clang fails with
	"interp.c:20:24: error: global register variables are not supported"

PR:		ports/177279
Submitted by:	Beeblebrox <zaphod@berentweb.com>
2013-03-22 23:00:58 +00:00
Juergen Lock
4c2e3a8b13 Create sys symlinks properly if restarting a build.
PR:		ports/174030
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
2013-01-20 15:11:34 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
6804d852ff = Drop MD5 support 2011-07-02 17:14:20 +00:00
Juergen Lock
68b5a8f710 (Attempt to) fix build on head.
Submitted by:	portsmon
2010-07-27 16:43:37 +00:00
Juergen Lock
9b8261add1 - Only add the tss fixup code on OSVERSIONs where its still needed.
(It _should_ do nothing elsewhere but still would be unnecessary cycles...)
- Bump PORTREVISIONs.
2009-03-28 18:12:38 +00:00
Juergen Lock
8605363e10 - Fix kqemu on recent -current which no longer has/uses unit2minor()
- Bump PORTREVISION

PR:		ports/131603
Submitted by:	"Scot W. Hetzel" <swhetzel@gmail.com>
2009-02-12 17:46:29 +00:00
Juergen Lock
a9b5f0b433 - Add D_NEEDMINOR as now required on -current for drivers that use the
cloner library:
	http://svn.freebsd.org/viewvc/base?view=revision&revision=179726
- Add CONFLICTS and change COMMENT in preparation for kqemu-kmod-devel commit
- Bump PORTREVISION
2008-06-22 21:42:36 +00:00
Juergen Lock
564d3c266b - Chase moved MASTER_SITE
- Remove obsolete patch
2008-06-20 22:12:09 +00:00
Juergen Lock
7db429fd44 - Call the tss fixup code before entering the monitor instead of after.
(This fixes the problems that one user saw which I couldn't reproduce.)
- Bump PORTREVISION
2008-06-05 18:49:12 +00:00
Juergen Lock
987566f671 - Fix wrong userland fsbase load after gdt move that caused qemu to
segfault sometimes on first invocation
- Get rid of redundant & in two places
- Bump PORTREVISION

There still is the unresolved issue of (likely) the gdt move causing the
host to hang for one guy, if this happens to you you can try the following
kernel patch that sets up seperate gdts at boot so kqemu doesn't have to
do the move:
	http://people.freebsd.org/~nox/qemu/patch-sys-amd64-seperate-gdt.txt

Thanx to:	Yamagi for testing
2008-05-18 20:23:40 +00:00
Juergen Lock
6f92515e0f - Fix multiple qemu processes on amd64 SMP by actually using seperate
per-cpu gdts (the previous fix was only stable for one qemu process
  at a time)
  Relevant thread:
	http://lists.freebsd.org/pipermail/freebsd-emulation/2008-May/004902.html
- Bump PORTREVISION

PR:		ports/113430
2008-05-12 19:09:52 +00:00
Juergen Lock
35eb123661 - Get rid of the infamous "fpudna in kernel mode" messages on amd64 by
calling fpudna()/npxdna() directly instead of programmatically invoking
  int 7 (should also speed up the i386 case a tiny little bit that didn't
  print a message) [1]
- Rename kqemu_tss_workaround to kqemu_tss_fixup [2]
- Bump PORTREVISION

Looked over by:	bde [1]
Prodded by:	jhb [2]
2008-05-11 10:59:20 +00:00
Juergen Lock
4fbc32fd37 - Add a workaround for the amd64 SMP shared gdt issue that caused the
host panics - longer explanation in this post:
	http://docs.freebsd.org/cgi/mid.cgi?20080501101951.GA30274 [1]
- Get rid of superfluous "kqemu " in IGNORE message when kernel source
  is missing
- Pass down DEBUG_FLAGS to the build
- Bump PORTREVISION

PR:		ports/113430 [1]
2008-05-01 13:29:16 +00:00
Juergen Lock
d4679191a5 - Try and fix for real the issue of exiting qemu processes sometimes
stuck in devdrn
- Remove the -DSMP magic, it didn't help the amd64 SMP panics and was
  useless anyway (the panics still exist, the only good workaround I've
  found so far is forcing qemu onto cpu 1 and that is only possible on
  HEAD using the new cpuset feature)
- Only bother with the -DKSE magic for OSVERSIONs where it matters
- Bump PORTREVISION
2008-04-19 15:04:56 +00:00
Juergen Lock
251edb03f8 - Remove 4.x cruft
PR:		ports/114923
Submitted by:	David Yeske <dyeske@gmail.com>
2007-07-26 21:46:30 +00:00
Juergen Lock
3b32dcf4ec - add patch for recent -current that no longer uses sched_lock
- fix KERNCONF detection
- bump PORTREVISION

(There sill is that unresolved issue of the KSE/SMP CFLAGS not being
passed down to the build for one guy tho, even tho they do appear in
make -V CFLAGS...)
2007-07-21 19:38:16 +00:00
Juergen Lock
dc1c45fab3 - Add a pkg-message warning about installing the kld from a package
Suggested by:	Craig Boston <craig@yekse.gank.org>
2007-07-14 21:22:21 +00:00
Juergen Lock
9d5f388727 - Fix typo in COMMENT 2007-07-14 17:48:56 +00:00
Juergen Lock
5a167b3879 - Try and pass appropriate -DKSE and/or -DSMP to the compilation
(missing -DKSE is what caused the panics on -current)
- bump PORTREVISION
- Update WWW (qemu.org still seems to be down)
2007-07-14 17:43:52 +00:00
Mark Linimon
bc8b7ad628 These install kernel modules, so add new virtual category kld.
Pointed out by:	Ulrich Spoerlein <uspoerlein at gmail dot com>
Hat:		portmgr
2007-06-29 15:57:16 +00:00
Juergen Lock
5f73d30436 - Remove unneeded USE_GCC, turns out the build didnt respect it anyway.
Noticed by:	yar
2007-06-22 18:10:36 +00:00
Juergen Lock
588bce33de Update to 1.3.0pre11:
- Install docs
- Add MASTER_SITE_LOCAL
- "-fno-stack-protector" gcc option fix
- added kqemu regression tests (can serve as API usage example too)
- included kqemu technical doc

Approved by:	miwi (mentor)
2007-02-07 21:13:06 +00:00
Juergen Lock
c8369be915 Update to 1.3.0pre10:
- Changed license to GPL version 2
- x86_64 full virtualization support

Approved by:	miwi (mentor, implicit)
2007-02-06 20:46:29 +00:00
Juergen Lock
da230ee7d1 Replace devfs test with osversion check to fix tinderbox build
Submitted by:	pointyhat via kris
Approved by:	miwi (mentor, implicit)
2007-01-22 20:56:02 +00:00
Kris Kennaway
c2cf156ced Non-redistributable packages should be RESTRICTED, not NO_PACKAGE. Also we
like to build kernel modules on pointyhat to detect breakage quickly.
2007-01-21 00:43:20 +00:00
Juergen Lock
52f4e6467c Update MAINTAINER email address of my ports
Approved by:	miwi
2006-12-23 17:42:42 +00:00
Martin Wilke
3119090a5d - Fix rc script for 6.X
- Bump PORTREVISION

PR:		ports/106917
Submitted by:	Simon Phoenix<phoenix.simon@gmail.com>
Approved by:	maintainer
2006-12-21 22:13:24 +00:00
Martin Wilke
d7aa9009e0 - Add fix for -current
- Add rcscript

PR:		ports/106728
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-12-15 08:38:11 +00:00
Pav Lucistnik
03581add72 - Install module into /boot/modules
- Update URLs

PR:		ports/101286
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-08-28 22:52:42 +00:00
Norikatsu Shigemura
590f1d02f7 Update to 1.3.0.p9.
PR:		ports/99397
submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-06-24 09:39:19 +00:00
Norikatsu Shigemura
280e13d52e Update to 1.3.0pre7.
PR:		ports/96928
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de> (maintainer)
2006-05-07 17:32:52 +00:00
Edwin Groothuis
53dfa5db6b update emulators/kqemu-kmod to 1.3.0pre6
kqemu version 1.3.0pre6:

	- compile fix for Linux kernel version >= 2.6.16
	- better null LDT handling (aka Plan9 and ReactOS bug)
	- moved monitor code to another address (aka win2k 256 MB bug)

	 oh and FreeBSD guests have been working with -kernel-kqemu
	 since 1.3.0pre5!  (tested with 6.1RC1)

PR:		ports/96337
Submitted by:	Juergen Lock <nox@jelal.kn-bremen.de>
2006-04-25 23:12:21 +00:00
Norikatsu Shigemura
4e85a59892 Update to 1.3.0pre5.
o Change MAINTAINER-ship to submitter.
o portlint happy.

Submitted by:	Juergen Lock <qemu-l@jelal.kn-bremen.de>
2006-04-09 16:57:59 +00:00