Commit Graph

81 Commits

Author SHA1 Message Date
Roger Pau Monné
0d306f24e0 xen-{tools/kernel}: update to 4.12.1
Sponsored by:		Citrix Systems R&D
Approved by:		mat
Differential revision:	https://reviews.freebsd.org/D21227
2019-08-13 13:39:58 +00:00
Roger Pau Monné
2213382ec7 xen-{kernel/tools}: switch back to LLVM toolchain
Backport upstream fixes to correctly build Xen using LLVM 8
toolchain.

Note the fixes are not strictly needed for xen-tools since the Xen
shim build is only ever supposed to be booted using the PVH entry
point (and not the multiboot entry points). Yet given LLD8 erratic
behaviour with orphan section placement I think it's best to ensure
proper section placement for the shim also.

Sponsored by:		Citrix Systems R&D
Reviewed by:		mat
Differential revision:	https://reviews.freebsd.org/D20816
2019-07-03 14:24:46 +00:00
Roger Pau Monné
228d3e5670 xen: add fixes for XSA-297 (MDS)
Sponsored by:		Citrix Systems R&D
Reviewed by:		mat
Differential revision:	https://reviews.freebsd.org/D20265
2019-05-15 10:24:57 +00:00
Roger Pau Monné
7931facd63 xen: update to 4.12
Reviewed by:		bapt
Sponsored by:		Citrix Systems R&D
Differential revision:	https://reviews.freebsd.org/D20038
2019-04-24 14:21:41 +00:00
Roger Pau Monné
4b54fba456 sysutils/xen-tools: add QEMU migration fix
Add a QEMU fix to make migration more reliable.

Sponsored by:		Citrix Systems R&D
Reviewed by:		novel
Differential revision:	https://reviews.freebsd.org/D19591
2019-03-15 12:37:54 +00:00
Roman Bogorodskiy
53106527e6 sysutils/xen-tools: fix plist when DOCS option is disabled
- Fix plist when DOCS option is disabled
 - Install man pages into a proper directory and also get them compressed
 - Bump PORTREVISION

Approved by:	maintainer
Differential Revision:	https://reviews.freebsd.org/D19521
2019-03-12 15:09:32 +00:00
Roger Pau Monné
48c035bae6 xen-kernel & xen-tools: fix ignore message
To mention 12.0 or any newer release, instead of just mentioning
HEAD.

Sponsored by:		Citrix Systems R&D
Reviewed by:		bapt
Differential revision:	https://reviews.freebsd.org/D19387
2019-02-27 14:00:43 +00:00
Roger Pau Monné
4cfcdeaeb3 emulators/xen-kernel & sysutils/xen-tools: update to 4.11.1
Sponsored by:		Citrix Systems R&D
Reviewed by:		bapt
Differential revision:	https://reviews.freebsd.org/D19293
2019-02-27 10:02:43 +00:00
Roger Pau Monné
3b0d6a32bd emulators/xen-kernel411 & sysutils/xen-tools411: drop version number from port
Actually perform the rename of the directories missing in r494039.

Sponsored by:		Citrix Systems R&D
Reviewed by:		bapt
Differential revision:	https://reviews.freebsd.org/D19284
2019-02-27 09:45:13 +00:00
Roger Pau Monné
768717cce7 xen: rename to xen47
Preparatory change in order to import a newer Xen version while
keeping the previous one.

Reviewed by:		bapt
Sponsored by:		Citrix Systems R&D
Differential Revision:	https://reviews.freebsd.org/D16416
2018-07-24 13:47:03 +00:00
Roger Pau Monné
06140fa304 xen: fix charset of patch file
Phabricator doesn't handle iso-8859-1 properly, so use utf-8 instead.

Sponsored by:		Citrix Systems R&D
Reviewed by:		bapt
Differential Revision:	https://reviews.freebsd.org/D16415
2018-07-24 13:36:21 +00:00
Dmitry Marakasov
31a058f37c - Update WWW
Approved by:	portmgr blanket
2018-06-02 09:34:21 +00:00
Roger Pau Monné
9de9fae97f xen-tools: fix build with newer iasl
The added patch fixes the build on HEAD that contains a newer version
of iasl.

Sponsored by:	Citrix Systems R&D
2018-05-22 15:53:27 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Dmitry Marakasov
796f3e6831 - Fix shebangs
Approved by:	portmgr blanket
2018-02-06 15:18:38 +00:00
Antoine Brodin
a8cc35a10e - Those ports fail to build with python3
- Add some explicit FLAVOR to dependencies where needed
2017-12-12 12:40:15 +00:00
Jimmy Olgeni
e929aea23c Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.
This round is @FreeBSD.org residents except teams.
2017-11-02 21:41:47 +00:00
Roger Pau Monné
45e461a4b5 xen-tools: fix ASL QEMU code
In order to build with newer IASL compiler found in FreeBSD 12

