From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] go-ipfs: add runit service.
Date: Wed, 21 Oct 2020 22:20:38 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25777@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
There is a new pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages go-ipfs-0.7.0_2
https://github.com/void-linux/void-packages/pull/25777
go-ipfs: add runit service.
A patch file from https://github.com/void-linux/void-packages/pull/25777.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go-ipfs-0.7.0_2-25777.patch --]
[-- Type: text/x-diff, Size: 1207 bytes --]
From 62d71d653e1ac6483eff645b70617656b28c8493 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 21 Oct 2020 22:18:49 +0200
Subject: [PATCH] go-ipfs: add runit service.
---
srcpkgs/go-ipfs/files/ipfs/run | 4 ++++
srcpkgs/go-ipfs/template | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
create mode 100755 srcpkgs/go-ipfs/files/ipfs/run
diff --git a/srcpkgs/go-ipfs/files/ipfs/run b/srcpkgs/go-ipfs/files/ipfs/run
new file mode 100755
index 00000000000..5567850cd8f
--- /dev/null
+++ b/srcpkgs/go-ipfs/files/ipfs/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p /ipfs
+mkdir -p /ipns
+exec ipfs daemon --init --mount --enable-gc --migrate 1>/dev/null
diff --git a/srcpkgs/go-ipfs/template b/srcpkgs/go-ipfs/template
index 96509787305..bf02b7b6b7d 100644
--- a/srcpkgs/go-ipfs/template
+++ b/srcpkgs/go-ipfs/template
@@ -1,7 +1,7 @@
# Template file for 'go-ipfs'
pkgname=go-ipfs
version=0.7.0
-revision=1
+revision=2
build_style=go
go_import_path="github.com/ipfs/${pkgname}"
go_package="${go_import_path}/cmd/ipfs"
@@ -26,4 +26,5 @@ post_install() {
vlicense LICENSE-MIT
vdoc README.md
vdoc CHANGELOG.md
+ vsv ipfs
}
next reply other threads:[~2020-10-21 20:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-21 20:20 jcgruenhage [this message]
2020-10-21 20:25 ` [PR REVIEW] " jcgruenhage
2020-10-21 21:09 ` sirikid
2020-10-22 21:46 ` jcgruenhage
2020-10-22 22:36 ` [PR PATCH] [Updated] " jcgruenhage
2020-10-22 23:37 ` [PR PATCH] [Updated] go-ipfs: add runit service and use vcompletion jcgruenhage
2020-10-23 11:00 ` jcgruenhage
2020-10-23 11:10 ` [PR REVIEW] " Duncaen
2020-10-23 11:28 ` [PR PATCH] [Updated] " jcgruenhage
2020-10-23 11:28 ` [PR REVIEW] " jcgruenhage
2020-10-24 21:06 ` [PR PATCH] [Merged]: " Piraty
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25777@inbox.vuxu.org \
--to=jcgruenhage@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).