Date: Sun, 21 Feb 2021 20:52:45 +0000 (UTC) From: Neel Chauhan <nc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566245 - in head/databases: . litestream Message-ID: <202102212052.11LKqjNl040482@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nc Date: Sun Feb 21 20:52:45 2021 New Revision: 566245 URL: https://svnweb.freebsd.org/changeset/ports/566245 Log: New port: databases/litestream: Standalone streaming replication tool for SQLite Litestream is a standalone streaming replication tool for SQLite. It runs as a background process and safely replicates changes incrementally to another file or S3. Litestream only communicates with SQLite through the SQLite API so it will not corrupt your database. WWW: https://litestream.io/ Added: head/databases/litestream/ head/databases/litestream/Makefile (contents, props changed) head/databases/litestream/distinfo (contents, props changed) head/databases/litestream/pkg-descr (contents, props changed) head/databases/litestream/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sun Feb 21 20:03:35 2021 (r566244) +++ head/databases/Makefile Sun Feb 21 20:52:45 2021 (r566245) @@ -164,6 +164,7 @@ SUBDIR += linux-c7-sqlite3 SUBDIR += linux-oracle-instantclient-basic SUBDIR += linux-oracle-instantclient-sdk + SUBDIR += litestream SUBDIR += liquibase SUBDIR += lmdb SUBDIR += lua-lsqlite3 Added: head/databases/litestream/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/litestream/Makefile Sun Feb 21 20:52:45 2021 (r566245) @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= litestream +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.2 +CATEGORIES= databases + +MAINTAINER= nc@FreeBSD.org +COMMENT= Standalone streaming replication tool for SQLite + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +USE_GITHUB= yes +GH_ACCOUNT= benbjohnson + +GH_TUPLE= \ + aws:aws-sdk-go:v1.27.0:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \ + beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ + cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \ + golang:sys:f9fddec55a1e:golang_sys/vendor/golang.org/x/sys \ + jmespath:go-jmespath:c2b33e8439af:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \ + mattn:go-sqlite3:v1.14.5:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \ + matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ + pierrec:lz4:v4.1.3:pierrec_lz4_v4/vendor/github.com/pierrec/lz4/v4 \ + prometheus:client_golang:v1.9.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ + prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ + prometheus:common:v0.15.0:prometheus_common/vendor/github.com/prometheus/common \ + prometheus:procfs:v0.2.0:prometheus_procfs/vendor/github.com/prometheus/procfs \ + protocolbuffers:protobuf-go:v1.23.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} +GO_TARGET= ./cmd/${PORTNAME} + +post-install: + @${MKDIR} ${STAGEDIR}${ETCDIR} + @${CP} ${WRKSRC}/etc/${PORTNAME}.yml ${STAGEDIR}${ETCDIR}/${PORTNAME}.yml.sample + +.include <bsd.port.mk> Added: head/databases/litestream/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/litestream/distinfo Sun Feb 21 20:52:45 2021 (r566245) @@ -0,0 +1,35 @@ +TIMESTAMP = 1613937700 +SHA256 (benbjohnson-litestream-v0.3.2_GH0.tar.gz) = b9ce2c395060ebdbdaa0477028213e86267e119cc12b7e86688427868e75d21e +SIZE (benbjohnson-litestream-v0.3.2_GH0.tar.gz) = 78591 +SHA256 (aws-aws-sdk-go-v1.27.0_GH0.tar.gz) = 9f3dc12e43f795efad08a8ac37c5179546bbceb6485e569125f64e829f9a64dc +SIZE (aws-aws-sdk-go-v1.27.0_GH0.tar.gz) = 13666537 +SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825 +SIZE (beorn7-perks-v1.0.1_GH0.tar.gz) = 10867 +SHA256 (cespare-xxhash-v2.1.1_GH0.tar.gz) = 0ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148 +SIZE (cespare-xxhash-v2.1.1_GH0.tar.gz) = 9292 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0 +SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209 +SHA256 (golang-protobuf-v1.4.3_GH0.tar.gz) = 5736f943f8647362f5559689df6154f3c85d261fb088867c8a68494e2a767610 +SIZE (golang-protobuf-v1.4.3_GH0.tar.gz) = 171969 +SHA256 (golang-sys-f9fddec55a1e_GH0.tar.gz) = 1ab3f80841babed9c5cd8e93f69bfcb7847c406e767b5d86d5da7dc3c0f24931 +SIZE (golang-sys-f9fddec55a1e_GH0.tar.gz) = 1090464 +SHA256 (jmespath-go-jmespath-c2b33e8439af_GH0.tar.gz) = 1ccd468fe91f58cd1b144f6317f06b53bf0a5da5e03e6a399a2d03f087db1fe9 +SIZE (jmespath-go-jmespath-c2b33e8439af_GH0.tar.gz) = 48265 +SHA256 (mattn-go-sqlite3-v1.14.5_GH0.tar.gz) = f162215679df7efb3565dc2882f661ed5e500401c31fa6bfaa1e16939e4ea613 +SIZE (mattn-go-sqlite3-v1.14.5_GH0.tar.gz) = 2354542 +SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b +SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184 +SHA256 (pierrec-lz4-v4.1.3_GH0.tar.gz) = b0b2314f061215d9c7ea554290d9e32739a5e644d4d56dc326d89bfdf6616e4a +SIZE (pierrec-lz4-v4.1.3_GH0.tar.gz) = 38696559 +SHA256 (prometheus-client_golang-v1.9.0_GH0.tar.gz) = 92ccfb35268ce2de6beeb45d4b5639e4bce78111b8629bcde5727165f7e1afb1 +SIZE (prometheus-client_golang-v1.9.0_GH0.tar.gz) = 177330 +SHA256 (prometheus-client_model-v0.2.0_GH0.tar.gz) = 4ab1be9cdfa702d7f49beeb09a256bcc6a2aad55e8a0a37e7732a46934264e12 +SIZE (prometheus-client_model-v0.2.0_GH0.tar.gz) = 10986 +SHA256 (prometheus-common-v0.15.0_GH0.tar.gz) = f0957de56c09431076239d27bb85e07841bb832d0c99210087bc6da63a0b2cb6 +SIZE (prometheus-common-v0.15.0_GH0.tar.gz) = 124369 +SHA256 (prometheus-procfs-v0.2.0_GH0.tar.gz) = b6c013031ac8b9f8f9e1595103c48feb80dfe59c37aac73efe724fddbc0b3f50 +SIZE (prometheus-procfs-v0.2.0_GH0.tar.gz) = 157368 +SHA256 (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = e7266bedaa4f110216fce52ae533dc5eba475d3829bb0592e8876684e202ae1f +SIZE (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = 1214648 Added: head/databases/litestream/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/litestream/pkg-descr Sun Feb 21 20:52:45 2021 (r566245) @@ -0,0 +1,6 @@ +Litestream is a standalone streaming replication tool for SQLite. It runs as +a background process and safely replicates changes incrementally to another +file or S3. Litestream only communicates with SQLite through the SQLite API +so it will not corrupt your database. + +WWW: https://litestream.io/ Added: head/databases/litestream/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/litestream/pkg-plist Sun Feb 21 20:52:45 2021 (r566245) @@ -0,0 +1,2 @@ +bin/litestream +%%ETCDIR%%/litestream.yml.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102212052.11LKqjNl040482>