author | Michael Krelin <hacker@klever.net> | 2007-02-21 21:03:14 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-02-21 21:03:14 (UTC) |
commit | 13494efdcf104f4fb71d9034f92172a73a103b1d (patch) (side-by-side diff) | |
tree | 6bb8e0a3d17ed5cf0ffe5cb101e34a55694a6eb2 /sys-apps/dudki | |
parent | 90108e4a63115acd33d08ec6c598589c25edafea (diff) | |
download | kintoo-13494efdcf104f4fb71d9034f92172a73a103b1d.zip kintoo-13494efdcf104f4fb71d9034f92172a73a103b1d.tar.gz kintoo-13494efdcf104f4fb71d9034f92172a73a103b1d.tar.bz2 |
dudki
-rw-r--r-- | sys-apps/dudki/Manifest | 20 | ||||
-rw-r--r-- | sys-apps/dudki/dudki-0.2.2.ebuild | 34 | ||||
-rw-r--r-- | sys-apps/dudki/files/digest-dudki-0.2.2 | 3 | ||||
-rw-r--r-- | sys-apps/dudki/files/dudki.conf | 11 | ||||
-rw-r--r-- | sys-apps/dudki/files/dudki.cron | 2 | ||||
-rw-r--r-- | sys-apps/dudki/files/dudki.init | 20 |
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 @@ +AUX dudki.conf 269 RMD160 45148747319ac06dc48de2a18ff760fd262b05f2 SHA1 aa8a805c1aeb7239bef67cb5b85d22136d5bc4e9 SHA256 f14c206023aa0f170564f5bf733723d07f3a7200b508c0b09fc0e7ccdf878b6a +MD5 4981582df959655bec8eadadb28a9bb8 files/dudki.conf 269 +RMD160 45148747319ac06dc48de2a18ff760fd262b05f2 files/dudki.conf 269 +SHA256 f14c206023aa0f170564f5bf733723d07f3a7200b508c0b09fc0e7ccdf878b6a files/dudki.conf 269 +AUX dudki.cron 55 RMD160 36678454bdb9a6bfa6a5c8afbabd379f7658a684 SHA1 09b74d5c0905ac33f717ac41ad7d93b9de4fc5d9 SHA256 c1f772dca91ad226e0073ab3d54574d0af7ef6b69919936b21b8e92701092d09 +MD5 d65344728ccc45c1634d004ee02a3693 files/dudki.cron 55 +RMD160 36678454bdb9a6bfa6a5c8afbabd379f7658a684 files/dudki.cron 55 +SHA256 c1f772dca91ad226e0073ab3d54574d0af7ef6b69919936b21b8e92701092d09 files/dudki.cron 55 +AUX dudki.init 298 RMD160 49163a7a106c5daebac3a8af25bf040eae9877a3 SHA1 117f210ddcf5caef8b6b317b0c1012ab99947daa SHA256 dc0883879600b2f454749fdaef82be176ba39299d4a5a880e052536a12b4dab3 +MD5 7c8883051ae3f49059d7d43d39770bf0 files/dudki.init 298 +RMD160 49163a7a106c5daebac3a8af25bf040eae9877a3 files/dudki.init 298 +SHA256 dc0883879600b2f454749fdaef82be176ba39299d4a5a880e052536a12b4dab3 files/dudki.init 298 +DIST dudki-0.2.2.tar.bz2 74910 RMD160 4d58511d9d75a7a6f5116ce646cd157feb02396a SHA1 9459e18686a5818ce44343940fa83bfc28d49b86 SHA256 5201f913cef9c9c966da9f68bc1d72c3e9ff27dcd50aec793f600a674d4164bd +EBUILD dudki-0.2.2.ebuild 773 RMD160 ad32eacd26fe457057c2898991083e502806ff5d SHA1 f43cf76aa979bde155fe9f09ad5e5ae9125e75cf SHA256 01ef23e1cfb5ac482950fd4b4b483bcb14b2dc5223b3005ba760850583134eb9 +MD5 1d17bb41427007c2c03636a8f1234094 dudki-0.2.2.ebuild 773 +RMD160 ad32eacd26fe457057c2898991083e502806ff5d dudki-0.2.2.ebuild 773 +SHA256 01ef23e1cfb5ac482950fd4b4b483bcb14b2dc5223b3005ba760850583134eb9 dudki-0.2.2.ebuild 773 +MD5 a4d587f7550878016f2707a3fc6f3b6f files/digest-dudki-0.2.2 235 +RMD160 f2ab20fa0f1cdce47d3af4685815696e2e9aab6e files/digest-dudki-0.2.2 235 +SHA256 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 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="The process maintenance daemon" +HOMEPAGE="http://kin.klever.net/dudki/" +SRC_URI="http://kin.klever.net/dist/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/dotconf-1.0.13 + !sys-apps/dudki-svn" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "emake install failed" + insinto /etc + doins ${FILESDIR}/dudki.conf + dodoc AUTHORS COPYING NEWS + + exeinto /etc/init.d ; newexe ${FILESDIR}/dudki.init dudki + exeinto /etc/cron.daily ; newexe ${FILESDIR}/dudki.cron dudki +} 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 @@ +MD5 1b8fa1024d96b1008e9e7d9d1dc4b7fe dudki-0.2.2.tar.bz2 74910 +RMD160 4d58511d9d75a7a6f5116ce646cd157feb02396a dudki-0.2.2.tar.bz2 74910 +SHA256 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 @@ +CheckInterval 60 +Daemonize on + +Notify mailto:hostmaster@localhost +MailtoHeader From "Dudki daemon <dudki@localhost>" + +# This is an example entry to keep the sshd running +<Process sshd> + PidFile /var/run/sshd.pid + RestartCommand "exec /etc/init.d/sshd start" +</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 @@ +#!/bin/sh +/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 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + use clock logger +} + +start() { + ebegin "Starting dudki!" + dudki >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping dudki!" + dudki -k + eend $? +} |