Apache Cassandra is a free and open-source distributed database.
It is a Java-based, highly scalable, eventually consistent, wide
column store. Cassandra database clusters are masterless with no
single point of failure. Replication can be configured across
multiple data centers.
Originally influenced by Dynamo and BigTable, Cassandra was initially
developed at and open sourced by Facebook before becoming a top-level
Apache project.
The CQL query language offers SQL-like data access and management.
Drivers are available for a number of languages.
===> The following configuration options are available for cassandra3-3.11.14_4:
DOCS=on: Build and/or install documentation
SIGAR=on: Use SIGAR to collect system information
===> Use 'make config' to modify these settings
Entries for this machine's hostname may need to be set in /etc/hosts
if you get a "Local host name unknown" exception on startup
(see https://issues.apache.org/jira/browse/CASSANDRA-2380):
::1 localhost localhost.your.domain your-host-name
127.0.0.1 localhost localhost.your.domain your-host-name
port moved to databases/cassandra4 on 2026-07-31 REASON: Has expired: Cassandra 3.x is no longer maintained upstream, superseded by databases/cassandra4
databases/cassandra3: Remove expired port
2026-07-31 databases/cassandra3: Cassandra 3.x is no longer maintained upstream,
superseded by databases/cassandra4
databases/cassandra[34]: allow building with JAVA_DEFAULT=21
- ant needs to have JAVA_HOME set to the defined JAVA_VERSION
Reason:
when apache-ant pulls in openjdk21 as run dependency it will try
to use it if JAVA_HOME is not set. This gives the error:
"Java 15 has removed Nashorn, you must provide an engine for running
JavaScript yourself. GraalVM JavaScript currently is the preferred
option.", as cassandra needs an older Java version.
These ports have USES=ant, but override do-build and fetch. That is
why some special handling is needed.
PR: 272855
PR: 293050
Approved-by: Angelo Polo (maintainer)
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.
Thanks to vvd for carefully going through this.
Reported by: vvd
Approved by: portmgr (blanket)
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
*/*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
the relevant codebases in bsd.java.mk has not been removed and the
consumers has also not been updated to use the next jdk version. This
commit updates all relevant consumers to use JAVA_VERSION=8 instead of
JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
jdk version 8(java version string 1.8). This is prone to error as it
looks similar and is only seperated by a '.'. Remove using
JAVA_VERSION with dotted fomat of java version string and update all
consumers to utilize version 8 instead of 1.8.
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 )
databases/cassandra3: update to 3.11.9
The port now uses Python 3 so unexpire it.
PR: 249595
Submitted by: maintainer
Reported by: swills (py27 overview)
Multiple ports: improve regex compliance
These changes largely fall into just two categories:
1. Need textproc/gsed for GNU extensions
2. Extraneous escapes that can go away
For #1, there's a further subdivision into those that require autoconf magic
and those that can get away with BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed.
-CURRENT will soon gain GNU extensions, but these will take longer to get to
all supported releases; we must switch them to gsed to ensure we're actually
properly building them as intended.
For #2, I've fixed these as I can and we should upstream these fixes.
(Only the first 15 lines of the commit message are shown above )
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above )
New port: databases/cassandra4: Highly scalable distributed database
Apache Cassandra is a free and open-source distributed database.
It is a Java-based, highly scalable, eventually consistent, wide
column store. Cassandra database clusters are masterless with no
single point of failure. Replication can be configured across
multiple data centers.
Originally influenced by Dynamo and BigTable, Cassandra was initially
developed at and open sourced by Facebook before becoming a top-level
Apache project.
The CQL query language offers SQL-like data access and management.
Drivers are available for a number of languages.
This is an ALPHA version! It is not intended for production use.
WWW: https://cassandra.apache.org/
PR: 246081
Submitted by: Angelo Polo <language.devel@gmail.com>
Reviewed by: yuri
Bump PORTREVISION for ports depending on the canonical version of GCC
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
New port: databases/cassandra3: Highly scalable distributed database
Versions 1.X and 2.X existed previously, but were removed due to build issues.
PR: 226377
Submitted by: Angelo Polo <language.devel@gmail.com>