summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 16:02:26 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 16:02:26 +0000
commit0e3ba88137f1ac99471198682baff988dc770359 (patch)
treebccbf8ba0231b8aef0bbdaa9f13674c5ffda68bf /sys-process
parentadded missing dependency and updates libdv dependency. fixed #82661 (diff)
downloadhistorical-0e3ba88137f1ac99471198682baff988dc770359.tar.gz
historical-0e3ba88137f1ac99471198682baff988dc770359.tar.bz2
historical-0e3ba88137f1ac99471198682baff988dc770359.zip
Moved from sys-apps/minit to sys-process/minit.
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/minit/ChangeLog17
-rw-r--r--sys-process/minit/Manifest5
-rw-r--r--sys-process/minit/files/0.9.1-destdir.patch16
-rw-r--r--sys-process/minit/files/digest-minit-0.9.11
-rw-r--r--sys-process/minit/metadata.xml22
-rw-r--r--sys-process/minit/minit-0.9.1.ebuild31
6 files changed, 92 insertions, 0 deletions
diff --git a/sys-process/minit/ChangeLog b/sys-process/minit/ChangeLog
new file mode 100644
index 000000000000..58778fbce5b5
--- /dev/null
+++ b/sys-process/minit/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for sys-apps/minit
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/ChangeLog,v 1.1 2005/03/03 16:02:26 ciaranm Exp $
+
+*minit-0.9.1 (03 Mar 2005)
+
+ 03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml,
+ +files/0.9.1-destdir.patch, +minit-0.9.1.ebuild:
+ Moved from sys-apps/minit to sys-process/minit.
+
+ 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> minit-0.9.1.ebuild:
+ sync IUSE (missing)
+
+*minit-0.9.1 (04 Mar 2004)
+
+ 04 Mar 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for wmertens.
diff --git a/sys-process/minit/Manifest b/sys-process/minit/Manifest
new file mode 100644
index 000000000000..c47e3c0e66e7
--- /dev/null
+++ b/sys-process/minit/Manifest
@@ -0,0 +1,5 @@
+MD5 64da24c232d3f08491b932476c4cd819 minit-0.9.1.ebuild 637
+MD5 d24629ba75213843f8fa212f3275adea ChangeLog 432
+MD5 4e33e3743e1248b860b74722c4a3f18c metadata.xml 1039
+MD5 d5149bbafb2a189d9e66474604665c57 files/0.9.1-destdir.patch 622
+MD5 3a89b9f95fc635cb93140ba98b960068 files/digest-minit-0.9.1 63
diff --git a/sys-process/minit/files/0.9.1-destdir.patch b/sys-process/minit/files/0.9.1-destdir.patch
new file mode 100644
index 000000000000..7a36d3cdfde7
--- /dev/null
+++ b/sys-process/minit/files/0.9.1-destdir.patch
@@ -0,0 +1,16 @@
+--- Makefile.orig 2004-03-04 03:08:18.967017104 -0500
++++ Makefile 2004-03-04 03:10:11.445917712 -0500
+@@ -36,10 +36,12 @@
+ $(DIET) $(CROSS)$(CC) $(CFLAGS) -o $@ $^
+
+ install-files:
++ test -d $(DESTDIR)/sbin || mkdir -p $(DESTDIR)/sbin
+ install minit pidfilehack $(DESTDIR)/sbin
+ install write_proc hard-reboot $(DESTDIR)/sbin
++ test -d $(DESTDIR)/bin || mkdir -p $(DESTDIR)/bin
+ install msvc $(DESTDIR)/bin
+- test -d $(DESTDIR)/etc/minit || mkdir $(DESTDIR)/etc/minit
++ test -d $(DESTDIR)/etc/minit || mkdir -p $(DESTDIR)/etc/minit
+
+ install-fifos:
+ -mkfifo -m 600 $(DESTDIR)/etc/minit/in $(DESTDIR)/etc/minit/out
diff --git a/sys-process/minit/files/digest-minit-0.9.1 b/sys-process/minit/files/digest-minit-0.9.1
new file mode 100644
index 000000000000..e00c54344b14
--- /dev/null
+++ b/sys-process/minit/files/digest-minit-0.9.1
@@ -0,0 +1 @@
+MD5 c4e98bb5ceb03d9a74e8bbaf1e6e5b01 minit-0.9.1.tar.bz2 21894
diff --git a/sys-process/minit/metadata.xml b/sys-process/minit/metadata.xml
new file mode 100644
index 000000000000..2bbbccc887b0
--- /dev/null
+++ b/sys-process/minit/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+<longdescription>
+minit - a small yet feature-complete init
+
+What works so far
+ * It can start services and take dependencies into account.
+ * It can restart services
+ * It can start services in sync mode (i.e. wait until they
+terminate, to get around race conditions for static initializations)
+ * There is a companion utility "msvc" that can be used much in the
+same way as the svc from daemontools. Communication works over two
+fifos, /etc/minit/in and /etc/minit/out. Those have to exist before
+minit is started and they should be owned by root and have mode 600.
+ * There is a companion utility "pidfilehack" that can be used to do
+stuff like run ssh, wait a while, read the PID off /var/run/sshd.pid and
+tell minit this PID so it will know when sshd exits and can restart it.
+ * It can pipe stdout to a dedicated log process.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-process/minit/minit-0.9.1.ebuild b/sys-process/minit/minit-0.9.1.ebuild
new file mode 100644
index 000000000000..f20a3809cc56
--- /dev/null
+++ b/sys-process/minit/minit-0.9.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/minit-0.9.1.ebuild,v 1.1 2005/03/03 16:02:26 ciaranm Exp $
+
+inherit eutils
+
+DESCRIPTION="a small yet feature-complete init"
+HOMEPAGE="http://www.fefe.de/minit/"
+SRC_URI="http://www.fefe.de/minit/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="dev-libs/dietlibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-destdir.patch
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dodoc CHANGES README TODO
+}