Commit Graph

37 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
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +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
Yuri Victorovich
8d794cc537 deskutils/owncloudclient: Update 2.4.0 -> 2.4.1
Port changes:
* Change to DISTVERSION
* Remove USES=ssl (not needed)
* Add USES=kde:5 and corresponding USE_KDE values
* Remove INSTALLS_ICONS (not needed)
* Silence the pre-configure command

PR:		226490
Submitted by:	Greg Fitzgerald <gregf@hugops.pw> (only a simple version change)
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2018-04-08 20:47:57 +00:00
Tobias C. Berner
b9f7905439 Move security/qtkeychain-qt[45] to security/qtkeychain and create flavors
Reviewed by:	Gleb Popov <6yearold_gmail.com>
Approved by:	portmgr (mat)
2018-03-12 18:21:09 +00:00
Guido Falsi
ce230ba21d - Update deskutils/owncloudclient to 2.4.0
- Regenerate patches

PR:		225583
Submitted by:	me
Approved by:	yonas@fizk.net (maintainer)
2018-02-04 11:11:47 +00:00
Marcelo Araujo
761493be4d - Update textproc/py-sphinx to 1.6.5. [0]
- Update all ports that depends of py-sphinx. [0]
- Add conditional RUN_DEPENDS. [1]
- Add TEST_DEPENDS. [1]

PR:		ports/221891 [0] and ports/225136 [1]
Submitted by:	sunpoet [1]
Approved by:	antoine (portmgr)
Exprun by:	antoine (several rounds)
Sponsored by:	iXsystems, Inc.
2018-01-29 06:45:16 +00:00
Guido Falsi
567d712a32 Update owncloudclient to 2.3.4
PR:		224212
Submitted by:	me
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2017-12-10 08:09:07 +00:00
Guido Falsi
a50b846bad Update owncloudclient to 2.3.3
PR:		223007
Submitted by:	me
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2017-10-15 07:37:57 +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
Tobias C. Berner
5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +00:00
Guido Falsi
8b47fa974f Update owncloudclient to 2.3.2
PR:		219954
Submitted by:	me
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2017-06-14 06:37:32 +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
Guido Falsi
fa77aaab02 Upgrade owncloudclient to 2.3.1
PR:		218065
Submitted by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2017-03-25 11:18:34 +00:00
Guido Falsi
58f9e613bd update owncloudclient to 2.3.0.
PR:		217805
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2017-03-19 11:30:31 +00:00
Tijl Coosemans
6d324c1f70 - Remove inclusion of bsd.default-versions.mk from ftp/curl/Makefile so
bsd.default-versions.mk can rely on ARCH being defined.
- In bsd.port.mk move inclusion of bsd.default-versions.mk from the
  pre-makefile section to the options section so the variables can be used
  earlier.  Also put the bit of code sitting between the options section and
  the pre-makefile section into the options section.
- Remove last few cases where ports set WITH_OPENSSL_PORT.  This variable is
  handled in bsd.default-versions.mk and some ports were setting it after
  including bsd.port.options.mk.  After FreeBSD 9 EoL all but a few ports,
  and then only when setting non-default options, work without setting that
  variable.

PR:		215996
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-02-05 21:20:24 +00:00
Dmitry Marakasov
9d79e7b146 - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-09 13:16:49 +00:00
Jason E. Hale
31875618a8 Update to 2.2.4
PR:		214253
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2016-11-30 18:54:20 +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
Guido Falsi
bbf8b91905 Update to 2.2.3.
PR:		211888
Submitted by:	Yonas Yanfa <yonas at fizk.net> (maintainer)
2016-08-21 20:37:56 +00:00
Pawel Pekala
b744d7eb54 - Update to version 0.7.0 [1]
- Bump all affected ports, ABI change

PR:		211417 [1]
Submitted by:	maintainer
2016-07-28 22:27:20 +00:00
Guido Falsi
a03b771774 - Update to 2.2.2
- Add two missing requirements to USE_QT5
- While here, convert to USES=ssl

PR:		210506
Submitted by:	me
Approved by:	yonas@fizk.net (maintainer)
2016-06-28 08:01:46 +00:00
Guido Falsi
6a51b1787d Update to 2.2.0
PR:		209679
Submitted by:	me
Approved by:	Yonas Yanfa <yonas at fizk.net> (maintainer)
2016-05-25 08:20:24 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Guido Falsi
d47af0b049 - Update to 2.1.1
- Convert to USE_GUTHUB
- Take advantage od USES=localbase
- Convert to USES=sqlite

