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: Tue, 28 Jul 2020 08:51:22 +0200	[thread overview]
Message-ID: <20200728065122.MmESLLWRJ6r3nRrc1zPzCnCJM5Uc0gDk_1dTkeA2GBw@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: 1664 bytes --]

From 6c086b2013289987c5cd60f3f9662a69deb618ab 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.1

---
 srcpkgs/shinit/files/shinit/run | 12 ++++++++++++
 srcpkgs/shinit/template         | 19 +++++++++++++++++++
 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..bbff6d36b46
--- /dev/null
+++ b/srcpkgs/shinit/files/shinit/run
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+export SHINIT_USER=void
+
+[ -r ./conf ] && . ./conf
+
+mkdir -p /var/lib/shinit
+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..76a1479007b
--- /dev/null
+++ b/srcpkgs/shinit/template
@@ -0,0 +1,19 @@
+# Template file for 'shinit'
+pkgname=shinit
+version=0.1.1
+revision=1
+depends="curl"
+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=449330dce46b11593add70e33f9bd59a2b1fd79f94917dd7dab00bb176860281
+
+do_install() {
+    vlicense LICENSE.md
+    vbin shinit
+    vmkdir usr/libexec/shinit
+    vcopy libexec/* usr/libexec/shinit
+    vsv shinit
+}

       reply	other threads:[~2020-07-28  6:51 UTC|newest]

Thread overview: 3+ 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 [this message]
2020-07-29  7:12 ` the-maldridge
2020-07-29  7:14 ` 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=20200728065122.MmESLLWRJ6r3nRrc1zPzCnCJM5Uc0gDk_1dTkeA2GBw@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).