Commit Graph

133 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
Cy Schubert
4bb255c4b0 Add missing qt5 dependency.
Reported by:	pi@
MFH:		2019Q1
2019-01-11 20:15:34 +00:00
Cy Schubert
6b28cff422 Add QT5 buildtools to the mix. 2018-12-29 04:14:03 +00:00
Mathieu Arnold
db4ec2c5ad Fix USE_GITHUB usage. 2018-12-27 12:34:42 +00:00
Cy Schubert
e9c0ebcb1f Problem:
QT4 support is deprecated and will be removed in March 2019.
	fwbuilder upline is no longer supported.

Solution:
	Use the fwbuilder fork on github. This:
	- updates fwbuilder from 5.1.0 to 5.3.7.
	- uses QT5.
	- is supported.
2018-12-27 02:44:40 +00:00
Rene Ladan
99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00
Mathieu Arnold
e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +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
Mark Linimon
65ea74117c Mark as broken on powerpc64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-08 03:53:35 +00:00
Cy Schubert
8fa1f4b0e2 clang 6 is full of surprises. Fix build on 12-CURRENT 1200056. 2018-01-17 03:46:43 +00:00
Mathieu Arnold
6d588589c2 Make defining both PORTVERSION and DISTVERSION a DEV_ERROR.
There are two cases:

- The upstream versionning is compatible with our versionning, or using
  DISTVERSION's magic leads to a compatible PORTVERSION, use
  DISTVERSION.  If it is possible to use DISTVERSIONPREFIX and
  DISTVERSIONSUFFIX to make it compatible, use them.
- The upstream versionning is not compatible with our versionning, and
  DISTVERSION's magic does not lead to a correct PORTVERSION, then set
  PORTVERSION to the equivalent of our versionning, and set DISTNAME.
  It is possible to use a third variable where you store upstream's
  version and use it to compute PORTVERSION and/or DISTNAME, like the
  dns/bind9* ports do.

Sponsored by:	Absolight
2017-04-11 15:21:23 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Tobias C. Berner
62ede14c75 Get rid of QT_PREFIX in favour of PREFIX.
QT_PREFIX was a remnant of a bygone time.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8825
2016-12-18 22:06:50 +00:00
John Marino
044e3a6784 security/fwbuilder: Fix bad RUN_DEPENDS specification for rcs
The fwbuilder makefile specifies devel/rcs as a run dependency for
FreeBSD 10 and later, but the specification is ignored on a stock
FreeBSD 10.3 installed from an ISO.  At some point rcs was removed
before FreeBSD-10 release, but it seems to have been put back and
controlled with a build knob, so it may or may not be present on
FreeBSD 10 or later.

Change the test from checking OSVERSION to checking for the existence
of /usr/bin/rcs.  It's a better chek and it fixes a potential dependency
mismatch issue between the port and the built package.

While here, change RUN_DEPENDS= to RUN_DEPENDS+= to avoid a potential
overwrite of existing values.

Approved by:	infrastructure blanket (redundant deps work)
2016-08-04 19:25:45 +00:00
Dmitry Marakasov
1f8b48b772 - Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by:	portmgr blanket
2016-05-19 10:53:05 +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
Tijl Coosemans
0c3a7b3879 Run included autogen.sh instead of autoreconf because it will also copy
config.sub and config.guess

