aboutsummaryrefslogtreecommitdiff
path: root/net/qt5-network
Commit message (Collapse)AuthorAgeFilesLines
* net/qt5-network: Address CVE-2023-51714Jason E. Hale2024-01-072-0/+166
| | | | | | | | | | | | | A potential integer overflow has been discovered in Qt's HTTP2 implementation. If the HTTP2 implementation receives more then 4GiB in total headers, or more than 2GiB for any given header pair, then the internal buffers may overflow. Reported by: vvd via #freebsd-desktop MFH: 2024Q1 Security: e2f981f1-ad9e-11ee-8b55-4ccc6adda413 (cherry picked from commit 205177c8320e5b5ab241deda273f860866b62218)
* Qt5: Update to 5.15.12Jason E. Hale2023-12-301-3/+3
| | | | | | Update devel/pyside2* and devel/shiboken2 to 5.15.12 Release note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.12/release-note.md
* net/qt5-network: Fix build with LibreSSLJason E. Hale2023-10-141-17/+32
| | | | | PR: 274461 Reported by: <jakub_lach@mailplus.pl>
* Qt5: Update to 5.15.11Jason E. Hale2023-10-142-4/+3
| | | | | | Update devel/pyside2* and devel/shiboken2 to 5.15.11 Release note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.11/release-note.md
* net/qt5-network: Drop ca_root_nss dependency.Dag-Erling Smørgrav2023-10-091-2/+1
| | | | | | MFH: 2023Q4 Approved by: kde (jhale) Differential Revision: https://reviews.freebsd.org/D42061
* Qt5: Update to 5.15.10Jason E. Hale2023-09-251-3/+3
| | | | | | | | | | Update devel/qt5-script* and www/qt5-webengine to 5.15.15-lts Update devel/pyside2* and devel/shiboken2 to 5.15.10 Release note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/5.15.10/release-note.md PR: 273934 Exp-run by: antoine
* Qt: Update Qt 5 to 5.15.8Tobias C. Berner2023-01-141-3/+3
| | | | | | | - update distfiles to be rebased on the Qt 5.15.8 branch PR: 268773 Exp-run by: antoine
* Qt5: Update Qt 5 to 5.15.7Tobias C. Berner2022-12-296-45/+43
| | | | | | | | * rebase the KDE patched Qt5 ontop of the 5.15.7 branch * update qt5-script to 5.15.11 Exp-run by: antoine PR: 268533
* net/qt5-network: Fix for libressl 3.5Felix Palmen2022-10-303-18/+21
| | | | | | | | | The OPENSSL_STACK functions are *not* available in LibreSSL. Bump port revision, as the build was previously successful with libressl 3.5. Approved by: tcberner (kde, mentor) Differential Revision: https://reviews.freebsd.org/D37043
* Mk/Uses: always use colon for build/run suffixFelix Palmen2022-09-111-1/+1
| | | | | | | | | | | | Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
* net/qt5-network: Runtime fixes with libresslFelix Palmen2022-07-207-24/+408
| | | | | | | | | | Patches updated based on this gentoo patch: https://562050.bugs.gentoo.org/attachment.cgi?id=663100 - modified and extended for qt-network 5.15.5 - modified for libressl 3.5 Differential Revision: https://reviews.freebsd.org/D35729
* qt5: Update Qt to 5.15.5 (KDE patched)Tobias C. Berner2022-07-047-269/+39
| | | | | | | | | | | - update patch-collection diff to be at the highest patch-level - update patch-collection diff to be against 5.15.5 instead of 5.15.2 - update devel/qt5-script to 5.15.10 - libressl support by Felix Palmen <felix@palmen-it.de> PR: 264944 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D35619
* net/qt5-network: fix with LibreSSL 3.5Charlie Li2022-05-256-30/+32
| | | | | | | | LibreSSL 3.5 opaqued many structs and implemented more functions in line with OpenSSL 1.1 Approved by: tcberner (mentor, kde) Differential Revision: https://reviews.freebsd.org/D34619
* Qt: Switch Qt5 to use KDE's Qt patch collectionTobias C. Berner2022-01-022-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From [1] What's this? This is a set of git repositories based on the last public commits available for Qt 5.15 branches with a curated collection of patches on top to ensure open source products can be used comfortably until users transition to their Qt 6-based ports. Which patches does it include? This collection of patches includes patches that fix at least one of the following: * Security issues * Crashes * Functional defects We only include patches that have been approved upstream in the Qt project. If a patch cannot be merged upstream for technical reasons (e.g. the class no longer exists), it can also be merged. The patches to merge will be decided based on their relevance towards Open Source products and their viability. PR: 260548 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D33446 [1] https://community.kde.org/Qt5PatchCollection
* net/qt5-network: fix build with LibreSSL 3.4.0Charlie Li2021-10-041-2/+23
| | | | | | | | | | | | "Upstream has erroneous #ifdefs which will lead to a runtime abort if both TLS1_3_VERSION and OPENSSL_NO_PSK are defined. Adjust them." Obtained from: https://github.com/openbsd/ports/commit/21d28f231753b5cef153a8ff487573ab5994769e Approved by: fluffy (mentor, kde) Differential Revision: https://reviews.freebsd.org/D32286
* cleanup: drop support for EOL FreeBSD 11.XRene Ladan2021-09-301-5/+0
| | | | | | | | | | | | | | | | | Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
* net/qt5-network: fix build with LibreSSL 3.3.2Charlie Li2021-05-051-0/+5
| | | | | | | | | | | | | Since LibreSSL's libssl now exposes DTLS1_2_VERSION, configure detects DTLS support which changes the DTLSv1_listen(3) signature to one that LibreSSL has never supported. Force disable DTLS feature for SSL_DEFAULT=libressl or libressl-devel. Based on: https://github.com/openbsd/ports/commit/9942e8d28c4ec59d8d4a20b8bf219b10573c1f31 Reviewed by: tcberner (kde, mentor) Approved by: fluffy (kde, mentor) Differential Revision: https://reviews.freebsd.org/D29877
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Update Qt/PySide2 to 5.15.2 / PyQt to 5.15.1 / SIP to 5.4.0Loïc Bartoletti2020-12-086-87/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit combines several updates. - Update Qt to 5.12.2 - Update PyQt to 5.15.1 - Since PySide 5.15.1 is broken with Qt 5.15.2, so PySide and Shiboken are also updated to 5.15.2. - Update sip to 5.4.0 SIP is a collection of tools to create Python bindings for C and C++ libraries and used by PyQt and wxPython. There are some changes with sip5 [1]: - python 3.5+ is required - sip drops support of old deprecated methods as sipdistutils & cie. - this version breaks also PyQt5 extension ABI. SIP files will be installed in ${PYTHON_SITELIBDIR}/PyQt${_PYQT_VERSION}/bindings - some ports will use the new pyqtbuilder package with the pyproject.toml setup. Instead if the project have a setup.py, you should use sip-build to build it. - if a port needs sip, it should also needs pysip. BTW, py-qt5-core requires pysip, so that should be enough for PyQt packages. List of ports impacted by this change. Most of the patches have been integrated or are in the process of being integrated upstream: - devel/libsavitar - graphics/py-python-poppler-qt5 - net-im/scudcloud - net/libarcus - print/py-frescobaldi - science/py-veusz - graphics/qgis and graphics/qgis-ltr - deskutils/calibre A special note regarding calibre. New versions require sip>=5, we update it to the latest version (thanks to madpilot@) science/scidavis will remove the PyQt binding soon and there is no patch planned, so we remove the python option (ok makc@) While here, convert some ports to USE_PYQT (cad/cura, cad/uranium, devel/eric6, ...) Thanks to tcberner and adridg! [1] https://www.riverbankcomputing.com/static/Docs/sip/ PR: 250853 Exp-run by: antoine Notes: svn path=/head/; revision=557300
* Only define USE_LDCONFIG in devel/qt5-coreTobias C. Berner2020-11-211-1/+1
| | | | | | | | | | | | | | All the qt5-ports share the same library directory. devel/qt5-core is dependet on by all others. So there is no need to add identical entries to libdata/ldconfig, and restart the ldconfig service on every pkg change of those ports. Reported by: bapt Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D27224 Notes: svn path=/head/; revision=556007
* Update Qt5 to 5.15Tobias C. Berner2020-07-068-91/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a major upgrade of the Qt libraries [1], [2]. * People that use upgrading mechanisms with incomplete dependency handling (portmaster & Co) should make sure to manually remove the existing Qt packages to guarantee a safe upgrade. Keep in mind, that Qt does not like if you have an incomplete upgrade. * This version of Qt drops support for OpenSSL 1.0 -- this means that there won't be any binary packages for Qt5 provided by the FreeBSD package builders for FreeBSD 11.x anymore -- and the same for *all* the ports depending on net/qt5-network [3]. If you cannot upgrade to a more recent FreeBSD version (12.x, 13.x), you will need to build Qt5 from ports while switching to an SSL implementation from ports. Big thanks are due for * kai@ for updating webengine (also mikael@) * Felix Palmen for providing LibreSSL support patches * adridg@ and lbartoletti@ for helping me fix the fallout [1] https://www.qt.io/blog/qt-5.15-released [2] https://wiki.qt.io/New_Features_in_Qt_5.15 [3] https://www.freshports.org/net/qt5-network PR: 247010 Exp-run by: antoine Notes: svn path=/head/; revision=541318
* net/qt5-network: readd support for LibreSSLTobias C. Berner2020-04-165-0/+205
| | | | | | | | | | | | - as with every Qt5 upgrade, we dropped LibreSSL support - this readds it PR: 245600 Submitted by: rozhuk.im@gmail.com Reported by: p5B2E9A8F@t-online.de Notes: svn path=/head/; revision=531857
* Update Qt5 to 5.14.2Tobias C. Berner2020-04-136-203/+3
| | | | | | | | | | | | | | Very big thanks go again to kai@ who provided the www/qt5-webengine upgrade (to 5.14.0). Notably, video capture support was re-enabled. Announcement: https://www.qt.io/blog/qt-5.14-has-released PR: 244964 Exp-run by: antoine Notes: svn path=/head/; revision=531601
* Update Qt5 to 5.13.2Tobias C. Berner2019-11-083-48/+26
| | | | | | | | | | | | | Announcement: https://www.qt.io/blog/qt-5.13.2-released Thanks to kai@ for updating webengine. PR: 241649 Exp-run by: antoine Notes: svn path=/head/; revision=517080
* Drop the ipv6 virtual category for n* category as it is not relevant anymoreBaptiste Daroussin2019-10-091-1/+1
| | | | Notes: svn path=/head/; revision=514143
* net/qt5-network: readd support for LibreSSLTobias C. Berner2019-10-016-0/+224
| | | | | | | | | | | - as with every Qt5 upgrade, we dropped LibreSSL support - this readds it PR: 240962 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Notes: svn path=/head/; revision=513505
* Qt5 update to 5.13.0Tobias C. Berner2019-10-017-332/+5
| | | | | | | | | | | | For new features, check: https://wiki.qt.io/New_Features_in_Qt_5.13 Thanks to adridg who helped to fix a lot of packages. Exp-run by: antoine PR: 238782 Notes: svn path=/head/; revision=513447
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-1/+1
| | | | | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. 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, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330 Notes: svn path=/head/; revision=507372
* net/qt5-network: Add patch from Qt upstream fixing QDnsLookup.Gleb Popov2019-05-182-0/+110
| | | | | | | | | This should fix bug in net-im/psi, when connecting to some servers was failing. Reviewed by: tcberner (mentor) Notes: svn path=/head/; revision=501973
* Update Qt5 to 5.12.1Tobias C. Berner2019-02-122-24/+17
| | | | | | | | | | | | | | | | | | Release announcement: https://blog.qt.io/blog/2019/02/01/qt-5-12-1-released/ Changelog: https://wiki.qt.io/Qt_5.12.1_Change_Files - A change was required to qt-dist.mk to always pass LOCALBASE to qmake, as Qt5 has been installed to a prefix for some time now, there should not be any harm in that, with respect to it picking up installed versions of itself during build. PR: 235622 Exp-run by: antoine Notes: svn path=/head/; revision=492793
* Fix Qt5 symbol version scripts to put the catch-all clause first. WhenTijl Coosemans2019-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] https://github.com/qt/qtwebengine/commit/5c2cbfccf9aafb547b0b30914c4056abd25942a4 [2] https://github.com/qt/qtwebengine/commit/2ed5054e3a800fa97c2c9e920ba1e6ea4b6ef2a5 [3] https://github.com/qt/qtwebengine/commit/009f5ebb4bd6e50188671e0815a5dae6afe39db5 Bump all ports that depend on Qt5. PR: 234070 Exp-run by: antoine Approved by: kde (adridg) Notes: svn path=/head/; revision=490472
* Be more defensive in Qt5Network code.Adriaan de Groot2018-12-312-5/+17
| | | | | | | | | | | | | It's possible, but rather unlikely, to build Qt5Network with QT_NO_NETWORKINTERFACE, and still get around to building the generic bearer. In that case, comment out the workaround that needs an interface. PR: 232784 Obtained from: Max Steciuk Notes: svn path=/head/; revision=488842
* Update net/qt5-network to build against LibreSSL.Adriaan de Groot2018-12-254-1/+208
| | | | | | | | | | | | | | Patches by Charlie Li / ml_vishwin, with explanation in the patches. Builds on 11.2 (ssl=unset, base, openssl) and 12.0 (ssl=unset, base, libressl). Tested with otter-browser on 12.0 (ssl=unset, libressl). PR: 234078 Submitted by: Charlie Li Reported by: W. Schwarzenfeld Differential Revision: https://reviews.freebsd.org/D18582 Notes: svn path=/head/; revision=488331
* Fix build of net/qt5-network on 12.0. Added note in theAdriaan de Groot2018-12-242-5/+16
| | | | | | | | | patch about future compatibility. Reported by: jrm Notes: svn path=/head/; revision=488281
* Fix net/qt5-network in the face of VLANs.Adriaan de Groot2018-12-245-13/+141
| | | | | | | | | | | | | | | | Adding a VLAN to a FreeBSD system caused memory corruption -- usually enough to make rtld fall over with symbol resolution errors, although in DEBUG builds it would just crash. Revamp network interface discovery to not be full of memory gotcha's. An explanation is included in the patches. While here, "make makesum" has moved some files around. PR: 231402, 233798, 232318 Reported by: Ting-Wei Lan, Nils Beyer, Marek Zarychta Notes: svn path=/head/; revision=488276
* Update Qt5 to 5.12.0Tobias C. Berner2018-12-166-320/+8
| | | | | | | | | | | | http://blog.qt.io/blog/2018/12/06/qt-5-12-lts-released/ - This breaks support for libressl again. Patches are welcome. PR: 233705 Exp-run by: antoine Notes: svn path=/head/; revision=487594
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2018-12-121-1/+1
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=487272
* net/qt5-network: fix build with LibreSSLTobias C. Berner2018-11-264-12/+78
| | | | | | | | PR: 228344 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Notes: svn path=/head/; revision=485965
* net/qt5-network: remove BROKENKoichiro Iwao2018-11-141-3/+0
| | | | | | | | | | | not it builds with OpenSSL 1.1.1. PR: 233197 Reported by: Sascha Holzleiter <sascha@root-login.org> Approved by: mentors (implicit) Notes: svn path=/head/; revision=484928
* security/openssl-devel was removed, but there is a security/openssl111 now.Mathieu Arnold2018-11-101-2/+2
| | | | Notes: svn path=/head/; revision=484599
* qt5: Fix build on GCC based architectures.Tobias C. Berner2018-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 231584 PR: 231677 PR: 231685 PR: 231830 PR: 231955 PR: 231905 PR: 231892 PR: 231684 PR: 231958 PR: 231960 PR: 231818 PR: 231542 PR: 231860 PR: 231681 PR: 231963 PR: 231891 PR: 231966 PR: 231904 PR: 231676 PR: 231819 PR: 231956 PR: 231680 PR: 231957 PR: 231903 PR: 231901 PR: 231667 PR: 231861 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Notes: svn path=/head/; revision=482034
* Update Qt5 to 5.11.1Tobias C. Berner2018-09-096-26/+203
| | | | | | | | | | | | Big thanks to * brnrd for the libressl patches in net/qt5-network * jhale for fixing the bulk load of ports PR: 230884 Exp-run by: antoine Notes: svn path=/head/; revision=479286
* Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mkTobias C. Berner2018-06-281-3/+2
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=473503
* Update the Qt5 ports to 5.10.1.Raphael Kubo da Costa2018-05-185-47/+40
| | | | | | | | | | | | | | | | | | | | The work was done by tcberner and myself, with thanks to antoine for the exp-run. Not a lot to report compared to other Qt5 updates: * net/qt5-network is still broken with LibreSSL. I said this in a commit message ages ago but it bears repeating: upstream is open to adding support for LibreSSL, but someone needs to step up to maintain it upstream, otherwise things will continue to be broken all the time. * www/qt5-webengine is a huge monster that is terrible to update, just like www/chromium itself is. We (kde@) have decided to keep using the 5.9 series for the time being, as it should be compatible with the rest of Qt anyway. It was updated to 5.9.5, the latest 5.9 release at the time of writing. PR: 228213 Notes: svn path=/head/; revision=470288
* Drop some patches for old LibreSSL versions.Raphael Kubo da Costa2018-05-123-34/+4
| | | | | | | | | | | | The ports tree currently has LibreSSL 2.7.3, so remove some patches added to support LibreSSL < 2.5 (also, according to brnrd@, they are currently broken). Cleaning up our existing patches also helps us move to Qt 5.10. Reviewed by: tcberner Differential Revision: https://reviews.freebsd.org/D15338 Notes: svn path=/head/; revision=469748
* restore ssl functionality with opensslChristoph Moench-Tegeder2018-04-014-19/+28
| | | | | | | | | | | | | | | | | | The "libressl compatibility" unfortunately added a dependency on the SSL_CTX_set1_groups() function, which is neither available in base (for released versions of FreeBSD) nor ports openssl (it's only in openssl-devel and libressl). This broke SSL (most importantly HTTPS) functionalty in many Qt5-ports. This adds some #ifdefs around the SSL_CTX_set1_groups() calling sites and restores the old code in cases where libressl has not been detected. PR: 218421 Reported by: yuri Approved by: maintainer-timeout Notes: svn path=/head/; revision=466188
* Fix permissions in installed Qt5 header filesTobias C. Berner2018-03-291-1/+1
| | | | | | | | | | | | | | | | | | For the qt5-* ports bsd.qt.mk sets EXTRACT_AFTER_ARGS, and thereby does not get the normal default value of --no-same-owner --no-same-permissions passed when extracting. This lead to for example header files being installed (i.e. copied), with permissions group write permissions. Manually append that to the bsd.qt.mk shenanigans (also do the same in www/qt5-webchannel, which opts out of the bsd.qt.mk value) PR: 227027 Reported by: grarpamp@gmail.com Notes: svn path=/head/; revision=465911
* Mark some ports broken with openssl-devel.Mathieu Arnold2018-03-291-0/+3
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=465899
* net/qt5-network: Fix SSL runtime detection code with LibreSSLBen Woods2018-01-203-5/+45
| | | | | | | | | | | | | Patch taken from OpenBSD ports: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/x11/qt5/qtbase/patches/patch-src_network_ssl_qsslsocket_openssl_symbols_cpp.diff?r1=1.2&r2=1.3 http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/x11/qt5/qtbase/patches/patch-src_network_ssl_qsslsocket_openssl_symbols_p_h.diff?r1=1.2&r2=1.3 PR: 225332 Approved by: tcberner Obtained from: OpenBSD ports Notes: svn path=/head/; revision=459510