summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetre Rodan <kaiowas@gentoo.org>2005-05-06 18:32:50 +0000
committerPetre Rodan <kaiowas@gentoo.org>2005-05-06 18:32:50 +0000
commit69ac23f608c73c77c3087a3d31df2c77d6a80aa3 (patch)
treed4e13908cb7d35ae47a287ce1b41100682cc19a6 /sys-process
parentNew snapshot. (diff)
downloadgentoo-2-69ac23f608c73c77c3087a3d31df2c77d6a80aa3.tar.gz
gentoo-2-69ac23f608c73c77c3087a3d31df2c77d6a80aa3.tar.bz2
gentoo-2-69ac23f608c73c77c3087a3d31df2c77d6a80aa3.zip
fix for bash >=3.0-r10
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/daemontools-scripts/ChangeLog8
-rw-r--r--sys-process/daemontools-scripts/Manifest12
-rw-r--r--sys-process/daemontools-scripts/daemontools-scripts-1.0.1.ebuild81
-rw-r--r--sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.11
4 files changed, 91 insertions, 11 deletions
diff --git a/sys-process/daemontools-scripts/ChangeLog b/sys-process/daemontools-scripts/ChangeLog
index daf5c985262f..b99da38fb680 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools-scripts/ChangeLog,v 1.3 2005/03/03 22:26:25 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools-scripts/ChangeLog,v 1.4 2005/05/06 18:32:50 kaiowas Exp $
+
+*daemontools-scripts-1.0.1 (06 May 2005)
+
+ 06 May 2005; petre rodan <kaiowas@gentoo.org>
+ +daemontools-scripts-1.0.1.ebuild:
+ added fix for bash >=3.0-r10
03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org>
daemontools-scripts-1.0.0.ebuild:
diff --git a/sys-process/daemontools-scripts/Manifest b/sys-process/daemontools-scripts/Manifest
index 2d30d3cdb1a6..897a9848c802 100644
--- a/sys-process/daemontools-scripts/Manifest
+++ b/sys-process/daemontools-scripts/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 84c841561b969a9c94ebc71300921d4d ChangeLog 844
MD5 d8f38699e78ad4853b74158c230c4de4 daemontools-scripts-1.0.0.ebuild 1828
MD5 7b74ebc39d0a3ddfede1e6b4fe37dacc metadata.xml 358
+MD5 07beb57e59a73c6049b86dd1e7d7e08c daemontools-scripts-1.0.1.ebuild 1832
MD5 a5bdb6713b0be3e8c4e0bf206cb393d6 files/digest-daemontools-scripts-1.0.0 76
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCJ48ALLFUmVNQ7rkRAg5SAKCQFs0il58IAqkhzI1RUNAlHl0zVgCdHFau
-e7PbE4IGhw2pPTMK1Ty/1Z4=
-=mODh
------END PGP SIGNATURE-----
+MD5 c656c3f7edfa35b4dd3006b0b36637ec files/digest-daemontools-scripts-1.0.1 76
diff --git a/sys-process/daemontools-scripts/daemontools-scripts-1.0.1.ebuild b/sys-process/daemontools-scripts/daemontools-scripts-1.0.1.ebuild
new file mode 100644
index 000000000000..c4f1e5370305
--- /dev/null
+++ b/sys-process/daemontools-scripts/daemontools-scripts-1.0.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2005 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.1.ebuild,v 1.1 2005/05/06 18:32:50 kaiowas Exp $
+
+inherit eutils flag-o-matic
+
+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="~x86 ~ppc ~sparc ~amd64"
+IUSE="static selinux withsamplescripts"
+
+RDEPEND="selinux? ( sys-apps/policycoreutils )
+ sys-process/daemontools"
+DEPEND=""
+
+src_compile() {
+ use static && append-ldflags -static
+
+ make -C ${S}/src CC="${CC:-gcc}" LD="${CC:-gcc} ${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 ${S}/etc/env.d/50svcinit
+ dosbin ${S}/sbin/*
+ dosbin ${S}/src/svcinit
+
+ # usage() script
+ exeinto /lib/rcscripts/sh
+ doexe ${S}/lib/rcscripts/sh/*
+
+ # this directory is targeted by daemontools
+ keepdir /service
+
+ use withsamplescripts && (
+
+ # 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
+ )
+}
+
+
diff --git a/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.1 b/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.1
new file mode 100644
index 000000000000..b600b3ad46e0
--- /dev/null
+++ b/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.1
@@ -0,0 +1 @@
+MD5 acd8bfe8e7f051f509b6b1543fea8dd8 daemontools-scripts-1.0.1.tar.bz2 9912