From owner-svn-ports-head@freebsd.org Sat Mar 26 16:53:35 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47B41ADE957; Sat, 26 Mar 2016 16:53:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08F061EAE; Sat, 26 Mar 2016 16:53:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2QGrYuh059850; Sat, 26 Mar 2016 16:53:34 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2QGrXhT059838; Sat, 26 Mar 2016 16:53:33 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201603261653.u2QGrXhT059838@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Sat, 26 Mar 2016 16:53:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411931 - in head/databases: . pg_citus pg_citus/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2016 16:53:35 -0000 Author: matthew Date: Sat Mar 26 16:53:33 2016 New Revision: 411931 URL: https://svnweb.freebsd.org/changeset/ports/411931 Log: What is Citus? * Open-source PostgreSQL extension (not a fork) * Scalable across multiple hosts through sharding and replication * Distributed engine for query parallelization * Highly available in the face of host failures Citus horizontally scales PostgreSQL across commodity servers using sharding and replication. Its query engine parallelizes incoming SQL queries across these servers to enable real-time responses on large datasets. WWW: https://www.citusdata.com/ Differential Revision: https://reviews.freebsd.org/D5729 Added: head/databases/pg_citus/ head/databases/pg_citus/Makefile (contents, props changed) head/databases/pg_citus/distinfo (contents, props changed) head/databases/pg_citus/files/ head/databases/pg_citus/files/patch-configure.in (contents, props changed) head/databases/pg_citus/files/patch-src_backend_distributed_executor_multi__real__time__executor.c (contents, props changed) head/databases/pg_citus/files/patch-src_backend_distributed_executor_multi__task__tracker__executor.c (contents, props changed) head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__partition__protocol.c (contents, props changed) head/databases/pg_citus/files/patch-src_include_distributed_master__metadata__utility.h (contents, props changed) head/databases/pg_citus/pkg-descr (contents, props changed) head/databases/pg_citus/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Mar 26 16:27:09 2016 (r411930) +++ head/databases/Makefile Sat Mar 26 16:53:33 2016 (r411931) @@ -549,6 +549,7 @@ SUBDIR += percona56-client SUBDIR += percona56-server SUBDIR += pg_activity + SUBDIR += pg_citus SUBDIR += pg_reorg SUBDIR += pg_rman SUBDIR += pg_statsinfo Added: head/databases/pg_citus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/Makefile Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,32 @@ +# Created by: Matthew Seaman +# $FreeBSD$ + +PORTNAME= citus +PORTVERSION= 5.0.0 +DISTVERSIONPREFIX= v +CATEGORIES= databases +PKGNAMEPREFIX= pg_ + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Horizontally scale Postgresql using sharding and replication + +LICENSE= AGPLv3 + +USE_GITHUB= yes +GH_ACCOUNT= citusdata + +USES= gmake pgsql:9.4+ autoreconf +WANT_PGSQL= server +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip +MAKE_ARGS= INSTALL="${INSTALL} -c" + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033 +BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex +MAKE_ARGS+= FLEX=${LOCALBASE}/bin/flex +.endif + +.include Added: head/databases/pg_citus/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/distinfo Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,2 @@ +SHA256 (citusdata-citus-v5.0.0_GH0.tar.gz) = a72bd7e9020c11f19d08e58f1f8aa8e83e7f1f377facb6c8020fcaa917f9a3ee +SIZE (citusdata-citus-v5.0.0_GH0.tar.gz) = 1615520 Added: head/databases/pg_citus/files/patch-configure.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/files/patch-configure.in Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,12 @@ +--- configure.in.orig 2016-03-23 23:36:42 UTC ++++ configure.in +@@ -58,6 +58,9 @@ SAVE_CFLAGS="$CFLAGS" + AC_PROG_CC([$($PG_CONFIG --cc)]) + CFLAGS="$SAVE_CFLAGS" + ++# Add the Postgres PKGINCLUDEDIR to the include search path ++CPPFLAGS="$CPPFLAGS -I$($PG_CONFIG --pkgincludedir)" ++ + # check for a number of CFLAGS that make development easier + + # CITUSAC_PROG_CC_CFLAGS_OPT Added: head/databases/pg_citus/files/patch-src_backend_distributed_executor_multi__real__time__executor.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/files/patch-src_backend_distributed_executor_multi__real__time__executor.c Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,10 @@ +--- src/backend/distributed/executor/multi_real_time_executor.c.orig 2016-03-23 23:36:42 UTC ++++ src/backend/distributed/executor/multi_real_time_executor.c +@@ -19,6 +19,7 @@ + #include "postgres.h" + #include "miscadmin.h" + ++#include + #include + + #include "commands/dbcommands.h" Added: head/databases/pg_citus/files/patch-src_backend_distributed_executor_multi__task__tracker__executor.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/files/patch-src_backend_distributed_executor_multi__task__tracker__executor.c Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,10 @@ +--- src/backend/distributed/executor/multi_task_tracker_executor.c.orig 2016-03-23 23:36:42 UTC ++++ src/backend/distributed/executor/multi_task_tracker_executor.c +@@ -20,6 +20,7 @@ + #include "postgres.h" + #include "miscadmin.h" + ++#include + #include + + #include "commands/dbcommands.h" Added: head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__partition__protocol.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__partition__protocol.c Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,10 @@ +--- src/backend/distributed/worker/worker_partition_protocol.c.orig 2016-03-23 23:36:42 UTC ++++ src/backend/distributed/worker/worker_partition_protocol.c +@@ -17,6 +17,7 @@ + #include "postgres.h" + #include "funcapi.h" + ++#include + #include + #include + #ifdef HAVE_INTTYPES_H Added: head/databases/pg_citus/files/patch-src_include_distributed_master__metadata__utility.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/files/patch-src_include_distributed_master__metadata__utility.h Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,11 @@ +--- src/include/distributed/master_metadata_utility.h.orig 2016-03-25 21:45:35 UTC ++++ src/include/distributed/master_metadata_utility.h +@@ -22,7 +22,7 @@ + + + /* total number of hash tokens (2^32) */ +-#define HASH_TOKEN_COUNT INT64CONST(4294967296UL) ++#define HASH_TOKEN_COUNT INT64CONST(4294967296) + + /* In-memory representation of a typed tuple in pg_dist_shard. */ + typedef struct ShardInterval Added: head/databases/pg_citus/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/pkg-descr Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,13 @@ +What is Citus? + + * Open-source PostgreSQL extension (not a fork) + * Scalable across multiple hosts through sharding and replication + * Distributed engine for query parallelization + * Highly available in the face of host failures + +Citus horizontally scales PostgreSQL across commodity servers using +sharding and replication. Its query engine parallelizes incoming SQL +queries across these servers to enable real-time responses on large +datasets. + +WWW: https://www.citusdata.com/ Added: head/databases/pg_citus/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pg_citus/pkg-plist Sat Mar 26 16:53:33 2016 (r411931) @@ -0,0 +1,39 @@ +bin/copy_to_distributed_table +bin/csql +include/postgresql/server/citus_config.h +include/postgresql/server/distributed/citus_nodefuncs.h +include/postgresql/server/distributed/citus_nodes.h +include/postgresql/server/distributed/citus_ruleutils.h +include/postgresql/server/distributed/connection_cache.h +include/postgresql/server/distributed/listutils.h +include/postgresql/server/distributed/master_metadata_utility.h +include/postgresql/server/distributed/master_protocol.h +include/postgresql/server/distributed/metadata_cache.h +include/postgresql/server/distributed/modify_planner.h +include/postgresql/server/distributed/multi_client_executor.h +include/postgresql/server/distributed/multi_executor.h +include/postgresql/server/distributed/multi_explain.h +include/postgresql/server/distributed/multi_join_order.h +include/postgresql/server/distributed/multi_logical_optimizer.h +include/postgresql/server/distributed/multi_logical_planner.h +include/postgresql/server/distributed/multi_master_planner.h +include/postgresql/server/distributed/multi_physical_planner.h +include/postgresql/server/distributed/multi_planner.h +include/postgresql/server/distributed/multi_resowner.h +include/postgresql/server/distributed/multi_router_executor.h +include/postgresql/server/distributed/multi_server_executor.h +include/postgresql/server/distributed/multi_utility.h +include/postgresql/server/distributed/pg_dist_partition.h +include/postgresql/server/distributed/pg_dist_shard.h +include/postgresql/server/distributed/pg_dist_shard_placement.h +include/postgresql/server/distributed/relay_utility.h +include/postgresql/server/distributed/resource_lock.h +include/postgresql/server/distributed/task_tracker.h +include/postgresql/server/distributed/task_tracker_protocol.h +include/postgresql/server/distributed/test_helper_functions.h +include/postgresql/server/distributed/transmit.h +include/postgresql/server/distributed/worker_manager.h +include/postgresql/server/distributed/worker_protocol.h +lib/postgresql/citus.so +share/postgresql/extension/citus--5.0.sql +share/postgresql/extension/citus.control