Commit graph

73 commits

Author SHA1 Message Date
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
Tobias C. Berner
707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +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
Ben Woods
9a75ed9d94 irc/quassel: Update to 0.13.0
Changes this release:
  https://github.com/quassel/quassel/blob/0.13.0/ChangeLog

PR:		233507
Submitted by:	David Fullard <dave+freebsd@fullard.ca>
Reviewed by:	ler
2018-12-02 23:18:10 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +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
Tobias C. Berner
60539b7275 multimedia/*phonon*: update and flavorize with @qt4/@qt5
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14632
2018-06-21 16:52:09 +00:00
Ben Woods
a34529e2ac irc/quassel: Update to 0.12.5
Changes this release:
  https://quassel-irc.org/node/130

MFH:		2018Q2
Security:	https://vuxml.freebsd.org/freebsd/499f6b41-58db-4f98-b8e7-da8c18985eda.html
2018-04-26 09:22:08 +00:00
Tobias C. Berner
cbfa894960 devel/qca, devel/qca-qt5 -- create flavors
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14651
2018-04-14 11:09:16 +00:00
Tobias C. Berner
56bc0620a2 Create flavors for devel/libdbusmenu-qt[45]
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14643
2018-03-12 18:52:53 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Ben Woods
93cd9c6f75 irc/quassel: Fix erroneously empty value for PLIST variable
This was causing the build of slave port irc/quassel-core to hang during
the ports build step which generates temporary packing list, as the sed
command to perform PLIST_SUB did not have a filename argument provided.

Reported by:	Steve Hay <hay.steve@gmail.com>
MFH:		2017Q1
2017-01-08 07:22:06 +00:00
Ben Woods
e6e4ab33c4 irc/quassel and irc/quassel-core: Add PostgreSQL option
- Qt decides at run-time which SQL drivers are installed and only then
  allows running Quassel with those database backends.
- Also reformat to minimise diff of irc/quassel-core (slave) from
  irc/quassel (master) as much as possible (per recommendation in
  the Porter's handbook).

PR:		215026
Submitted by:	Christian Schwarz <me@cschwarz.com>
Approved by:	adamw (mentor, implicit)
2016-12-24 03:48:30 +00:00
Ben Woods
49c90d6659 irc/quassel: split into two ports (client and server)
irc/quassel-core provides the server back-end.
irc/quassel provides the client front-end.
irc/quassel can also be built with the MONO option enabled to also
install the client and server combined into a single monolithic binary.

Submitted by:	Chris Rees <crees@physics.org> (in part)
Approved by:	adamw (mentor, implicit)
2016-10-29 17:01:30 +00:00
Ben Woods
896e7d8294 irc/quasssel: Patch CMakeLists.txt to fix build against SSL with Qt 5.6
PR:		213581
Submitted by:	Christian Schwarz (me@cschwarz.com)
Submitted by:	tcberner
Reviewed by:	mat
Approved by:	adamw (mentor, implicit)
Obtained from:	4768c9e99f
MFH:		2016Q4
Differential Revision:	https://reviews.freebsd.org/D8294
2016-10-27 15:34:56 +00:00
Ben Woods
a4fe0b0cf9 irc/quassel: Take maintainership
Approved by:	adamw (mentor, implicit)
2016-10-22 00:46:28 +00:00
Raphael Kubo da Costa
366a97ec37 Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).

I also emailed him 2 weeks ago and have received no response so far.
2016-10-20 15:58:12 +00:00
Jason Unovitch
3d3d1f321b irc/quassel: update 0.12.3 -> 0.12.4
PR:		209218
Approved by:	makc (maintainer timeout, 2 months)
Security:	CVE-2016-4414
Security:	https://vuxml.FreeBSD.org/freebsd/7d64d00c-43e3-11e6-ab34-002590263bf5.html
MFH:		2016Q3
2016-07-07 01:44:32 +00:00
Dmitry Marakasov
e87a8bd319 - Fix trailing whitespace in pkg-messages
Approved by:	portmgr blanket
2016-05-19 11:09:14 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Max Brazhnikov
b4d827e79c irc/quassel:
- Update to 0.12.3
- Remove upstream patches

PR:		207562
Submitted by:	Adriaan de Groot (groot@kde.org)
2016-03-31 12:51:44 +00:00
Max Brazhnikov
4ba054db9e irc/quassel:
- Add rc var to specify IP address quasselcore will listen on

PR:		206673
Submitted by:	Christian Schwarz
2016-02-15 11:23:34 +00:00
Raphael Kubo da Costa
30d353c4b1 Add upstream patch to fix the build with the upcoming Qt 5.5.1. 2016-01-23 19:28:55 +00:00
Mark Felder
d573147bc9 irc/quassel: Import patch to resolve DoS CVE
Approved by:	ports-secteam (with hat)
MFH:		2015Q4
Security:	CVE-2015-8547
2015-12-21 15:41:30 +00:00
Max Brazhnikov
1d29cbc2c9 irc/quassel:
- Update to 0.12.2
- Switch to Qt 5, remove KDE option
2015-11-09 15:22:23 +00:00
Max Brazhnikov
c7c32639cc Convert my ports to new options helpers 2015-08-25 10:03:08 +00:00
Max Brazhnikov
f8cccaa3dd irc/quassel:
- Update to 0.11.1, which addresses CVE-2015-3427

MFH:	2015Q2
2015-05-16 10:00:24 +00:00
Max Brazhnikov
23c2cb648f irc/quassel:
- Generate 4096 bit RSA certificate

PR:		198809
Suggested by:	Robert Sevat
2015-03-24 09:47:50 +00:00
Max Brazhnikov
b2b5151ef3 - Switch my ports to USE_QT4=linguisttools_build and adjust Qt components
- Use LUPDATE/LRELEASE provided by bsd.qt.mk
- Drop needless stripping
2015-02-24 21:46:28 +00:00
Max Brazhnikov
a740f1402a irc/quassel: add CPE info 2014-11-07 10:47:34 +00:00
Max Brazhnikov
593ddde04d irc/quassel:
- Update to 0.11.0. This version requires compiler with c++11 support
- Сonvert to USES=execinfo
- Use options helpers as much as possible
- Fix packaging for combination of NLS/MONO_OR_CLIENT options
- drop @dirrm from plist
2014-10-22 13:29:30 +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
Max Brazhnikov
2fd7e8f7a2 irc/quassel:
- update to 0.10.0
- convert to USES=tar:bzip2
- clean up Makefile from stale stuff
2014-03-31 10:58:50 +00:00
Max Brazhnikov
d2de2b00e4 - Bump PORTREVISION after KDE4_PREFIX change 2014-02-18 14:31:32 +00:00
Max Brazhnikov
bd3f7b0f3e Update to 0.9.2 2013-11-27 12:54:54 +00:00
Max Brazhnikov
a3b6c3aa10 Update to 0.9.1 2013-11-06 15:58:35 +00:00
Max Brazhnikov
21646392b0 - Support staging
- Use new LIB_DEPENDS syntax
- Use options helpers
- Convert to USES
- Minor changes/fixes
2013-10-23 13:08:41 +00:00
Dmitry Marakasov
ab24828630 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [fgijk])
Approved by:	portmgr (bdrewery)
2013-10-22 13:58:55 +00:00
Baptiste Daroussin
f30824b2ef Add NO_STAGE all over the place in preparation for the staging support (cat: irc) 2013-09-20 18:44:49 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Max Brazhnikov
ff18db2c44 - Install to KDE4_PREFIX when building with KDE support (should fix some
runtime issues) [1]
- Don't remove kdehier4 directories

Reported by:	avg
2013-07-20 11:08:11 +00:00
Max Brazhnikov
5904a45af1 - Update to 0.9.0
- Switch to ouf of source build
- Add KDE option (off by default), and use separate plist for not
  overcomplicating the matter
- Sync list of Qt 4 components with project requirements
- Trim Makefile header
- Reformat description
2013-05-12 08:42:18 +00:00
Max Brazhnikov
94df2cde4e Add NLS to OPTIONS_DEFINE 2013-03-25 14:01:36 +00:00
Max Brazhnikov
ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00
Max Brazhnikov
0a44979b96 Fix typo/logic after conversion to new option framework
Reported by:	erwin/pointyhat for textproc/qstardict
2012-07-31 13:25:26 +00:00
Max Brazhnikov
52e8b487f6 - Convert my ports to new options framework
- use CONFLICTS_INSTALL
- other minor changes
2012-07-27 11:03:38 +00:00
Martin Wilke
9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00