PR:		207139
Submitted by:	me
Approved by:	Yonas Yanfa <yonas at fizk.net>
2016-02-18 07:55:16 +00:00
Guido Falsi
a1f3dd61dc Update to 2.0.2
PR:		204407
Submitted by:	Sevan Janiyan <venture37 at geeklan.co.uk>
Patch by:	Yonas Yanfa <yonas at fizk.net> (maintainer)
2015-11-12 20:02:56 +00:00
Kubilay Kocak
69312938b0 deskutils/owncloudclient: Add DEBUG option
Add a debug option allowing users to easily enable debug builds. This can help
isolation of particular bugs (like crashes) [1]

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203885

PR:		203919
Submitted by:	Yonas Yanfa <yonas fizk net> (maintainer)
2015-10-25 10:38:27 +00:00
Tijl Coosemans
3a55a118dd Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.
These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
comms/hidapi: Use standard AM_ICONV configure macro to look for iconv.
deskutils/fbreader: Let ports framework deal with LIBICONV_PLUG.
deskutils/ljclive: Override configure test for iconv.
deskutils/owncloudclient: Add USES=iconv and patch test for iconv.
devel/aegis: Bump PORTREVISION because it no longer uses libiconv.
devel/libexplain: Add USES=iconv and override test for iconv.
devel/sdl20: Override configure test for iconv.
emulators/vmw: Replace OSVERSION checks with ICONV_LIB checks and include
<iconv.h> instead of <sys/iconv.h>.
irc/scrollz: Override configure test for iconv.
japanese/chasen-base: Override configure test for iconv and patch
configure so it no longer adds -liconv to linker flags just because it
happens to be installed.
japanses/eb: Patch configure test for iconv.
japanses/eblook: Override configure test for iconv.
java/jikes: Override configure test for iconv.
multimedia/transcode: Bump PORTREVISION because only one plugin links with
libiconv now.
net/c3270: Override configure test for iconv.
net/samba4*: Bump PORTREVISION because it no longer uses libiconv.  The
configure script will always add -liconv to the linker flags when it
happens to be installed which would be wrong but later on binaries are
linked with -Wl,--as-needed and the linker discards -liconv because it
finds iconv*() functions in libc now and no longer in libiconv.
net-mgmt/icinga-*: Remove dependency on iconv.
net-mgmt/netxms: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net/asterisk11: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net-p2p/transmission-*: Override configure test for iconv.
www/htmlcxx: Override configure test for iconv.
www/httrack: Override configure test for iconv.
www/xapian-omega: Override configure test for iconv.
x11/mrxvt(-devel): Add USES=iconv and override configure test for iconv.
x11/x3270: Override configure test for iconv.
x11-wm/jwm: Override configure test for iconv.

PR:		202838
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-10-10 14:03:00 +00:00
Jason Unovitch
e31df43b34 deskutils/owncloudclient: update 1.8.4 -> 2.0.1
- Pass maintainer from ports@ to PR submitter
- Regenerate a patch for 2.0.1

PR:		203167
Submitted by:	Yonas Yanfa <yonas@fizk.net>
2015-09-21 12:29:36 +00:00
Raphael Kubo da Costa
cfc6c42930 Update CMake to 3.1.1.
Release notes for the 3.3 series:
http://www.cmake.org/cmake/help/v3.3/release/3.3.html

This update took longer than expected because of a behavior change in CMake:
now calls to find_library(), find_path() etc will take the $PATH environment
variable into consideration, which in practice means that it will prefer
libraries in base instead of those in ports when both versions are available.
r395972 is an example of the groundwork that had to be done before landing this
patch.

- deskutils/owncloudclient: When OpenSSL from ports is to be used, make sure to
  pass ${LOCALBASE} as $CMAKE_PREFIX_PATH, otherwise it will use the version in
  base (see above) and fail on 9.x.
- math/cgal: Import upstream patch to fix the configuration process with CMake
  3.3.x.

PR:		202516
2015-09-07 12:09:53 +00:00
Guido Falsi
5923b05715 Update to 1.8.4 2015-08-07 21:17:38 +00:00
Antoine Brodin
71cead9c46 Fix packaging after sphinx update
Reported by:	pkg-fallout
2015-07-24 23:41:15 +00:00
Guido Falsi
7941f4cb00 - Rename security/qtkeychain to qtkeychain-qt5, update to 0.5.0 and make it use Qt5
- Add slave port qtkeychain-qt4
- Make deskutils/owncloudclient link against qtkeychain-qt5
- Update owncloudclient comment and pkg-descr

PR:		198785
Submitted by:	6yearold at gmail.com (security/qtkeychain maintainer)
2015-05-24 21:03:19 +00:00
Guido Falsi
4c393bb995 - Move deskutils/mirall to deskutils/owncloudclient due to upstream rename
- Update to 1.8.0
2015-04-04 00:25:25 +00:00