Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13922
Signed-off-by: Aaron Bauman <bman@gentoo.org>
+++ /dev/null
-Index: incron-0.5.10/icd-main.cpp
-===================================================================
---- incron-0.5.10.orig/icd-main.cpp
-+++ incron-0.5.10/icd-main.cpp
-@@ -24,6 +24,7 @@
- #include <dirent.h>
- #include <syslog.h>
- #include <errno.h>
-+#include <unistd.h>
- #include <sys/poll.h>
- #include <sys/stat.h>
- #include <cstdio>
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use clock logger
- need localmount
-}
-
-start() {
- ebegin "Starting incrond"
- start-stop-daemon --start --pidfile /var/run/incrond.pid --exec /usr/sbin/incrond -- -f /etc/incron.conf
- eend $?
-}
-
-stop() {
- ebegin "Stopping incrond"
- start-stop-daemon --stop --pidfile /var/run/incrond.pid
- eend $?
-}