Commit graph

251 commits

Author SHA1 Message Date
Mathieu Arnold
7f0f664d7e Drop 8 support.
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
2015-10-15 14:55:14 +00:00
Sean Bruno
8005224867 Build fixes for 2.4.0
- regenerate patch-pcap
- Escape --extra-ldflags as it looks like the qemu builder is eating spaces
  or lines making it frustrating to use.

PR:	202402 202536 202864
2015-09-03 17:39:41 +00:00
Sean Bruno
a1606ef670 QEMU update to 2.4.0
- remove patch files accepted and merge upstream
- Add new vgabios-virtio
2015-09-02 16:12:36 +00:00
Juergen Lock
f0e20e9950 - Apply fixes for pcnet guest to host escape vulnerability - CVE-2015-3209.
- Bump PORTREVISIONs.

PR:		201064
Submitted by:	koobs
Security:	https://vuxml.FreeBSD.org/freebsd/acd5d037-1c33-11e5-be9c-6805ca
1d3bb1.html
2015-06-26 19:14:41 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Dmitry Marakasov
0acf547b4f - Add CPE info
Approved by:	portmgr blanket
2015-06-04 09:06:55 +00:00
Juergen Lock
a5d6daade5 - Apply fixes for "BENOM" vulnerability - CVE-2015-3456 .
- Bump PORTREVISIONs.

PR:		200255
PR:		200256
PR:		200257
Submitted by:	venture37@geeklan.co.uk
Obtained from:	http://git.qemu.org/?p=qemu.git;a=commitdiff;h=e907746266721f305d67bc0718795fedee2e824c
Security:	http://vuxml.FreeBSD.org/freebsd/2780e442-fc59-11e4-b18b-6805ca1d3bb1.html
2015-05-17 10:09:36 +00:00
Juergen Lock
6d28c2597b Fix build w/o OPENGL knob. (--disable-glx is now called --disable-opengl)
Reported by:	olgeni (via private email)
2015-04-29 16:28:01 +00:00
Juergen Lock
88ee0db664 Update to 2.3.0 - announce message is here:
http://article.gmane.org/gmane.comp.emulators.qemu/332605
2015-04-28 18:53:13 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
Bryan Drewery
38cdd746fd Revert my change from r381978.
The reason for it did not pan out.
2015-03-26 21:40:34 +00:00
Bryan Drewery
3361e9bb34 Use BSDMAKE rather than MAKE here to ensure using /usr/bin/make.
With hat:	portmgr
2015-03-23 04:04:58 +00:00
Juergen Lock
80d1b18357 Update to 2.2.1, announce message is here:
http://article.gmane.org/gmane.comp.emulators.qemu/325002
2015-03-11 19:56:54 +00:00
Juergen Lock
dbc8d4a8be - Update emulators/qemu-sbruno to latest github snapshot, fixing
the bsd-user targets on 8 and 9.
- Switch emulators/qemu-user-static to be slave of emulators/qemu-sbruno.
- Update emulators/qemu-devel to latest upstream release 2.2.0, now
  w/o bsd-user patches and knob again.  (Or at least until the
  patches are merged upstream...) [1]
- Add appropriate CONFLICTS to emulators/qemu too and bump its
  PORTREVISION.

Suggested by:	andrew [1] (for the benefit of testing aarch64 guests)
2015-01-06 19:47:28 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Juergen Lock
2b33b0e94d - More bsd-user updates:
- target-mips: Status.UX/SX/KX enable 32-bit address wrapping. [1]
  - target-mips: define ISA_MIPS64R6. [1]
  - Change UX/AWRAP to allow compile. Probably, this is part of the
    problem. [2]
  - Fix the pipe(2) and pipe2(2) syscalls so the file descriptors are
    returned correctly. [3]
  - Add sched_yield(2) and sched_get_priority_{max,min}(2) syscall
    handlers. [3]
  - Add missing setresgid(2) and setresuid(2) system call handlers. [3]
  - Eliminate "Qemu unsupported ioctl" warnings for cryptodev. [3]

- Bump PORTREVISION.

