Commit graph

127 commits

Author SHA1 Message Date
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Jung-uk Kim
b8592bbae4 - Reduce diff from Linux OpenGL support. Note we do not have to manually
turn off AIGLX any more.
- Do not install vboxvideo.ko when OPENGL is disabled.  It is only required
for OpenGL support.
- Install vboxvideo.ko.symbols when both DEBUG and OPENGL are enabled.
- Do not try to load vboxvideo.ko if it does not exist.
2014-12-23 00:05:04 +00:00
Jung-uk Kim
29efe360f0 Add an X.org patch to fix emulators/virtualbox-ose-additions with GCC 4.2.
http://cgit.freedesktop.org/xorg/xserver/commit?id=ee9f766a

PR:		195950
Obtained from:	The X.Org project
2014-12-18 22:45:00 +00:00
Jung-uk Kim
9aba09205c Let vboxwatchdog properly create a pidfile.
PR:		196104
2014-12-18 21:03:30 +00:00
Jung-uk Kim
6a1e53fe0f - Use pkgconf to detect X server version. [1]
- Allow building vboxmouse for newer X servers.

Submitted by:	dumbbell (initial version) [1]
2014-12-10 20:22:53 +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
Jung-uk Kim
a0ce82c1ce Fix crash with USB devices attached.
PR:		194196
2014-12-01 21:23:03 +00:00
Jung-uk Kim
8684c60cd2 Do not use DRI2 as we did not port vboxvideo.ko for DRM2/KMS yet.
PR:		194324
2014-11-26 19:55:52 +00:00
Jung-uk Kim
6bd8b4d7d0 - Update to 4.3.20.
- Fix MANUAL option. [1]

PR:		195272 [1]
2014-11-25 00:40:17 +00:00
Jung-uk Kim
a2535d9349 Update to 4.3.18. 2014-10-20 19:48:58 +00:00
Marcus von Appen
91e4e8a4e3 - Convert ports from dns/, editors/ and emulators/ to new
USES=python

Approved by:	portmgr (implicit)
2014-10-19 15:43:33 +00:00
Jung-uk Kim
4c840a94c9 Fix build on head.
PR:		194035
2014-09-30 20:27:05 +00:00
Bernhard Froehlich
6900a3d8c0 - Fix missing symbol RTTermRegisterCallback in virtualbox-ose-additions kernel module
Submitted by:   Mikhail Tsatsenko <m.tsatsenko@gmail.com>
Reported by:	Mike Harding <mvharding@gmail.com>
2014-09-24 17:28:30 +00:00
Bernhard Froehlich
bead6e2747 - Add CPE information to virtualbox ports 2014-09-18 09:06:59 +00:00
Bernhard Froehlich
1a9f6e6f13 - Update to 4.3.16
Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com>,
		Jung-uk Kim <jkim@FreeBSD.org>
Obtained from:	svn.redports.org/virtualbox
2014-09-17 09:26:25 +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
Jimmy Olgeni
76c7f8fbe6 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-10 07:39:01 +00:00
Jung-uk Kim
9b415edf29 - Fix plist when both PYTHON and WEBSERVICE options are disabled. [1]
- Build and install correctly when DEBUG option is enabled. [2]

Reported by:	Mike Jakubik <mike.jakubik@intertainservices.com> [1]
PR:		ports/190227 [1]
Reported by:	Ron Thomas <ron@vopenhouse.ca> [2]
Tested by:	Ron Thomas <ron@vopenhouse.ca> [2]
2014-05-29 19:18:03 +00:00
Jung-uk Kim
4fa6babaec Remove an unnecessary change sneaked in the previous commit. 2014-05-23 23:48:13 +00:00
Jung-uk Kim
0a5a8db8c6 - Compile Python sources before installation. This fixes stage-qa. [1]
- Create symbolic links to SDK directory.

Reported by:	bar, nox [1]
2014-05-23 23:45:23 +00:00
Jung-uk Kim
c17a40b1a9 Remove cruft from r350637. The patches requiring the hack was removed in
the previous commit (r354896) because the problem was fixed in 4.3.12:

https://www.virtualbox.org/changeset/50940/vbox
2014-05-23 20:08:19 +00:00
Jung-uk Kim
f40b7d81d5 Update to 4.3.12. 2014-05-22 23:10:51 +00:00
Jung-uk Kim
0dbb1b61a6 Add an option to build user manual. Turned off by default. 2014-05-09 23:57:57 +00:00
Jung-uk Kim
f850a79f0b - Fix dependencies. devel/qt4-linguist is not needed at run-time. [1]
- Fix VPX option to actually enable video capture for FreeBSD. [2]

