Commit graph

275 commits

Author SHA1 Message Date
Jung-uk Kim
255c2bc9c0 Revert r494756 and r494757 for now. It seems this patch needs more work.
Somehow it prevented executables from starting properly.

Reported by:	Martin Birgmeier <d8zNeCFG@aon.at>
		Petyo Milotinov <petyo@petyo.org>
2019-03-08 00:25:55 +00:00
Jung-uk Kim
7106e11a2a Fix a typo in the previous patch. 2019-03-06 00:55:34 +00:00
Jung-uk Kim
821d970a5c Make linker option for executables closer to Linux equivalent, i.e.,
"-z noexecstack", "-z relro", and "--as-needed".
2019-03-06 00:46:18 +00:00
Jung-uk Kim
3e989637c6 Use system X.Org header files instead of the bundled files.
PR:		227238
2019-02-28 22:33:52 +00:00
Jan Beich
7c039bce3a multimedia/libvpx: update 1.8.0
www/firefox, www/firefox-esr, mail/thunderbird wait for upstream fix via
https://bugzilla.mozilla.org/show_bug.cgi?id=1525393

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.7.0..v1.8.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libvpx/
2019-02-06 13:33:13 +00:00
Jung-uk Kim
6cc5604218 Appease stage-qa.
PR:		217511
2019-01-30 19:24:18 +00:00
Jung-uk Kim
e62dcda867 Fix OpenGL dependency and appease stage-qa.
PR:		217511
2019-01-29 22:28:25 +00:00
Jung-uk Kim
10c4fcdc0f Prefer HTTPS for MASTER_SITES. 2019-01-29 19:24:30 +00:00
Jung-uk Kim
f226c4d673 Update to 5.2.26.
https://www.virtualbox.org/wiki/Changelog-5.2#v26
2019-01-29 19:12:47 +00:00
Marcelo Araujo
8380692cb2 - Bump PORTREVISION of ports that depends of net/libvncserver after it
was updated to version 0.9.12

Submitted by:	dereks_lifeofadishwasher.com
Differential Revision:	https://reviews.freebsd.org/D18836
2019-01-28 06:56:31 +00:00
Jung-uk Kim
ce47baa1ab Update to 5.2.24.
https://www.virtualbox.org/wiki/Changelog-5.2#v24
2019-01-16 15:19:45 +00:00
Tijl Coosemans
1bf487d3e7 Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence.  If the
catch-all is last it captures everything.  In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the
catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Jung-uk Kim
35d684efe9 Fix build when SRC_BASE is not /usr/src.
PR:		233626
2018-11-29 21:12:58 +00:00
Jung-uk Kim
085b666fec Fix a VNC regression since 5.2.20.
PR:		232528
Obtained from:	VirtualBox Ticket #18153
2018-11-29 21:09:25 +00:00
Jung-uk Kim
d1488972e2 Update to 5.2.22.
https://www.virtualbox.org/wiki/Changelog#22
2018-11-09 23:54:01 +00:00
Jung-uk Kim
b8c6eabbfe Support SMAP for amd64.
This should stop kernel panics on SMAP supported CPUs after r336876.

PR:		230460
MFH:		2018Q4
2018-10-20 04:42:53 +00:00
Jung-uk Kim
27785eaba9 Update to 5.2.20.
https://www.virtualbox.org/wiki/Changelog#20
2018-10-17 06:49:30 +00:00
Niclas Zeising
0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Jung-uk Kim
b621458fc9 Update to 5.2.18.
https://www.virtualbox.org/wiki/Changelog#18
2018-08-15 19:38:59 +00:00
Niclas Zeising
15dac70c75 Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
2018-07-31 18:41:30 +00:00
Tobias Kortkamp
e506e05174 emulators/virtualbox-ose: Fix build when using 3.? as default Python
When using DEFAULT_VERSIONS=python=3.6 or similar the build fails
with

kBuild: Generating python - .../out/freebsd.amd64/release/obj/VBoxOGLgen/spu_dispatch_table.h
kmk_builtin_redirect: posix_spawnp(python-not-found) failed: No such file or directory

Explicitly use Python 2.7 for the time being to fix the build.

PR:		225734
Submitted by:	Peter Wullinger <freebsd@dhke.de>
Approved by:	vbox (maintainer timeout, 5 months+)
2018-07-26 11:46:58 +00:00
Bryan Drewery
05d3bb2740 vboxheadless: Fix start of specific machine after base r291770.
The vboxheadless rc script has its own pid checking, so the rc.subr
version in run_rc_command is not needed.

