diff --git a/databases/Makefile b/databases/Makefile index e6a3650e68df..dd01bdb43647 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1,1123 +1,1124 @@ 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 += 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 += ldb22 SUBDIR += ldb25 SUBDIR += ldb28 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 += libmongocrypt SUBDIR += libmswstr SUBDIR += libnvpair SUBDIR += libodbc++ SUBDIR += libpbl SUBDIR += libpg_query 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 += mongodb50 SUBDIR += mongodb60 SUBDIR += mongodb70 SUBDIR += mongodb80 + SUBDIR += mongosh 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 += mysql84-client SUBDIR += mysql84-server SUBDIR += mysql90-client SUBDIR += mysql90-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_cron 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 += php84-dba SUBDIR += php84-mysqli SUBDIR += php84-odbc SUBDIR += php84-pdo SUBDIR += php84-pdo_dblib SUBDIR += php84-pdo_firebird SUBDIR += php84-pdo_mysql SUBDIR += php84-pdo_odbc SUBDIR += php84-pdo_pgsql SUBDIR += php84-pdo_sqlite SUBDIR += php84-pgsql SUBDIR += php84-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 += postgis35 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 += postgresql17-client SUBDIR += postgresql17-contrib SUBDIR += postgresql17-docs SUBDIR += postgresql17-pgtcl SUBDIR += postgresql17-plperl SUBDIR += postgresql17-plpython SUBDIR += postgresql17-pltcl SUBDIR += postgresql17-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-aiosql 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-duckdb_engine SUBDIR += py-fakeredis SUBDIR += py-fastapi-users-db-ormar SUBDIR += py-fastparquet SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-pymongo 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-mariadb 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-powa-collector 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-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-sqlglotrs SUBDIR += py-sqlite-anyio SUBDIR += py-sqlite-fts4 SUBDIR += py-sqlite-migrate SUBDIR += py-sqlite-utils SUBDIR += py-sqlite3 SUBDIR += py-sqlobject SUBDIR += py-sqloxide 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 += redis72 SUBDIR += redis_exporter SUBDIR += redisdesktopmanager SUBDIR += redisjson SUBDIR += replibyte SUBDIR += retcl SUBDIR += rocksdb SUBDIR += rocksdb-jni 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-activemodel72 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-activerecord72 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-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-globalid-rails72 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-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-clustering52 SUBDIR += rubygem-redis-namespace SUBDIR += rubygem-redis-namespace110 SUBDIR += rubygem-redis4 SUBDIR += rubygem-redis52 SUBDIR += rubygem-ruby-mysql SUBDIR += rubygem-scenic61 SUBDIR += rubygem-sdbm SUBDIR += rubygem-seed-fu SUBDIR += rubygem-solid_cable SUBDIR += rubygem-solid_cache SUBDIR += rubygem-solid_queue 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 += xtrabackup84 SUBDIR += zodb .include diff --git a/databases/mongosh/Makefile b/databases/mongosh/Makefile new file mode 100644 index 000000000000..f181f49c9b31 --- /dev/null +++ b/databases/mongosh/Makefile @@ -0,0 +1,146 @@ +PORTNAME= mongosh +DISTVERSIONPREFIX= v +DISTVERSION= 2.2.5 +CATEGORIES= databases shells net +MASTER_SITES= https://registry.npmjs.org/mongodb-client-encryption/-/:mongocrypt \ + https://registry.npmjs.org/kerberos/-/:kerberos \ + https://registry.npmjs.org/os-dns-native/-/:dns \ + https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/${DISTVERSIONFULL}/:modules + # https://nodejs.org/dist/latest-v${NODEJS_VERSION}.x/:node +DISTFILES= mongodb-client-encryption-${MONGO_CRYPT_VER}.tgz:mongocrypt \ + kerberos-${KERBEROS_VER}.tgz:kerberos \ + os-dns-native-${OSDNSNATIVE_VER}.tgz:dns \ + ${NODE_MODULES_TARBALL}:modules \ + # ${NODEJS_TARBALL}:node \ + # SHASUMS256.txt:node +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${DISTFILE_DEFAULT} + +MAINTAINER= fabien.amelinck+freebsd@advens.fr +COMMENT= MongoDB Shell CLI REPL +WWW= https://github.com/mongodb-js/mongosh/ + +LICENSE= APACHE20 + +FETCH_DEPENDS= npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} +BUILD_DEPENDS= bash>0:shells/bash \ + brotli>=1.0.9,1:archivers/brotli \ + c-ares>=1.17.2:dns/c-ares \ + libnghttp2>=1.45.1:www/libnghttp2 \ + libuv>=1.42.0:devel/libuv \ + objdump:devel/binutils \ + git>0:devel/git \ + ${PREFIX}/include/gssapi/gssapi_generic.h:security/krb5 +RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss +LIB_DEPENDS= libmongocrypt.so:databases/libmongocrypt \ + libbrotlidec.so:archivers/brotli \ + libcares.so:dns/c-ares \ + libnghttp2.so:www/libnghttp2 \ + libuv.so:devel/libuv + +USES= compiler:c++11-lib gmake localbase pkgconfig nodejs:20,build python:build ssl + +USE_GITHUB= yes +GH_ACCOUNT= VultureProject +GH_PROJECT= mongosh + +MPROTECT_DISABLE= bin/mongosh + +CXXFLAGS+= -DNODE_API_EXPERIMENTAL \ + -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT + +CUSTOM_ENV= SEGMENT_API_KEY=dummy BUILD_TYPE=dynamic +CONFIGURE_ENV= ${CUSTOM_ENV} +MAKE_ENV= ${CUSTOM_ENV} \ + NODE_JS_VERSION=file://${_DISTDIR}/${NODEJS_TARBALL} \ + BOXEDNODE_CONFIGURE_ARGS="--shared-brotli,--shared-cares,--shared-libuv,--shared-nghttp2,--shared-zlib,--shared-openssl,--openssl-use-def-ca-store,--without-npm" +REINPLACE_ARGS= -i '' + +MONGO_CRYPT_VER=6.0.0 +KERBEROS_VER= 2.1.0 +OSDNSNATIVE_VER=1.2.0 +NODE_MODULES_DIR= ${WRKSRC}/node_modules +NODE_MODULES_TARBALL= ${PORTNAME}-${DISTVERSIONFULL}-node-modules.tar.xz +NPM_CACHE_DIR= /tmp/.npm +NODEJS_TARBALL= node-v${NODEJS_PORTVERSION}.tar.gz + +post-fetch: +.if !exists(/tmp/checkpoint) + ${FETCH_CMD} -o ${_DISTDIR} https://nodejs.org/dist/v${NODEJS_PORTVERSION}/${NODEJS_TARBALL} + ${FETCH_CMD} -o ${_DISTDIR} https://nodejs.org/dist/v${NODEJS_PORTVERSION}/SHASUMS256.txt + ${TOUCH} /tmp/checkpoint +.endif + +post-extract: +.if !exists(${NODE_MODULES_DIR}) + ${TAR} -xzf /${_DISTDIR}/${NODE_MODULES_TARBALL} -C ${WRKSRC} + ${REINPLACE_CMD} -e "s/'make'/'gmake'/g" \ + -e "s/'V='/'V=0'/g" \ + -e 's/(await (0, nv_1.default)(range)).pop()/{"version": "${NODEJS_PORTVERSION}"}/g' \ + -e "s|\$${releaseBaseUrl}/\(SHASUMS256.txt\)|${_DISTDIR}/\1|g" \ + -e 's/await (0, node_fetch_1.default)(shaSumsUrl)/{"ok":1}/g' \ + -e "s/shaSums.text()/fs_1.promises.readFile(shaSumsUrl, 'utf8')/g" \ + -e "s/catch (_a) { }/catch (_a) { console.error(_a) }/g" \ + ${NODE_MODULES_DIR}/boxednode/lib/index.js + ${GREP} -A20 "const shaSumsUrl" ${NODE_MODULES_DIR}/boxednode/lib/index.js + ${REINPLACE_CMD} -e "s|\('install',\) \('--ignore-scripts'\)|\1 '--offline', '--cache ${NPM_CACHE_DIR}', \2|g" \ + ${NODE_MODULES_DIR}/boxednode/lib/native-addons.js + ${GREP} "ignore-scripts" ${NODE_MODULES_DIR}/boxednode/lib/native-addons.js +.endif + +post-patch: + ${FIND} ${WRKSRC}/scripts -name "*.orig" -delete + ${CP} -v ${FILESDIR}/node-patches/* ${WRKSRC}/scripts/nodejs-patches + +do-configure: +.for module in mongodb-client-encryption kerberos os-dns-native + cd ${NODE_MODULES_DIR}/${module} && ${CONFIGURE_ENV} node-gyp configure --nodedir=${LOCALBASE} +.endfor + +do-build: +.for module in mongodb-client-encryption kerberos os-dns-native + cd ${NODE_MODULES_DIR}/${module} && ${MAKE_ENV} ${MAKE_CMD} BUILDTYPE=Release -C build -d +.endfor + ${REINPLACE_CMD} 's/"version": "0.0.0-dev.0"/"version": "${DISTVERSION}"/g' ${WRKSRC}/packages/cli-repl/package.json + cd ${WRKSRC} && ${MAKE_ENV} /usr/local/bin/npm run compile-exec + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dist/mongosh ${STAGEDIR}${PREFIX}/bin + +npm-pkg-list: extract + ${GREP} registry.npmjs.org ${WRKSRC}/package-lock.json | \ + | ${SED} -E 's/^[[:space:]]+//g' \ + | ${SED} -E 's#^.*org/|.tgz",##g' \ + | ${SORT} \ + | /usr/bin/uniq \ + | ${SED} -E 's/(.*)-([^-])/\1@\2/g' \ + | ${SED} -E 's|/-/.*@|@|g' \ + > ${FILESDIR}/npm-pkg.list + +.for module in mongodb-client-encryption kerberos os-dns-native mongodb-crypt-library-version glibc-version + cd ${NODE_MODULES_DIR}/${module} && /usr/local/bin/npm list 2>/dev/null \ + | ${GREP} UNMET \ + | ${AWK} 'BEGIN{FS="UNMET DEPENDENCY "}{print $$2}' \ + > ${FILESDIR}/npm-pkg-${module}.list +.endfor + +node-modules-archive: build + ${RM} -R ${NODE_MODULES_DIR} +.for module in mongodb-client-encryption kerberos os-dns-native + ${MKDIR} -v ${NODE_MODULES_DIR}/${module} + ${TAR} -xzf ${_DISTDIR}/${module}-*.tgz -C ${NODE_MODULES_DIR}/${module} --strip-components 1 +.endfor + for f in ${FILESDIR}/node-modules-patches/*; do patch -N -d ${WRKSRC} < $$f; done + + cd ${WRKSRC} && npx cross-env PUPPETEER_SKIP_DOWNLOAD=1 /usr/local/bin/npm install --cache ${NPM_CACHE_DIR} + +.for module in mongodb-client-encryption kerberos os-dns-native mongodb-crypt-library-version glibc-version + /usr/local/bin/npm cache add $$(cat ${FILESDIR}/npm-pkg-${module}.list) --cache ${NPM_CACHE_DIR} || true + cd ${NODE_MODULES_DIR}/${module} && ${CONFIGURE_ENV} /usr/local/bin/npm install --ignore-scripts --cache ${NPM_CACHE_DIR} +.endfor + ${FIND} ${WRKSRC} -name "*.orig" -or -name "*.bak" -delete + + cd ${WRKSRC} && ${TAR} -cJf /tmp/${NODE_MODULES_TARBALL} node_modules + +.include +.include "${PORTSDIR}/www/node${NODEJS_VERSION}/Makefile.version" diff --git a/databases/mongosh/distinfo b/databases/mongosh/distinfo new file mode 100644 index 000000000000..8dffa8c17bde --- /dev/null +++ b/databases/mongosh/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1731685667 +SHA256 (mongosh/mongodb-client-encryption-6.0.0.tgz) = b72d6ad4e4c449ba4548f8f4f8708d37c1490c6615caefa8c56a02f22897b64a +SIZE (mongosh/mongodb-client-encryption-6.0.0.tgz) = 15734 +SHA256 (mongosh/kerberos-2.1.0.tgz) = eeb1d33472dcf15be8ae46e30ffc76455a62356a91cee52bb8d48f97a35a58c7 +SIZE (mongosh/kerberos-2.1.0.tgz) = 28988 +SHA256 (mongosh/os-dns-native-1.2.0.tgz) = cfe145091dd469c4fe6923b61ef85621222526a0ed74b01b6b3739069d244f7d +SIZE (mongosh/os-dns-native-1.2.0.tgz) = 6525 +SHA256 (mongosh/mongosh-v2.2.5-node-modules.tar.xz) = 2a1f75f49bcb49a93bd58d38d8a3fdbae685d57ade77e85b95ceba10c5b047c3 +SIZE (mongosh/mongosh-v2.2.5-node-modules.tar.xz) = 155537736 +SHA256 (mongosh/VultureProject-mongosh-v2.2.5_GH0.tar.gz) = 38fd3c21433d2b8d371161941843a3c6a6652e41c4a9d3cfa3917164630f3928 +SIZE (mongosh/VultureProject-mongosh-v2.2.5_GH0.tar.gz) = 8653615 diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp b/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp new file mode 100644 index 000000000000..6c40a322285e --- /dev/null +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_binding.gyp @@ -0,0 +1,32 @@ +--- node_modules/kerberos/binding.gyp.orig 2024-05-13 15:16:38 UTC ++++ node_modules/kerberos/binding.gyp +@@ -34,14 +34,18 @@ + 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden + } + }], +- ['OS=="mac" or OS=="linux"', { ++ ['OS=="mac" or OS=="linux" or OS=="freebsd"', { + 'sources': [ + 'src/unix/base64.cc', + 'src/unix/kerberos_gss.cc', + 'src/unix/kerberos_unix.cc' + ] + }], +- ['(OS=="mac" or OS=="linux") and (kerberos_use_rtld!="true")', { ++ ['(OS=="mac" or OS=="linux" or OS=="freebsd") and (kerberos_use_rtld!="true")', { ++ 'defines': ['NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT'], ++ 'include_dirs': [ ++ '/usr/local/include' ++ ], + 'link_settings': { + 'libraries': [ + '-lkrb5', +@@ -58,7 +62,7 @@ + }] + ] + }], +- ['(OS=="mac" or OS=="linux") and (kerberos_use_rtld=="true")', { ++ ['(OS=="mac" or OS=="linux" or OS=="freebsd") and (kerberos_use_rtld=="true")', { + 'defines': ['KERBEROS_USE_RTLD=1'], + 'link_settings': { + 'libraries': [ diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_src_kerberos__common.h b/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_src_kerberos__common.h new file mode 100644 index 000000000000..ca2ad82d6d29 --- /dev/null +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_kerberos_src_kerberos__common.h @@ -0,0 +1,11 @@ +--- node_modules/kerberos/src/kerberos_common.h.orig 2024-05-13 16:09:25 UTC ++++ node_modules/kerberos/src/kerberos_common.h +@@ -1,7 +1,7 @@ + #ifndef KERBEROS_COMMON_H + #define KERBEROS_COMMON_H + +-#if defined(__linux__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) + #include "unix/kerberos_gss.h" + + namespace node_kerberos { diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp b/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp new file mode 100644 index 000000000000..bf3a39c2554f --- /dev/null +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_binding.gyp @@ -0,0 +1,35 @@ +--- node_modules/mongodb-client-encryption/binding.gyp.orig 2024-05-13 14:10:24 UTC ++++ node_modules/mongodb-client-encryption/binding.gyp +@@ -38,9 +38,14 @@ + } + }], + ['build_type=="dynamic"', { ++ 'defines': [ 'NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT' ], ++ 'include_dirs': [ ++ '/usr/include', ++ '/usr/local/include' ++ ], + 'link_settings': { + 'libraries': [ +- '-lmongocrypt' ++ '-L/usr/local/lib -lmongocrypt' + ] + } + }], +@@ -48,13 +53,12 @@ + 'conditions': [ + ['OS!="win"', { + 'include_dirs': [ +- '<(module_root_dir)/deps/include' ++ '/usr/include', ++ '/usr/local/include' + ], + 'link_settings': { + 'libraries': [ +- '<(module_root_dir)/deps/lib/libmongocrypt-static.a', +- '<(module_root_dir)/deps/lib/libkms_message-static.a', +- '<(module_root_dir)/deps/lib/libbson-static-for-libmongocrypt.a' ++ '-L/usr/local/lib -lmongocrypt' + ] + } + }], diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_package.json b/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_package.json new file mode 100644 index 000000000000..63545e891861 --- /dev/null +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_mongodb-client-encryption_package.json @@ -0,0 +1,11 @@ +--- node_modules/mongodb-client-encryption/package.json.orig 2024-05-13 13:50:11 UTC ++++ node_modules/mongodb-client-encryption/package.json +@@ -16,7 +16,7 @@ + "lib": "lib" + }, + "scripts": { +- "install": "prebuild-install --runtime napi --tag-prefix node-v || node-gyp rebuild", ++ "install": "prebuild-install --runtime napi --tag-prefix node-v || BUILD_TYPE=dynamic node-gyp rebuild", + "build:ts": "tsc", + "clang-format": "clang-format --style=file:.clang-format --Werror -i addon/*", + "check:eslint": "eslint src test", diff --git a/databases/mongosh/files/node-modules-patches/patch-node__modules_os-dns-native_binding.gyp b/databases/mongosh/files/node-modules-patches/patch-node__modules_os-dns-native_binding.gyp new file mode 100644 index 000000000000..340a86450dc4 --- /dev/null +++ b/databases/mongosh/files/node-modules-patches/patch-node__modules_os-dns-native_binding.gyp @@ -0,0 +1,13 @@ +--- node_modules/os-dns-native/binding.gyp.orig 2024-05-13 16:56:54 UTC ++++ node_modules/os-dns-native/binding.gyp +@@ -19,10 +19,6 @@ + "link_settings": { + "libraries": ["-ldnsapi"] + } +- }, { +- "link_settings": { +- "libraries": ["-lresolv"] +- } + }] + ] + }] diff --git a/databases/mongosh/files/node-patches/004-openssl3 b/databases/mongosh/files/node-patches/004-openssl3 new file mode 100644 index 000000000000..6b1f10fb4a83 --- /dev/null +++ b/databases/mongosh/files/node-patches/004-openssl3 @@ -0,0 +1,15 @@ +--- a/src/crypto/crypto_util.cc 2023-05-16 06:58:21 UTC ++++ b/src/crypto/crypto_util.cc +@@ -205,10 +205,12 @@ void InitCryptoOnce() { + // No-op with OPENSSL_NO_COMP builds of OpenSSL. + sk_SSL_COMP_zero(SSL_COMP_get_compression_methods()); + ++#if OPENSSL_VERSION_MAJOR < 3 + #ifndef OPENSSL_NO_ENGINE + ERR_load_ENGINE_strings(); + ENGINE_load_builtin_engines(); + #endif // !OPENSSL_NO_ENGINE ++#endif + } + + void GetFipsCrypto(const FunctionCallbackInfo& args) { diff --git a/databases/mongosh/files/node-patches/005-src_cares__wrap.h b/databases/mongosh/files/node-patches/005-src_cares__wrap.h new file mode 100644 index 000000000000..80c07e6aab7a --- /dev/null +++ b/databases/mongosh/files/node-patches/005-src_cares__wrap.h @@ -0,0 +1,11 @@ +--- a/src/cares_wrap.h 2023-05-16 06:58:21 UTC ++++ b/src/cares_wrap.h +@@ -23,7 +23,7 @@ + # include + #endif // __POSIX__ + +-# include ++# include + + namespace node { + namespace cares_wrap { diff --git a/databases/mongosh/files/patch-package.json b/databases/mongosh/files/patch-package.json new file mode 100644 index 000000000000..001034097bb1 --- /dev/null +++ b/databases/mongosh/files/patch-package.json @@ -0,0 +1,36 @@ +--- package.json.orig 2024-05-15 14:01:43 UTC ++++ package.json +@@ -9,7 +9,7 @@ + "author": "Compass Team ", + "scripts": { + "bootstrap-with-chromium": "npm install && npm run compile", +- "bootstrap": "npx cross-env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install && npm run compile", ++ "bootstrap": "npx cross-env PUPPETEER_SKIP_DOWNLOAD=1 npm install && npm run compile", + "clean": "lerna clean -y && rm -Rf node_modules", + "check": "lerna run check --since HEAD --exclude-dependents", + "check-ci": "npm run check --workspaces --if-present", +@@ -33,7 +33,7 @@ + "start-browser": "npm run start --workspace @mongosh/browser-repl", + "start": "npm run start-cli", + "precompile-exec": "npm run compile-cli", +- "compile-exec": "npm run evergreen-release compile", ++ "compile-exec": "SEGMENT_API_KEY=dummy npm run evergreen-release compile", + "compile-all": "npm run compile-compass && npm run compile-exec", + "evergreen-release": "cd packages/build && npm run evergreen-release --", + "release": "cd packages/build && npm run release --", +@@ -59,7 +59,6 @@ + "create-vulnerability-tickets": "mongodb-sbom-tools generate-vulnerability-report --snyk-reports=.sbom/snyk-test-result.json,.sbom/node-js-vuln.json --dependencies=.sbom/dependencies.json,.sbom/node-js-dep.json --create-jira-issues", + "where": "monorepo-where", + "reformat": "npm run reformat --workspaces --if-present", +- "prepare": "husky install", + "precommit": "precommit", + "preinstall": "node scripts/sort-workspaces.js" + }, +@@ -101,7 +100,6 @@ + "duplexpair": "^1.0.2", + "find-up": "^5.0.0", + "glob": "^10.3.12", +- "husky": "^8.0.3", + "mocha": "^10.2.0", + "mongodb": "^6.5.0", + "mongodb-runner": "^5.4.6", diff --git a/databases/mongosh/files/patch-scripts_nodejs-patches_002-workaround-node-bug-52229 b/databases/mongosh/files/patch-scripts_nodejs-patches_002-workaround-node-bug-52229 new file mode 100644 index 000000000000..bed349e3cb91 --- /dev/null +++ b/databases/mongosh/files/patch-scripts_nodejs-patches_002-workaround-node-bug-52229 @@ -0,0 +1,17 @@ +--- scripts/nodejs-patches/002-workaround-node-bug-52229.orig 2024-05-16 08:32:21 UTC ++++ scripts/nodejs-patches/002-workaround-node-bug-52229 +@@ -2,13 +2,12 @@ diff --git a/common.gypi b/common.gypi + index efcd8da84815..fe11453f09b5 100644 + --- a/common.gypi + +++ b/common.gypi +-@@ -268,6 +268,9 @@ ++@@ -268,6 +268,8 @@ + # Defines these mostly for node-gyp to pickup. + 'defines': [ + '_GLIBCXX_USE_CXX11_ABI=1', + + # Work around https://github.com/nodejs/node/issues/52229 + + "NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1", +-+ "NAPI_EXPERIMENTAL=1", + ], + + # Forcibly disable -Werror. We support a wide range of compilers, it's diff --git a/databases/mongosh/files/patch-scripts_prep-fle-addon.sh b/databases/mongosh/files/patch-scripts_prep-fle-addon.sh new file mode 100644 index 000000000000..bfc90c06c7bb --- /dev/null +++ b/databases/mongosh/files/patch-scripts_prep-fle-addon.sh @@ -0,0 +1,20 @@ +--- scripts/prep-fle-addon.sh.orig 2024-05-13 17:26:57 UTC ++++ scripts/prep-fle-addon.sh +@@ -62,7 +62,7 @@ if [ x"$PREBUILT_OSNAME" != x"" ]; then + mv -v prebuilts/nocrypto/include include + mv -v prebuilts/$LIB/*bson* lib + rm -rf prebuilts +-else ++elif [ `uname` != FreeBSD ]; then + if [ `uname` = Darwin ]; then + export CFLAGS="-mmacosx-version-min=10.15"; + fi +@@ -86,7 +86,7 @@ else + cd ../../ + fi + +-if [ x"$FLE_NODE_SOURCE_PATH" != x"" ]; then ++if [ x"$FLE_NODE_SOURCE_PATH" != x"" -a `uname` != FreeBSD -a "$BUILD_TYPE" != dynamic ]; then + mkdir -p "$FLE_NODE_SOURCE_PATH"/deps/lib + mkdir -p "$FLE_NODE_SOURCE_PATH"/deps/include + cp -rv "$BUILDROOT"/lib*/*-static* "$FLE_NODE_SOURCE_PATH"/deps/lib diff --git a/databases/mongosh/files/patch-scripts_sort-workspaces.js b/databases/mongosh/files/patch-scripts_sort-workspaces.js new file mode 100644 index 000000000000..0fe4e6da9222 --- /dev/null +++ b/databases/mongosh/files/patch-scripts_sort-workspaces.js @@ -0,0 +1,11 @@ +--- scripts/sort-workspaces.js.orig 2024-05-03 16:42:16 UTC ++++ scripts/sort-workspaces.js +@@ -22,7 +22,7 @@ async function main() { + )); + + // should use the scopes in lerna.json +- const { stdout } = await exec('npx -y lerna ls --all --no-since --toposort --json'); ++ const { stdout } = await exec('npx -y lerna ls --all --toposort --json'); + packageJSON.workspaces = JSON.parse(stdout).map(({ location }) => path.relative(monorepoRoot, location)); + + await fs.writeFile( diff --git a/databases/mongosh/pkg-descr b/databases/mongosh/pkg-descr new file mode 100644 index 000000000000..1bacc1542255 --- /dev/null +++ b/databases/mongosh/pkg-descr @@ -0,0 +1,5 @@ +Standalone MongoDB Shell replacing deprecated Mongo CLI. +NodeJS doesn't need to be installed. + +This port is maintained by VultureOS Team. +Contact us if you experience any issue: https://discord.gg/E5Bs97J diff --git a/databases/mongosh/pkg-plist b/databases/mongosh/pkg-plist new file mode 100644 index 000000000000..061e8b2e4302 --- /dev/null +++ b/databases/mongosh/pkg-plist @@ -0,0 +1 @@ +bin/mongosh