Github messages for voidlinux
 help / color / mirror / Atom feed
From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] TerraState: update to 1.0.1.
Date: Sat, 18 Jul 2020 23:06:41 +0200	[thread overview]
Message-ID: <20200718210641.pfA4cVSgoRE4XZMnG6YQJ2ofQ8yluRQHj3BYiRBrWH8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23641@inbox.vuxu.org>

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

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

https://github.com/the-maldridge/void-packages tstate1
https://github.com/void-linux/void-packages/pull/23641

TerraState: update to 1.0.1.


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

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

From b24c969bd6dccf8df5ed050c9b2630a5b6f153d2 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Sat, 18 Jul 2020 01:18:48 -0700
Subject: [PATCH] TerraState: update to 1.0.1

---
 srcpkgs/TerraState/files/terrastate/log/run |  4 ++++
 srcpkgs/TerraState/files/terrastate/run     |  9 +++++++++
 srcpkgs/TerraState/template                 | 18 ++++++++++++------
 3 files changed, 25 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/TerraState/files/terrastate/log/run
 create mode 100644 srcpkgs/TerraState/files/terrastate/run

diff --git a/srcpkgs/TerraState/files/terrastate/log/run b/srcpkgs/TerraState/files/terrastate/log/run
new file mode 100644
index 00000000000..8ea6f0f7436
--- /dev/null
+++ b/srcpkgs/TerraState/files/terrastate/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec vlogger -t terrastate
diff --git a/srcpkgs/TerraState/files/terrastate/run b/srcpkgs/TerraState/files/terrastate/run
new file mode 100644
index 00000000000..b5471b6f32e
--- /dev/null
+++ b/srcpkgs/TerraState/files/terrastate/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+export TS_STORE=bitcask
+export TS_BITCASK_PATH=/var/lib/terrastate/bitcask
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _terrastate:_terrastate terrastate 2>&1
diff --git a/srcpkgs/TerraState/template b/srcpkgs/TerraState/template
index ce37acfa437..17737dc28cc 100644
--- a/srcpkgs/TerraState/template
+++ b/srcpkgs/TerraState/template
@@ -1,18 +1,24 @@
 # Template file for 'TerraState'
 pkgname=TerraState
-version=0.3
+version=1.0.1
 revision=1
+wrksrc=terrastate-$version
+make_dirs="/var/lib/terrastate 0750 _terrastate _terrastate"
 build_style=go
-go_import_path="github.com/the-maldridge/TerraState"
+go_import_path="github.com/the-maldridge/terrastate"
 go_package="${go_import_path}/cmd/terrastate"
 hostmakedepends="git"
-short_desc="Remote state for TerraForm"
+short_desc="Remote state for Terraform"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MIT"
-homepage="https://github.com/the-maldridge/TerraState"
-distfiles="https://github.com/the-maldridge/TerraState/archive/v$version.tar.gz"
-checksum=5536becee55107d4fe4c3c02304b035761e3496f4692cde604eac03556817e1f
+homepage="https://github.com/the-maldridge/terrastate"
+distfiles="https://github.com/the-maldridge/terrastate/archive/v$version.tar.gz"
+checksum=5c5e8cea99d93d5a9d1fa62ede403729edab88c84f9fc456e2eeeb1fbfb9223c
+system_groups="_terrastate"
+system_accounts="_terrastate"
+_terrastate_homedir="/var/lib/terrastate"
 
 post_install() {
 	vlicense LICENSE
+	vsv terrastate
 }

  parent reply	other threads:[~2020-07-18 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-18  8:18 [PR PATCH] TerraState: update to 1.0.0 the-maldridge
2020-07-18  8:46 ` [PR PATCH] [Updated] " the-maldridge
2020-07-18  8:47 ` [PR PATCH] [Updated] TerraState: update to 1.0.1 the-maldridge
2020-07-18 21:06 ` the-maldridge [this message]
2020-07-18 21:17 ` [PR PATCH] [Closed]: " the-maldridge

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=20200718210641.pfA4cVSgoRE4XZMnG6YQJ2ofQ8yluRQHj3BYiRBrWH8@z \
    --to=the-maldridge@users.noreply.github.com \
    --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).