PR:		ports/189417 [1]
PR:		ports/189430 [2]
2014-05-08 23:58:00 +00:00
Bernhard Froehlich
afd3782547 - Add undef MSR_IA32_FEATURE_CONTROL for FreeBSD 10.0/i386
PR:		ports/189068
Submitted by:	Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
2014-04-28 15:01:33 +00:00
Jung-uk Kim
54c73e18af Fix build without X11.
PR:		ports/188053
2014-04-08 17:59:45 +00:00
Jung-uk Kim
ee81b40135 Fix VBoxClient-all to properly set VBoxClient path.
PR:		ports/188048
2014-04-01 17:52:14 +00:00
Jung-uk Kim
5470a075ae - Update to 4.3.10.
- Build with base C/C++ compiler, i.e., clang on 10.0+, as much as we can
to remove GCC run-time dependency and to reduce possible C++ ABI conflicts.
2014-03-28 23:35:31 +00:00
Jung-uk Kim
aca4e4135f Prefer USES=tar:bzip2. 2014-03-20 18:15:06 +00:00
Jung-uk Kim
bb54ae20b3 Fix panic for stable/9. Use vm_page_alloc_contig() as it is now available.
Tested by:	Douglas Berry (doug at bitnix dot ca)
PR:		ports/187580
2014-03-20 18:11:11 +00:00
Jung-uk Kim
63e7cd1562 Work around build problems on recent stable/9.
PR:		ports/183739
2014-03-13 17:41:51 +00:00
Jung-uk Kim
0806784e42 - Remove devel/dev86 from BUILD_DEPENDS and devel/bcc from CONFLICTS. It
has not been used for very long time.
- Remove devel/yasm from BUILD_DEPENDS for kernel module.  It is actually
unnecessary for building kmod.
2014-03-05 20:31:02 +00:00
Jung-uk Kim
71b986b697 Update to 4.3.8.
Obtained from:	svn.redports.org/virtualbox
2014-03-04 00:45:37 +00:00
Jung-uk Kim
ed324c72dd Fix build after re-appearance of converters/libiconv on 10+ (r341775).
Obtained from:	svn.redports.org/virtualbox
PR:		ports/186847
2014-02-21 21:22:56 +00:00
Bernhard Froehlich
580dc0dd08 - Update to 4.3.6
Obtained from:	svn.redports.org/virtualbox
Thanks to:	all testers of the 3 CFTs
2014-01-23 17:18:42 +00:00
Bernhard Froehlich
fbda6889d4 - Update to 4.2.22
- Remove 3D crOpenGl patches that are already included in the new release
- Convert USE_PYDISTUTILS=easy_install to USE_PYDISTUTILS=yes
- Add patch to fix building with new gsoap [1]
- Add direct dependency on qt4-opengl [2]

PR:		ports/185579 [2]
Security:	CVE-2013-5892
Submitted by:	Jung-uk Kim <jkim@FreeBSD.org> [1]
		Jimmy Olgeni <olgeni@FreeBSD.org> [2]
2014-01-16 16:38:18 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Baptiste Daroussin
c0d7b638ed Part 1 at removing now useless FETCH_ARGS redifition 2014-01-03 00:46:47 +00:00
Bernhard Froehlich
aad094a512 - Disable stripping away RPATH on FreeBSD for Hardened-R3 binaries.
This fixes the remaining compat9x problems because the virtualbox
buildsystem did remove our RPATH on some binaries if hardening is
enabled. The hardening is a collection of additional safety checks
for all virtualbox suid binaries and is always enabled.

Reported by:	many FreeBSD 10 users
2013-12-17 20:56:00 +00:00
Marcus von Appen
96f73dde92 - make lang/python an explicit build dependency to get
rid of the implicit one

Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
2013-12-14 18:35:52 +00:00
Bernhard Froehlich
118a9aeef9 - Properly add $_GCC_RUNTIME to RPATH because that variable is evaluated
after bsd.port.post.mk so it's hard to test for it.

This fixes various issues that look like these ...

VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed:
/usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required
by /usr/local/lib/virtualbox/VBoxRT.so not found

Type Manifest File: /root/.VirtualBox/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

PR:		ports/182468
PR:		ports/183085
Submitted by:	bapt
2013-12-12 15:29:01 +00:00
Bernhard Froehlich
0e122e3616 - Add misc/compat9x port as conflicting because it causes the wrong libstdc++.so.6
to be found by rtld. In fact vbox links to libstdc++.so.6 from lang/gcc46 because of
USE_GCC=yes but we have another shared object with the same shlib version in compat9x
which is incompatible.

VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed:
/usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required
by /usr/local/lib/virtualbox/VBoxRT.so not found

PR:		ports/182468
Reported by:	various FreeBSD 10 users
2013-12-11 14:01:44 +00:00
Bernhard Froehlich
c5ddc04682 - Update to 4.2.20 [1]
- Add $_GCC_RUNTIME to vbox runpath when building with gcc from ports [2]
- Add vboxwatchdog rc.d script
- Fix building with gcc 4.6 from ports and remove FreeBSD specific -mno-align-long-strings
- Remove checks for EoL FreeBSD versions
- Support staging
- Convert LIB_DEPENDS to new shlib format
- Adopt OPTIONS_SUB and new OPTION_CONFIGURE_ON|OFF

PR:		ports/182468 [2]
Submitted by:	Mikhail Tsatsenko [1]
2013-12-10 20:42:40 +00:00
Dmitry Marakasov
a2105d9f79 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [bce])
Approved by:	portmgr (bdrewery)
2013-10-22 13:57:35 +00:00
Bernhard Froehlich
90903a7bb7 - Fix calls of vm_map_find() after r255426 broke it and added
a mmap flag.

PR:		ports/181971,
		ports/182121
Submitted by:	Lawrence Stewart <lstewart@FreeBSD.org>,
		Dan McGregor <dan.mcgregor@usask.ca>
2013-09-21 18:41:53 +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
Bernhard Froehlich
88b552a665 - Revert VNC IPv6 patch because it causes an incompatibility.
Per default the VNC ports are stored in "TCP/Ports" but with
that change "VNCAddress4", "VNCPort4", "VNCAddress6" and
"VNCPort6" are used which breaks phpvirtualbox and also
confused VBoxManage/VBoxHeadless.

Reported by:    VVD
2013-09-12 21:19:47 +00:00
Bernhard Froehlich
aa160f4740 - Update to 4.2.18
Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com>
2013-09-08 14:40:54 +00:00
Guido Falsi
d8771481e0 Add explicit iconv dependency. The port requires variable ICONV_LIB
defined in the iconv USES Makefile to build correctly on 8.x and
9.x after the iconv migration of the ports tree.

PR:		ports/181854
Submitted by:	Dave Hayes <dave@jetcafe.org>
Approved by:	portmgr (bapt, implicit)
2013-09-06 06:43:39 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00