Submitted by:	Leon Alrae <leon.alrae@imgtec.com> [1], sbruno [2], sson [3]
Obtained from:	https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
2014-12-02 21:32:55 +00:00
Juergen Lock
479b4da944 - bsd-user: fix hw.machine and hw.machine_arch sysctls for a NULL buffer.
- Bump PORTREVISION.

Submitted by:	sson
Obtained from:	8267ad2cb9
2014-11-29 15:19:08 +00:00
Juergen Lock
63586a2af4 - bsd-user: Convert signal number for thr_kill() to host signum.
- Bump PORTREVISION.

Submitted by:	sson
Obtained from:	cab0d36ffd
2014-11-23 21:43:52 +00:00
Juergen Lock
0d062896c7 - bsd-user: actually apply the faith(4) removal fix. (doh!) [1]
- Use /var instead of ${PREFIX}/var .
- Bump PORTREVISION.

Submitted by:	beefy2 via pkg-fallout [1]
2014-11-21 18:33:51 +00:00
Juergen Lock
6225aa5654 (Attempt to) fix build on head after faith(4) removal. (r274331)
Submitted by:	beefy1 via pkg-fallout
2014-11-14 18:52:32 +00:00
Juergen Lock
c126e97c4c - More bsd-user updates:
- Add support for the wait6(2) system call. [1]
  - Add stubs for the new cap_*() system calls. [1]
  - Add support for new socket system calls. [1]
  - Add support for pipe2(2) and chflagsat(2) system calls. [1]
  - Add stubs for the new aio_*() system calls. [1]
  - Add stub for the new procctl(2) system call. [1]
  - Add JHB's ioctl decoding to unknown ioctl message. [1]
  - Disable shebang script handling in qemu for head now that the
    the kernel image activators can be run independantly there;
    this allows /bin/sh to be used as a static amd64 binary on head
    poudriere jails. [2]
  - Some other small non-user-visible fixes.

- Bump PORTREVISION.

Submitted by:	sson [1], sbruno [2]
Obtained from:	https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user
2014-11-08 11:48:13 +00:00
Juergen Lock
a97f5a8805 - bsd-user: deal with new sem_wait2 and sem_wake2 syscalls in head.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	2478a4e4a3
2014-11-03 19:25:57 +00:00
Baptiste Daroussin
7a81cc2bcf Clean up plist 2014-10-27 12:24:22 +00:00
Juergen Lock
90a40bb73b - bsd-user: fix sendmsg(2) emulation w/o ancillary data.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	ad92220df3
2014-10-04 21:39:04 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Juergen Lock
83097b9388 - bsd-user: Increase MAX_ARG_PAGES to 64.
- Bump PORTREVISION.

Submitted by:	sbruno
Obtained from:	200e09e4bf
2014-08-29 19:20:58 +00:00
Juergen Lock
cc89976501 Fix indentation. 2014-08-22 23:28:39 +00:00
Juergen Lock
4502405c48 - bsd-user: fix sysctl hw.physmem if host bitsize != target's.
- Bump PORTREVISION.

Reported by:	sbruno
2014-08-22 23:11:59 +00:00
Juergen Lock
b41ddd0635 - Update to 2.0.2, announce message is here:
http://thread.gmane.org/gmane.comp.emulators.qemu/291585

- Strip executables by default.
- Switch to USES=python:2,build.
2014-08-18 18:53:16 +00:00
Adam Weinberger
79d6017866 Rename emulators/ patch-xy patches to reflect the files they modify. 2014-07-28 18:39:29 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00
Juergen Lock
e45c9fdb5c Fix build on 8 and 9.
Submitted by:	beefy1 via pkg-fallout
2014-07-10 16:44:22 +00:00
Juergen Lock
c47e201eb2 - bsd-user: Follow exec_copyout_strings more closely when setting
up guest stack. [1]
- Bump PORTREVISION.

Submitted by:	kan [1]
Obtained from:	21927cffcc [1]
2014-07-06 18:14:57 +00:00
Juergen Lock
b3f3b52f4a Four more bsd-user fixes, poudriere now builds more armv6 packages
and sparc64 dynamic exectuables get a little further:

- Fix crashes with long argv invocations. [1]
- Fix ARMv6 stack alignment in a new thread. [1]
- sparc64: sync ccr before changing carry flag.
- Writing to readonly page can cause trap 0xc on FreeBSD too.
- Bump PORTREVISION.

