Index: head/databases/Makefile =================================================================== --- head/databases/Makefile (revision 499326) +++ head/databases/Makefile (revision 499327) @@ -1,1054 +1,1055 @@ # $FreeBSD$ # COMMENT = Databases and related software SUBDIR += R-cran-DBI SUBDIR += R-cran-RMySQL SUBDIR += R-cran-RPostgreSQL SUBDIR += R-cran-RSQLite SUBDIR += R-cran-RSQLite.extfuns SUBDIR += R-cran-sqldf SUBDIR += WWWdb SUBDIR += adabase SUBDIR += adminer SUBDIR += adodb SUBDIR += adodb5 SUBDIR += akonadi SUBDIR += apq SUBDIR += apq-mysql SUBDIR += apq-odbc SUBDIR += apq-pgsql SUBDIR += arangodb32 SUBDIR += arangodb33 SUBDIR += ateam_mysql_ldap_auth SUBDIR += autobackupmysql SUBDIR += automysqlbackup SUBDIR += bbdb SUBDIR += beansdb SUBDIR += buzhug SUBDIR += c3p0 SUBDIR += cassandra-cpp-driver SUBDIR += cassandra3 SUBDIR += casstcl SUBDIR += cayley SUBDIR += cdb SUBDIR += cego SUBDIR += cegobridge SUBDIR += clickhouse SUBDIR += cockroach SUBDIR += couchdb SUBDIR += couchdb2 SUBDIR += courier-authlib-mysql SUBDIR += courier-authlib-pgsql SUBDIR += courier-authlib-userdb SUBDIR += courier-authlib-usergdbm SUBDIR += cppdb SUBDIR += credis SUBDIR += dalmp SUBDIR += datamodeler SUBDIR += db SUBDIR += db48 SUBDIR += db5 SUBDIR += db6 SUBDIR += dbconnect SUBDIR += dbf SUBDIR += dbh SUBDIR += dbixx SUBDIR += dbow SUBDIR += dbtool SUBDIR += dbview SUBDIR += elixir-calecto SUBDIR += elixir-db_connection SUBDIR += elixir-ecto SUBDIR += elixir-exredis SUBDIR += elixir-geo SUBDIR += elixir-mariaex SUBDIR += elixir-mongo SUBDIR += elixir-postgrex SUBDIR += elixir-timex_ecto SUBDIR += emma SUBDIR += erlang-couchbeam SUBDIR += erlang-epgsql SUBDIR += erlang-eredis SUBDIR += evolution-data-server SUBDIR += fastdb SUBDIR += firebird25-client SUBDIR += firebird25-server SUBDIR += fortytwo-bdb SUBDIR += foundationdb SUBDIR += fpc-dblib SUBDIR += fpc-fpindexer SUBDIR += fpc-gdbm SUBDIR += fpc-ibase SUBDIR += fpc-mysql SUBDIR += fpc-odbc SUBDIR += fpc-oracle SUBDIR += fpc-postgres SUBDIR += fpc-pxlib SUBDIR += fpc-sqlite SUBDIR += freetds SUBDIR += freetds-devel SUBDIR += frontbase-jdbc SUBDIR += gadfly SUBDIR += galera SUBDIR += gdbm SUBDIR += geoserver-mysql-plugin SUBDIR += gigabase SUBDIR += gnats4 SUBDIR += gnatsweb4 SUBDIR += go-carbon SUBDIR += gom SUBDIR += gqlplus SUBDIR += grass7 SUBDIR += gtksql SUBDIR += hamsterdb SUBDIR += hashtypes SUBDIR += hbase SUBDIR += hiredis SUBDIR += hs-esqueleto SUBDIR += hs-hedis SUBDIR += hs-mysql SUBDIR += hs-persistent SUBDIR += hs-persistent-sqlite SUBDIR += hs-persistent-template SUBDIR += hsqldb SUBDIR += influxdb SUBDIR += innotop SUBDIR += iowow SUBDIR += ip4r SUBDIR += ipa_sdb SUBDIR += iplike SUBDIR += isql-viewer SUBDIR += jakarta-commons-dbutils SUBDIR += jasperreports SUBDIR += jdb SUBDIR += jdbc-oracle11g SUBDIR += jlog SUBDIR += jrobin SUBDIR += jrrd SUBDIR += kbibtex SUBDIR += kdb SUBDIR += kexi SUBDIR += kyotocabinet SUBDIR += kyototycoon SUBDIR += ldb SUBDIR += ldb12 SUBDIR += ldb13 SUBDIR += ldb14 SUBDIR += leo_center SUBDIR += leofs SUBDIR += leveldb SUBDIR += libcouchbase SUBDIR += libdbi SUBDIR += libdbi-drivers SUBDIR += libdrizzle SUBDIR += libdrizzle-redux SUBDIR += libgda5 SUBDIR += libgda5-bdb SUBDIR += libgda5-jdbc SUBDIR += libgda5-ldap SUBDIR += libgda5-mdb SUBDIR += libgda5-mysql SUBDIR += libgda5-postgresql SUBDIR += libgda5-ui SUBDIR += libgdamm5 SUBDIR += libhsclient SUBDIR += libiodbc SUBDIR += libmemcache SUBDIR += libmemcached SUBDIR += libmongo-client SUBDIR += libnvpair SUBDIR += libodbc++ SUBDIR += libpbl SUBDIR += libpqtypes SUBDIR += libsdb SUBDIR += libzdb SUBDIR += linux-c6-sqlite3 SUBDIR += linux-c7-sqlite3 SUBDIR += linux-oracle-instantclient-basic SUBDIR += linux-oracle-instantclient-sdk SUBDIR += linux-oracle-instantclient-sqlplus SUBDIR += liquibase SUBDIR += lmdb 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 += mariadb101-client SUBDIR += mariadb101-server SUBDIR += mariadb102-client SUBDIR += mariadb102-server SUBDIR += mariadb103-client SUBDIR += mariadb103-server SUBDIR += mariadb55-client SUBDIR += mariadb55-server SUBDIR += mdbtools SUBDIR += mdcached SUBDIR += memcached SUBDIR += memcacheq SUBDIR += metakit SUBDIR += monetdb SUBDIR += mongodb34 SUBDIR += mongodb34-tools SUBDIR += mongodb36 SUBDIR += mongodb36-tools SUBDIR += mongodb40 + SUBDIR += mongodb40-tools SUBDIR += mroonga SUBDIR += mrtg-mysql-load SUBDIR += mtools-mongodb SUBDIR += mtop SUBDIR += mydbf2mysql SUBDIR += mydumper SUBDIR += mysac SUBDIR += mysql++1 SUBDIR += mysql++3 SUBDIR += mysql-connector-c SUBDIR += mysql-connector-c++ SUBDIR += mysql-connector-java SUBDIR += mysql-connector-java51 SUBDIR += mysql-connector-odbc SUBDIR += mysql-q4m SUBDIR += mysql-udf SUBDIR += mysql2odbc SUBDIR += mysql2pgsql SUBDIR += mysql55-client SUBDIR += mysql55-server SUBDIR += mysql56-client SUBDIR += mysql56-server SUBDIR += mysql57-client SUBDIR += mysql57-server SUBDIR += mysql80-client SUBDIR += mysql80-server SUBDIR += mysqlbackup SUBDIR += mysqlbigram SUBDIR += mysqldump-secure SUBDIR += mysqlidxchk SUBDIR += mysqlreport SUBDIR += mysqlsla SUBDIR += mysqlsniffer SUBDIR += mysqltcl SUBDIR += mysqltuner SUBDIR += mysqlwsrep56-server SUBDIR += mysqlwsrep57-server SUBDIR += mytop SUBDIR += nagios-check_mongodb SUBDIR += nagios-check_postgres_replication SUBDIR += nagios-check_redis SUBDIR += namazu2 SUBDIR += neo4j SUBDIR += ntdb SUBDIR += ocaml-dbm SUBDIR += ocaml-mysql SUBDIR += ocaml-sqlite3 SUBDIR += openark-kit SUBDIR += opendbviewer SUBDIR += opendbx SUBDIR += opentsdb 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-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-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-Dump SUBDIR += p5-DBIx-Ease 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-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-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-DMOZ-ParseRDF 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-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-Limit SUBDIR += p5-SQL-Abstract-More SUBDIR += p5-SQL-Abstract-Plugin-InsertMulti SUBDIR += p5-SQL-Interp SUBDIR += p5-SQL-Maker SUBDIR += p5-SQL-ReservedWords 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-Search-Xapian10 SUBDIR += p5-Search-Xapian12 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-DoctrineORM 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_mysql 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_DBQuery SUBDIR += pear-Structures_DataGrid_DataSource_DBTable SUBDIR += pear-Structures_DataGrid_DataSource_DataObject SUBDIR += pear-Structures_DataGrid_DataSource_MDB2 SUBDIR += pear-Structures_DataGrid_DataSource_PDO SUBDIR += pear-XML_Query2XML SUBDIR += pecl-cassandra SUBDIR += pecl-couchbase SUBDIR += pecl-leveldb SUBDIR += pecl-memcached SUBDIR += pecl-mongodb SUBDIR += pecl-redis SUBDIR += pecl-redis3 SUBDIR += pecl-rrd SUBDIR += percona-pam-for-mysql SUBDIR += percona-toolkit SUBDIR += percona55-client SUBDIR += percona55-server SUBDIR += percona56-client SUBDIR += percona56-server SUBDIR += percona57-client SUBDIR += percona57-pam-for-mysql SUBDIR += percona57-server SUBDIR += pgFormatter SUBDIR += pg_activity SUBDIR += pg_citus SUBDIR += pg_dirtyread SUBDIR += pg_partman SUBDIR += pg_qualstats SUBDIR += pg_reorg SUBDIR += pg_repack SUBDIR += pg_similarity SUBDIR += pg_stat_kcache SUBDIR += pgaccess SUBDIR += pgadmin3 SUBDIR += pgagent SUBDIR += pgbadger SUBDIR += pgbarman SUBDIR += pgbouncer SUBDIR += pgdbf SUBDIR += pgespresso SUBDIR += pgfouine SUBDIR += pgloader SUBDIR += pgloader3 SUBDIR += pglogical SUBDIR += pgmetrics SUBDIR += pgmodeler SUBDIR += pgpool SUBDIR += pgpool-II-35 SUBDIR += pgpool-II-36 SUBDIR += pgpool-II-37 SUBDIR += pgpool-II-40 SUBDIR += pgreplay SUBDIR += pgroonga SUBDIR += pgrouting SUBDIR += pgsanity SUBDIR += pgsphere SUBDIR += pgtcl SUBDIR += pgtop SUBDIR += pgtune SUBDIR += pguri SUBDIR += pgworksheet SUBDIR += php-memcache SUBDIR += php-tarantool SUBDIR += php-xapian SUBDIR += php71-dba SUBDIR += php71-interbase SUBDIR += php71-mysqli SUBDIR += php71-odbc SUBDIR += php71-pdo SUBDIR += php71-pdo_dblib SUBDIR += php71-pdo_firebird SUBDIR += php71-pdo_mysql SUBDIR += php71-pdo_odbc SUBDIR += php71-pdo_pgsql SUBDIR += php71-pdo_sqlite SUBDIR += php71-pgsql SUBDIR += php71-sqlite3 SUBDIR += php72-dba SUBDIR += php72-interbase SUBDIR += php72-mysqli SUBDIR += php72-odbc SUBDIR += php72-pdo SUBDIR += php72-pdo_dblib SUBDIR += php72-pdo_firebird SUBDIR += php72-pdo_mysql SUBDIR += php72-pdo_odbc SUBDIR += php72-pdo_pgsql SUBDIR += php72-pdo_sqlite SUBDIR += php72-pgsql SUBDIR += php72-sqlite3 SUBDIR += php73-dba SUBDIR += php73-interbase SUBDIR += php73-mysqli SUBDIR += php73-odbc SUBDIR += php73-pdo SUBDIR += php73-pdo_dblib SUBDIR += php73-pdo_firebird SUBDIR += php73-pdo_mysql SUBDIR += php73-pdo_odbc SUBDIR += php73-pdo_pgsql SUBDIR += php73-pdo_sqlite SUBDIR += php73-pgsql SUBDIR += php73-sqlite3 SUBDIR += phpliteadmin SUBDIR += phpminiadmin SUBDIR += phpmyadmin SUBDIR += phppgadmin SUBDIR += pldebugger SUBDIR += plpgsql_check SUBDIR += pointcloud SUBDIR += postgis-jdbc SUBDIR += postgis20 SUBDIR += postgis21 SUBDIR += postgis22 SUBDIR += postgis23 SUBDIR += postgis24 SUBDIR += postgis25 SUBDIR += postgres-xl SUBDIR += postgresql-cstore_fdw SUBDIR += postgresql-jdbc SUBDIR += postgresql-libpgeasy SUBDIR += postgresql-libpqxx SUBDIR += postgresql-libpqxx3 SUBDIR += postgresql-libpqxx4 SUBDIR += postgresql-mysql_fdw SUBDIR += postgresql-odbc SUBDIR += postgresql-orafce SUBDIR += postgresql-plproxy SUBDIR += postgresql-plruby SUBDIR += postgresql-plv8js SUBDIR += postgresql-prefix SUBDIR += postgresql-relay SUBDIR += postgresql-repmgr SUBDIR += postgresql-tds_fdw SUBDIR += postgresql-zhparser SUBDIR += postgresql10-client SUBDIR += postgresql10-contrib SUBDIR += postgresql10-docs SUBDIR += postgresql10-pgtcl SUBDIR += postgresql10-plperl SUBDIR += postgresql10-plpython SUBDIR += postgresql10-pltcl SUBDIR += postgresql10-server SUBDIR += postgresql11-client SUBDIR += postgresql11-contrib SUBDIR += postgresql11-docs SUBDIR += postgresql11-pgtcl SUBDIR += postgresql11-plperl SUBDIR += postgresql11-plpython SUBDIR += postgresql11-pltcl SUBDIR += postgresql11-server SUBDIR += postgresql94-client SUBDIR += postgresql94-contrib SUBDIR += postgresql94-docs SUBDIR += postgresql94-pgtcl SUBDIR += postgresql94-plperl SUBDIR += postgresql94-plpython SUBDIR += postgresql94-pltcl SUBDIR += postgresql94-server SUBDIR += postgresql95-client SUBDIR += postgresql95-contrib SUBDIR += postgresql95-docs SUBDIR += postgresql95-pgtcl SUBDIR += postgresql95-plperl SUBDIR += postgresql95-plpython SUBDIR += postgresql95-pltcl SUBDIR += postgresql95-server SUBDIR += postgresql96-client SUBDIR += postgresql96-contrib SUBDIR += postgresql96-docs SUBDIR += postgresql96-pgtcl SUBDIR += postgresql96-plperl SUBDIR += postgresql96-plpython SUBDIR += postgresql96-pltcl SUBDIR += postgresql96-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 += pspg SUBDIR += puppetdb-cli SUBDIR += puppetdb-terminus5 SUBDIR += puppetdb-terminus6 SUBDIR += puppetdb5 SUBDIR += puppetdb6 SUBDIR += pure-sql3 SUBDIR += puredb SUBDIR += pxlib SUBDIR += pxtools SUBDIR += py-Elixir SUBDIR += py-MySQLdb SUBDIR += py-MySQLdb55 SUBDIR += py-MySQLdb56 SUBDIR += py-PyGreSQL SUBDIR += py-Pyrseas SUBDIR += py-agate-sql SUBDIR += py-aiopg SUBDIR += py-aioredis SUBDIR += py-alembic SUBDIR += py-apsw SUBDIR += py-asyncpg SUBDIR += py-bsddb SUBDIR += py-bsddb3 SUBDIR += py-carbon SUBDIR += py-cassandra-driver SUBDIR += py-cdb SUBDIR += py-couchdb SUBDIR += py-cql SUBDIR += py-dbf SUBDIR += py-dbutils SUBDIR += py-django-transaction-hooks SUBDIR += py-fakeredis SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-sqlalchemy SUBDIR += py-forgetsql SUBDIR += py-gdbm SUBDIR += py-geoalchemy SUBDIR += py-geoalchemy2 SUBDIR += py-hiredis SUBDIR += py-htsql SUBDIR += py-htsql-mysql SUBDIR += py-htsql-pgsql SUBDIR += py-influxdb SUBDIR += py-kyotocabinet SUBDIR += py-leveldb SUBDIR += py-lmdb SUBDIR += py-marshmallow-sqlalchemy SUBDIR += py-mongoengine SUBDIR += py-motor SUBDIR += py-mycli SUBDIR += py-mysql-connector-python SUBDIR += py-mysql-connector-python2 SUBDIR += py-mysql2pgsql SUBDIR += py-mysqlclient SUBDIR += py-oops SUBDIR += py-oursql SUBDIR += py-peewee SUBDIR += py-pg8000 SUBDIR += py-pg8000-112 SUBDIR += py-pg_pqueue SUBDIR += py-pgcli SUBDIR += py-pgdbconn SUBDIR += py-pglast SUBDIR += py-pglite SUBDIR += py-pgspecial SUBDIR += py-pgxnclient SUBDIR += py-pickledb SUBDIR += py-pickleshare SUBDIR += py-postgresql SUBDIR += py-psycogreen SUBDIR += py-psycopg2 SUBDIR += py-psycopg2cffi SUBDIR += py-pum SUBDIR += py-pyPgSQL SUBDIR += py-pyhs SUBDIR += py-pylibmc SUBDIR += py-pymssql SUBDIR += py-pymysql SUBDIR += py-pyodbc SUBDIR += py-pypuppetdb SUBDIR += py-pypuppetdb03 SUBDIR += py-pytc SUBDIR += py-python-arango SUBDIR += py-python-memcached SUBDIR += py-python-rrdtool SUBDIR += py-python-sql SUBDIR += py-python-swiftclient SUBDIR += py-qt5-sql SUBDIR += py-queries SUBDIR += py-rb SUBDIR += py-redis SUBDIR += py-riak SUBDIR += py-rrdtool_lgpl SUBDIR += py-sispy SUBDIR += py-south SUBDIR += py-sqlalchemy-migrate SUBDIR += py-sqlalchemy10 SUBDIR += py-sqlalchemy11 SUBDIR += py-sqlalchemy12 SUBDIR += py-sqlalchemy13 SUBDIR += py-sqlite3 SUBDIR += py-sqlite3dbm SUBDIR += py-sqlobject SUBDIR += py-sqlparse SUBDIR += py-sqlparse020 SUBDIR += py-sqlrelay SUBDIR += py-swift SUBDIR += py-sybase SUBDIR += py-tableschema SUBDIR += py-tarantool SUBDIR += py-umemcache SUBDIR += py-unqlite SUBDIR += py-varstack SUBDIR += py-whisper SUBDIR += py-xapian SUBDIR += py-zodbpickle SUBDIR += pydbx SUBDIR += pymongo SUBDIR += pypy-gdbm SUBDIR += pypy-sqlite3 SUBDIR += pyspatialite SUBDIR += qdbm SUBDIR += qdbm-plus SUBDIR += qof SUBDIR += qt5-sql SUBDIR += qt5-sqldrivers-ibase 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 += recutils SUBDIR += redis SUBDIR += redis-devel SUBDIR += redis_exporter SUBDIR += redisdesktopmanager SUBDIR += retcl SUBDIR += riak SUBDIR += rocksdb SUBDIR += rocksdb-lite SUBDIR += rrdman SUBDIR += rrdmerge SUBDIR += rrdtool SUBDIR += rrdtool12 SUBDIR += ruby-bdb SUBDIR += ruby-odbc SUBDIR += ruby-qdbm SUBDIR += ruby-tokyocabinet SUBDIR += ruby-xapian SUBDIR += rubygem-active_model_serializers SUBDIR += rubygem-active_record_query_trace SUBDIR += rubygem-activemodel-serializers-xml SUBDIR += rubygem-activemodel4 SUBDIR += rubygem-activemodel5 SUBDIR += rubygem-activemodel50 SUBDIR += rubygem-activerecord-import SUBDIR += rubygem-activerecord-jdbc-adapter SUBDIR += rubygem-activerecord-jdbcmysql-adapter SUBDIR += rubygem-activerecord-session_store SUBDIR += rubygem-activerecord4 SUBDIR += rubygem-activerecord5 SUBDIR += rubygem-activerecord50 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-awesome_nested_set SUBDIR += rubygem-bdb1 SUBDIR += rubygem-bigrecord SUBDIR += rubygem-couchrest SUBDIR += rubygem-data_objects SUBDIR += rubygem-datamapper SUBDIR += rubygem-dbd-mysql SUBDIR += rubygem-dbd-odbc SUBDIR += rubygem-dbd-pg SUBDIR += rubygem-dbd-sqlite3 SUBDIR += rubygem-dbf SUBDIR += rubygem-dbi 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-familia SUBDIR += rubygem-flipper-active_record SUBDIR += rubygem-flipper-active_record013 SUBDIR += rubygem-gdbm SUBDIR += rubygem-globalid SUBDIR += rubygem-globalid-rails5 SUBDIR += rubygem-globalid-rails50 SUBDIR += rubygem-her SUBDIR += rubygem-hiredis SUBDIR += rubygem-jdbc-mysql SUBDIR += rubygem-leo_manager_client SUBDIR += rubygem-mario-redis-lock SUBDIR += rubygem-memcache SUBDIR += rubygem-memcache-client SUBDIR += rubygem-mysql SUBDIR += rubygem-mysql2 SUBDIR += rubygem-openid-redis-store SUBDIR += rubygem-paranoia SUBDIR += rubygem-peek-mysql2-rails50 SUBDIR += rubygem-peek-pg-rails50 SUBDIR += rubygem-pg SUBDIR += rubygem-pg0 SUBDIR += rubygem-pg018 SUBDIR += rubygem-pg_array_parser SUBDIR += rubygem-pghero SUBDIR += rubygem-pghero-rails5 SUBDIR += rubygem-pghero-rails50 SUBDIR += rubygem-postgres_ext SUBDIR += rubygem-rbase SUBDIR += rubygem-redis SUBDIR += rubygem-redis-actionpack SUBDIR += rubygem-redis-actionpack-rails5 SUBDIR += rubygem-redis-actionpack-rails50 SUBDIR += rubygem-redis-namespace SUBDIR += rubygem-redis3 SUBDIR += rubygem-seed-fu SUBDIR += rubygem-sqlite3 SUBDIR += rubygem-sqlite3-ruby SUBDIR += rubygem-state_machines-activemodel SUBDIR += rubygem-state_machines-activerecord SUBDIR += rubygem-state_machines-activerecord05 SUBDIR += rubygem-tarantool SUBDIR += sequeler SUBDIR += sfcgal SUBDIR += sharedance SUBDIR += skytools 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 += sqlitemanager SUBDIR += sqliteodbc SUBDIR += sqliteodbc-sqlite2 SUBDIR += sqlitestudio SUBDIR += sqlrelay SUBDIR += sqsh SUBDIR += squirrel-sql SUBDIR += tablelog SUBDIR += tarantool SUBDIR += tarantool-c SUBDIR += tcl-Mysql SUBDIR += tcl-lmdb SUBDIR += tcl-sqlite3 SUBDIR += tdb SUBDIR += tdbc SUBDIR += tile38 SUBDIR += timescaledb SUBDIR += tinycdb SUBDIR += tokyocabinet SUBDIR += tokyotyrant SUBDIR += tsearch_extras SUBDIR += tuning-primer SUBDIR += twemproxy SUBDIR += unixODBC SUBDIR += useracc SUBDIR += usql SUBDIR += vfront SUBDIR += virtualpg SUBDIR += virtuoso SUBDIR += vsqlite SUBDIR += wfb2sql SUBDIR += wmjsql SUBDIR += xapian-bindings SUBDIR += xapian-bindings12 SUBDIR += xapian-core SUBDIR += xapian-core10 SUBDIR += xapian-core12 SUBDIR += xrootd SUBDIR += xtrabackup SUBDIR += zabbix22-libzbxpgsql SUBDIR += zabbix3-libzbxpgsql SUBDIR += zabbix32-libzbxpgsql SUBDIR += zabbix34-libzbxpgsql SUBDIR += zodb3 .include Index: head/databases/mongodb40-tools/Makefile =================================================================== --- head/databases/mongodb40-tools/Makefile (nonexistent) +++ head/databases/mongodb40-tools/Makefile (revision 499327) @@ -0,0 +1,76 @@ +# $FreeBSD$ + +PORTNAME= mongodb40-tools +DISTVERSIONPREFIX= r +DISTVERSION= 4.0.8 +CATEGORIES= databases + +MAINTAINER= dev.ashevchuk@gmail.com +COMMENT= Tools for MongoDB + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= not yet ported to other architectures + +USES= compiler:c++14-lang go localbase +USE_GITHUB= yes +GH_ACCOUNT= mongodb +GH_PROJECT= mongo-tools + +GO_BUILDFLAGS= -tags "${USE_MY_TAGS}" +GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} +GO_TARGET= ${TOOL_BUILD:C,(.*),github.com/${GH_ACCOUNT}/${GH_PROJECT}/\1/\1,} + +CONFLICTS_INSTALL= mongodb3[46] mongodb3[46]-tools + +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT= MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \ + MONGORESTORE SASL SSL +OPTIONS_MULTI= SECURITY TOOLS +OPTIONS_MULTI_TOOLS= BSONDUMP MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \ + MONGOREPLAY MONGORESTORE MONGOSTAT MONGOTOP +OPTIONS_MULTI_SECURITY= SASL SSL +OPTIONS_SUB= yes + +BSONDUMP_DESC= BSON files into human-readable formats +MONGOSTAT_DESC= Status of a running mongod or mongos instance +MONGOFILES_DESC= Interface to GridFS in a MongoDB instance +MONGOEXPORT_DESC= JSON or CSV export of MongoDB instance data +MONGOIMPORT_DESC= Importing JSON, CSV, or TSV into a MongoDB instance +MONGORESTORE_DESC= BSON data to a MongoDB instance +MONGODUMP_DESC= BSON data from the contents of a MongoDB instance +MONGOTOP_DESC= Track the amount of data I/O time +MONGOREPLAY_DESC= Traffic capture and replay tool + +BSONDUMP_VARS= tool_build+=bsondump +MONGOSTAT_VARS= tool_build+=mongostat +MONGOFILES_VARS= tool_build+=mongofiles +MONGOEXPORT_VARS= tool_build+=mongoexport +MONGOIMPORT_VARS= tool_build+=mongoimport +MONGORESTORE_VARS= tool_build+=mongorestore +MONGODUMP_VARS= tool_build+=mongodump +MONGOTOP_VARS= tool_build+=mongotop +MONGOREPLAY_VARS= tool_build+=mongoreplay +SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 +SASL_USE= my_tags=sasl +SSL_USES= ssl +SSL_USE= my_tags=ssl + +.include + +# Rename 'main' directories to the tool names so that the binaries +# are not all named 'main' and we do not have to hack around USES=go. +post-patch: +.for tool in ${TOOL_BUILD} + @${MV} ${WRKSRC}/${tool}/main ${WRKSRC}/${tool}/${tool} +.endfor + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in README.md CONTRIBUTING.md THIRD-PARTY-NOTICES + ${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} +.endfor + +.include Property changes on: head/databases/mongodb40-tools/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/mongodb40-tools/distinfo =================================================================== --- head/databases/mongodb40-tools/distinfo (nonexistent) +++ head/databases/mongodb40-tools/distinfo (revision 499327) @@ -0,0 +1,3 @@ +TIMESTAMP = 1555539033 +SHA256 (mongodb-mongo-tools-r4.0.8_GH0.tar.gz) = c224df31f85476c0f651c4b5d70871b581f14bf16a8595a4aa7717e66ad07c5c +SIZE (mongodb-mongo-tools-r4.0.8_GH0.tar.gz) = 11134459 Property changes on: head/databases/mongodb40-tools/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/mongodb40-tools/files/patch-common_util_file.go =================================================================== --- head/databases/mongodb40-tools/files/patch-common_util_file.go (nonexistent) +++ head/databases/mongodb40-tools/files/patch-common_util_file.go (revision 499327) @@ -0,0 +1,325 @@ +--- common/util/file.go.orig 2018-11-21 17:52:58 UTC ++++ common/util/file.go +@@ -9,11 +9,68 @@ + import ( + "bufio" + "io" +- "net/url" + "os" + "path/filepath" ++ "strconv" + ) + ++// Error reports an error and the operation and URL that caused it. ++type Error struct { ++ Op string ++ URL string ++ Err error ++} ++ ++func (e *Error) Error() string { return e.Op + " " + e.URL + ": " + e.Err.Error() } ++ ++func ishex(c byte) bool { ++ switch { ++ case '0' <= c && c <= '9': ++ return true ++ case 'a' <= c && c <= 'f': ++ return true ++ case 'A' <= c && c <= 'F': ++ return true ++ } ++ return false ++} ++ ++func unhex(c byte) byte { ++ switch { ++ case '0' <= c && c <= '9': ++ return c - '0' ++ case 'a' <= c && c <= 'f': ++ return c - 'a' + 10 ++ case 'A' <= c && c <= 'F': ++ return c - 'A' + 10 ++ } ++ return 0 ++} ++ ++type encoding int ++ ++const ( ++ encodePath encoding = 1 + iota ++ encodePathSegment ++ encodeHost ++ encodeZone ++ encodeUserPassword ++ encodeQueryComponent ++ encodeFragment ++) ++ ++type EscapeError string ++ ++func (e EscapeError) Error() string { ++ return "invalid URL escape " + strconv.Quote(string(e)) ++} ++ ++type InvalidHostError string ++ ++func (e InvalidHostError) Error() string { ++ return "invalid character " + strconv.Quote(string(e)) + " in host name" ++} ++ + // GetFieldsFromFile fetches the first line from the contents of the file + // at "path" + func GetFieldsFromFile(path string) ([]string, error) { +@@ -42,11 +99,11 @@ + } + + func EscapeCollectionName(collName string) string { +- return url.PathEscape(collName) ++ return PathEscape(collName) + } + + func UnescapeCollectionName(escapedCollName string) (string, error) { +- return url.PathUnescape(escapedCollName) ++ return PathUnescape(escapedCollName) + } + + type WrappedReadCloser struct { +@@ -76,3 +133,238 @@ + } + return innerErr + } ++ ++// Return true if the specified character should be escaped when ++// appearing in a URL string, according to RFC 3986. ++// ++// Please be informed that for now shouldEscape does not check all ++// reserved characters correctly. See golang.org/issue/5684. ++func shouldEscape(c byte, mode encoding) bool { ++ // §2.3 Unreserved characters (alphanum) ++ if 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z' || '0' <= c && c <= '9' { ++ return false ++ } ++ ++ if mode == encodeHost || mode == encodeZone { ++ // §3.2.2 Host allows ++ // sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=" ++ // as part of reg-name. ++ // We add : because we include :port as part of host. ++ // We add [ ] because we include [ipv6]:port as part of host. ++ // We add < > because they're the only characters left that ++ // we could possibly allow, and Parse will reject them if we ++ // escape them (because hosts can't use %-encoding for ++ // ASCII bytes). ++ switch c { ++ case '!', '$', '&', '\'', '(', ')', '*', '+', ',', ';', '=', ':', '[', ']', '<', '>', '"': ++ return false ++ } ++ } ++ ++ switch c { ++ case '-', '_', '.', '~': // §2.3 Unreserved characters (mark) ++ return false ++ ++ case '$', '&', '+', ',', '/', ':', ';', '=', '?', '@': // §2.2 Reserved characters (reserved) ++ // Different sections of the URL allow a few of ++ // the reserved characters to appear unescaped. ++ switch mode { ++ case encodePath: // §3.3 ++ // The RFC allows : @ & = + $ but saves / ; , for assigning ++ // meaning to individual path segments. This package ++ // only manipulates the path as a whole, so we allow those ++ // last three as well. That leaves only ? to escape. ++ return c == '?' ++ ++ case encodePathSegment: // §3.3 ++ // The RFC allows : @ & = + $ but saves / ; , for assigning ++ // meaning to individual path segments. ++ return c == '/' || c == ';' || c == ',' || c == '?' ++ ++ case encodeUserPassword: // §3.2.1 ++ // The RFC allows ';', ':', '&', '=', '+', '$', and ',' in ++ // userinfo, so we must escape only '@', '/', and '?'. ++ // The parsing of userinfo treats ':' as special so we must escape ++ // that too. ++ return c == '@' || c == '/' || c == '?' || c == ':' ++ ++ case encodeQueryComponent: // §3.4 ++ // The RFC reserves (so we must escape) everything. ++ return true ++ ++ case encodeFragment: // §4.1 ++ // The RFC text is silent but the grammar allows ++ // everything, so escape nothing. ++ return false ++ } ++ } ++ ++ if mode == encodeFragment { ++ // RFC 3986 §2.2 allows not escaping sub-delims. A subset of sub-delims are ++ // included in reserved from RFC 2396 §2.2. The remaining sub-delims do not ++ // need to be escaped. To minimize potential breakage, we apply two restrictions: ++ // (1) we always escape sub-delims outside of the fragment, and (2) we always ++ // escape single quote to avoid breaking callers that had previously assumed that ++ // single quotes would be escaped. See issue #19917. ++ switch c { ++ case '!', '(', ')', '*': ++ return false ++ } ++ } ++ ++ // Everything else must be escaped. ++ return true ++} ++ ++// PathUnescape does the inverse transformation of PathEscape, ++// converting each 3-byte encoded substring of the form "%AB" into the ++// hex-decoded byte 0xAB. It returns an error if any % is not followed ++// by two hexadecimal digits. ++// ++// PathUnescape is identical to QueryUnescape except that it does not ++// unescape '+' to ' ' (space). ++func PathUnescape(s string) (string, error) { ++ return unescape(s, encodePathSegment) ++} ++ ++// unescape unescapes a string; the mode specifies ++// which section of the URL string is being unescaped. ++func unescape(s string, mode encoding) (string, error) { ++ // Count %, check that they're well-formed. ++ n := 0 ++ hasPlus := false ++ for i := 0; i < len(s); { ++ switch s[i] { ++ case '%': ++ n++ ++ if i+2 >= len(s) || !ishex(s[i+1]) || !ishex(s[i+2]) { ++ s = s[i:] ++ if len(s) > 3 { ++ s = s[:3] ++ } ++ return "", EscapeError(s) ++ } ++ // Per https://tools.ietf.org/html/rfc3986#page-21 ++ // in the host component %-encoding can only be used ++ // for non-ASCII bytes. ++ // But https://tools.ietf.org/html/rfc6874#section-2 ++ // introduces %25 being allowed to escape a percent sign ++ // in IPv6 scoped-address literals. Yay. ++ if mode == encodeHost && unhex(s[i+1]) < 8 && s[i:i+3] != "%25" { ++ return "", EscapeError(s[i : i+3]) ++ } ++ if mode == encodeZone { ++ // RFC 6874 says basically "anything goes" for zone identifiers ++ // and that even non-ASCII can be redundantly escaped, ++ // but it seems prudent to restrict %-escaped bytes here to those ++ // that are valid host name bytes in their unescaped form. ++ // That is, you can use escaping in the zone identifier but not ++ // to introduce bytes you couldn't just write directly. ++ // But Windows puts spaces here! Yay. ++ v := unhex(s[i+1])<<4 | unhex(s[i+2]) ++ if s[i:i+3] != "%25" && v != ' ' && shouldEscape(v, encodeHost) { ++ return "", EscapeError(s[i : i+3]) ++ } ++ } ++ i += 3 ++ case '+': ++ hasPlus = mode == encodeQueryComponent ++ i++ ++ default: ++ if (mode == encodeHost || mode == encodeZone) && s[i] < 0x80 && shouldEscape(s[i], mode) { ++ return "", InvalidHostError(s[i : i+1]) ++ } ++ i++ ++ } ++ } ++ ++ if n == 0 && !hasPlus { ++ return s, nil ++ } ++ ++ t := make([]byte, len(s)-2*n) ++ j := 0 ++ for i := 0; i < len(s); { ++ switch s[i] { ++ case '%': ++ t[j] = unhex(s[i+1])<<4 | unhex(s[i+2]) ++ j++ ++ i += 3 ++ case '+': ++ if mode == encodeQueryComponent { ++ t[j] = ' ' ++ } else { ++ t[j] = '+' ++ } ++ j++ ++ i++ ++ default: ++ t[j] = s[i] ++ j++ ++ i++ ++ } ++ } ++ return string(t), nil ++} ++ ++// PathEscape escapes the string so it can be safely placed ++// inside a URL path segment. ++func PathEscape(s string) string { ++ return escape(s, encodePathSegment) ++} ++ ++func escape(s string, mode encoding) string { ++ spaceCount, hexCount := 0, 0 ++ for i := 0; i < len(s); i++ { ++ c := s[i] ++ if shouldEscape(c, mode) { ++ if c == ' ' && mode == encodeQueryComponent { ++ spaceCount++ ++ } else { ++ hexCount++ ++ } ++ } ++ } ++ ++ if spaceCount == 0 && hexCount == 0 { ++ return s ++ } ++ ++ var buf [64]byte ++ var t []byte ++ ++ required := len(s) + 2*hexCount ++ if required <= len(buf) { ++ t = buf[:required] ++ } else { ++ t = make([]byte, required) ++ } ++ ++ if hexCount == 0 { ++ copy(t, s) ++ for i := 0; i < len(s); i++ { ++ if s[i] == ' ' { ++ t[i] = '+' ++ } ++ } ++ return string(t) ++ } ++ ++ j := 0 ++ for i := 0; i < len(s); i++ { ++ switch c := s[i]; { ++ case c == ' ' && mode == encodeQueryComponent: ++ t[j] = '+' ++ j++ ++ case shouldEscape(c, mode): ++ t[j] = '%' ++ t[j+1] = "0123456789ABCDEF"[c>>4] ++ t[j+2] = "0123456789ABCDEF"[c&15] ++ j += 3 ++ default: ++ t[j] = s[i] ++ j++ ++ } ++ } ++ return string(t) ++} Property changes on: head/databases/mongodb40-tools/files/patch-common_util_file.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_build.go =================================================================== --- head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_build.go (nonexistent) +++ head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_build.go (revision 499327) @@ -0,0 +1,9 @@ +--- vendor/github.com/10gen/openssl/build.go.orig 2018-11-21 19:00:22 UTC ++++ vendor/github.com/10gen/openssl/build.go +@@ -20,5 +20,6 @@ + // #cgo CFLAGS: -Wno-deprecated-declarations + // #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN -I"c:/openssl/include" + // #cgo windows LDFLAGS: -lssleay32 -llibeay32 -lcrypt32 -L "c:/openssl/bin" ++// #cgo freebsd LDFLAGS: -lssl -lcrypto + // #cgo darwin LDFLAGS: -framework CoreFoundation -framework Foundation -framework Security + import "C" Property changes on: head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_build.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go =================================================================== --- head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go (nonexistent) +++ head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go (revision 499327) @@ -0,0 +1,11 @@ +--- vendor/github.com/10gen/openssl/init_posix.go.orig 2018-11-21 17:52:58 UTC ++++ vendor/github.com/10gen/openssl/init_posix.go +@@ -12,7 +12,7 @@ + // See the License for the specific language governing permissions and + // limitations under the License. + +-// +build linux darwin cgo ++// +build linux darwin freebsd cgo + // +build !windows + + package openssl Property changes on: head/databases/mongodb40-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/mongodb40-tools/pkg-descr =================================================================== --- head/databases/mongodb40-tools/pkg-descr (nonexistent) +++ head/databases/mongodb40-tools/pkg-descr (revision 499327) @@ -0,0 +1,15 @@ +Useful utilities for managing a MongoDB instance written in Go. + +- bsondump - display BSON files in a human-readable format +- mongoimport - Convert data from JSON, TSV or CSV and insert them + into a collection +- mongoexport - Write an existing collection to CSV or JSON format +- mongodump/mongorestore - Dump MongoDB backups to disk in .BSON + format, or restore them to a live database +- mongostat - Monitor live MongoDB servers, replica sets, or sharded + clusters +- mongofiles - Read, write, delete, or update files in GridFS +- mongotop - Monitor read/write activity on a mongo server +- mongoreplay - Capture, observe, and replay traffic for MongoDB + +WWW: https://github.com/mongodb/mongo-tools Property changes on: head/databases/mongodb40-tools/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/mongodb40-tools/pkg-plist =================================================================== --- head/databases/mongodb40-tools/pkg-plist (nonexistent) +++ head/databases/mongodb40-tools/pkg-plist (revision 499327) @@ -0,0 +1,12 @@ +%%BSONDUMP%%bin/bsondump +%%MONGODUMP%%bin/mongodump +%%MONGOEXPORT%%bin/mongoexport +%%MONGOFILES%%bin/mongofiles +%%MONGOIMPORT%%bin/mongoimport +%%MONGORESTORE%%bin/mongorestore +%%MONGOTOP%%bin/mongoreplay +%%MONGOSTAT%%bin/mongostat +%%MONGOTOP%%bin/mongotop +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md +%%PORTDOCS%%%%DOCSDIR%%/THIRD-PARTY-NOTICES Property changes on: head/databases/mongodb40-tools/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property