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)
games/openomf: Unbreak build on i386 (broken in r511074)
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
external/dumb/dumb/src/it/itrender.c:721:11: error: always_inline function '_mm_setzero_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_setzero_ps();
^
external/dumb/dumb/src/it/itrender.c:722:10: error: always_inline function '_mm_cvtsi32_ss' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
data = _mm_cvtsi32_ss( temp1, currsample );
^
external/dumb/dumb/src/it/itrender.c:723:11: error: always_inline function '_mm_cvtsi32_ss' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp2 = _mm_cvtsi32_ss( temp1, prevsample );
^
external/dumb/dumb/src/it/itrender.c:724:13: error: always_inline function '_mm_loadu_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
impulse = _mm_loadu_ps( (const float *) &imp );
^
external/dumb/dumb/src/it/itrender.c:728:12: error: always_inline function '_mm_cvtsi32_ss' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_cvtsi32_ss( data, src [i] );
^
external/dumb/dumb/src/it/itrender.c:729:12: error: always_inline function '_mm_mul_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_mul_ps( temp1, impulse );
^
external/dumb/dumb/src/it/itrender.c:730:12: error: always_inline function '_mm_movehl_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp2 = _mm_movehl_ps( temp2, temp1 );
^
external/dumb/dumb/src/it/itrender.c:731:12: error: always_inline function '_mm_add_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_add_ps( temp1, temp2 );
^
external/dumb/dumb/src/it/itrender.c:734:12: error: always_inline function '_mm_add_ps' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
temp1 = _mm_add_ps( temp1, temp2 );
^
external/dumb/dumb/src/it/itrender.c:737:15: error: always_inline function '_mm_cvtss_si32' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
dst [i] += _mm_cvtss_si32( temp1 );
^
external/dumb/dumb/src/it/itrender.c:740:16: error: always_inline function '_mm_cvtss_si32' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
currsample = _mm_cvtss_si32( temp1 );
^
external/dumb/dumb/src/it/itrender.c:742:16: error: always_inline function '_mm_cvtss_si32' requires target feature 'mmx', but would be inlined into function 'it_filter_sse' that is compiled without support for 'mmx'
prevsample = _mm_cvtss_si32( temp1 );
^
1 warning and 12 errors generated.
http://beefy10.nyi.freebsd.org/data/113i386-default/521788/logs/errors/openomf-0.6.5_6.loghttp://beefy5.nyi.freebsd.org/data/120i386-default/521788/logs/errors/openomf-0.6.5_6.log
Approved by: ports-secteam blanket
audio/asterisk-espeak: fix build on GCC architectures
C11 compiler is required:
/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 (build fix blanket)
audio/asterisk-flite: fix build on GCC architectures
C11 compiler is necessary:
In file included from /usr/local/include/asterisk/vector.h:22,
from /usr/local/include/asterisk/stringfields.h:178,
from /usr/local/include/asterisk/app.h:26,
from app_flite.c:42:
/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)
x11-wm/sway: fix required wlroots version
Subproject directory not found and wlroots.wrap file not found
Subproject subprojects/wlroots is buildable: NO (disabling)
Dependency wlroots found: NO found '0.10.0' but need: '<0.10.0' ; matched: '>=0.9.0'
Run-time dependency wlroots found: NO (tried cmake)
meson.build:73:1: ERROR: Invalid version of dependency, need 'wlroots' ['<0.10.0'] found '0.10.0'.
Approved by: ports-secteam blanket
Attempt to fix build after removal of Linux c6.
- Replace build dependency on linux-c7-devtools with
USE_LINUX=devtools:build so it takes into account LINUX_DEFAULT.
- Install libusb.so.3 which is the SONAME of the library.
- Disable -Werror.
- Don't build profiling library. It's not installed and -pg and
-fstack-protector are incompatible.
- Don't let the build make parse /etc/make.conf because this may redefine
*FLAGS. The file is already handled by the ports tree.
- Create symbolic links instead of hard links.
devel/py-cfn-lint: Merge the two py27_RUN_DEPENDS
pathlib2 is needed for Python <= 3.4 according to setup.py
- Pet portlint and fix whitespace while here
Reported by: mat, portscan
Approved by: ports-secteam blanket
net-mgmt/netbox: Update to 2.6.9
* Remove two backported patches that are no longer required. [1]
* Backport a patch from upstream that fixes a regression when accessing the
API documentation.
* Update the WWW field.
Changelog:
Enhancements:
* Include direct link to rack elevations on site view
* Move virtual machine results near devices in global search
* Added copy button for API tokens
Bug Fixes:
* Prevent the deletion of a virtual chassis when a cross-member LAG
is present
* Respect custom field default values when creating objects via the REST API
* Fix exception on password change page for local users [1]
* Fix unable to assign IP to interface [1]
Approved by: ports-secteam (joneum)