From 2ba0a5c9d5ab59f63aba597e0424be9245054366 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Fri, 11 Oct 2019 14:24:55 -0700 Subject: sys-apps/consolation: New package Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Patrick McLean --- .../files/consolation-0.0.7-makefile.patch | 25 ++++++++++++++++++++++ sys-apps/consolation/files/consolation-confd | 4 ++++ sys-apps/consolation/files/consolation-initd | 12 +++++++++++ 3 files changed, 41 insertions(+) create mode 100644 sys-apps/consolation/files/consolation-0.0.7-makefile.patch create mode 100644 sys-apps/consolation/files/consolation-confd create mode 100644 sys-apps/consolation/files/consolation-initd (limited to 'sys-apps/consolation/files') 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 +} -- cgit v1.2.3-65-gdbad