CockroachDB is a distributed SQL database built on a transactional
and strongly-consistent key-value store. It scales horizontally;
survives disk, machine, rack, and even datacenter failures with
minimal latency disruption and no manual intervention; supports
strongly-consistent ACID transactions; and provides a familiar SQL
API for structuring, manipulating, and querying data.
CockroachDB is inspired by Google's Spanner and F1 technologies, and
it's completely open source.
databases/cockroach: deprecate and expire
Excerpt from PR comment:
The more pressing issue however is that the latest versions are
no longer open source (in the strict definition). Releases between
sometime in 2019 and prior to 20241118 are under Business Source
Licence 1.1 at release time, electing to change to the open source
Apache Licence 2.0 three years after the branch was first released.
Starting 20241118 all releases of the software are fully proprietary
even though source is available.
As of [20251202], 22.2.19 is the latest version that is now under
an open source licence, but the whole 22.2 branch is completely
unsupported upstream. There are a couple newer LTS branches that
are still supported but the earliest they become open source is
late next year, by which point they may also become unsupported.
PR: 272257
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
databases/cockroach: fix build with GCC 13
Add #include <cstdint> where needed to fix building the bundled
RocksDB. This is a stopgap measure until this port can be updated.
Reported by: salvadore
PR: 273673
*/*: Update path set in BUILD_DEPENDS for CMake in more ports
Commit b23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 changed its location to
devel/cmake-core
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.
While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
databases/cockroach: Unbreak with go1.16
===> Building for cockroach-2.0.7
...
go: cannot find main module, but found Gopkg.lock in
/wrkdirs/usr/ports/databases/cockroach/work/cockroach-v2.0.7/src/github.com/cockroachdb/cockroach
to create a module there, run:
go mod init
Fix more fallout for bundled rocksdb after the LLVM 10 import
In file included from rocksdb/utilities/backupable/backupable_db.cc:16:
rocksdb/util/channel.h:35:33: error: no matching constructor for initialization
of 'std::lock_guard<std::mutex>'
std::lock_guard<std::mutex> lk(lock_);
^ ~~~~~
/usr/include/c++/v1/__mutex_base:90:14: note: candidate constructor not viable:
1st argument ('const std::mutex') would lose const qualifier
explicit lock_guard(mutex_type& __m)
_LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
^
/usr/include/c++/v1/__mutex_base:100:5: note: candidate constructor not viable:
no known conversion from 'const std::mutex' to 'const
std::__1::lock_guard<std::__1::mutex>' for 1st argument
lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE;
^
/usr/include/c++/v1/__mutex_base:94:5: note: candidate constructor not viable:
requires 2 arguments, but 1 was provided
lock_guard(mutex_type& __m, adopt_lock_t)
_LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m))
^
1 error generated.
net/ceph* will still not build because Clang crashes but at least
it goes beyond the above error.
Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.
USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.
PR: 238849
Submitted by: dg@syrec.org (also D20745)
Reviewed by: mat, tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D20746
Mark BROKEN: fails to build
build cache is required, but could not be located: GOCACHE is not defined and
neither $XDG_CACHE_HOME nor $HOME are defined
Reported by: pkg-fallout
Mark BROKEN: fails to build with go 1.9
gmake[1]: Entering directory
'/wrkdirs/usr/ports/databases/cockroach/work/cockroach-v1.0.4/src/github.com/cockroachdb/cockroach'
build/common.mk:110: *** "go1\.8.* required (see CONTRIBUTING.md): go version
go1.9.1 freebsd/amd64". Stop.
Reported by: pkg-fallout
MFH: 2017Q4
CockroachDB is a distributed SQL database built on a transactional
and strongly-consistent key-value store. It scales horizontally;
survives disk, machine, rack, and even datacenter failures with
minimal latency disruption and no manual intervention; supports
strongly-consistent ACID transactions; and provides a familiar SQL
API for structuring, manipulating, and querying data.
CockroachDB is inspired by Google's Spanner and F1 technologies, and
it's completely open source.
PR: 221635
Submitted by: James Nugent <freebsd@jen20.com>
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D12088