app-emulation/libpod: add package
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 2b3cd87ab0470ed6857b80b34c60e118724523e3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Miroshnichenko <alex@millerson.name>
|
||||
Date: Fri, 1 Jan 2021 17:52:07 +0300
|
||||
Subject: [PATCH] Disable Makefile selinux install options
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 0316ea28452e..9bb06a1cad4b 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -50,7 +50,7 @@ BASHINSTALLDIR=${PREFIX}/share/bash-completion/completions
|
||||
ZSHINSTALLDIR=${PREFIX}/share/zsh/site-functions
|
||||
FISHINSTALLDIR=${PREFIX}/share/fish/vendor_completions.d
|
||||
|
||||
-SELINUXOPT ?= $(shell test -x /usr/sbin/selinuxenabled && selinuxenabled && echo -Z)
|
||||
+SELINUXOPT ?= $(shell /bin/false && echo -Z)
|
||||
|
||||
COMMIT_NO ?= $(shell git rev-parse HEAD 2> /dev/null || true)
|
||||
GIT_COMMIT ?= $(if $(shell git status --porcelain --untracked-files=no),${COMMIT_NO}-dirty,${COMMIT_NO})
|
||||
--
|
||||
2.26.2
|
||||
|
||||
17
app-emulation/libpod/files/podman.initd
Normal file
17
app-emulation/libpod/files/podman.initd
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2015-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Podman Remote API Service"
|
||||
LOG_PATH="/var/log/${RC_SVCNAME}"
|
||||
RUN_PATH="/run/${RC_SVCNAME}"
|
||||
pidfile="${RUN_PATH}/${RC_SVCNAME}.pid"
|
||||
command="/usr/bin/podman"
|
||||
command_args="--log-level debug varlink -t 0 unix:/run/podman/io.podman"
|
||||
command_background="true"
|
||||
start_stop_daemon_args="--stdout ${LOG_PATH}/${RC_SVCNAME}.log --stderr ${LOG_PATH}/${RC_SVCNAME}.log"
|
||||
|
||||
start() {
|
||||
checkpath -d "${RUN_PATH}" "${LOG_PATH}"
|
||||
default_start
|
||||
}
|
||||
7
app-emulation/libpod/files/podman.logrotated
Normal file
7
app-emulation/libpod/files/podman.logrotated
Normal file
@@ -0,0 +1,7 @@
|
||||
/var/log/podman/podman.log {
|
||||
missingok
|
||||
size 5M
|
||||
rotate 3
|
||||
compress
|
||||
copytruncate
|
||||
}
|
||||
Reference in New Issue
Block a user