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) (unidiff) | |
tree | 6bb8e0a3d17ed5cf0ffe5cb101e34a55694a6eb2 | |
parent | 90108e4a63115acd33d08ec6c598589c25edafea (diff) | |
download | kintoo-13494efdcf104f4fb71d9034f92172a73a103b1d.zip kintoo-13494efdcf104f4fb71d9034f92172a73a103b1d.tar.gz kintoo-13494efdcf104f4fb71d9034f92172a73a103b1d.tar.bz2 |
dudki
-rw-r--r-- | profiles/categories | 1 | ||||
-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 |
7 files changed, 91 insertions, 0 deletions
diff --git a/profiles/categories b/profiles/categories new file mode 100644 index 0000000..a70619b --- a/dev/null +++ b/profiles/categories | |||
@@ -0,0 +1 @@ | |||
sys-apps | |||
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 @@ | |||
1 | AUX dudki.conf 269 RMD160 45148747319ac06dc48de2a18ff760fd262b05f2 SHA1 aa8a805c1aeb7239bef67cb5b85d22136d5bc4e9 SHA256 f14c206023aa0f170564f5bf733723d07f3a7200b508c0b09fc0e7ccdf878b6a | ||
2 | MD5 4981582df959655bec8eadadb28a9bb8 files/dudki.conf 269 | ||
3 | RMD160 45148747319ac06dc48de2a18ff760fd262b05f2 files/dudki.conf 269 | ||
4 | SHA256 f14c206023aa0f170564f5bf733723d07f3a7200b508c0b09fc0e7ccdf878b6a files/dudki.conf 269 | ||
5 | AUX dudki.cron 55 RMD160 36678454bdb9a6bfa6a5c8afbabd379f7658a684 SHA1 09b74d5c0905ac33f717ac41ad7d93b9de4fc5d9 SHA256 c1f772dca91ad226e0073ab3d54574d0af7ef6b69919936b21b8e92701092d09 | ||
6 | MD5 d65344728ccc45c1634d004ee02a3693 files/dudki.cron 55 | ||
7 | RMD160 36678454bdb9a6bfa6a5c8afbabd379f7658a684 files/dudki.cron 55 | ||
8 | SHA256 c1f772dca91ad226e0073ab3d54574d0af7ef6b69919936b21b8e92701092d09 files/dudki.cron 55 | ||
9 | AUX dudki.init 298 RMD160 49163a7a106c5daebac3a8af25bf040eae9877a3 SHA1 117f210ddcf5caef8b6b317b0c1012ab99947daa SHA256 dc0883879600b2f454749fdaef82be176ba39299d4a5a880e052536a12b4dab3 | ||
10 | MD5 7c8883051ae3f49059d7d43d39770bf0 files/dudki.init 298 | ||
11 | RMD160 49163a7a106c5daebac3a8af25bf040eae9877a3 files/dudki.init 298 | ||
12 | SHA256 dc0883879600b2f454749fdaef82be176ba39299d4a5a880e052536a12b4dab3 files/dudki.init 298 | ||
13 | DIST dudki-0.2.2.tar.bz2 74910 RMD160 4d58511d9d75a7a6f5116ce646cd157feb02396a SHA1 9459e18686a5818ce44343940fa83bfc28d49b86 SHA256 5201f913cef9c9c966da9f68bc1d72c3e9ff27dcd50aec793f600a674d4164bd | ||
14 | EBUILD dudki-0.2.2.ebuild 773 RMD160 ad32eacd26fe457057c2898991083e502806ff5d SHA1 f43cf76aa979bde155fe9f09ad5e5ae9125e75cf SHA256 01ef23e1cfb5ac482950fd4b4b483bcb14b2dc5223b3005ba760850583134eb9 | ||
15 | MD5 1d17bb41427007c2c03636a8f1234094 dudki-0.2.2.ebuild 773 | ||
16 | RMD160 ad32eacd26fe457057c2898991083e502806ff5d dudki-0.2.2.ebuild 773 | ||
17 | SHA256 01ef23e1cfb5ac482950fd4b4b483bcb14b2dc5223b3005ba760850583134eb9 dudki-0.2.2.ebuild 773 | ||
18 | MD5 a4d587f7550878016f2707a3fc6f3b6f files/digest-dudki-0.2.2 235 | ||
19 | RMD160 f2ab20fa0f1cdce47d3af4685815696e2e9aab6e files/digest-dudki-0.2.2 235 | ||
20 | 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 @@ | |||
1 | # Copyright 1999-2007 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | # $Header: $ | ||
4 | |||
5 | inherit eutils | ||
6 | |||
7 | DESCRIPTION="The process maintenance daemon" | ||
8 | HOMEPAGE="http://kin.klever.net/dudki/" | ||
9 | SRC_URI="http://kin.klever.net/dist/${P}.tar.bz2" | ||
10 | |||
11 | LICENSE="MIT" | ||
12 | SLOT="0" | ||
13 | KEYWORDS="~amd64 ~x86" | ||
14 | IUSE="" | ||
15 | |||
16 | RDEPEND=">=dev-libs/dotconf-1.0.13 | ||
17 | !sys-apps/dudki-svn" | ||
18 | DEPEND="${RDEPEND} | ||
19 | dev-util/pkgconfig" | ||
20 | |||
21 | src_compile() { | ||
22 | econf || die "econf failed" | ||
23 | emake || die "emake failed" | ||
24 | } | ||
25 | |||
26 | src_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 @@ | |||
1 | MD5 1b8fa1024d96b1008e9e7d9d1dc4b7fe dudki-0.2.2.tar.bz2 74910 | ||
2 | RMD160 4d58511d9d75a7a6f5116ce646cd157feb02396a dudki-0.2.2.tar.bz2 74910 | ||
3 | 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 @@ | |||
1 | CheckInterval 60 | ||
2 | Daemonize on | ||
3 | |||
4 | Notify mailto:hostmaster@localhost | ||
5 | MailtoHeader 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 | |||
6 | depend() { | ||
7 | use clock logger | ||
8 | } | ||
9 | |||
10 | start() { | ||
11 | ebegin "Starting dudki!" | ||
12 | dudki >/dev/null 2>&1 | ||
13 | eend $? | ||
14 | } | ||
15 | |||
16 | stop() { | ||
17 | ebegin "Stopping dudki!" | ||
18 | dudki -k | ||
19 | eend $? | ||
20 | } | ||