diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-03-22 13:39:42 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-03-22 13:39:42 +0000 |
commit | 15c9d0fb63735cd82b79f6f4e99ed8cca05c1957 (patch) | |
tree | 170a39b045efbdb1ae6d486fe0f88c63c8cb6254 /sys-cluster/dlm | |
parent | added fix for mono streams playing (diff) | |
download | historical-15c9d0fb63735cd82b79f6f4e99ed8cca05c1957.tar.gz historical-15c9d0fb63735cd82b79f6f4e99ed8cca05c1957.tar.bz2 historical-15c9d0fb63735cd82b79f6f4e99ed8cca05c1957.zip |
added init file
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-cluster/dlm')
-rw-r--r-- | sys-cluster/dlm/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/dlm/Manifest | 11 | ||||
-rw-r--r-- | sys-cluster/dlm/dlm-1.0_pre21.ebuild | 4 | ||||
-rwxr-xr-x | sys-cluster/dlm/files/dlm.rc | 23 |
4 files changed, 37 insertions, 7 deletions
diff --git a/sys-cluster/dlm/ChangeLog b/sys-cluster/dlm/ChangeLog index 7b3e606fa085..91e2e029d4a5 100644 --- a/sys-cluster/dlm/ChangeLog +++ b/sys-cluster/dlm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/dlm # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm/ChangeLog,v 1.6 2005/03/19 15:56:38 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm/ChangeLog,v 1.7 2005/03/22 13:39:42 xmerlin Exp $ + + 22 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +files/dlm.rc, + dlm-1.0_pre21.ebuild: + added init file *dlm-1.0_pre21 (19 Mar 2005) diff --git a/sys-cluster/dlm/Manifest b/sys-cluster/dlm/Manifest index 74c007531d35..594af768e617 100644 --- a/sys-cluster/dlm/Manifest +++ b/sys-cluster/dlm/Manifest @@ -2,15 +2,16 @@ Hash: SHA1 MD5 8873d5690fcbecf8bc755fa56c6bcee5 dlm-1.0_pre6.ebuild 749 -MD5 847b14d3055dae1dde0d52e6de881cb3 ChangeLog 561 +MD5 905a17184ec8c5edaabe8401634a61bf ChangeLog 673 MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223 -MD5 a4426bd8510c67613b76dc9c0da14aab dlm-1.0_pre21.ebuild 848 +MD5 644b5ba780b4fa510e8e2c4567261933 dlm-1.0_pre21.ebuild 909 MD5 1c4db8e258838bc60b994ca483cc195e files/digest-dlm-1.0_pre6 63 MD5 3099250e07ba9a5dd37879bda665d41e files/digest-dlm-1.0_pre21 64 +MD5 25e7de0eb443d155c674af863e8adde9 files/dlm.rc 442 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFCPExtgMUyd/cdjWsRAgvCAJ9NLHeXr5Chm/mF16K0e4iUuCAg5ACbBIqb -bHacc/nTfmBqgOaPf6gIXkE= -=Uf/Y +iD8DBQFCQCCCgMUyd/cdjWsRAlAjAKCKLvnb3Tbe4699j2BwIE+gFxCYyACghay2 +OvheTZejsxMEEmeNF/teWsw= +=QJFK -----END PGP SIGNATURE----- diff --git a/sys-cluster/dlm/dlm-1.0_pre21.ebuild b/sys-cluster/dlm/dlm-1.0_pre21.ebuild index ee9ca377320c..631afd017d69 100644 --- a/sys-cluster/dlm/dlm-1.0_pre21.ebuild +++ b/sys-cluster/dlm/dlm-1.0_pre21.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm/dlm-1.0_pre21.ebuild,v 1.1 2005/03/19 15:56:38 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm/dlm-1.0_pre21.ebuild,v 1.2 2005/03/22 13:39:42 xmerlin Exp $ inherit linux-mod @@ -37,5 +37,7 @@ src_compile() { src_install() { make DESTDIR=${D} install || die + exeinto /etc/init.d ; newexe ${FILESDIR}/dlm.rc dlm || die + dodoc doc/*.txt } diff --git a/sys-cluster/dlm/files/dlm.rc b/sys-cluster/dlm/files/dlm.rc new file mode 100755 index 000000000000..620b4fe9b58b --- /dev/null +++ b/sys-cluster/dlm/files/dlm.rc @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm/files/dlm.rc,v 1.1 2005/03/22 13:39:42 xmerlin Exp $ + +depend() { + use net + need cman + provide cluster-locking-manager +} + +start() { + ebegin "Loading dlm module" + modprobe dlm + eend $? +} + +stop() { + ebegin "Removing dlm module" + modprobe -r dlm &>/dev/null + eend $? +} + |