diff options
author | Petre Rodan <kaiowas@gentoo.org> | 2006-03-31 13:47:35 +0000 |
---|---|---|
committer | Petre Rodan <kaiowas@gentoo.org> | 2006-03-31 13:47:35 +0000 |
commit | 126a9f7943df87ad72821b07990f79f7801c9bc8 (patch) | |
tree | 14b81996847689e103ec37851daa48a6c8c754a0 /sys-process/daemontools-scripts | |
parent | Fix bug #127980. (diff) | |
download | historical-126a9f7943df87ad72821b07990f79f7801c9bc8.tar.gz historical-126a9f7943df87ad72821b07990f79f7801c9bc8.tar.bz2 historical-126a9f7943df87ad72821b07990f79f7801c9bc8.zip |
added compatibility with >=policycoreutils-1.30
Package-Manager: portage-2.1_pre6-r2
Diffstat (limited to 'sys-process/daemontools-scripts')
4 files changed, 105 insertions, 6 deletions
diff --git a/sys-process/daemontools-scripts/ChangeLog b/sys-process/daemontools-scripts/ChangeLog index 99de42b5dfdc..00d82cc2d9f8 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.8 2005/12/30 07:39:49 kaiowas Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/daemontools-scripts/ChangeLog,v 1.9 2006/03/31 13:47:35 kaiowas Exp $ + +*daemontools-scripts-1.0.3 (31 Mar 2006) + + 31 Mar 2006; petre rodan <kaiowas@gentoo.org> + +daemontools-scripts-1.0.3.ebuild: + added compatibility with >=policycoreutils-1.30 30 Dec 2005; petre rodan <kaiowas@gentoo.org> daemontools-scripts-1.0.2.ebuild: diff --git a/sys-process/daemontools-scripts/Manifest b/sys-process/daemontools-scripts/Manifest index 1577a0ad4ae7..e695be8fda2b 100644 --- a/sys-process/daemontools-scripts/Manifest +++ b/sys-process/daemontools-scripts/Manifest @@ -1,14 +1,28 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c1273d3368053d6da67951f878736684 ChangeLog 1609 +MD5 49ab8acab8d2c921bf4cfc98788aa8ce ChangeLog 1787 +RMD160 3677803a1ac5f83d567633ea2ed28aad26fa5368 ChangeLog 1787 +SHA256 a4c8ab675d6f9347c37a5dee0259979a6bdf1e0c9caa03c96997f0fc4e7ac4b3 ChangeLog 1787 MD5 a3d478fd7d207573465dadefe9bc8c49 daemontools-scripts-1.0.2.ebuild 1795 +RMD160 80d61b00c9503636e87c70e3cb3bf449feb55902 daemontools-scripts-1.0.2.ebuild 1795 +SHA256 312e580391beaacb3fa814d00c05e948915012ed63103685ac477013f6cc3f6f daemontools-scripts-1.0.2.ebuild 1795 +MD5 ba6dc852a574a998bb98a57543343d58 daemontools-scripts-1.0.3.ebuild 1807 +RMD160 7e46a2e0a4cf0d6c5e97f79d9f02aedf02a59922 daemontools-scripts-1.0.3.ebuild 1807 +SHA256 90da40127c76c90b38f07a60de3b31c8da17a7e8a8d6131e46d6cdadf7a307b4 daemontools-scripts-1.0.3.ebuild 1807 MD5 71c7a292909d199a29725e94e98ff148 files/digest-daemontools-scripts-1.0.2 77 +RMD160 bd23f1a96cbd371e5cdb62534e297f94692abdfe files/digest-daemontools-scripts-1.0.2 77 +SHA256 659afd81c1edb1e869236177456ba599114e2c2ff20a10c1ec0ee9e7ba32bc9c files/digest-daemontools-scripts-1.0.2 77 +MD5 f1bb46336f8db9bc07b8395bb2827a6f files/digest-daemontools-scripts-1.0.3 274 +RMD160 436c3d583f188011b5b9de598dc66e6d4291fc29 files/digest-daemontools-scripts-1.0.3 274 +SHA256 623f8d2b29a4c3c1240c14936ff41073d24e064d129b680b6a242422a62def5d files/digest-daemontools-scripts-1.0.3 274 MD5 7b74ebc39d0a3ddfede1e6b4fe37dacc metadata.xml 358 +RMD160 3c801c757537e0588a43053e99fbe29e90865986 metadata.xml 358 +SHA256 0637d557e904994f965e5f4a31789f689c359ea50eb48df3dcce8567975b4d08 metadata.xml 358 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFDtOSlGSBEIeh4AEYRAkvCAJ9cGjfvn1Vpt2Dk/hRfuEE1B44frQCfbwt/ -KkquboEovsum7NYxZa+H494= -=QB/Z +iD8DBQFELTRYGSBEIeh4AEYRAsU8AJ9hmGLWSTvhMG//BWtukN5mZ0w7yQCfXBhH +TalPv6W4Yi6AopcSQT/TBeM= +=Pv4S -----END PGP SIGNATURE----- diff --git a/sys-process/daemontools-scripts/daemontools-scripts-1.0.3.ebuild b/sys-process/daemontools-scripts/daemontools-scripts-1.0.3.ebuild new file mode 100644 index 000000000000..1ed484a4b846 --- /dev/null +++ b/sys-process/daemontools-scripts/daemontools-scripts-1.0.3.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.3.ebuild,v 1.1 2006/03/31 13:47:35 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.3 b/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.3 new file mode 100644 index 000000000000..8ff7a2996e2a --- /dev/null +++ b/sys-process/daemontools-scripts/files/digest-daemontools-scripts-1.0.3 @@ -0,0 +1,3 @@ +MD5 2149adde90b51b834f1a5ebde17f4bc8 daemontools-scripts-1.0.3.tar.bz2 7141 +RMD160 44969d9d34d336001c592ab8a725f686c3229cf8 daemontools-scripts-1.0.3.tar.bz2 7141 +SHA256 00f18fa7d9104ec26bb38abacdcec9a65ac2fa1b8a04ad364c0f203f9cb70806 daemontools-scripts-1.0.3.tar.bz2 7141 |