Submitted by:	sson [1]
2014-07-06 16:11:28 +00:00
Juergen Lock
652731ab59 - bsd-user: Implement getvfsbyname(3) that popped up in ports builds
and used by tar. [1]
- bsd-user: Fix crashes in sysctl.kern.proc in 32bit envs on 64bit. [1]
- Bump PORTREVISION.

Submitted by:	sson [1]
2014-07-02 17:16:16 +00:00
Juergen Lock
27befbdddd Fix build on powerpc64 in poudriere.
Reported by:	jhibbits
2014-06-27 23:28:08 +00:00
Juergen Lock
bccbf3e27f - bsd-user: add posix-openpt syscall and TIOCPTMASTER/TIOCPKT ioctl
handling.  (this fixes sysutils/screen) [1]
- arm-bsd-user: fix sigreturn frame handling. [2]
- Bump PORTREVISION.

Submitted by:	kan [1], sson [2]
2014-06-27 18:31:19 +00:00
Antoine Brodin
c0ef6553ab Allow to build with texinfo from ports
With hat:	portmgr
2014-06-26 08:41:34 +00:00
Juergen Lock
d0d1c5fea9 - Fix bsd-user default TARGET_SIGINFO handling.
- Bump PORTREVISION.

Reported by:	sbruno
2014-06-22 11:05:29 +00:00
Juergen Lock
5c9705912b Restore fbsd:nokeywords property on files/extra-patch-790d0ef625d22ff3f1a895d266a48e2bacd63776 lost by psvn ci. 2014-06-19 19:00:30 +00:00
Juergen Lock
543422a3dc - Fix FIODGNAME ioctl.
- Bump PORTREVISION.

Submitted by:	kan
2014-06-19 18:46:32 +00:00
Juergen Lock
3d81fef84c - Fix bsd-user x86_64 target failing with stk mmap: Invalid argument .
- Bump PORTREVISION.

Reported by:	sbruno
2014-06-12 19:34:06 +00:00
Juergen Lock
d4b92c1491 Pet check-plist. (I thought this was fixed by r354246 but looks like
that commit only handles the pkgng case not pkg_*...)

Submitted by:	jenkins via swills
2014-05-20 15:57:31 +00:00
Juergen Lock
6f2df1132f Add new slave port emulators/qemu-user-static:
QEMU is a FAST! processor emulator using dynamic translation to achieve
good emulation speed.
QEMU has two operating modes:

    * Full system emulation. In this mode, QEMU emulates a full system
(for example a PC), including a processor and various peripherials.
It can be used to launch different Operating Systems without rebooting
the PC or to debug system code.
    * User mode emulation (Linux host only). In this mode, QEMU can launch
Linux processes compiled for one CPU on another CPU. It can be used to
launch the Wine Windows API emulator or to ease cross-compilation and
cross-debugging.

As QEMU requires no host kernel patches to run, it is very safe and easy to use.

This is a slave port of emulators/qemu-devel to build only static
bsd-user targets named like qemu-mips-static.  While still being
experimental people have already built quite a few armv6/mips/mips64
packages using these and e.g. poudriere.  Some notes are also here:

	http://wiki.freebsd.org/QemuUserModeHowTo

WWW: http://wiki.qemu.org/Main_Page

Suggested by:	bapt
2014-05-19 17:12:58 +00:00
Juergen Lock
d9f4f0718c Fix build on ppc. (base gcc + libc++?)
Submitted by:	jhibbits (via irc)
2014-05-07 18:41:52 +00:00
Juergen Lock
db7bde8a7e - bsd-user: Handle FreeBSD sysctl hw.pagesizes (by returning only
getpagesize() for now); this fixes rtld on head after r264346 that
  now uses the sysctl.
- Bump PORTREVISION.
2014-05-05 16:40:49 +00:00
Juergen Lock
02c40a40f5 Hm that still didn't work. Next try... 2014-04-18 18:37:12 +00:00
Juergen Lock
398e1c8e10 Bump PORTREVISION for the plist change. 2014-04-18 15:19:05 +00:00