audio/ardour5: fix build on powerpc64
_POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT), so remove it.
On ELFv2 lld can't link it, throws errors like:
ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol; recompile with -fPIC
>>> defined in libs/ardour/cycle_timer.cc.1.o
>>> referenced by cycle_timer.cc
>>> libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8)
Recompiling with -fPIC doesn't help, so use GNU ld there.
PR: 243281
Approved by: portmgr (blanket: build fix)
security/botan2: update to 2.13.0 release
* Fix a bug introduced in 2.12.0 where TLS::Channel::is_active and TLS::Channel::is_closed
could simultaneously return true. (GH #2174#2171)
* Use std::shared_ptr instead of boost::shared_ptr in some examples. (GH #2155)
* Add Roughtime client (GH #2143#1842)
* Add support for XMSS X.509 certificates (GH #2172)
* Add support for X.509 CRLs in FFI layer and Python wrapper (GH #2213)
https://botan.randombit.net/news.html
PR: 243239
Submitted by: maintainer
Approved by: maintainer
Approved by: ports-secteam (joneum)
net-p2p/c-lightning: fix bitcoin-cli exec setup
lightningd does execute bitcoin-cli internally during runtime.
Fix two problems with that:
* The bitcoin-cli executable is usually located in
/usr/local/bin/bitcoin-cli but service(8) would remove /usr/local/bin
from PATH before executing our rc script /usr/local/etc/rc.d/lightningd
and so the lightningd daemon would inherit a PATH that does not contain
bitcoin-cli. To fix this give the full path to bitcoin-cli to lightningd.
* bitcoin-cli(1) tries to create its datadir when it starts if it does not
exist. By default that is ${HOME}/.bitcoin. service(8) would set HOME=/
and if / is mounted read-only, then this creation would fail. Because we
don't want this directory created (it is not necessary and remains empty)
tell lightningd to execute
bitcoin-cli --datadir=/some/directory/that/already/exists.
Also, append ${lightningd_extra_args} to the lightingd arguments. This was
forgotten in the initial commit and setting lightningd_extra_args would have
had no effect.
Reported by: https://github.com/bitcoin-software
Approved by: portmgr ("fix broken ports")
databases/mysql80-{client, server}: Update to latest release 8.0.18
switch patch-files to mysql80-server to make it easy for maintain.
Bugfix:
- CMake now enables use of fastcov if it is available. fastcov is faster than lcov or gcov. This requires GCC and gcov versions of 9 or higher.
- The DISABLE_SHARED CMake option was unused and has been removed.
- The CMake code to find Protobuf executables now works on platforms that split these into multiple packages.
- The new ADD_GDB_INDEX CMake option determines whether to enable generation of a .gdb_index section in binaries, which makes loading them in a debugger faster. The option is disabled by default. It has no effect if a linker other than lld or GNU gold is used.
- For the INSTALL_LAYOUT CMake option, the SLES and WIN option values were not used and have been removed.
- The max_prepared_stmt_count system variable maximum value has been increased from 1 million (1,048,576) to 4 million (4,194,304). The default value remains unchanged at 16,382.
- MySQL 8.0 no longer supports building using wolfSSL. All MySQL builds now use OpenSSL.
- The RE2 library is no longer used by MySQL. The library is no longer bundled with source distributions and the WITH_RE2 CMake option is obsolete.
More Infos: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-18.html
A big thanks to @fluffy for his help with this update
Security: fc91f2ef-fd7b-11e9-a1c7-b499baebfeaf
Sponsored by: Netzkommune GmbH
Approved by: ports-secteam (wit hat)
databases/mysql56-{client, server}: Update to latest release 5.6.46
Bugfix:
- Improper locking during storage engine initialization could cause a server exit.
- A query with a WHERE clause whose predicate contained a numeric value in scientific notation was not handled correctly.
- VS2019 produced compilation errors with debug compilation selected due to use of the /ZI flag. Now /Z7 is used instead.
- For MySQL Community Edition, the cipher order specified by the client was used in preference to the order on the server side, unless the server was confi
- Password masking was incomplete for SHOW PROCESSLIST and some INFORMATION_SCHEMA and Performance Schema tables.
- The -DWITH_EXAMPLE_STORAGE_ENGINE=1 CMake option was ignored but should not have been. If -DWITH_EXAMPLE_STORAGE_ENGINE=0 is given, the EXAMPLE storage e
More Info: https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-46.html
Approved by: mmokhi (maintainer, implicit)
Security: fc91f2ef-fd7b-11e9-a1c7-b499baebfeaf
Sponsored by: Netzkommune GmbH
Approved by: ports-secteam (with hat)
multimedia/obs-studio: fix build on powerpc64
Merge upstream commit to use GCC's SSE->AltiVec translation. Since it depends on compiling with GCC, it only works on ELFv1. Hopefully it will be possible to build it on ELFv2 in the future.
Also use luajit only where it's actually available. Since it's optional, the port builds anyway.
PR: 243199
Approved by: yuri (maintainer)
Approved by: portmgr (fix build blanket)
net/xrdp: fix build on GCC architectures
C11 compiler is necessary:
irp.h:33: error: redefinition of typedef 'XFUSE_INFO'
chansrv_fuse.h:47: error: previous declaration of 'XFUSE_INFO' was here
Approved by: portmgr (fix build blanket)
net-mgmt/netbox: Update to 2.6.11
* Remove the patch that fixed a regression when accessing the API
documentation as it's no longer required. [1]
Changelog since 2.6.9:
Enhancements:
* Add ability to move inventory items between devices
* Extend admin UI to allow deleting old report results
* Add assigned_to_interface filter for IP addresses
* Fail gracefully on custom link rendering exception
* Provide request context when executing custom scripts
* Add date/time picker widgets
* Enable partial search for inventory items
* Optimize size of pages containing a dynamic selection field
* Allow filtering console/power/interface connections by device ID
Bug Fixes:
* Restrict queryset of chained fields when form validation fails
* Include A/Z termination sites for circuits in global search
* Scrolling to target (hash) did not account for the header size
* Fix AttributeError exception in API docs [1]
* Filter platform by manufacturer when editing devices
* Fix filtering of racks by group on device list
* Fix exception when editing a device bay (regression since 2.6.7)
* Fix API-driven filter field rendering (regression since 2.6.10)
* Add missing region filters for multiple objects
https://github.com/netbox-community/netbox/releases/tag/v2.6.11https://github.com/netbox-community/netbox/releases/tag/v2.6.10
net-mgmt/netbox: Relax RUN_DEPENDS
* The 2020Q1 branch has 0.24.0 of www/py-dj22-django-taggit thus relax
its version requirement of the RUN_DEPENDS to avoid a build failure there.
Although net-mgmt/netbox requires the 1.1.0 release of
www/py-dj22-django-taggit (pinned with "==" by upstream), it runs fine
with either 0.24.0 (in 2020Q1) or 1.2.0 (since r521999).
Approved by: ports-secteam (joneum)
ports-secteam build fix blanket (remaining part)
Add missing dependency: devel/p5-Class-Accessor
re: https://metacpan.org/source/DLO/Proc-BackOff-0.02/Build.PL#L11
Encountered this error:
Base class package "Class::Accessor" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @INC (@INC contains: /usr/local/sbin/../lib /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30).
at /usr/local/lib/perl5/site_perl/Proc/BackOff.pm line 4.
Approved by: portmgr blanket
x11-wm/compiz: depend on nvidia-settings only on amd64 and i386
Nvidia drivers are not available on other architectures.
PR: 242832
Approved by: freebsd-ports@dan.me.uk (maintainer timeout)
Approved by: portmgr (fix build blanket)
net-p2p/monero-cli: fix build on non-x86
Architectures that don't have libunwind available should disable stack trace.
Otherwise, the following linking error is encountered:
/usr/local/bin/ld: src/common/libcommon.a(stack_trace.cpp.o): in function `tools::log_stack_trace(char const*)':
stack_trace.cpp:(.text+0x71c): undefined reference to `el::base::debug::StackTrace::generateNew()'
/usr/local/bin/ld: stack_trace.cpp:(.text+0x72c): undefined reference to `el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)'
collect2: error: ld returned 1 exit status
PR: 242846
Approved by: vd (maintainer timeout)
Approved by: portmgr (fix build blanket)
multimedia/libvpx: update COMMENT
Only decoder and encoder are installed. Other features are not
maintained by the port. Besides, ffmpeg provides alternative decoder
while svt-vp9 provides alternative encoder.
Approved by: ports-secteam blanket
net-mgmt/cacti: Update to 1.2.8
* Sort pkg-plist to make future patching/comparing easier.
While I'm here:
* Use ${COPYTREE_SHARE} to correctly install a whole set of files instead of
using "cp -R".
* Also remove a very outdated test was required when updating to the 0.8.7a
release of net-mgmt/cacti. It was introduced +12 years ago in r203859 and
is no longer required nowadays.
Changelog:
https://github.com/Cacti/cacti/releases/tag/release%2F1.2.8
PR: 242834
Submitted by: Michael Muenz <m.muenz@gmail.com> (based on)
Approved by: maintainer timeout (14 days)
Security: 86224a04-26de-11ea-97f2-001a8c5c04b6
Approved by: ports-secteam (joneum)
x11/cde: update to 2.3.1 and unbreak
Merged, as the original CDE in this branch is broken anyway.
PR: ports/242663
Submitted by: mikael.urankar@gmail.com
Approved by: portmgr (blanket, build fixes)
security/nmap: Fix build on 11i386, 11arm, 11arm64
Fix patches to configure scripts to only add -libverbs if found in base
PR: 242987
Reported by: Dries Michiels <driesm.michiels@gmail.com>
Reported by: garga
Approved by: ports-secteam (joneum)
New port: cad/cascade-compiler: Just-In-Time Compiler for Verilog from VMware Research
cad/cascade-compiler: Update g20200104 -> g20200105
Tests now pass.
Fix build on GCC-based systems:
CMake Error in src/CMakeLists.txt:
Target "libcascade" requires the language dialect "CXX17" (with compiler
extensions), but CMake does not know the compile flags to use to enable it.
Approved by: portmgr (tier-2 blanket)
cad/cascade-compiler: Update g20200105 -> g20200105.1
Approved by: secteam
geoipupdate: Add instructions for getting account ID/key
MaxMind now requires a (free) registered account to download any
of the databases, including the free ones. Registration and
download remain free--they just require an account now.
Approved by: portmgr (with hat)
Update to upstream version 42.0.0
Details:
- Bug fixes and enhancements, see
https://mkvtoolnix.download/doc/NEWS.md
including segfault in mkv reader and use
of uninitialised memory in MPEG stream
parser.
Approved by: ports-secteam (riggs)
mail/rspamd-devel: use luajit only on amd64, armv7, i386 and powerpc to fix build on other architectures
It's possible that there are other architectures that luajit works on, but I couldn't test it.
PR: 243059
Approved by: vsevolod (maintainer)
Approved by: portmgr (fix build blanket)
Mark as broken on powerpc64:
src/hwcap.c:20:3: error: #error "Platform not supported (only Linux supported at the moment)"
src/hwcap.c:23:3: error: #error "Platform not supported (no getauxval())"
Approved by: portmgr (tier-2 blanket)
Add compiler:c++11-lang to USES to try to fix build on GCC-based
systems:
CMake Error at CMakeLists.txt:112 (message): GCC version must be at least 6.1!
Unfortunately this merely gets to a failure later on in the build
for powerpc64.
Approved by: portmgr (tier-2 blanket)
net/asterisk-g72x: fix build of GCC architectures
C11 compiler is necessary:
In file included from codec_g72x.c:26:
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int':
/usr/local/include/asterisk/lock.h:752: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
/usr/local/include/asterisk/lock.h:752: error: (Each undeclared identifier is reported only once
/usr/local/include/asterisk/lock.h:752: error: for each function it appears in.)
/usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test':
/usr/local/include/asterisk/lock.h:762: error: '__ATOMIC_RELAXED' undeclared (first use in this function)
Approved by: portmgr (fix build blanket)
games/glest: fix build on GCC architectures
Building with GCC fails:
./mk/linux/glest_game/ai/ai_rule.cpp: In member function 'virtual bool Glest::Game::AiRuleMassiveAttack::test()':
./mk/linux/glest_game/ai/ai_rule.cpp:156:46: error: 'INT_MAX' was not declared in this scope
156 | return ai->beingAttacked(attackPos, field, INT_MAX);
| ^~~~~~~
./mk/linux/glest_game/ai/ai_rule.cpp:19:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
18 | #include "leak_dumper.h"
+++ |+#include <climits>
19 |
./mk/linux/glest_game/ai/ai_rule.cpp: In member function 'virtual bool Glest::Game::AiRuleExpand::test()':
./mk/linux/glest_game/ai/ai_rule.cpp:815:22: error: 'INT_MAX' was not declared in this scope
815 | int minDistance= INT_MAX;
| ^~~~~~~
./mk/linux/glest_game/ai/ai_rule.cpp:815:22: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
...failed C++ ./build/powerpc64-portbld-freebsd12.1/optimize/glest_game/ai/ai_rule.o ...
Include climits in ai_rule.cpp to fix it.
PR: 242766
Approved by: mmokhi (maintainer timeout)
Approved by: portmgr (fix build blanket)
net-p2p/namecoin: fix build on GCC architectures
It looks like some update caused src/httpserver.c to need to include deque when building with GCC. Otherwise it fails to compile with:
httpserver.cpp:74:10: error: 'deque' in namespace 'std' does not name a template type
74 | std::deque<std::unique_ptr<WorkItem>> queue;
| ^~~~~
httpserver.cpp:33:1: note: 'std::deque' is defined in header '<deque>'; did you forget to '#include <deque>'?
32 | #include <support/events.h>
+++ |+#include <deque>
33 |
httpserver.cpp: In member function 'bool WorkQueue<WorkItem>::Enqueue(WorkItem*)':
httpserver.cpp:92:13: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
92 | if (queue.size() >= maxDepth) {
| ^~~~~
| Enqueue
httpserver.cpp:95:9: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
95 | queue.emplace_back(std::unique_ptr<WorkItem>(item));
| ^~~~~
| Enqueue
httpserver.cpp: In member function 'void WorkQueue<WorkItem>::Run()':
httpserver.cpp:106:35: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
106 | while (running && queue.empty())
| ^~~~~
| Enqueue
httpserver.cpp:110:31: error: 'queue' was not declared in this scope; did you mean 'Enqueue'?
110 | i = std::move(queue.front());
| ^~~~~
| Enqueue
PR: 242710
Approved by: milios@ccsys.com (maintainer timeout)
Approved by: portmgr (fix build blanket)
net/asterisk-chan_sccp: fix build on GCC architectures
Use newer GCC:
You need at least gcc > 4.3. While your gcc has version:
4.2.1
Approved by: portmgr (fix build blanket)
irc/eggdrop[-devel]: Fix build with ssl other than base
PR: 242988
Submitted by: wcarson.bugzilla@disillusion.net
Approved by: portmgr (build fix blanket)
www/py-django[22|30]: Unbreak with MySQL, switch to py-mysqlclient
According to official docs, mysqlclient >=1.3.13 is the recommended
choice instead of outdated pyMySQLdb
PR: 243077
Submitted by: fluffy
Approved by: sunpoet (maintaner, python@)
Approved by: ports-secteam (joneum)