Approved by:	bapt
Sponsored by:	Citrix Systems R&D
MFH:		2017Q2
2017-06-19 14:07:09 +00:00
Roger Pau Monné
4a7c254dfa xen: apply XSA-206
Reviewed by:		bapt
MFH:			2017Q1
Sponsored by:		Citrix Systems R&D
Differential revision:	https://reviews.freebsd.org/D10163
2017-03-29 15:10:15 +00:00
Roger Pau Monné
6a777074d5 xen: update to 4.7.2
Apply build fixes for clang 4.0 (picked from upstream) and XSA-211.

Reviewed by:		bapt
MFH:			2017Q1
Sponsored by:		AsiaBSDCon
Differential revision:	https://reviews.freebsd.org/D9926
2017-03-20 10:42:20 +00:00
Roger Pau Monné
503f65559a xen: fix build after XSA-209
Approved by:	bapt (implicit, build fix)
Sponsored by:	Citrix Systems R&D
MFH:		2017Q1
2017-02-23 09:50:23 +00:00
Roger Pau Monné
36c8df4074 xen: XSA-209
Approved by:	bapt
Sponsored by:	Citrix Systems R&D
MFH:		2017Q1
2017-02-21 12:25:06 +00:00
Roger Pau Monné
c409805a2f xen: fix build failure after XSA-208
Approved by:	bapt
MFH:		2017Q1
Sponsored by:	Citrix Systems R&D
2017-02-14 10:22:49 +00:00
Roger Pau Monné
0b51aad74c xen: apply XSA-209
Approved by:	bapt
MFH:		2017Q1
Sponsored by:	Citrix Systems R&D
2017-02-10 14:09:29 +00:00
Mathieu Arnold
64dd85b710 Fixup EXTRA_PATCHES and PATCHFILES missing the :-pX argument.
Sponsored by:	Absolight
2017-01-16 16:46:25 +00:00
Sunpoet Po-Chuan Hsieh
e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00
Roger Pau Monné
226bb1b594 xen-tools: fix path of xenstore device
When xenstore is not running on the same domain as the toolstack the xenstore
device is used in order to access it (like when running some tools from an
unprivileged domain). Fix the path to point to the FreeBSD path
(/dev/xen/xenstore). This is a backport of upstream commit 7ff99b.

Sponsored by:	Citrix Systems R&D
Approved by:	bapt
MFH:		2016Q4
--This line, and hose below, will be ignored--

M    sysutils/xen-tools/Makefile
AM   sysutils/xen-tools/files/0001-libs-xenstore-set-correct-FreeBSD-device.patch
2016-12-15 17:27:57 +00:00
Roger Pau Monné
4168d77f03 xen: update to 4.7.1
Xen 4.7.1 contains the following XSAs: 184, 185, 186, 187, 188 and 190 which
where missing in the previous package. Additionally XSAs 191, 192, 193, 194,
195, 197 and 198 are also applied.

Approved by:	bapt
Sponsored by:	Citrix Systems R&D
2016-12-02 16:07:24 +00:00
Dmitry Marakasov
6acc6a9d13 - Mark broken on 9.x as well
Approved by:	portmgr blanket
2016-10-21 08:42:06 +00:00
Tijl Coosemans
1ee4da6dd1 Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS.  Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.

Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set.  Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.

Fix some issues with LIBS in some ports.

Switch ports that don't support LIBS to localbase:ldflags.

PR:		212987
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-30 19:24:30 +00:00
Roger Pau Monné
27734a12cb xen: apply XSA-{182/183/184}
Sponsored by:	Citrix Systems R&D
PR:		211482
2016-08-01 08:35:54 +00:00
Roger Pau Monné
b2c3465fb6 xen-tools: bump PORTREVISION after SeaBIOS update
Trigger a xen-tools rebuild after the SeaBIOS update.

Sponsored by: Citrix Systems R&D
2016-07-06 14:49:03 +00:00
Roger Pau Monné
26d0500335 xen: update to final 4.7.0
Sponsored by: Citrix Systems R&D
2016-07-04 15:29:45 +00:00
Roger Pau Monné
85cb897cb3 xen: update to 4.7.0-rc6
Sponsored by:	Citrix Systems R&D
2016-06-16 15:25:26 +00:00
Roger Pau Monné
5e841df32b xen: update to Xen 4.7-rc4
Now both the xen-kernel and xen-tools packages are compiled with clang from
base.

xen-kernel however needs to use binutils due to some limitations in the
current elftc.

Approved by:	bapt
Sponsored by:	Citrix Systems R&D
2016-06-03 11:26:09 +00:00
Dmitry Marakasov
60555f684a - Mark BROKEN on 10.x, does not build:
<inline asm>:2:5: error: unexpected directive .code16
    .code16
    ^
<inline asm>:2:33: error: .code16 not supported yet
    .code16
                                ^
<inline asm>:3:16: error: unexpected directive .code16
ap_boot_start: .code16
               ^
<inline asm>:3:33: error: .code16 not supported yet
ap_boot_start: .code16
                                ^
4 errors generated.

