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] New package: shinit-0.1.0
Date: Wed, 29 Jul 2020 09:14:45 +0200	[thread overview]
Message-ID: <20200729071445.VS0X7BSSjAeJ9bCPpyb1R3J0VHuPsJEprw53PPtyeKs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23893@inbox.vuxu.org>

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

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

https://github.com/the-maldridge/void-packages shinit
https://github.com/void-linux/void-packages/pull/23893

New package: shinit-0.1.0


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

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

From 9faea38ef7fa646baeeab09e8cf2730423656eb6 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Mon, 27 Jul 2020 22:53:16 -0700
Subject: [PATCH] New package: shinit-0.1.2

---
 srcpkgs/shinit/files/shinit/run | 11 +++++++++++
 srcpkgs/shinit/template         | 20 ++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/shinit/files/shinit/run
 create mode 100644 srcpkgs/shinit/template

diff --git a/srcpkgs/shinit/files/shinit/run b/srcpkgs/shinit/files/shinit/run
new file mode 100644
index 00000000000..f51d6a9e2ca
--- /dev/null
+++ b/srcpkgs/shinit/files/shinit/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+export SHINIT_USER=void
+
+[ -r ./conf ] && . ./conf
+
+shinit
+
+# This is a strange thing to do, but this service should generally
+# speaking only ever run once in the life of a machine.
+rm -f /var/service/shinit
diff --git a/srcpkgs/shinit/template b/srcpkgs/shinit/template
new file mode 100644
index 00000000000..893361cd38b
--- /dev/null
+++ b/srcpkgs/shinit/template
@@ -0,0 +1,20 @@
+# Template file for 'shinit'
+pkgname=shinit
+version=0.1.2
+revision=1
+depends="curl"
+make_dirs="/var/lib/shinit 0755 root root"
+short_desc="Minimalist approach to cloud-init style provisioning"
+maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
+license="MIT"
+homepage="https://github.com/the-maldridge/shinit/"
+distfiles="https://github.com/the-maldridge/shinit/archive/v$version.tar.gz"
+checksum=04bb0f154acbc11a7271d53569bcb89c598e9e28cdca39c61e281dd38f88f482
+
+do_install() {
+	vlicense LICENSE.md
+	vbin shinit
+	vmkdir usr/libexec/shinit
+	vcopy libexec/* usr/libexec/shinit
+	vsv shinit
+}

  parent reply	other threads:[~2020-07-29  7:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23893@inbox.vuxu.org>
2020-07-28  6:51 ` the-maldridge
2020-07-29  7:12 ` the-maldridge
2020-07-29  7:14 ` the-maldridge [this message]
2020-07-29  7:15 ` [PR PATCH] [Closed]: " the-maldridge
2020-07-29  7:15 ` 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=20200729071445.VS0X7BSSjAeJ9bCPpyb1R3J0VHuPsJEprw53PPtyeKs@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).