PR:		212074
2018-07-24 23:22:27 +00:00
Jung-uk Kim
5ac9771135 Update to 5.2.16.
https://www.virtualbox.org/wiki/Changelog#16
2018-07-17 19:19:17 +00:00
Jung-uk Kim
469a5ca5b1 Unbreak emulators/virtualbox-ose-additions and emulators/virtualbox-ose-kmod
on head after r335879.
2018-07-11 16:15:31 +00:00
Jung-uk Kim
52896eada3 Update to 5.2.14.
https://www.virtualbox.org/wiki/ChangeLog#14
2018-07-02 22:13:39 +00:00
Jung-uk Kim
f3273790c7 Remove obsolete patches. 2018-07-02 21:23:08 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Jung-uk Kim
d864952f7d Remove obsolete kludges. All supported versions do not need these hacks.
Furthermore, these hacks break build on head.

PR:		228433
2018-06-01 00:30:50 +00:00
Jung-uk Kim
35490ddd57 Fix emulators/virtualbox-ose-additions build with OpenGL option.
Reported by:	mat, des
2018-05-15 21:16:03 +00:00
Kurt Jaeger
582a4ebe61 emulators/virtualbox-ose: add pkg-message about sysctl tuning with AIO
- New values for several sysctl vfs.aio.max* parameters are suggested

PR:		168298
Submitted by:	rozhuk.im@gmail.com
Reported by:	petefrench@ingresso.co.uk
2018-05-12 17:11:34 +00:00
Jung-uk Kim
75f1d3db92 Update to 5.2.12.
https://www.virtualbox.org/wiki/Changelog#12
2018-05-10 18:41:32 +00:00
Jung-uk Kim
87b73ca2fb Fix build on head after r333077. 2018-05-04 01:25:48 +00:00
Jung-uk Kim
fa8cc9eea6 Chase Guest Additions change.
Reported by:	Patrick Mackinlay (patrick at spacesurfer dot com)
2018-05-03 22:30:58 +00:00
Dmitry Marakasov
b64264b2cb - Update WWW
Approved by:	portmgr blanket
2018-04-29 09:33:51 +00:00
Li-Wen Hsu
3c7e3a06e5 Fix pkg-plist 2018-04-18 03:38:37 +00:00
Jung-uk Kim
ff9707fa61 Update to 5.2.10.
https://www.virtualbox.org/wiki/Changelog#v10
2018-04-17 21:17:42 +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
Brooks Davis
16a06ea402 Work around the lack of definition of union semun per POSIX.
When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.

PR:		224300, 224443 (exp-run)
Approved by:	portmgr (antoine)
Exp-run:	antoine
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14137
2018-03-02 22:34:53 +00:00
Jung-uk Kim
cbe1220de7 Update to 5.2.8.
https://www.virtualbox.org/wiki/Changelog#v8
2018-02-28 23:36:57 +00:00
Eugene Grosbein
04d446aced emulators/virtualbox-ose: remove extra dependency on cdrtools.
Dependency on cdrtools was introduced 6 years ago for sake of mkisofs:
https://svnweb.freebsd.org/ports/head/emulators/virtualbox-ose/Makefile?revision=274444&view=markup

In fact, VirtualBox build system does not use makeisofs
while building for FreeBSD because it does not even try to buid
VirtualBox Additions ISO image as its documentation says
in the Prerequisites section:

	mkisofs (required only for additions which aren't supported yet)
	=> /usr/ports/sysutils/cdrtools

	https://www.virtualbox.org/wiki/FreeBSD%20build%20instructions

And it never really used mkisofs.
Drop the dependency and bump PORTREVISION.

PR:		225376
Approved by:	vbox (maintainer timeout, 2 weeks)
2018-02-05 21:06:41 +00:00
Jan Beich
b964b053b6 multimedia/libvpx: update 1.7.0
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.6.1..v1.7.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libvpx/
2018-01-25 21:20:12 +00:00
Jung-uk Kim
827b1a1a82 Re-enable AVX/AVX2 support for guest.
This patch is no longer necessary according to the original reporter.

PR:		211651
2018-01-23 17:30:49 +00:00
Jung-uk Kim
7e5ac33691 Fix emulators/virtualbox-ose-additions build with Clang 6.0. 2018-01-19 01:13:17 +00:00
Jung-uk Kim
6cbed8f227 Update to 5.2.6. 2018-01-17 01:59:24 +00:00
Jung-uk Kim
5c32f53c15 Update to 5.2.4.
https://www.virtualbox.org/wiki/Changelog#v4
2017-12-27 21:01:54 +00:00
Jung-uk Kim
04b78a0074 Reduce build dependency.
PR:		223709
2017-11-30 23:53:42 +00:00
Jung-uk Kim
b58bf791cc Update to 5.2.2. 2017-11-30 23:45:48 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Mathieu Arnold
cd49527baa Fix stage-qa warnings.
Sponsored by:	Absolight
2017-10-30 15:41:02 +00:00