summaryrefslogtreecommitdiff
path: root/sys-process/uksmd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /sys-process/uksmd/files
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'sys-process/uksmd/files')
-rw-r--r--sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch15
-rw-r--r--sys-process/uksmd/files/uksmd.init7
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch b/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch
new file mode 100644
index 000000000000..7e92204d4037
--- /dev/null
+++ b/sys-process/uksmd/files/uksmd-0_pre20190726-respect-cflags-ldflags.patch
@@ -0,0 +1,15 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2019-05-19 16:36:31.000000000 +0300
++++ b/Makefile 2019-07-24 18:12:29.444896030 +0300
+@@ -1,8 +1,8 @@
+ PROG = uksmd
+ OBJS = uksmd.o
+-PREFIX ?= /usr/local
+-CFLAGS = -O3 -Wall -Wextra -pedantic -pipe -fstack-protector-strong -fno-plt
+-LDFLAGS = -lprocps
++PREFIX ?= /usr
++CFLAGS += -Wextra -pedantic -fstack-protector-strong -fno-plt
++LDFLAGS += -lprocps
+
+ all: build
+
diff --git a/sys-process/uksmd/files/uksmd.init b/sys-process/uksmd/files/uksmd.init
new file mode 100644
index 000000000000..637666b50a96
--- /dev/null
+++ b/sys-process/uksmd/files/uksmd.init
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Userspace KSM helper daemon"
+command=/usr/bin/uksmd
+pidfile="/var/run/uksmd.pid"