summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-process/daemontools-scripts/ChangeLog8
-rw-r--r--sys-process/daemontools-scripts/daemontools-scripts-1.0.4.ebuild76
-rw-r--r--sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.43
3 files changed, 86 insertions, 1 deletions
diff --git a/sys-process/daemontools-scripts/ChangeLog b/sys-process/daemontools-scripts/ChangeLog
index 47017ca444be..8679aa9fef3f 100644
--- a/sys-process/daemontools-scripts/ChangeLog
+++ b/sys-process/daemontools-scripts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-process/daemontools-scripts
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools-scripts/ChangeLog,v 1.10 2006/07/31 07:38:16 kaiowas Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools-scripts/ChangeLog,v 1.11 2006/11/29 07:35:33 kaiowas Exp $
+
+*daemontools-scripts-1.0.4 (29 Nov 2006)
+
+ 29 Nov 2006; Petre Rodan <kaiowas@gentoo.org>
+ -daemontools-scripts-1.0.2.ebuild, +daemontools-scripts-1.0.4.ebuild:
+ fix for bug #153100 reported by Dave
31 Jul 2006; Petre Rodan <kaiowas@gentoo.org>
daemontools-scripts-1.0.3.ebuild:
diff --git a/sys-process/daemontools-scripts/daemontools-scripts-1.0.4.ebuild b/sys-process/daemontools-scripts/daemontools-scripts-1.0.4.ebuild
new file mode 100644
index 000000000000..c82531bf421e
--- /dev/null
+++ b/sys-process/daemontools-scripts/daemontools-scripts-1.0.4.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools-scripts/daemontools-scripts-1.0.4.ebuild,v 1.1 2006/11/29 07:35:33 kaiowas Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="gentoo specific daemontools wrapper scripts"
+HOMEPAGE="http://dev.gentoo.org/~kaiowas/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static selinux withsamplescripts"
+
+RDEPEND="selinux? ( sys-apps/policycoreutils )"
+DEPEND=""
+
+src_compile() {
+ use static && append-ldflags -static
+
+ make -C ${S}/src CC="$(tc-getCC)" LD="$(tc-getCC) ${LDFLAGS}" \
+ CFLAGS="${CFLAGS}" || die
+}
+
+pkg_setup() {
+
+ use withsamplescripts && ( echo "${CONFIG_PROTECT}" | grep '/var/service' >/dev/null || \
+ if [ -d /var/service ]; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are currently using /var/service for"
+ ewarn "some daemontools services."
+ ewarn "In order to avoid damages to your system, please run"
+ ewarn ""
+ ewarn "echo 'CONFIG_PROTECT=\"/var/service\"' > /etc/env.d/51svcinit"
+ ewarn "env-update"
+ ewarn "source /etc/profile"
+ ewarn ""
+ epause 15
+ fi
+ )
+
+}
+
+src_install() {
+ into /
+ doenvd etc/env.d/50svcinit
+ dosbin sbin/* || die
+ dosbin src/svcinit || die
+
+ # usage() script
+ exeinto /lib/rcscripts/sh
+ doexe lib/rcscripts/sh/* || die
+
+ if use withsamplescripts ; then
+
+ # fill up /var/service/*
+ keepdir /var/service
+
+ cd "${S}"/var/service
+
+ services=`find ./ -type d`
+ for service in ${services}; do
+ dodir /var/service/${item}
+ done
+
+ files=`find ./ -type f`
+ for file in ${files}; do
+ path=`dirname ${file}`
+ exeinto /var/service/${path}
+ doexe ${file}
+ done
+ fi
+}
+
+
diff --git a/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.4 b/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.4
new file mode 100644
index 000000000000..416fef310bf8
--- /dev/null
+++ b/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.4
@@ -0,0 +1,3 @@
+MD5 5ca3a09fb4fbadc35fb418adb654f301 daemontools-scripts-1.0.4.tar.bz2 7145
+RMD160 759b783aab6f6a9b95500db56403a8c49aee2854 daemontools-scripts-1.0.4.tar.bz2 7145
+SHA256 3af568255e75da9681144355379df3b8e70ff945df101a1903f435166cac1264 daemontools-scripts-1.0.4.tar.bz2 7145