diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/incron |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/incron')
-rw-r--r-- | sys-process/incron/Manifest | 8 | ||||
-rw-r--r-- | sys-process/incron/files/incron-0.5.10+gcc-4.7.patch | 12 | ||||
-rw-r--r-- | sys-process/incron/files/incrond.init | 20 | ||||
-rw-r--r-- | sys-process/incron/files/incrond.service | 9 | ||||
-rw-r--r-- | sys-process/incron/incron-0.5.10-r1.ebuild | 39 | ||||
-rw-r--r-- | sys-process/incron/metadata.xml | 5 |
6 files changed, 93 insertions, 0 deletions
diff --git a/sys-process/incron/Manifest b/sys-process/incron/Manifest new file mode 100644 index 000000000000..80ad904d44e5 --- /dev/null +++ b/sys-process/incron/Manifest @@ -0,0 +1,8 @@ +AUX incron-0.5.10+gcc-4.7.patch 335 SHA256 5d921eeba25467b2d3d529915a8c671dc16eb3dfd5abecb08e5a50d297615b06 SHA512 d5f78513aba03c02b0f0f69000a0c9c1e8a0e3a5011fc85645f188b26cbcf958532b1fe55d91949708ff14fe36e372dc0f7423b82b634a993081ad143e0fb682 WHIRLPOOL 95716d2f29ea2e8cece6b0bba2e827cc81659488894fe193521af8ef3d547d3b0c51b91c496b967adde4229dfdbb292e7f8dc24a60d918f47bba0c0d2e78bee8 +AUX incrond.init 435 SHA256 ece2773d9af383b9d9c41b057174c2c0f8d162e5a7c31f01f8abf8fe2d209927 SHA512 11190582fa29bcbbf5f151f9e1ac1f7c74970d4a5a633a5f82102cf8bb574c25376c54d37621dd4fdaa1a99f16c5aefb2332c8f3e3de2ca0eef6783b379a1083 WHIRLPOOL 68789ed04e20293e81f0a2b0aaeac0fc26ecf89d91031474fab66dc071d93403b1f628d1a4c1521c630b397cb9a463fc06a940ede818847333e23a8ce6aa8b74 +AUX incrond.service 155 SHA256 f25b0cdd0bb4f490c0d7974a6e4eb05d190d30b5c5bc9082501b5ad958dd377a SHA512 059043d3607aafb1d469977574eb96478845d17d88f7f61ba23269341c407e443bca36411eedf0753edf0216bd04800128c9557dc8827ffb980d5512f257bb80 WHIRLPOOL 2a9c44157ed732cc6840436ab1128a18e6d050dd604ad3a4b8aeb3f3583065d4cb3b321d123049a1692f94368873dec6f99ef77b6dee931349a332e45a38c7c3 +DIST incron-0.5.10.tar.gz 203158 SHA256 5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a SHA512 653817c35059b5305e059137eac78f21a7d32ccc03fc92ba282eab66ba5f3d2c83a1a571ebdcead8df3ed500a7fd30cfa46375c635450b08d2bd8d00dfe86df3 WHIRLPOOL 563730d7d2ac9122d6650431c259b50f6e0fd5cbbaa2e64383c756722efd9bf6a8595cfee8bceff006afffff8ce49702b6d44de1c4156498fb559f4ef00e3458 +EBUILD incron-0.5.10-r1.ebuild 833 SHA256 347a103e87f112906049d7ec311499ee907e469cb7ea0fed4b36af1b5c9fb225 SHA512 89ce3fcfe569e42a9863d3bbe47db3565e3b8e653d66d5e9304a8d975d51e7f034307375a383d68fec8cc602e5fd561382f0013544aa96710410acf53152a8f9 WHIRLPOOL 3b80a49f8ce641337af04d7b8b715de328c1e54ddcea3507e943a07b41351f7e79ef099e942ec7ae9054a46a95827ee38edb2e7ecff977f0a3aa849a8b07699b +MISC ChangeLog 2450 SHA256 ab4e2c9dfe586cb1d30ef9c701480b9dfbc5f41b49fb01c3cf17b28a60cd07a8 SHA512 97066a83675f94ab9bd6b265d8a8dff1feb13c688737cfbb86ee5307fa6886b5c92c3e07f084f892241b0ac339752a7a22198f2b1069192603772547705140cd WHIRLPOOL d366d3ca86ea02af3cd9486d3ff3311dae54ccd537f656aaab69cfdd9e059ae804a973293edf7adc3ebd3f130b6a30d5898073fcf8873fe8aae1a03636e15df5 +MISC ChangeLog-2015 4009 SHA256 e6c05b672cf5d43d72ff95dcd2db0cbe0f5f50afbc09ada9866c13e9506a69ad SHA512 02f62e6c9e10b449b207103c91967fad2a5024fa62f1ac339a73fe7e3b8b843d58f87dc825d9ef94f8a0dec6b608c31294c380053356f3e4a36a8fd8352a6c5b WHIRLPOOL f08cde94b7c4917143ed35e1c1501de4050f49b92982fc5ed37a2b0721ae474072e622dbaf786e628481bce4a9634f84e34620cda50151f86909e454a1f9660a +MISC metadata.xml 167 SHA256 5fe493e76bba84455c54b3a46adfae5a1bfe01c764ef0d9e5f6d3e8a1d142188 SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 WHIRLPOOL dc6c3dfc7fd7f0d76c97f0786cb76a55b8564f8437f96d4ccebf985817b9f6dcc4c61830aa5df80d725e4a54b281ea2e03d6b0859214af081112cba15025e64b diff --git a/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch b/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch new file mode 100644 index 000000000000..a1b690510f34 --- /dev/null +++ b/sys-process/incron/files/incron-0.5.10+gcc-4.7.patch @@ -0,0 +1,12 @@ +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> diff --git a/sys-process/incron/files/incrond.init b/sys-process/incron/files/incrond.init new file mode 100644 index 000000000000..511364eafafc --- /dev/null +++ b/sys-process/incron/files/incrond.init @@ -0,0 +1,20 @@ +#!/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 $? +} diff --git a/sys-process/incron/files/incrond.service b/sys-process/incron/files/incrond.service new file mode 100644 index 000000000000..a3d2a9b0b3bb --- /dev/null +++ b/sys-process/incron/files/incrond.service @@ -0,0 +1,9 @@ +[Unit] +Description=Inotify System Scheduler + +[Service] +ExecStart=/usr/sbin/incrond --foreground -f /etc/incron.conf + +[Install] +WantedBy=multi-user.target + diff --git a/sys-process/incron/incron-0.5.10-r1.ebuild b/sys-process/incron/incron-0.5.10-r1.ebuild new file mode 100644 index 000000000000..67fe3b645e7d --- /dev/null +++ b/sys-process/incron/incron-0.5.10-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils linux-info systemd toolchain-funcs + +DESCRIPTION="inotify based cron daemon" +HOMEPAGE="http://incron.aiken.cz/" +SRC_URI="http://inotify.aiken.cz/download/incron/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +# < 2.6.18 => INOTIFY, >= 2.6.18 => INOTIFY_USER +# It should be ok to expect at least 2.6.18 +CONFIG_CHECK="~INOTIFY_USER" + +src_prepare() { + epatch "${FILESDIR}"/${P}+gcc-4.7.patch +} + +src_compile() { + emake CXX=$(tc-getCXX) +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr DOCDIR=/usr/share/doc/${PF} install + + newinitd "${FILESDIR}/incrond.init" incrond + systemd_dounit "${FILESDIR}/incrond.service" + + dodoc CHANGELOG README TODO +} diff --git a/sys-process/incron/metadata.xml b/sys-process/incron/metadata.xml new file mode 100644 index 000000000000..7a38bb900964 --- /dev/null +++ b/sys-process/incron/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> +</pkgmetadata> |