Reported by:	antoine
2015-04-20 15:44:02 +00:00
Tijl Coosemans
5bffbd348f Modernise configure.in
Reported by:	antoine
2015-04-19 19:46:26 +00:00
Tijl Coosemans
d32714f4af Convert to USES=autoreconf 2015-04-18 12:58:34 +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
Antoine Brodin
698f4644c4 Cleanup plist 2014-11-13 09:02:57 +00:00
Adam Weinberger
1c30911ff0 Rename security/ patches to reflect the files they modify. 2014-07-29 14:30:10 +00:00
Adam Weinberger
849ee6c94f Remove NOPORTDOCS and NOPORTEXAMPLES. 2014-07-04 22:17:11 +00:00
Antoine Brodin
eb373b32eb Unbreak 2014-05-31 19:29:53 +00:00
Cy Schubert
d1e85356d5 Stagify. Modernize. 2014-05-30 00:26:39 +00:00
Martin Wilke
5743712b3d - Convert gmake, bzip2 to USES
Approved by:	portmgr
2014-05-26 12:50:40 +00:00
Dmitry Marakasov
db25d63f5a - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [st])
Approved by:	portmgr (bdrewery)
2013-10-22 14:01:38 +00:00
Cy Schubert
a46ba112d4 r329531 makes this patchfile unnecessary. 2013-10-06 13:36:29 +00:00
Cy Schubert
b03e362c33 With the impending removal of rcs from base/head/, add new rcs 5.7 port
which is compatible with the soon to be removed rcs (5.7) in base/ and make
security/fwbuilder (which will not work with any rcs newer than 5.7)
depend on it.
2013-10-06 04:23:20 +00:00
Baptiste Daroussin
a65ed2e51b Add NO_STAGE all over the place in preparation for the staging support (cat: security) 2013-09-20 22:55:24 +00:00
Cy Schubert
c387378318 On installations that have devel/rcs (GNU rcs) installed, fwbuilder fails
to check in udates to its .fwb files (they are saved but not checked into its
RCS database). This patch prefers rcs in base (/usr/bin/rcs) over GNU rcs
(/usr/local/bin/rcs).
2013-09-11 00:48:44 +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
Cy Schubert
8b8ced8e88 Update 5.0.1 ---> 5.1.0 2012-04-24 20:22:14 +00:00
Cy Schubert
d59a411f5a Update 5.0.0 --> 5.0.1
Feature safe:	yes
2011-12-30 23:02:42 +00:00
Cy Schubert
6bab049ead Adjust -devel bits for use in -devel version of this port.
Feature safe:	yes
2011-11-19 00:50:22 +00:00
Cy Schubert
88b3d33b33 Set default DEVEL option (documentation).
Add version 4 to conflicts.

Adjust version 5 nightly builds URL for devel version of this Makefile.

Feature safe:	yes
2011-11-15 04:30:55 +00:00
Cy Schubert
434f1b87c7 Update 4.2.2 --> 5.0.0
Feature safe:	yes
2011-11-14 20:54:09 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Cy Schubert
8031aefbc9 Now builds under 9.0-CURRENT. 2011-09-11 23:21:29 +00:00
Sylvio Cesar Teixeira
c9e4736d26 - Chase net-snmp shlib version bump. 2011-07-28 12:43:22 +00:00
Cy Schubert
02f6070eb4 Update 4.2.1 --> 4.2.2. This is a bugfix release.
Notified by:	Vadim Kurland <vadim@netcitadel.com> (Fwbuilder upline)
2011-05-12 05:40:11 +00:00
Cy Schubert
c38d260b49 Update 4.2.0 --> 4.2.1. This is a bugfix release.
Notified by:	Vadim Kurland <vadim@netcitadel.com> (Fwbuilder upline)
2011-05-11 04:12:24 +00:00
Cy Schubert
1e7cbacf76 Fix build on AMD64. Debugging information caused failure on pointyhat due
to ulimit. Rremoval of debugging information reduces the size of a static
library file by 80%.

Discovered by:	pointyhat on amd64 8
2011-05-09 15:03:38 +00:00
Cy Schubert
21ec141396 Update 4.1.3 --> 4.2.0.
Libfwbuilder has been merged into fwbuilder.
2011-05-03 03:14:39 +00:00
Cy Schubert
fd14e293b5 Update 4.1.2 --> 4.1.3 2011-02-09 05:51:54 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Cy Schubert
93b43ba791 Update 4.1.1 --> 4.1.2 2010-10-10 20:35:44 +00:00
Ade Lovett
7e80cde328 Round one migration of ports from automake{19,110} to automake111 2010-10-05 19:57:56 +00:00