diff --git a/databases/Makefile b/databases/Makefile index f45f98b58c94..9edcb89fcdce 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1,1091 +1,1092 @@ COMMENT = Databases and related software SUBDIR += R-cran-DBI SUBDIR += R-cran-RMySQL SUBDIR += R-cran-RPostgreSQL SUBDIR += R-cran-RSQLite SUBDIR += R-cran-cachem SUBDIR += R-cran-dbplyr SUBDIR += R-cran-dtplyr SUBDIR += R-cran-fastmap SUBDIR += R-cran-sqldf SUBDIR += WWWdb SUBDIR += adminer SUBDIR += adminerevo SUBDIR += adodb5 SUBDIR += akonadi SUBDIR += apache-commons-dbutils SUBDIR += arrow SUBDIR += arrow-glib SUBDIR += autobackupmysql SUBDIR += automysqlbackup SUBDIR += bbdb SUBDIR += beansdb SUBDIR += buzhug SUBDIR += c3p0 SUBDIR += cassandra-cpp-driver SUBDIR += cassandra3 SUBDIR += cassandra4 SUBDIR += casstcl SUBDIR += cayley SUBDIR += cdb SUBDIR += cego SUBDIR += cegobridge SUBDIR += clickhouse SUBDIR += closql SUBDIR += closql-devel SUBDIR += cockroach SUBDIR += compass SUBDIR += couchdb3 SUBDIR += courier-authlib-mysql SUBDIR += courier-authlib-pgsql SUBDIR += courier-authlib-sqlite SUBDIR += courier-authlib-userdb SUBDIR += courier-authlib-usergdbm SUBDIR += cppdb SUBDIR += credis SUBDIR += cutelyst-asql SUBDIR += dalmp SUBDIR += datasette SUBDIR += db SUBDIR += db18 SUBDIR += db5 SUBDIR += dbf SUBDIR += dbh SUBDIR += dbixx SUBDIR += dbow SUBDIR += dbtool SUBDIR += dbview SUBDIR += diesel SUBDIR += duckdb SUBDIR += ejdb SUBDIR += emacs-sqlite3-api SUBDIR += emacsql SUBDIR += emacsql-devel SUBDIR += erlfdb SUBDIR += evolution-data-server SUBDIR += fastdb SUBDIR += firebird30-client SUBDIR += firebird30-server SUBDIR += firebird40-client SUBDIR += firebird40-server SUBDIR += fortytwo-bdb SUBDIR += foundationdb71-client SUBDIR += foundationdb71-server SUBDIR += foundationdb73-client SUBDIR += foundationdb73-server SUBDIR += frece SUBDIR += freetds SUBDIR += freetds-devel SUBDIR += frontbase-jdbc SUBDIR += futuresql SUBDIR += galera26 SUBDIR += gdbm SUBDIR += geoserver-mysql-plugin SUBDIR += gigabase SUBDIR += gmdb2 SUBDIR += gnats4 SUBDIR += gnatsweb4 SUBDIR += go-carbon SUBDIR += go-pgweb SUBDIR += gobang SUBDIR += gom SUBDIR += goose SUBDIR += gqlplus SUBDIR += grass7 SUBDIR += grass8 SUBDIR += greptimedb SUBDIR += hashtypes SUBDIR += hiredis SUBDIR += hsqldb SUBDIR += immudb SUBDIR += imposm3 SUBDIR += influxdb SUBDIR += influxdb2-cli SUBDIR += innotop SUBDIR += iowow SUBDIR += ip4r SUBDIR += ipa_sdb SUBDIR += iplike SUBDIR += jdb SUBDIR += jdbc-oracle11g SUBDIR += jetbrains-datagrip SUBDIR += jlog SUBDIR += jrobin SUBDIR += jrrd SUBDIR += kbibtex SUBDIR += kdb SUBDIR += kexi SUBDIR += keydb SUBDIR += kyotocabinet SUBDIR += kyototycoon SUBDIR += ldb15 SUBDIR += ldb20 SUBDIR += ldb21 SUBDIR += ldb22 SUBDIR += ldb25 SUBDIR += leo_center SUBDIR += leofs SUBDIR += leveldb SUBDIR += libcouchbase SUBDIR += libdbi SUBDIR += libdbi-drivers SUBDIR += libdrizzle SUBDIR += libdrizzle-redux SUBDIR += libgda5 SUBDIR += libgda5-jdbc SUBDIR += libgda5-ldap SUBDIR += libgda5-mysql SUBDIR += libgda5-postgresql SUBDIR += libgda5-ui SUBDIR += libgdamm5 SUBDIR += libhsclient SUBDIR += libiodbc SUBDIR += libmemcache SUBDIR += libmemcached SUBDIR += libmongo-client SUBDIR += libmongocrypt SUBDIR += libmswstr SUBDIR += libnvpair SUBDIR += libodbc++ SUBDIR += libpbl SUBDIR += libpg_query SUBDIR += libpqtypes SUBDIR += libsdb SUBDIR += libzdb SUBDIR += linux-c7-sqlite3 SUBDIR += linux-c7-unixODBC SUBDIR += linux-oracle-instantclient-basic SUBDIR += linux-oracle-instantclient-sdk SUBDIR += linux-rl9-libtracker-sparql SUBDIR += linux-rl9-sqlite3 SUBDIR += liquibase SUBDIR += litestream SUBDIR += lmdb SUBDIR += lua-lsqlite3 SUBDIR += lua-pgsql SUBDIR += lua-resty-redis SUBDIR += lua-xapian SUBDIR += luadbi SUBDIR += luasql-firebird SUBDIR += luasql-mysql SUBDIR += luasql-odbc SUBDIR += luasql-postgres SUBDIR += luasql-sqlite3 SUBDIR += mantis SUBDIR += mariadb-connector-c SUBDIR += mariadb-connector-odbc SUBDIR += mariadb1011-client SUBDIR += mariadb1011-server SUBDIR += mariadb105-client SUBDIR += mariadb105-server SUBDIR += mariadb106-client SUBDIR += mariadb106-server SUBDIR += mariadb114-client SUBDIR += mariadb114-server SUBDIR += mdbtools SUBDIR += mdbx SUBDIR += mdcached SUBDIR += memcached SUBDIR += metabase SUBDIR += mongodb-tools SUBDIR += mongodb44 SUBDIR += mongodb50 SUBDIR += mongodb60 SUBDIR += mongodb70 + SUBDIR += mongodb80 SUBDIR += movine SUBDIR += mroonga SUBDIR += mtop SUBDIR += mydumper SUBDIR += mysql++ SUBDIR += mysql-connector-c++ SUBDIR += mysql-connector-j SUBDIR += mysql-connector-java51 SUBDIR += mysql-connector-odbc-80 SUBDIR += mysql2pgsql SUBDIR += mysql80-client SUBDIR += mysql80-server SUBDIR += mysql81-client SUBDIR += mysql81-server SUBDIR += mysql84-client SUBDIR += mysql84-server SUBDIR += mysqlbackup SUBDIR += mysqldump-secure SUBDIR += mysqlreport SUBDIR += mysqlsla SUBDIR += mysqltcl SUBDIR += mysqltuner SUBDIR += mytop SUBDIR += nagios-check_mongodb SUBDIR += nagios-check_postgres_replication SUBDIR += nagios-check_redis SUBDIR += namazu2 SUBDIR += nanodbc SUBDIR += neo4j SUBDIR += ocaml-dbm SUBDIR += ocaml-mysql SUBDIR += ocaml-sqlite3 SUBDIR += octosql SUBDIR += odbc-cpp-wrapper SUBDIR += ods2sql SUBDIR += opendbviewer SUBDIR += opendbx SUBDIR += ora2pg SUBDIR += oracle8-client SUBDIR += p5-Amazon-SimpleDB SUBDIR += p5-Amon2-DBI SUBDIR += p5-AnyEvent-BDB SUBDIR += p5-AnyEvent-CouchDB SUBDIR += p5-AnyEvent-DBD-Pg SUBDIR += p5-AnyEvent-Memcached SUBDIR += p5-AnyEvent-Redis SUBDIR += p5-App-Sqitch SUBDIR += p5-AsciiDB-TagFile SUBDIR += p5-BDB SUBDIR += p5-BSON SUBDIR += p5-BSON-XS SUBDIR += p5-BerkeleyDB SUBDIR += p5-Bucardo SUBDIR += p5-CDB_File SUBDIR += p5-CDB_File-Generator SUBDIR += p5-CGI-Session-Driver-memcached SUBDIR += p5-CHI-Driver-Memcached SUBDIR += p5-CHI-Driver-Redis SUBDIR += p5-CHI-Driver-TokyoTyrant SUBDIR += p5-Cache-BDB SUBDIR += p5-Cache-Memcached SUBDIR += p5-Cache-Memcached-Fast SUBDIR += p5-Cache-Memcached-Managed SUBDIR += p5-Cache-Memcached-XS SUBDIR += p5-Cache-Memcached-libmemcached SUBDIR += p5-Class-DBI SUBDIR += p5-Class-DBI-AbstractSearch SUBDIR += p5-Class-DBI-AsForm SUBDIR += p5-Class-DBI-AutoLoader SUBDIR += p5-Class-DBI-BaseDSN SUBDIR += p5-Class-DBI-DATA-Schema SUBDIR += p5-Class-DBI-DDL SUBDIR += p5-Class-DBI-FromCGI SUBDIR += p5-Class-DBI-LazyInflate SUBDIR += p5-Class-DBI-Loader SUBDIR += p5-Class-DBI-Loader-Relationship SUBDIR += p5-Class-DBI-Oracle SUBDIR += p5-Class-DBI-Pager SUBDIR += p5-Class-DBI-Pg SUBDIR += p5-Class-DBI-Plugin SUBDIR += p5-Class-DBI-Plugin-AbstractCount SUBDIR += p5-Class-DBI-Plugin-DeepAbstractSearch SUBDIR += p5-Class-DBI-Plugin-Iterator SUBDIR += p5-Class-DBI-Plugin-Pager SUBDIR += p5-Class-DBI-Plugin-RetrieveAll SUBDIR += p5-Class-DBI-Plugin-Senna SUBDIR += p5-Class-DBI-Plugin-Type SUBDIR += p5-Class-DBI-Replication SUBDIR += p5-Class-DBI-SAK SUBDIR += p5-Class-DBI-SQLite SUBDIR += p5-Class-DBI-Sweet SUBDIR += p5-Class-DBI-ToSax SUBDIR += p5-Class-DBI-Untaint SUBDIR += p5-Class-DBI-mysql SUBDIR += p5-Class-Inflate SUBDIR += p5-CouchDB-View SUBDIR += p5-DBD-AnyData SUBDIR += p5-DBD-CSV SUBDIR += p5-DBD-Excel SUBDIR += p5-DBD-Google SUBDIR += p5-DBD-InterBase SUBDIR += p5-DBD-LDAP SUBDIR += p5-DBD-MariaDB SUBDIR += p5-DBD-Mock SUBDIR += p5-DBD-Multi SUBDIR += p5-DBD-ODBC SUBDIR += p5-DBD-Oracle SUBDIR += p5-DBD-Pg SUBDIR += p5-DBD-PgLite SUBDIR += p5-DBD-PgPP SUBDIR += p5-DBD-SQLite SUBDIR += p5-DBD-SQLite2 SUBDIR += p5-DBD-Sybase SUBDIR += p5-DBD-XBase SUBDIR += p5-DBD-cego SUBDIR += p5-DBD-mysql SUBDIR += p5-DBD-mysql4 SUBDIR += p5-DBI SUBDIR += p5-DBI-Shell SUBDIR += p5-DBICx-Deploy SUBDIR += p5-DBICx-MapMaker SUBDIR += p5-DBICx-Sugar SUBDIR += p5-DBICx-TestDatabase SUBDIR += p5-DBICx-TxnInsert SUBDIR += p5-DBIWrapper SUBDIR += p5-DBIx-Abstract SUBDIR += p5-DBIx-Admin-CreateTable SUBDIR += p5-DBIx-Admin-DSNManager SUBDIR += p5-DBIx-Admin-TableInfo SUBDIR += p5-DBIx-AnyDBD SUBDIR += p5-DBIx-Browse SUBDIR += p5-DBIx-Class SUBDIR += p5-DBIx-Class-AsFdat SUBDIR += p5-DBIx-Class-AuditLog SUBDIR += p5-DBIx-Class-BitField SUBDIR += p5-DBIx-Class-Candy SUBDIR += p5-DBIx-Class-Cursor-Cached SUBDIR += p5-DBIx-Class-CustomPrefetch SUBDIR += p5-DBIx-Class-DateTime-Epoch SUBDIR += p5-DBIx-Class-DeploymentHandler SUBDIR += p5-DBIx-Class-DigestColumns SUBDIR += p5-DBIx-Class-DynamicDefault SUBDIR += p5-DBIx-Class-DynamicSubclass SUBDIR += p5-DBIx-Class-EncodeColumns SUBDIR += p5-DBIx-Class-EncodedColumn SUBDIR += p5-DBIx-Class-Fixtures SUBDIR += p5-DBIx-Class-FrozenColumns SUBDIR += p5-DBIx-Class-Helpers SUBDIR += p5-DBIx-Class-InflateColumn-Authen-Passphrase SUBDIR += p5-DBIx-Class-InflateColumn-FS SUBDIR += p5-DBIx-Class-InflateColumn-IP SUBDIR += p5-DBIx-Class-InflateColumn-Serializer SUBDIR += p5-DBIx-Class-IntrospectableM2M SUBDIR += p5-DBIx-Class-Loader SUBDIR += p5-DBIx-Class-Migration SUBDIR += p5-DBIx-Class-MooseColumns SUBDIR += p5-DBIx-Class-PassphraseColumn SUBDIR += p5-DBIx-Class-QueryLog SUBDIR += p5-DBIx-Class-QueryProfiler SUBDIR += p5-DBIx-Class-ResultSet-HashRef SUBDIR += p5-DBIx-Class-ResultSet-RecursiveUpdate SUBDIR += p5-DBIx-Class-Schema-Config SUBDIR += p5-DBIx-Class-Schema-Loader SUBDIR += p5-DBIx-Class-Schema-PopulateMore SUBDIR += p5-DBIx-Class-Storage-TxnEndHook SUBDIR += p5-DBIx-Class-TimeStamp SUBDIR += p5-DBIx-Class-Tree SUBDIR += p5-DBIx-Class-Tree-NestedSet SUBDIR += p5-DBIx-Class-UUIDColumns SUBDIR += p5-DBIx-Class-VirtualColumns SUBDIR += p5-DBIx-Class-WebForm SUBDIR += p5-DBIx-Connector SUBDIR += p5-DBIx-ContextualFetch SUBDIR += p5-DBIx-Custom SUBDIR += p5-DBIx-DBHResolver SUBDIR += p5-DBIx-DBSchema SUBDIR += p5-DBIx-DataSource SUBDIR += p5-DBIx-DisconnectAll SUBDIR += p5-DBIx-Dump SUBDIR += p5-DBIx-HA SUBDIR += p5-DBIx-Handler SUBDIR += p5-DBIx-Inspector SUBDIR += p5-DBIx-Introspector SUBDIR += p5-DBIx-Lite SUBDIR += p5-DBIx-Log4perl SUBDIR += p5-DBIx-MySQLSequence SUBDIR += p5-DBIx-NoSQL SUBDIR += p5-DBIx-Password SUBDIR += p5-DBIx-Perlish SUBDIR += p5-DBIx-QueryLog SUBDIR += p5-DBIx-QuickDB SUBDIR += p5-DBIx-Recordset SUBDIR += p5-DBIx-RetryOverDisconnects SUBDIR += p5-DBIx-SQLEngine SUBDIR += p5-DBIx-SQLite-Simple SUBDIR += p5-DBIx-Safe SUBDIR += p5-DBIx-SearchBuilder SUBDIR += p5-DBIx-Sequence SUBDIR += p5-DBIx-Simple SUBDIR += p5-DBIx-Skinny SUBDIR += p5-DBIx-Skinny-InflateColumn-DateTime SUBDIR += p5-DBIx-Skinny-Mixin-DBHResolver SUBDIR += p5-DBIx-Skinny-Pager SUBDIR += p5-DBIx-Skinny-Schema-Loader SUBDIR += p5-DBIx-Sunny SUBDIR += p5-DBIx-TableHash SUBDIR += p5-DBIx-Tracer SUBDIR += p5-DBIx-TransactionManager SUBDIR += p5-DBIx-Tree SUBDIR += p5-DBIx-VersionedDDL SUBDIR += p5-DBIx-Wrapper SUBDIR += p5-DBIx-XHTML_Table SUBDIR += p5-DBIx-XML_RDB SUBDIR += p5-DBM-Deep SUBDIR += p5-DR-Tarantool SUBDIR += p5-DWH_File SUBDIR += p5-Dancer-Plugin-DBIC SUBDIR += p5-Dancer-Plugin-Database SUBDIR += p5-Dancer-Plugin-Database-Core SUBDIR += p5-Dancer-Plugin-Redis SUBDIR += p5-Dancer-Session-Memcached SUBDIR += p5-Dancer2-Plugin-DBIC SUBDIR += p5-Dancer2-Plugin-Database SUBDIR += p5-Dancer2-Session-DBIC SUBDIR += p5-Data-Page SUBDIR += p5-Data-Pageset SUBDIR += p5-Exception-Class-DBI SUBDIR += p5-File-Locate SUBDIR += p5-GDBM SUBDIR += p5-Genezzo SUBDIR += p5-GitDDL SUBDIR += p5-GitDDL-Migrator SUBDIR += p5-GraphViz-DBI SUBDIR += p5-HTML-FormHandler-Model-DBIC SUBDIR += p5-Ima-DBI SUBDIR += p5-Interchange6-Schema SUBDIR += p5-Iterator-DBI SUBDIR += p5-Jifty-DBI SUBDIR += p5-KyotoCabinet SUBDIR += p5-LMDB_File SUBDIR += p5-MLDBM SUBDIR += p5-MLDBM-Sync SUBDIR += p5-MR-Tarantool SUBDIR += p5-Mango SUBDIR += p5-Memcached-libmemcached SUBDIR += p5-Metadata SUBDIR += p5-Mojo-Pg SUBDIR += p5-MongoDB SUBDIR += p5-Mongoose SUBDIR += p5-MySQL-Diff SUBDIR += p5-Net-Async-CassandraCQL SUBDIR += p5-ORLite SUBDIR += p5-ORLite-Migrate SUBDIR += p5-Oryx SUBDIR += p5-POE-Component-DBIAgent SUBDIR += p5-POE-Component-EasyDBI SUBDIR += p5-POE-Component-LaDBI SUBDIR += p5-POE-Component-RRDTool SUBDIR += p5-Pg SUBDIR += p5-PostgreSQL-PLPerl-Call SUBDIR += p5-PostgreSQL-PLPerl-Trace SUBDIR += p5-Prophet SUBDIR += p5-Protocol-CassandraCQL SUBDIR += p5-RRD-Simple SUBDIR += p5-Redis SUBDIR += p5-Redis-Fast SUBDIR += p5-Redis-JobQueue SUBDIR += p5-Redis-RateLimit SUBDIR += p5-Redis-hiredis SUBDIR += p5-RedisDB SUBDIR += p5-RedisDB-Parser SUBDIR += p5-Relations SUBDIR += p5-Relations-Query SUBDIR += p5-ResourcePool-Resource-DBI SUBDIR += p5-Rose-DB SUBDIR += p5-Rose-DB-Object SUBDIR += p5-Rose-DBx-Object-MoreHelpers SUBDIR += p5-Rose-DBx-Object-Renderer SUBDIR += p5-SQL-Abstract SUBDIR += p5-SQL-Abstract-Classic SUBDIR += p5-SQL-Abstract-Limit SUBDIR += p5-SQL-Abstract-More SUBDIR += p5-SQL-Abstract-Pg SUBDIR += p5-SQL-Abstract-Plugin-InsertMulti SUBDIR += p5-SQL-Interp SUBDIR += p5-SQL-Maker SUBDIR += p5-SQL-NamedPlaceholder SUBDIR += p5-SQL-ReservedWords SUBDIR += p5-SQL-SplitStatement SUBDIR += p5-SQL-Statement SUBDIR += p5-SQL-Translator SUBDIR += p5-SQLite-Work SUBDIR += p5-Scope-Container-DBI SUBDIR += p5-Search-InvertedIndex SUBDIR += p5-Search-Namazu SUBDIR += p5-Search-Xapian SUBDIR += p5-Store-CouchDB SUBDIR += p5-T2 SUBDIR += p5-Tangram SUBDIR += p5-Template-DBI SUBDIR += p5-Teng SUBDIR += p5-Test-Cukes SUBDIR += p5-Test-Database SUBDIR += p5-Test-DatabaseRow SUBDIR += p5-Test-Fixture-DBI SUBDIR += p5-Test-mysqld SUBDIR += p5-Test-postgresql SUBDIR += p5-Text-Query-SQL SUBDIR += p5-Text-xSV SUBDIR += p5-Tie-DBI SUBDIR += p5-Tie-LevelDB SUBDIR += p5-Time-Piece-MySQL SUBDIR += p5-TokyoCabinet SUBDIR += p5-Xapian SUBDIR += p5-mysql-genocide SUBDIR += p5-tokyotyrant SUBDIR += pear-DB SUBDIR += pear-DBA SUBDIR += pear-DBA_Relational SUBDIR += pear-DB_DataObject SUBDIR += pear-DB_DataObject_FormBuilder SUBDIR += pear-DB_Pager SUBDIR += pear-DB_QueryTool SUBDIR += pear-DB_Sqlite_Tools SUBDIR += pear-DB_Table SUBDIR += pear-DB_ldap SUBDIR += pear-DB_ldap2 SUBDIR += pear-DoctrineCommon SUBDIR += pear-DoctrineDBAL SUBDIR += pear-Horde_Db SUBDIR += pear-Horde_HashTable SUBDIR += pear-Horde_Imsp SUBDIR += pear-Horde_Memcache SUBDIR += pear-Horde_Mongo SUBDIR += pear-MDB SUBDIR += pear-MDB2 SUBDIR += pear-MDB2_Driver_mysqli SUBDIR += pear-MDB2_Driver_pgsql SUBDIR += pear-MDB2_Schema SUBDIR += pear-MDB_QueryTool SUBDIR += pear-Structures_DataGrid_DataSource_Array SUBDIR += pear-Structures_DataGrid_DataSource_CSV SUBDIR += pear-Structures_DataGrid_DataSource_DB SUBDIR += pear-Structures_DataGrid_DataSource_PDO SUBDIR += pear-XML_Query2XML SUBDIR += pecl-couchbase SUBDIR += pecl-leveldb SUBDIR += pecl-memcache SUBDIR += pecl-memcached SUBDIR += pecl-mongodb SUBDIR += pecl-redis SUBDIR += pecl-rrd SUBDIR += percona-orchestrator SUBDIR += percona-toolkit SUBDIR += pg-gvm SUBDIR += pg.el SUBDIR += pgFormatter SUBDIR += pg_activity SUBDIR += pg_citus SUBDIR += pg_dirtyread SUBDIR += pg_ed25519 SUBDIR += pg_filedump SUBDIR += pg_hashids SUBDIR += pg_partman SUBDIR += pg_qualstats SUBDIR += pg_repack SUBDIR += pg_similarity SUBDIR += pg_stat_kcache SUBDIR += pg_tileserv SUBDIR += pgaccess SUBDIR += pgadmin3 SUBDIR += pgagroal SUBDIR += pgbackrest SUBDIR += pgbadger SUBDIR += pgbarman SUBDIR += pgbouncer SUBDIR += pgdbf SUBDIR += pgfouine SUBDIR += pgloader3 SUBDIR += pglogical SUBDIR += pgmetrics SUBDIR += pgmodeler SUBDIR += pgpool-II-41 SUBDIR += pgpool-II-42 SUBDIR += pgpool-II-43 SUBDIR += pgpool-II-44 SUBDIR += pgpool-II-45 SUBDIR += pgreplay SUBDIR += pgroonga SUBDIR += pgrouting SUBDIR += pgsanity SUBDIR += pgtcl SUBDIR += pgtop SUBDIR += pguri SUBDIR += pgvector SUBDIR += php-tarantool SUBDIR += php-xapian SUBDIR += php81-dba SUBDIR += php81-mysqli SUBDIR += php81-odbc SUBDIR += php81-pdo SUBDIR += php81-pdo_dblib SUBDIR += php81-pdo_firebird SUBDIR += php81-pdo_mysql SUBDIR += php81-pdo_odbc SUBDIR += php81-pdo_pgsql SUBDIR += php81-pdo_sqlite SUBDIR += php81-pgsql SUBDIR += php81-sqlite3 SUBDIR += php82-dba SUBDIR += php82-mysqli SUBDIR += php82-odbc SUBDIR += php82-pdo SUBDIR += php82-pdo_dblib SUBDIR += php82-pdo_firebird SUBDIR += php82-pdo_mysql SUBDIR += php82-pdo_odbc SUBDIR += php82-pdo_pgsql SUBDIR += php82-pdo_sqlite SUBDIR += php82-pgsql SUBDIR += php82-sqlite3 SUBDIR += php83-dba SUBDIR += php83-mysqli SUBDIR += php83-odbc SUBDIR += php83-pdo SUBDIR += php83-pdo_dblib SUBDIR += php83-pdo_firebird SUBDIR += php83-pdo_mysql SUBDIR += php83-pdo_odbc SUBDIR += php83-pdo_pgsql SUBDIR += php83-pdo_sqlite SUBDIR += php83-pgsql SUBDIR += php83-sqlite3 SUBDIR += phpliteadmin SUBDIR += phpminiadmin SUBDIR += phpmyadmin SUBDIR += phpmyadmin5 SUBDIR += phppgadmin SUBDIR += pldebugger SUBDIR += plpgsql_check SUBDIR += pointcloud SUBDIR += postgis-jdbc SUBDIR += postgis31 SUBDIR += postgis32 SUBDIR += postgis33 SUBDIR += postgis34 SUBDIR += postgresql-cstore_fdw SUBDIR += postgresql-idn SUBDIR += postgresql-jdbc SUBDIR += postgresql-libpgeasy SUBDIR += postgresql-libpqxx SUBDIR += postgresql-mysql_fdw SUBDIR += postgresql-odbc SUBDIR += postgresql-ogr_fdw SUBDIR += postgresql-orafce SUBDIR += postgresql-pgaudit SUBDIR += postgresql-plproxy SUBDIR += postgresql-plv8js SUBDIR += postgresql-prefix SUBDIR += postgresql-promscale SUBDIR += postgresql-relay SUBDIR += postgresql-repmgr SUBDIR += postgresql-rum SUBDIR += postgresql-semver SUBDIR += postgresql-tds_fdw SUBDIR += postgresql-wal2json SUBDIR += postgresql-zhparser SUBDIR += postgresql12-client SUBDIR += postgresql12-contrib SUBDIR += postgresql12-docs SUBDIR += postgresql12-pgtcl SUBDIR += postgresql12-plperl SUBDIR += postgresql12-plpython SUBDIR += postgresql12-pltcl SUBDIR += postgresql12-server SUBDIR += postgresql13-client SUBDIR += postgresql13-contrib SUBDIR += postgresql13-docs SUBDIR += postgresql13-pgtcl SUBDIR += postgresql13-plperl SUBDIR += postgresql13-plpython SUBDIR += postgresql13-pltcl SUBDIR += postgresql13-server SUBDIR += postgresql14-client SUBDIR += postgresql14-contrib SUBDIR += postgresql14-docs SUBDIR += postgresql14-pgtcl SUBDIR += postgresql14-plperl SUBDIR += postgresql14-plpython SUBDIR += postgresql14-pltcl SUBDIR += postgresql14-server SUBDIR += postgresql15-client SUBDIR += postgresql15-contrib SUBDIR += postgresql15-docs SUBDIR += postgresql15-pgtcl SUBDIR += postgresql15-plperl SUBDIR += postgresql15-plpython SUBDIR += postgresql15-pltcl SUBDIR += postgresql15-server SUBDIR += postgresql16-client SUBDIR += postgresql16-contrib SUBDIR += postgresql16-docs SUBDIR += postgresql16-pgtcl SUBDIR += postgresql16-plperl SUBDIR += postgresql16-plpython SUBDIR += postgresql16-pltcl SUBDIR += postgresql16-server SUBDIR += powa-archivist SUBDIR += powa-web SUBDIR += powerarchitect SUBDIR += proftpd-mod_sql_mysql SUBDIR += proftpd-mod_sql_odbc SUBDIR += proftpd-mod_sql_postgres SUBDIR += proftpd-mod_sql_sqlite SUBDIR += proftpd-mod_sql_tds SUBDIR += prometheus-postgres-exporter SUBDIR += prometheus-postgresql-adapter SUBDIR += proxysql SUBDIR += pspg SUBDIR += puppetdb-terminus7 SUBDIR += puppetdb-terminus8 SUBDIR += puppetdb7 SUBDIR += puppetdb8 SUBDIR += puredb SUBDIR += pxlib SUBDIR += pxtools SUBDIR += py-Elixir SUBDIR += py-PyGreSQL SUBDIR += py-Pyrseas SUBDIR += py-aesqlapius SUBDIR += py-agate-sql SUBDIR += py-aiomcache SUBDIR += py-aiomysql SUBDIR += py-aiopg SUBDIR += py-aioredis SUBDIR += py-aiosqlite SUBDIR += py-alembic SUBDIR += py-apache-arrow SUBDIR += py-apsw SUBDIR += py-asyncmy SUBDIR += py-asyncpg SUBDIR += py-berkeleydb SUBDIR += py-carbon SUBDIR += py-cassandra-driver SUBDIR += py-couchdb SUBDIR += py-databases SUBDIR += py-dbf SUBDIR += py-dbt-core SUBDIR += py-dbt-duckdb SUBDIR += py-dbt-semantic-interfaces SUBDIR += py-dbt-snowflake SUBDIR += py-dbutils SUBDIR += py-duckdb SUBDIR += py-fakeredis SUBDIR += py-fastapi-users-db-ormar SUBDIR += py-fastparquet SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-sqlalchemy SUBDIR += py-flask-sqlalchemy30 SUBDIR += py-gdbm SUBDIR += py-geoalchemy2 SUBDIR += py-hiredis SUBDIR += py-influxdb SUBDIR += py-kyotocabinet SUBDIR += py-leveldb SUBDIR += py-litecli SUBDIR += py-lmdb SUBDIR += py-marshmallow-sqlalchemy SUBDIR += py-minidb SUBDIR += py-mongoengine SUBDIR += py-motor SUBDIR += py-mycli SUBDIR += py-mysql-connector-python SUBDIR += py-mysqlclient SUBDIR += py-ormar SUBDIR += py-partd SUBDIR += py-peewee SUBDIR += py-peewee_migrate SUBDIR += py-pg8000 SUBDIR += py-pgcli SUBDIR += py-pgdbconn SUBDIR += py-pglast SUBDIR += py-pglite SUBDIR += py-pgmigrate SUBDIR += py-pgspecial SUBDIR += py-pgspecial1 SUBDIR += py-pgxnclient SUBDIR += py-pickledb SUBDIR += py-pickleshare SUBDIR += py-pony SUBDIR += py-postgresql SUBDIR += py-psycogreen SUBDIR += py-psycopg SUBDIR += py-psycopg-c SUBDIR += py-psycopg-pool SUBDIR += py-psycopg2 SUBDIR += py-psycopg2cffi SUBDIR += py-pum SUBDIR += py-pyarrow SUBDIR += py-pycql SUBDIR += py-pylibmc SUBDIR += py-pymemcache SUBDIR += py-pymongo SUBDIR += py-pymssql SUBDIR += py-pymysql SUBDIR += py-pyodbc SUBDIR += py-pypuppetdb SUBDIR += py-python-arango SUBDIR += py-python-binary-memcached SUBDIR += py-python-memcached SUBDIR += py-python-sql SUBDIR += py-python-swiftclient SUBDIR += py-queries SUBDIR += py-rb SUBDIR += py-redis SUBDIR += py-redis2 SUBDIR += py-redis3 SUBDIR += py-redis4 SUBDIR += py-rrdtool SUBDIR += py-schemachange SUBDIR += py-sispy SUBDIR += py-snowddl SUBDIR += py-snowflake-connector-python SUBDIR += py-south SUBDIR += py-sqlalchemy-json SUBDIR += py-sqlalchemy-migrate SUBDIR += py-sqlalchemy-utils SUBDIR += py-sqlalchemy10 SUBDIR += py-sqlalchemy14 SUBDIR += py-sqlalchemy20 SUBDIR += py-sqlcipher3 SUBDIR += py-sqlglot SUBDIR += py-sqlite-anyio SUBDIR += py-sqlite-fts4 SUBDIR += py-sqlite-migrate SUBDIR += py-sqlite-utils SUBDIR += py-sqlite3 SUBDIR += py-sqlobject SUBDIR += py-sqlparse SUBDIR += py-sqlrelay SUBDIR += py-tableschema SUBDIR += py-tarantool SUBDIR += py-tiledb SUBDIR += py-txredisapi SUBDIR += py-unqlite SUBDIR += py-varstack SUBDIR += py-whisper SUBDIR += py-xapian SUBDIR += py-xrootd SUBDIR += py-zodbpickle SUBDIR += pythoncego SUBDIR += qdbm SUBDIR += qdbm-plus SUBDIR += qdrant SUBDIR += qof SUBDIR += qt5-sql SUBDIR += qt5-sqldrivers-mysql SUBDIR += qt5-sqldrivers-odbc SUBDIR += qt5-sqldrivers-pgsql SUBDIR += qt5-sqldrivers-sqlite2 SUBDIR += qt5-sqldrivers-sqlite3 SUBDIR += qt5-sqldrivers-tds SUBDIR += qt6-base_sqldriver SUBDIR += quake SUBDIR += recutils SUBDIR += redis SUBDIR += redis-devel SUBDIR += redis62 SUBDIR += redis70 SUBDIR += redis_exporter SUBDIR += redisdesktopmanager SUBDIR += redisjson SUBDIR += replibyte SUBDIR += retcl SUBDIR += rocksdb SUBDIR += rqlite SUBDIR += rrdman SUBDIR += rrdmerge SUBDIR += rrdtool SUBDIR += rrdtool12 SUBDIR += ruby-bdb SUBDIR += ruby-qdbm SUBDIR += ruby-tokyocabinet SUBDIR += ruby-xapian SUBDIR += rubygem-active_model_serializers SUBDIR += rubygem-active_model_serializers61 SUBDIR += rubygem-active_record_query_trace SUBDIR += rubygem-activemodel-serializers-xml SUBDIR += rubygem-activemodel4 SUBDIR += rubygem-activemodel5 SUBDIR += rubygem-activemodel50 SUBDIR += rubygem-activemodel52 SUBDIR += rubygem-activemodel60 SUBDIR += rubygem-activemodel61 SUBDIR += rubygem-activemodel70 SUBDIR += rubygem-activemodel71 SUBDIR += rubygem-activerecord-explain-analyze SUBDIR += rubygem-activerecord-import SUBDIR += rubygem-activerecord-jdbc-adapter SUBDIR += rubygem-activerecord-jdbcmysql-adapter SUBDIR += rubygem-activerecord-session_store SUBDIR += rubygem-activerecord-trilogy-adapter SUBDIR += rubygem-activerecord4 SUBDIR += rubygem-activerecord5 SUBDIR += rubygem-activerecord50 SUBDIR += rubygem-activerecord52 SUBDIR += rubygem-activerecord60 SUBDIR += rubygem-activerecord61 SUBDIR += rubygem-activerecord70 SUBDIR += rubygem-activerecord71 SUBDIR += rubygem-after_commit_queue SUBDIR += rubygem-amalgalite SUBDIR += rubygem-arel SUBDIR += rubygem-arel-helpers SUBDIR += rubygem-arel6 SUBDIR += rubygem-arel7 SUBDIR += rubygem-arel8 SUBDIR += rubygem-attr_json SUBDIR += rubygem-awesome_nested_set SUBDIR += rubygem-bdb1 SUBDIR += rubygem-bigrecord SUBDIR += rubygem-brpoplpush-redis_script SUBDIR += rubygem-couchrest SUBDIR += rubygem-dalli SUBDIR += rubygem-data_objects SUBDIR += rubygem-datamapper SUBDIR += rubygem-dbd-mysql SUBDIR += rubygem-dbd-pg SUBDIR += rubygem-dbd-sqlite3 SUBDIR += rubygem-dbf SUBDIR += rubygem-dbf4 SUBDIR += rubygem-dbi SUBDIR += rubygem-dbm SUBDIR += rubygem-discard-rails61 SUBDIR += rubygem-dm-aggregates SUBDIR += rubygem-dm-chunked_query SUBDIR += rubygem-dm-constraints SUBDIR += rubygem-dm-core SUBDIR += rubygem-dm-do-adapter SUBDIR += rubygem-dm-migrations SUBDIR += rubygem-dm-mysql-adapter SUBDIR += rubygem-dm-observer SUBDIR += rubygem-dm-pager SUBDIR += rubygem-dm-paperclip SUBDIR += rubygem-dm-postgres-adapter SUBDIR += rubygem-dm-serializer SUBDIR += rubygem-dm-timestamps SUBDIR += rubygem-dm-transactions SUBDIR += rubygem-dm-types SUBDIR += rubygem-dm-validations SUBDIR += rubygem-do_mysql SUBDIR += rubygem-do_postgres SUBDIR += rubygem-do_sqlite3 SUBDIR += rubygem-em-redis-unified SUBDIR += rubygem-fabrication SUBDIR += rubygem-familia SUBDIR += rubygem-flipper-active_record SUBDIR += rubygem-flipper-active_record-rails70 SUBDIR += rubygem-gdbm SUBDIR += rubygem-globalid SUBDIR += rubygem-globalid-rails5 SUBDIR += rubygem-globalid-rails50 SUBDIR += rubygem-globalid-rails52 SUBDIR += rubygem-globalid-rails60 SUBDIR += rubygem-globalid-rails61 SUBDIR += rubygem-globalid-rails70 SUBDIR += rubygem-globalid-rails71 SUBDIR += rubygem-google-cloud-datastore SUBDIR += rubygem-google-cloud-datastore-v1 SUBDIR += rubygem-google-cloud-firestore SUBDIR += rubygem-google-cloud-firestore-v1 SUBDIR += rubygem-her SUBDIR += rubygem-hiredis SUBDIR += rubygem-influxdb SUBDIR += rubygem-jdbc-mysql SUBDIR += rubygem-leo_manager_client SUBDIR += rubygem-marginalia SUBDIR += rubygem-mario-redis-lock SUBDIR += rubygem-memcache SUBDIR += rubygem-memcache-client SUBDIR += rubygem-microscope SUBDIR += rubygem-mysql SUBDIR += rubygem-mysql2 SUBDIR += rubygem-neighbor SUBDIR += rubygem-openid-redis-store SUBDIR += rubygem-paranoia SUBDIR += rubygem-pg SUBDIR += rubygem-pg_array_parser SUBDIR += rubygem-pg_query SUBDIR += rubygem-pghero SUBDIR += rubygem-pghero-rails5 SUBDIR += rubygem-pghero-rails50 SUBDIR += rubygem-pghero-rails61 SUBDIR += rubygem-pl-puppetdb-ruby SUBDIR += rubygem-postgres_ext SUBDIR += rubygem-puppetdb_cli SUBDIR += rubygem-rbase SUBDIR += rubygem-red-arrow SUBDIR += rubygem-red-arrow-dataset SUBDIR += rubygem-red-gandiva SUBDIR += rubygem-red-parquet SUBDIR += rubygem-redis SUBDIR += rubygem-redis-actionpack SUBDIR += rubygem-redis-actionpack-rails5 SUBDIR += rubygem-redis-actionpack-rails50 SUBDIR += rubygem-redis-actionpack-rails52 SUBDIR += rubygem-redis-actionpack-rails60 SUBDIR += rubygem-redis-actionpack-rails61 SUBDIR += rubygem-redis-actionpack-rails70 SUBDIR += rubygem-redis-client SUBDIR += rubygem-redis-cluster-client SUBDIR += rubygem-redis-clustering SUBDIR += rubygem-redis-namespace SUBDIR += rubygem-redis-namespace110 SUBDIR += rubygem-redis4 SUBDIR += rubygem-ruby-mysql SUBDIR += rubygem-scenic61 SUBDIR += rubygem-sdbm SUBDIR += rubygem-seed-fu SUBDIR += rubygem-sqlite3 SUBDIR += rubygem-sqlite3-ruby SUBDIR += rubygem-sqlite31 SUBDIR += rubygem-state_machines-activemodel SUBDIR += rubygem-state_machines-activerecord SUBDIR += rubygem-state_machines-activerecord08 SUBDIR += rubygem-tarantool SUBDIR += rubygem-trilogy SUBDIR += sequeler SUBDIR += sfcgal SUBDIR += sharedance SUBDIR += slony1v2 SUBDIR += soci SUBDIR += spatialite SUBDIR += spatialite-tools SUBDIR += spatialite_gui SUBDIR += speedtables SUBDIR += sql-workbench SUBDIR += sqlcached SUBDIR += sqlcipher SUBDIR += sqlclient SUBDIR += sqldeveloper SUBDIR += sqlite-ext-miscfuncs SUBDIR += sqlite-ext-pcre SUBDIR += sqlite-ext-regexp SUBDIR += sqlite-ext-spellfix SUBDIR += sqlite2 SUBDIR += sqlite3 SUBDIR += sqlitebrowser SUBDIR += sqliteconvert SUBDIR += sqlitecpp SUBDIR += sqlitemanager SUBDIR += sqliteodbc SUBDIR += sqlitestudio SUBDIR += sqlrelay SUBDIR += sqlx-cli SUBDIR += sqsh SUBDIR += squirrel-sql SUBDIR += surrealdb SUBDIR += symphytum SUBDIR += tarantool SUBDIR += tarantool-c SUBDIR += tarantool2 SUBDIR += tcl-Mysql SUBDIR += tcl-lmdb SUBDIR += tcl-sqlite3 SUBDIR += tdb SUBDIR += tdbc SUBDIR += tile38 SUBDIR += tiledb SUBDIR += timescaledb SUBDIR += timescaledb-backup SUBDIR += timescaledb-tune SUBDIR += tinycdb SUBDIR += tokyocabinet SUBDIR += tokyotyrant SUBDIR += trilogy SUBDIR += tuning-primer SUBDIR += twemproxy SUBDIR += unixODBC SUBDIR += usql SUBDIR += valkey SUBDIR += vfront SUBDIR += virtualpg SUBDIR += vsqlite SUBDIR += webdis SUBDIR += wfb2sql SUBDIR += xapian-bindings SUBDIR += xapian-core SUBDIR += xls2txt SUBDIR += xrootd SUBDIR += xtrabackup80 SUBDIR += xtrabackup81 SUBDIR += zodb .include diff --git a/databases/mongodb80/Makefile b/databases/mongodb80/Makefile new file mode 100644 index 000000000000..79ba19ee6abb --- /dev/null +++ b/databases/mongodb80/Makefile @@ -0,0 +1,162 @@ +PORTNAME= mongodb +DISTVERSIONPREFIX= r +DISTVERSION= 8.0.0-rc14 +CATEGORIES= databases net +PKGNAMESUFFIX= ${DISTVERSION:R:S/.//} + +MAINTAINER= ronald@FreeBSD.org +COMMENT= MongoDB Community Edition (8.0.x Branch) +WWW= https://www.mongodb.com/docs/v8.0/ + +LICENSE= APACHE20 SSPLv1 # mongodb is SSPLv1, C++ driver is APACHE20 +LICENSE_COMB= multi +LICENSE_NAME_SSPLv1= Server Side Public License Version 1 +LICENSE_FILE_SSPLv1= ${WRKSRC}/LICENSE-Community.txt +LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le +ONLY_FOR_ARCHS_REASON= only ported to amd64, aarch64, and powerpc64le on FreeBSD; upstream supports arm64, ppc64le, s390x, and x86-64 + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}cheetah3>0:devel/py-cheetah3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymongo>0:databases/py-pymongo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.11:devel/py-pyyaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}retry2>0:devel/py-retry2@${PY_FLAVOR} +# build depends used while running ${WRKSRC}/src/third_party/mozjs/gen-config.sh +BUILD_DEPENDS+= gm4:devel/m4 \ + gsed:textproc/gsed +LIB_DEPENDS= libcurl.so:ftp/curl \ + libpcre2-8.so:devel/pcre2 \ + libsnappy.so:archivers/snappy \ + libstemmer.so:textproc/snowballstemmer \ + libunwind.so:devel/libunwind \ + libyaml-cpp.so:devel/yaml-cpp \ + libzstd.so:archivers/zstd + +USES= compiler:c++20-lang cpe python:build scons shebangfix +# gmake is used while running ${WRKSRC}/src/third_party/mozjs/gen-config.sh +USES+= gmake pkgconfig + +# mozjs tag comes from ${WRKSRC}/src/third_party/mozjs/get-sources.sh +MOZJS_TAG= bb6edb4fcd43607c87de81df8c58db11a663634a + +USE_GITHUB= yes +GH_ACCOUNT= mongodb mongodb-forks:mozjs +GH_PROJECT= mongo spidermonkey:mozjs +GH_TAGNAME= ${MOZJS_TAG}:mozjs +USE_RC_SUBR= mongod + +SHEBANG_FILES= buildscripts/scons.py +python_OLD_CMD= @python_interpreter@ + +CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4 +MAKE_ARGS= --allocator=system \ + --cxx-std=20 \ + --disable-warnings-as-errors \ + --libc++ \ + --runtime-hardening=on \ + --use-system-libunwind \ + --use-system-pcre2 \ + --use-system-snappy \ + --use-system-stemmer \ + --use-system-yaml \ + --use-system-zlib \ + --use-system-zstd \ + -j${MAKE_JOBS_NUMBER} \ + AR=llvm-ar \ + MONGO_VERSION=${DISTVERSION} \ + VERBOSE=on + +CFLAGS+= -DBOOST_NO_CXX98_FUNCTION_BASE + +CONFLICTS_INSTALL= mongodb[0-9][0-9] + +EXTRACT_AFTER_ARGS= --exclude src/third_party/pcre2 \ + --exclude src/third_party/snappy-* \ + --exclude src/third_party/libstemmer_c \ + --exclude src/third_party/unwind \ + --exclude src/third_party/yaml-cpp \ + --exclude src/third_party/zlib-* \ + --exclude src/third_party/zstandard \ + --no-same-owner --no-same-permissions + +USERS= mongodb +GROUPS= mongodb + +OPTIONS_DEFINE= LTO NOAVX SASL SSL +OPTIONS_DEFINE_aarch64= ARMV80A +OPTIONS_DEFAULT= NOAVX SASL SSL + +# MongoDB on non-LSE ARM cpu like Raspberry Pi can work but is unsupported upstream. +# Can give corruption on high concurrency. +# Please read https://jira.mongodb.org/browse/SERVER-71772. +ARMV80A_DESC= Enable non-LSE ARM64 CPUs like RPI4. +NOAVX_DESC= "Disable AVX instructions on amd64 (Sandybridge+)" + +ARMV80A_EXTRA_PATCHES= ${FILESDIR}/extrapatch-SConstruct + +LTO_MAKE_ARGS= --lto=on + +NOAVX_MAKE_ARGS= --experimental-optimization="-sandybridge" + +SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 +SASL_MAKE_ARGS= --use-sasl-client + +SSL_USES= ssl +SSL_MAKE_ARGS= --ssl + +.include + +ALL_TARGET= install-servers + +# This ports is only following the Major Release. +# https://docs.mongodb.com/manual/reference/versioning/ +PORTSCOUT= limit:^7\.0\. + +CPE_PRODUCT= mongodb + +.if ${ARCH} == amd64 +MOZJS_ARCH= x86_64 +.elif ${ARCH} == powerpc64le +MOZJS_ARCH= ppc64le +.elif ${ARCH} == aarch64 +MOZJS_ARCH= ${ARCH} +.endif + +post-patch: +# fix build with python-3.11 + ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/util.py + ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/preprocessor.py + ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/backend/base.py + ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/action/process_define_files.py + +pre-configure: + # Verify we downloaded the proper mozjs git tag. + sh -c "test \"X`grep -E '^LIB_GIT_REVISION=' ${WRKSRC}/src/third_party/mozjs/get-sources.sh`\" = \"XLIB_GIT_REVISION=${MOZJS_TAG}\"" + +do-configure: +# Replacement of ${WRKSRC}/src/third_party/mozjs/get-sources.sh + ${LN} -sF ${WRKDIR}/spidermonkey-${MOZJS_TAG} ${WRKSRC}/src/third_party/mozjs/mozilla-release + cd ${WRKSRC}/src/third_party/mozjs && PYTHON3="${PYTHON_CMD}" ${SH} ./gen-config.sh ${MOZJS_ARCH} freebsd + +do-build: + ${WRKSRC}/buildscripts/scons.py -C ${WRKSRC} ${MAKE_ARGS} + +do-install: +.for f in mongod mongos + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} +.endfor + ${INSTALL_DATA} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in LICENSE-Community.txt MPL-2 README THIRD-PARTY-NOTICES + ${MV} ${STAGEDIR}${PREFIX}/${doc} ${STAGEDIR}${DOCSDIR}/ +.endfor + ${RM} ${STAGEDIR}${PREFIX}/bin/resmoke.py + +do-test: + ${SH} ${FILESDIR}/make.test.sh "${STAGEDIR}${PREFIX}/bin" + +.include diff --git a/databases/mongodb80/distinfo b/databases/mongodb80/distinfo new file mode 100644 index 000000000000..f007641034d7 --- /dev/null +++ b/databases/mongodb80/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1721728990 +SHA256 (mongodb-mongo-r8.0.0-rc14_GH0.tar.gz) = 73560b1f0d84367029368081c5a29b7469c31cece893fbf7e480bb40f1118301 +SIZE (mongodb-mongo-r8.0.0-rc14_GH0.tar.gz) = 94721112 +SHA256 (mongodb-forks-spidermonkey-bb6edb4fcd43607c87de81df8c58db11a663634a_GH0.tar.gz) = 8b237164cb3f492aa1658080b91bafb3c98fe72da11ffb65513e4bffe01553f9 +SIZE (mongodb-forks-spidermonkey-bb6edb4fcd43607c87de81df8c58db11a663634a_GH0.tar.gz) = 164675678 diff --git a/databases/mongodb80/files/extrapatch-SConstruct b/databases/mongodb80/files/extrapatch-SConstruct new file mode 100644 index 000000000000..05946bd82cdc --- /dev/null +++ b/databases/mongodb80/files/extrapatch-SConstruct @@ -0,0 +1,16 @@ +--- SConstruct.orig 2023-06-07 17:07:38 UTC ++++ SConstruct +@@ -3217,8 +3205,12 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too + # setting it for both C and C++ by setting both of CFLAGS and + # CXXFLAGS. + ++ arm_march_flag = "armv8-a" ++ if get_option('use-hardware-crc32') == "on": ++ arm_march_flag += "+crc" ++ + default_targeting_flags_for_architecture = { +- "aarch64": {"-march=": "armv8.2-a", "-mtune=": "generic"}, ++ "aarch64": {"-march=": arm_march_flag, "-mtune=": "generic"}, + "i386": {"-march=": "nocona", "-mtune=": "generic"}, + "ppc64le": {"-mcpu=": "power8", "-mtune=": "power8", "-mcmodel=": "medium"}, + "s390x": {"-march=": "z196", "-mtune=": "zEC12"}, diff --git a/databases/mongodb80/files/make.test.sh b/databases/mongodb80/files/make.test.sh new file mode 100755 index 000000000000..c42bb1973e6b --- /dev/null +++ b/databases/mongodb80/files/make.test.sh @@ -0,0 +1,31 @@ +#! /bin/sh + +set -e + +usage() { + echo "Usage: $0 " + echo " path to the executables" +} + +test "$#" -eq 1 || ( usage && exit 1 ) + +set -x + +PATH="$1:$PATH" + +DBDIR=$( mktemp -d -t tmp.mongodb ) + +trap 'rm -rf "$DBDIR"' EXIT + +# Trivial check if the binaries execute at all. +mongod --version +mongos --version + +# Check if an empty database can be created. +mkdir "$DBDIR/db" +tail -F "$DBDIR/log" | ( grep -qFe "Waiting for connections" && kill $(cat "$DBDIR/pid") ) & +script -eF "$DBDIR/log" \ + timeout -s TERM -k 30s 60s \ + mongod --dbpath "$DBDIR/db" --pidfilepath "$DBDIR/pid" + +echo "Test successful" diff --git a/databases/mongodb80/files/mongod.in b/databases/mongodb80/files/mongod.in new file mode 100644 index 000000000000..20b0f5c0f43d --- /dev/null +++ b/databases/mongodb80/files/mongod.in @@ -0,0 +1,53 @@ +#!/bin/sh + +# PROVIDE: mongod +# REQUIRE: NETWORK ldconfig +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# mongod_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable mongod. +# mongod_dbpath (str): Default to "/var/db/mongodb" +# Base database directory. +# mongod_flags (str): Custom additional arguments to be passed to mongod. +# Default to "--logpath ${mongod_dbpath}/mongod.log --logappend". +# mongod_config (str): Default to "%%PREFIX%%/etc/mongodb.conf" +# Path to config file +# + +. /etc/rc.subr + +name="mongod" +rcvar=mongod_enable + +load_rc_config $name + +: ${mongod_enable="NO"} +: ${mongod_dbpath="/var/db/mongodb"} +: ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"} +: ${mongod_user="mongodb"} +: ${mongod_group="mongodb"} +: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"} + +pidfile="${mongod_dbpath}/mongod.lock" +command=%%PREFIX%%/bin/${name} +command_args="--config $mongod_config --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null" +start_precmd="${name}_prestart" + +mongod_create_dbpath() +{ + mkdir ${mongod_dbpath} >/dev/null 2>/dev/null + [ $? -eq 0 ] && chown -R ${mongod_user}:${mongod_group} ${mongod_dbpath} +} + +mongod_prestart() +{ + if [ ! -d ${mongod_dbpath} ]; then + mongod_create_dbpath || return 1 + fi + return 0 +} + +run_rc_command "$1" diff --git a/databases/mongodb80/files/patch-SConstruct b/databases/mongodb80/files/patch-SConstruct new file mode 100644 index 000000000000..375b9238a97a --- /dev/null +++ b/databases/mongodb80/files/patch-SConstruct @@ -0,0 +1,36 @@ +--- SConstruct.orig 2024-07-22 19:17:33 UTC ++++ SConstruct +@@ -25,7 +25,6 @@ import SCons.Script + + import SCons + import SCons.Script +-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics + from site_scons.mongo import build_profiles + + # This must be first, even before EnsureSConsVersion, if +@@ -1722,16 +1721,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n + del envDict + env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption') + +-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics. +-# We should only register this function after env, env_vars and the parser have been properly initialized. +-SConsToolingMetrics.register_metrics( +- utc_starttime=datetime.utcnow(), +- artifact_dir=env.Dir('$BUILD_DIR').get_abspath(), +- env_vars=env_vars, +- env=env, +- parser=_parser, +-) +- + if get_option('build-metrics'): + env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR' + env.Tool('build_metrics') +@@ -1835,7 +1824,7 @@ if unknown_vars: + + unknown_vars = env_vars.UnknownVariables() + if unknown_vars: +- env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys()))) ++ print("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys()))) + + install_actions.setup(env, get_option('install-action')) + diff --git a/databases/mongodb80/files/patch-buildscripts_scons.py b/databases/mongodb80/files/patch-buildscripts_scons.py new file mode 100644 index 000000000000..5759ae7f71d9 --- /dev/null +++ b/databases/mongodb80/files/patch-buildscripts_scons.py @@ -0,0 +1,18 @@ +--- buildscripts/scons.py.orig 2024-07-23 11:11:41 UTC ++++ buildscripts/scons.py +@@ -18,15 +18,6 @@ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path + + sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path + +-# pylint: disable=C0413 +-from mongo.pip_requirements import verify_requirements, MissingRequirements +- +-try: +- verify_requirements() +-except MissingRequirements as ex: +- print(ex) +- sys.exit(1) +- + try: + import SCons.Script + except ImportError as import_err: diff --git a/databases/mongodb80/files/patch-src_mongo_platform_waitable__atomic.cpp b/databases/mongodb80/files/patch-src_mongo_platform_waitable__atomic.cpp new file mode 100644 index 000000000000..92a361721080 --- /dev/null +++ b/databases/mongodb80/files/patch-src_mongo_platform_waitable__atomic.cpp @@ -0,0 +1,65 @@ +--- src/mongo/platform/waitable_atomic.cpp.orig 2024-07-23 11:53:14 UTC ++++ src/mongo/platform/waitable_atomic.cpp +@@ -34,6 +34,9 @@ + #ifdef __linux__ + #include + #include ++#elif defined(__FreeBSD__) ++#include ++#include + #elif defined(_WIN32) + #include + #endif +@@ -228,6 +231,52 @@ bool waitUntil(const void* uaddr, + } + + if (__ulock_wait(UL_COMPARE_AND_WAIT, const_cast(uaddr), old, timeoutMicros) != -1) ++ return true; ++ ++ // There isn't a good list of possible errors, so assuming that anything other than a timeout ++ // error is a possible spurious wakeup. ++ return timeoutOverflow || errno != ETIMEDOUT; ++} ++ ++#elif defined(__FreeBSD__) ++ ++void notifyOne(const void* uaddr) { ++ _umtx_op(const_cast(uaddr), UMTX_OP_WAKE, 1, NULL, NULL); ++} ++ ++void notifyMany(const void* uaddr, int nToWake) { ++ _umtx_op(const_cast(uaddr), UMTX_OP_WAKE, nToWake, NULL, NULL); ++} ++ ++void notifyAll(const void* uaddr) { ++ _umtx_op(const_cast(uaddr), UMTX_OP_WAKE, INT_MAX, NULL, NULL); ++} ++ ++bool waitUntil(const void* uaddr, ++ uint32_t old, ++ boost::optional deadline) { ++ struct timespec timeout; ++ bool timeoutOverflow = false; ++ if (deadline) { ++ int64_t micros = durationCount(*deadline - system_clock::now()); ++ if (micros <= 0) { ++ return false; // Synthesize a timeout. ++ } ++ ++ if (micros > int64_t(std::numeric_limits::max())) { ++ // 2**32 micros is a little over an hour. If this happens, we wait as long as we can, ++ // then return as-if a spurious wakeup happened, rather than a timeout. This will cause ++ // the caller to loop and we will compute a smaller time each pass, eventually reaching ++ // a representable timeout. ++ micros = std::numeric_limits::max(); ++ timeoutOverflow = true; ++ } ++ ++ timeout.tv_sec = micros / 1000; ++ timeout.tv_nsec = (micros % 1000) * 1000; ++ } ++ ++ if (_umtx_op(const_cast(uaddr), UMTX_OP_WAIT, old, (void*)sizeof(struct timespec), &timeout) != -1) + return true; + + // There isn't a good list of possible errors, so assuming that anything other than a timeout diff --git a/databases/mongodb80/files/patch-src_third__party_abseil-cpp_dist_absl_time_internal_cctz_src_time__zone__format.cc b/databases/mongodb80/files/patch-src_third__party_abseil-cpp_dist_absl_time_internal_cctz_src_time__zone__format.cc new file mode 100644 index 000000000000..d498ecfd3fbd --- /dev/null +++ b/databases/mongodb80/files/patch-src_third__party_abseil-cpp_dist_absl_time_internal_cctz_src_time__zone__format.cc @@ -0,0 +1,13 @@ +# https://github.com/abseil/abseil-cpp/commit/ded2ec077d911de647d47ab48ef3a8e24a1fb64a +# https://github.com/abseil/abseil-cpp/issues/1587 +--- src/third_party/abseil-cpp/dist/absl/time/internal/cctz/src/time_zone_format.cc.orig 2024-07-23 13:17:01 UTC ++++ src/third_party/abseil-cpp/dist/absl/time/internal/cctz/src/time_zone_format.cc +@@ -19,7 +19,7 @@ + #endif + + #if defined(HAS_STRPTIME) && HAS_STRPTIME +-#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) ++#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__OpenBSD__) + #define _XOPEN_SOURCE 500 // Exposes definitions for SUSv2 (UNIX 98). + #endif + #endif diff --git a/databases/mongodb80/files/patch-src_third__party_asio-master_asio_include_asio_detail_config.hpp b/databases/mongodb80/files/patch-src_third__party_asio-master_asio_include_asio_detail_config.hpp new file mode 100644 index 000000000000..09713cbc0028 --- /dev/null +++ b/databases/mongodb80/files/patch-src_third__party_asio-master_asio_include_asio_detail_config.hpp @@ -0,0 +1,10 @@ +--- src/third_party/asio-master/asio/include/asio/detail/config.hpp.orig 2023-04-29 10:17:24 UTC ++++ src/third_party/asio-master/asio/include/asio/detail/config.hpp +@@ -19,6 +19,7 @@ + // individual scons objects. + # define ASIO_STANDALONE // MongoDB + # define ASIO_SEPARATE_COMPILATION // MongoDB ++# define ASIO_HAS_STD_INVOKE_RESULT // FreeBSD + + #if defined(ASIO_STANDALONE) + # define ASIO_DISABLE_BOOST_ARRAY 1 diff --git a/databases/mongodb80/files/patch-src_third__party_boost_boost_mpl_aux___integral__wrapper.hpp b/databases/mongodb80/files/patch-src_third__party_boost_boost_mpl_aux___integral__wrapper.hpp new file mode 100644 index 000000000000..f6e1178b4a65 --- /dev/null +++ b/databases/mongodb80/files/patch-src_third__party_boost_boost_mpl_aux___integral__wrapper.hpp @@ -0,0 +1,11 @@ +--- src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp.orig 2023-06-15 22:07:57 UTC ++++ src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp +@@ -56,7 +56,7 @@ struct AUX_WRAPPER_NAME + // have to #ifdef here: some compilers don't like the 'N + 1' form (MSVC), + // while some other don't like 'value + 1' (Borland), and some don't like + // either +-#if BOOST_WORKAROUND(__EDG_VERSION__, <= 243) ++#if 1 //BOOST_WORKAROUND(__EDG_VERSION__, <= 243) + private: + BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, next_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N + 1))); + BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1))); diff --git a/databases/mongodb80/files/patch-src_third__party_libbson_dist_src_libbson_src_bson_bson-error.c b/databases/mongodb80/files/patch-src_third__party_libbson_dist_src_libbson_src_bson_bson-error.c new file mode 100644 index 000000000000..4ee39110eefd --- /dev/null +++ b/databases/mongodb80/files/patch-src_third__party_libbson_dist_src_libbson_src_bson_bson-error.c @@ -0,0 +1,11 @@ +--- src/third_party/libbson/dist/src/libbson/src/bson/bson-error.c.orig 2024-07-04 10:59:36 UTC ++++ src/third_party/libbson/dist/src/libbson/src/bson/bson-error.c +@@ -130,7 +130,7 @@ bson_strerror_r (int err_code, /* I + // required) by the POSIX spec (see: + // https://pubs.opengroup.org/onlinepubs/9699919799/functions/strerror.html#tag_16_574_08). + (void) strerror_r (err_code, buf, buflen); +-#elif defined(_XOPEN_SOURCE) && _XOPEN_SOURCE >= 700 ++#elif defined(__FreeBSD__) || ( defined(_XOPEN_SOURCE) && _XOPEN_SOURCE >= 700 ) + // The behavior (of `strerror_l`) is undefined if the locale argument to + // `strerror_l()` is the special locale object LC_GLOBAL_LOCALE or is not a + // valid locale object handle. diff --git a/databases/mongodb80/files/patch-src_third__party_mozjs_gen-config.sh b/databases/mongodb80/files/patch-src_third__party_mozjs_gen-config.sh new file mode 100644 index 000000000000..e05c48c9f8f7 --- /dev/null +++ b/databases/mongodb80/files/patch-src_third__party_mozjs_gen-config.sh @@ -0,0 +1,30 @@ +--- src/third_party/mozjs/gen-config.sh.orig 2024-07-22 19:17:33 UTC ++++ src/third_party/mozjs/gen-config.sh +@@ -29,6 +29,9 @@ case "$_Path" in + } + + case "$_Path" in ++ "platform/aarch64/freebsd") ++ _CONFIG_OPTS="--host=aarch64-freebsd" ++ ;; + "platform/aarch64/linux") + _CONFIG_OPTS="--host=aarch64-linux" + ;; +@@ -109,7 +112,7 @@ CFLAGS="$CFLAGS -D__STDC_FORMAT_MACROS" \ + --disable-js-shell \ + --disable-tests "$_CONFIG_OPTS" + +-make recurse_export ++gmake recurse_export + + cd ../../../.. + +@@ -164,7 +167,7 @@ find "$_Path/build" -name '*.cpp' | + find "$_Path/build" -name '*.cpp' | + while read unified_file ; do + echo "Processing $unified_file" +- sed $SEDOPTION \ ++ gsed $SEDOPTION \ + -e 's|#include ".*/js/src/|#include "|' \ + -e 's|#error ".*/js/src/|#error "|' \ + "$unified_file" diff --git a/databases/mongodb80/files/patch-src_third__party_mozjs_get-sources.sh b/databases/mongodb80/files/patch-src_third__party_mozjs_get-sources.sh new file mode 100644 index 000000000000..278f09c46e52 --- /dev/null +++ b/databases/mongodb80/files/patch-src_third__party_mozjs_get-sources.sh @@ -0,0 +1,14 @@ +--- src/third_party/mozjs/get-sources.sh.orig 2024-07-22 19:17:33 UTC ++++ src/third_party/mozjs/get-sources.sh +@@ -12,9 +12,9 @@ LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey + LIB_GIT_REVISION=bb6edb4fcd43607c87de81df8c58db11a663634a + LIB_GIT_REPO=git@github.com:mongodb-forks/spidermonkey.git + +-DEST_DIR=$(git rev-parse --show-toplevel)/src/third_party/mozjs ++DEST_DIR=$(realpath .) + +-LIB_GIT_DIR=$(mktemp -d /tmp/import-spidermonkey.XXXXXX) ++LIB_GIT_DIR=$(mktemp -d /var/tmp/import-spidermonkey.XXXXXX) + trap "rm -rf $LIB_GIT_DIR" EXIT + + git clone $LIB_GIT_REPO $LIB_GIT_DIR diff --git a/databases/mongodb80/pkg-descr b/databases/mongodb80/pkg-descr new file mode 100644 index 000000000000..5bf5a965fd47 --- /dev/null +++ b/databases/mongodb80/pkg-descr @@ -0,0 +1,5 @@ +Distributed document-oriented "NoSQL" database. + +Mongo (from "humongous") is a high-performance, open source, +schema-free, document-oriented database. A common name in the +"NOSQL" community. diff --git a/databases/mongodb80/pkg-message b/databases/mongodb80/pkg-message new file mode 100644 index 000000000000..fb041b1ff931 --- /dev/null +++ b/databases/mongodb80/pkg-message @@ -0,0 +1,16 @@ +[ +{ type: install + message: <