Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: zrepl-0.1.1
Date: Sun, 28 Jul 2019 16:07:52 +0200	[thread overview]
Message-ID: <20190728140752.Jr6yLlhGhi0_PKDFyhJjOEN8xa0ryDcKXR423lHnyO8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13301@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 538 bytes --]

There is an updated pull request by Tankernn against master on the void-packages repository

https://github.com/Tankernn/void-packages zrepl
https://github.com/void-linux/void-packages/pull/13301

New package: zrepl-0.1.1
ZFS replication utility. [zrepl/zrepl](https://github.com/zrepl/zrepl)

Build on 32-bit platforms should be fixed by https://github.com/zrepl/zrepl/pull/200, do we wait for this to get released, or add an arch restriction?

A patch file from https://github.com/void-linux/void-packages/pull/13301.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zrepl-13301.patch --]
[-- Type: text/x-diff, Size: 2349 bytes --]

From b71b7c9d8949a81fde98dd525971aecd9ae227e1 Mon Sep 17 00:00:00 2001
From: Frans Bergman <frans@tankernn.eu>
Date: Tue, 23 Jul 2019 17:32:21 +0200
Subject: [PATCH] New package: zrepl-0.1.1

---
 srcpkgs/zrepl/files/zrepl.yml | 13 +++++++++++++
 srcpkgs/zrepl/files/zrepl/run |  3 +++
 srcpkgs/zrepl/template        | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/zrepl/files/zrepl.yml
 create mode 100644 srcpkgs/zrepl/files/zrepl/run
 create mode 100644 srcpkgs/zrepl/template

diff --git a/srcpkgs/zrepl/files/zrepl.yml b/srcpkgs/zrepl/files/zrepl.yml
new file mode 100644
index 00000000000..94e924c4eb7
--- /dev/null
+++ b/srcpkgs/zrepl/files/zrepl.yml
@@ -0,0 +1,13 @@
+# zrepl main configuration file.
+# For documentation, refer to https://zrepl.github.io/
+#
+global:
+  logging:
+    - type: "stdout"
+      level:  "error"
+      format: "human"
+    - type: "syslog"
+      level:  "info"
+      format: "logfmt"
+
+# Add "jobs:" section(s) here for your specific use cases.
diff --git a/srcpkgs/zrepl/files/zrepl/run b/srcpkgs/zrepl/files/zrepl/run
new file mode 100644
index 00000000000..99aff015c91
--- /dev/null
+++ b/srcpkgs/zrepl/files/zrepl/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+install -d -m0700 /var/run/zrepl
+exec /usr/bin/zrepl --config /etc/zrepl/zrepl.yml daemon
diff --git a/srcpkgs/zrepl/template b/srcpkgs/zrepl/template
new file mode 100644
index 00000000000..3df8e40ede0
--- /dev/null
+++ b/srcpkgs/zrepl/template
@@ -0,0 +1,32 @@
+# Template file for 'zrepl'
+pkgname=zrepl
+version=0.1.1
+revision=1
+archs="x86_64* aarch64*"
+build_style=go
+go_import_path=github.com/zrepl/zrepl
+hostmakedepends="git"
+depends="zfs"
+short_desc="One-stop ZFS backup & replication solution"
+maintainer="Frans Bergman <frans@tankernn.eu>"
+license="MIT"
+homepage="https://github.com/zrepl/zrepl"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=0c16554e4527d14a390d78cf95bce759da425019a83ec63acfed5b4c50d68c9c
+
+conf_files="/etc/zrepl/zrepl.yml"
+
+export ZREPL_VERSION="void-${version}_${revision}"
+
+post_install() {
+	vmkdir etc/zrepl
+	vinstall ${FILESDIR}/zrepl.yml 644 etc/zrepl
+	vsconf ${FILESDIR}/zrepl.yml
+	for f in config/samples/*.yml; do
+		vsconf "${f}"
+	done
+	vsconf dist/grafana/grafana-prometheus-zrepl-0.1.json
+
+	vlicense LICENSE
+	vsv zrepl
+}

  parent reply	other threads:[~2019-07-28 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23 19:25 [PR PATCH] " voidlinux-github
2019-07-28 14:07 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-28 14:07 ` voidlinux-github [this message]
2019-07-28 18:59 ` voidlinux-github
2019-07-29  9:20 ` voidlinux-github
2019-07-29 19:29 ` voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190728140752.Jr6yLlhGhi0_PKDFyhJjOEN8xa0ryDcKXR423lHnyO8@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).