summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/consolation/files')
-rw-r--r--sys-apps/consolation/files/consolation-0.0.7-makefile.patch25
-rw-r--r--sys-apps/consolation/files/consolation-confd4
-rw-r--r--sys-apps/consolation/files/consolation-initd12
3 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/consolation/files/consolation-0.0.7-makefile.patch b/sys-apps/consolation/files/consolation-0.0.7-makefile.patch
new file mode 100644
index 000000000000..b699edc1e8e0
--- /dev/null
+++ b/sys-apps/consolation/files/consolation-0.0.7-makefile.patch
@@ -0,0 +1,25 @@
+diff --git a/Makefile.am b/Makefile.am
+index c577a9a..8a0e07f 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -5,7 +5,7 @@ CLEANFILES = consolation.service
+
+ all: consolation.8 consolation.service
+
+-consolation.8: README src/shared.c $(top_srcdir)/configure.ac
++consolation.8: src/consolation-recursive README src/shared.c $(top_srcdir)/configure.ac
+ help2man --no-info --source=Debian --section=8 --include=README \
+ src/consolation \
+ | sed -e 's,\\fB,.TP\n\\fB,g' > consolation.8.new \
+diff --git a/configure.ac b/configure.ac
+index 10bf054..25bdebc 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,6 +5,7 @@ AC_INIT([consolation], [0.0.7])
+ AC_CONFIG_AUX_DIR(config)
+
+ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
++AM_EXTRA_RECURSIVE_TARGETS([src/consolation])
+ AM_CONFIG_HEADER(src/config.h)
+
+ # Check for programs
diff --git a/sys-apps/consolation/files/consolation-confd b/sys-apps/consolation/files/consolation-confd
new file mode 100644
index 000000000000..fd03ae38eeca
--- /dev/null
+++ b/sys-apps/consolation/files/consolation-confd
@@ -0,0 +1,4 @@
+# /etc/conf.d/consolation
+
+# arguments to pass to consolation
+#consolation_args=""
diff --git a/sys-apps/consolation/files/consolation-initd b/sys-apps/consolation/files/consolation-initd
new file mode 100644
index 000000000000..c9252a82b865
--- /dev/null
+++ b/sys-apps/consolation/files/consolation-initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 2019 Sony Interactive Entertainment Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+name="consolation daemon"
+description=""
+command=/usr/sbin/consolation
+command_args="${consolation_args}"
+
+depend() {
+ need udev
+}