Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: zrepl-0.1.1
@ 2019-07-23 19:25 voidlinux-github
  2019-07-28 14:07 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-23 19:25 UTC (permalink / raw)
  To: ml

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

There is a new 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


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: application/text/x-diff, Size: 2322 bytes --]

From dab7433523f3586d062033c829f14d10ef6df54d 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        | 31 +++++++++++++++++++++++++++++++
 3 files changed, 47 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..f59fa552e08
--- /dev/null
+++ b/srcpkgs/zrepl/template
@@ -0,0 +1,31 @@
+# Template file for 'zrepl'
+pkgname=zrepl
+version=0.1.1
+revision=1
+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
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-29 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-23 19:25 [PR PATCH] New package: zrepl-0.1.1 voidlinux-github
2019-07-28 14:07 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-28 14:07 ` voidlinux-github
2019-07-28 18:59 ` voidlinux-github
2019-07-29  9:20 ` voidlinux-github
2019-07-29 19:29 ` voidlinux-github

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).