summaryrefslogtreecommitdiff
path: root/sys-apps/dudki
Unidiff
Diffstat (limited to 'sys-apps/dudki') (more/less context) (ignore whitespace changes)
-rw-r--r--sys-apps/dudki/Manifest20
-rw-r--r--sys-apps/dudki/dudki-0.2.2.ebuild34
-rw-r--r--sys-apps/dudki/files/digest-dudki-0.2.23
-rw-r--r--sys-apps/dudki/files/dudki.conf11
-rw-r--r--sys-apps/dudki/files/dudki.cron2
-rw-r--r--sys-apps/dudki/files/dudki.init20
6 files changed, 90 insertions, 0 deletions
diff --git a/sys-apps/dudki/Manifest b/sys-apps/dudki/Manifest
new file mode 100644
index 0000000..7435b0c
--- a/dev/null
+++ b/sys-apps/dudki/Manifest
@@ -0,0 +1,20 @@
1AUX dudki.conf 269 RMD160 45148747319ac06dc48de2a18ff760fd262b05f2 SHA1 aa8a805c1aeb7239bef67cb5b85d22136d5bc4e9 SHA256 f14c206023aa0f170564f5bf733723d07f3a7200b508c0b09fc0e7ccdf878b6a
2MD5 4981582df959655bec8eadadb28a9bb8 files/dudki.conf 269
3RMD160 45148747319ac06dc48de2a18ff760fd262b05f2 files/dudki.conf 269
4SHA256 f14c206023aa0f170564f5bf733723d07f3a7200b508c0b09fc0e7ccdf878b6a files/dudki.conf 269
5AUX dudki.cron 55 RMD160 36678454bdb9a6bfa6a5c8afbabd379f7658a684 SHA1 09b74d5c0905ac33f717ac41ad7d93b9de4fc5d9 SHA256 c1f772dca91ad226e0073ab3d54574d0af7ef6b69919936b21b8e92701092d09
6MD5 d65344728ccc45c1634d004ee02a3693 files/dudki.cron 55
7RMD160 36678454bdb9a6bfa6a5c8afbabd379f7658a684 files/dudki.cron 55
8SHA256 c1f772dca91ad226e0073ab3d54574d0af7ef6b69919936b21b8e92701092d09 files/dudki.cron 55
9AUX dudki.init 298 RMD160 49163a7a106c5daebac3a8af25bf040eae9877a3 SHA1 117f210ddcf5caef8b6b317b0c1012ab99947daa SHA256 dc0883879600b2f454749fdaef82be176ba39299d4a5a880e052536a12b4dab3
10MD5 7c8883051ae3f49059d7d43d39770bf0 files/dudki.init 298
11RMD160 49163a7a106c5daebac3a8af25bf040eae9877a3 files/dudki.init 298
12SHA256 dc0883879600b2f454749fdaef82be176ba39299d4a5a880e052536a12b4dab3 files/dudki.init 298
13DIST dudki-0.2.2.tar.bz2 74910 RMD160 4d58511d9d75a7a6f5116ce646cd157feb02396a SHA1 9459e18686a5818ce44343940fa83bfc28d49b86 SHA256 5201f913cef9c9c966da9f68bc1d72c3e9ff27dcd50aec793f600a674d4164bd
14EBUILD dudki-0.2.2.ebuild 773 RMD160 ad32eacd26fe457057c2898991083e502806ff5d SHA1 f43cf76aa979bde155fe9f09ad5e5ae9125e75cf SHA256 01ef23e1cfb5ac482950fd4b4b483bcb14b2dc5223b3005ba760850583134eb9
15MD5 1d17bb41427007c2c03636a8f1234094 dudki-0.2.2.ebuild 773
16RMD160 ad32eacd26fe457057c2898991083e502806ff5d dudki-0.2.2.ebuild 773
17SHA256 01ef23e1cfb5ac482950fd4b4b483bcb14b2dc5223b3005ba760850583134eb9 dudki-0.2.2.ebuild 773
18MD5 a4d587f7550878016f2707a3fc6f3b6f files/digest-dudki-0.2.2 235
19RMD160 f2ab20fa0f1cdce47d3af4685815696e2e9aab6e files/digest-dudki-0.2.2 235
20SHA256 73eae387166183da0e11b46c5a2d7b753daa4fb87d117d5f2d43170862835a2d files/digest-dudki-0.2.2 235
diff --git a/sys-apps/dudki/dudki-0.2.2.ebuild b/sys-apps/dudki/dudki-0.2.2.ebuild
new file mode 100644
index 0000000..4d34712
--- a/dev/null
+++ b/sys-apps/dudki/dudki-0.2.2.ebuild
@@ -0,0 +1,34 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5inherit eutils
6
7DESCRIPTION="The process maintenance daemon"
8HOMEPAGE="http://kin.klever.net/dudki/"
9SRC_URI="http://kin.klever.net/dist/${P}.tar.bz2"
10
11LICENSE="MIT"
12SLOT="0"
13KEYWORDS="~amd64 ~x86"
14IUSE=""
15
16RDEPEND=">=dev-libs/dotconf-1.0.13
17 !sys-apps/dudki-svn"
18DEPEND="${RDEPEND}
19 dev-util/pkgconfig"
20
21src_compile() {
22 econf || die "econf failed"
23 emake || die "emake failed"
24}
25
26src_install() {
27 make DESTDIR=${D} install || die "emake install failed"
28 insinto /etc
29 doins ${FILESDIR}/dudki.conf
30 dodoc AUTHORS COPYING NEWS
31
32 exeinto /etc/init.d ; newexe ${FILESDIR}/dudki.init dudki
33 exeinto /etc/cron.daily ; newexe ${FILESDIR}/dudki.cron dudki
34}
diff --git a/sys-apps/dudki/files/digest-dudki-0.2.2 b/sys-apps/dudki/files/digest-dudki-0.2.2
new file mode 100644
index 0000000..52fa6b0
--- a/dev/null
+++ b/sys-apps/dudki/files/digest-dudki-0.2.2
@@ -0,0 +1,3 @@
1MD5 1b8fa1024d96b1008e9e7d9d1dc4b7fe dudki-0.2.2.tar.bz2 74910
2RMD160 4d58511d9d75a7a6f5116ce646cd157feb02396a dudki-0.2.2.tar.bz2 74910
3SHA256 5201f913cef9c9c966da9f68bc1d72c3e9ff27dcd50aec793f600a674d4164bd dudki-0.2.2.tar.bz2 74910
diff --git a/sys-apps/dudki/files/dudki.conf b/sys-apps/dudki/files/dudki.conf
new file mode 100644
index 0000000..a017737
--- a/dev/null
+++ b/sys-apps/dudki/files/dudki.conf
@@ -0,0 +1,11 @@
1CheckInterval 60
2Daemonize on
3
4Notify mailto:hostmaster@localhost
5MailtoHeader From "Dudki daemon <dudki@localhost>"
6
7# This is an example entry to keep the sshd running
8<Process sshd>
9 PidFile /var/run/sshd.pid
10 RestartCommand "exec /etc/init.d/sshd start"
11</Process>
diff --git a/sys-apps/dudki/files/dudki.cron b/sys-apps/dudki/files/dudki.cron
new file mode 100644
index 0000000..e24ccf7
--- a/dev/null
+++ b/sys-apps/dudki/files/dudki.cron
@@ -0,0 +1,2 @@
1#!/bin/sh
2/etc/init.d/dudki --quiet status && dudki -e
diff --git a/sys-apps/dudki/files/dudki.init b/sys-apps/dudki/files/dudki.init
new file mode 100644
index 0000000..2876964
--- a/dev/null
+++ b/sys-apps/dudki/files/dudki.init
@@ -0,0 +1,20 @@
1#!/sbin/runscript
2# Copyright 1999-2007 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $Header: $
5
6depend() {
7 use clock logger
8}
9
10start() {
11 ebegin "Starting dudki!"
12 dudki >/dev/null 2>&1
13 eend $?
14}
15
16stop() {
17 ebegin "Stopping dudki!"
18 dudki -k
19 eend $?
20}