[-- 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 +}
[-- 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 +}
[-- 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 +}
[-- Attachment #1: Type: text/plain, Size: 305 bytes --] New comment by Tankernn on void-packages repository https://github.com/void-linux/void-packages/pull/13301#issuecomment-515786521 Comment: Added `archs="x86_64* aarch64*"` to fix the build check for now. Can we merge this and remove the restriction when zrepl releases a version with support for 32-bit?
[-- Attachment #1: Type: text/plain, Size: 260 bytes --] New comment by problame on void-packages repository https://github.com/void-linux/void-packages/pull/13301#issuecomment-515915117 Comment: @Tankernn would you mind updating https://zrepl.github.io/installation.html#packages and create a PR once it's merged?
[-- Attachment #1: Type: text/plain, Size: 159 bytes --] New comment by Tankernn on void-packages repository https://github.com/void-linux/void-packages/pull/13301#issuecomment-516129649 Comment: @problame Will do.