Reported by:	pkg-fallout
Approved by:	portmgr blanket
2016-04-13 14:35:46 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Roger Pau Monné
029c399e28 xen-tools: extract seabios, build with clang
Submitted by:		bapt
Minor fixes by:		royger
Approved by:		bapt
2016-03-31 15:32:49 +00:00
Roger Pau Monné
286f646984 xen: update port and apply security fixes
* Apply the following Xen security fixes (XSAs): 167, 168, 170.
 * Update SeaBIOS version to 1.8.2, and apply build fix so it builds with
   ELF toolchain objcopy [0].
 * Perform the backport of two functional changes to the Xen kernel in order
   to improve PVH Dom0 hardware support [1].

Security:		CVE-2016-1570
Security:		CVE-2016-1571
Security:		CVE-2016-2271
Sponsored by:		Citrix Systems R&D
Requested by:		Gustau Pérez <gperez@entel.upc.edu> [1]
PR:			207170 [0]
Approved by:		bapt
Differential revision:	https://reviews.freebsd.org/D5420
2016-02-26 12:56:36 +00:00
Roger Pau Monné
b24beda464 xen: fix XSAs
Add the following XSA patches: 159, 160, 162, 165, 166.

Security:		CVE-2015-8339
Security:		CVE-2015-8340
Security:		CVE-2015-8341
Security:		CVE-2015-7504
Security:		CVE-2015-8555
PR:			205841
MFH:			2016Q1
Sponsored by:		Citrix Systems R&D
Requested by:		junovitch
Reviewed by:		junovitch
Differential revision:	https://reviews.freebsd.org/D4783
2016-01-05 10:06:07 +00:00
Roger Pau Monné
9da11fae56 xen: update to 4.5.2
...and add XSA-156.

Sponsored by:		Citrix Systems R&D
Reviewed by:		bapt
Differential Revision:	https://reviews.freebsd.org/D4150
2015-11-14 09:27:31 +00:00
Antoine Brodin
2a93f197e3 Fix build on FreeBSD 10, lang/gcc now supports -fstack-protector-strong
but c++(1) from base doesn't
2015-11-10 20:02:16 +00:00
Baptiste Daroussin
8a3da32b7a drop maintainership: ENOTIME 2015-11-09 15:09:34 +00:00
Roger Pau Monné
e26fcacb8f xen: apply XSAs
Apply the following XSAs: 148, 149, 150, 151, 152 and 153. More information
about the content of each XSA can be found at: http://xenbits.xen.org/xsa/

Sponsored by:		Citrix Systems R&D
Reviewed by:		bapt
Differential revision:	https://reviews.freebsd.org/D4049
2015-10-31 10:52:39 +00:00
Roger Pau Monné
936db4de55 xen: update to 4.5.1
Update xen-kernel to 4.5.1 and add patches to allow live migration, save and
restore. Remove qemu-traditional patches (FreeBSD doesn't support
qemu-traditional) and add XSA-142.

Approved by:		bapt
Differential revision:	https://reviews.freebsd.org/D3854
Sponsored by:		Citrix Systems R&D
2015-10-09 14:09:07 +00:00
Jason Unovitch
5c08f16d47 sysutils/xen-tools: Update to 4.5.1 and apply XSA-139/XSA-140 patches
- Update to 4.5.1
- Remove XSA-117 to XSA-136 and elf_parse_bsdsyms patches now part of 4.5.1
- Leave XSA-135 QEMU traditional patches due an oversight in 4.5.1
- Apply patches for XSA-139/XSA-140
- Set USE_LDCONFIG, sort USES, use ${PATCH}, and reorder Makefile (portlint)

PR:		201931
Security:	CVE-2015-5166
Security:	ee99899d-4347-11e5-93ad-002590263bf5
Security:	CVE-2015-5165
Security:	f06f20dc-4347-11e5-93ad-002590263bf5
Approved by:	bapt (maintainer), feld (mentor)
MFH:		2015Q3
2015-08-17 13:55:06 +00:00
Jason Unovitch
c60afda2a8 Fix XSA-138 / CVE-2015-5154
PR:		201931
Security:	CVE-2015-5154
Security:	da451130-365d-11e5-a4a5-002590263bf5
Approved by:	ports-secteam (delphij), delphij (mentor)
MFH:		2015Q3
2015-08-04 10:50:19 +00:00
Baptiste Daroussin
65485b5563 Fix XSA-137 / CVE-2015-3259
PR:		201416
Submitted by:	Jason Unovitch <jason.unovitch@gmail.com>
2015-07-11 13:16:45 +00:00
Roger Pau Monné
c5fa7de873 xen: add two symtab/strtab loading fixes from upstream
Those are upstream commits:

06ee60 libxc: fix xc_dom_load_elf_symtab
90b18f libelf: fix elf_parse_bsdsyms call

Reviewed by: bapt
Sponsored by: Citrix Systems R&D
2015-06-19 10:41:31 +00:00
Baptiste Daroussin
9e4ac18da0 Remove patch that has been replaced by the upstream version
Pointyhat to:	bapt
2015-06-13 14:25:53 +00:00