diff options
author | Tilman Klar <phoenix@gentoo.org> | 2002-08-08 18:27:55 +0000 |
---|---|---|
committer | Tilman Klar <phoenix@gentoo.org> | 2002-08-08 18:27:55 +0000 |
commit | 2151431757d3ba1549d3ad7ae71622183dcfba8e (patch) | |
tree | 7dd8c3607b9da63e82dc86e845e9f303a656848d /net-misc/omniORB | |
parent | gcc 3.x -mmmx fix0r (diff) | |
download | historical-2151431757d3ba1549d3ad7ae71622183dcfba8e.tar.gz historical-2151431757d3ba1549d3ad7ae71622183dcfba8e.tar.bz2 historical-2151431757d3ba1549d3ad7ae71622183dcfba8e.zip |
Fixed omniORB-305 (updated the init-script)
Diffstat (limited to 'net-misc/omniORB')
-rw-r--r-- | net-misc/omniORB/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/omniORB/files/omniORB.305 | 28 | ||||
-rw-r--r-- | net-misc/omniORB/omniORB-305.ebuild | 4 |
3 files changed, 35 insertions, 3 deletions
diff --git a/net-misc/omniORB/ChangeLog b/net-misc/omniORB/ChangeLog index 1aa32b3aebac..4dab494a6f22 100644 --- a/net-misc/omniORB/ChangeLog +++ b/net-misc/omniORB/ChangeLog @@ -1,9 +1,13 @@ # ChangeLog for net-misc/omniORB # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.4 2002/07/25 21:43:18 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.5 2002/08/08 18:27:55 phoenix Exp $ *omniORB-305 (25 Jul 2002) + 08 Aug 2002; phoen][x <phoenix@gentoo.org> files/omniORB.305 omniORB-305.ebuild : + Bumped the init.d file to omniORB.305; removed notifd from and fixed the killall command. + Incorporated this change in the ebuild. + 25 Jul 2002; George Shapovalov <george@gentoo.org> omniORB-305.ebuild : new version diff --git a/net-misc/omniORB/files/omniORB.305 b/net-misc/omniORB/files/omniORB.305 new file mode 100644 index 000000000000..69b75b97ce76 --- /dev/null +++ b/net-misc/omniORB/files/omniORB.305 @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/files/omniORB.305,v 1.1 2002/08/08 18:27:55 phoenix Exp $ + +depend() { + need net +} + +start() { + if [ ! -d "/var/log/omniORB" ] ; then + install -d /var/log/omniORB + fi + if [ "/var/log/omniORB/omninames*" ] ; then + rm -f /var/log/omniORB/omninames* + fi + ebegin "Starting omniORB" + exec /usr/bin/omniNames -start 2809 -logdir /var/log/omniORB \ + -errlog /var/log/omniORB/omniORB.errors 1>&2 & + eend $? "Error starting omniORB." +} + +stop() { + ebegin "Stopping omniORB" + killall omniNames 1>&2 + eend $? "Error stopping omniORB." +} + diff --git a/net-misc/omniORB/omniORB-305.ebuild b/net-misc/omniORB/omniORB-305.ebuild index e470c81fa0e9..a9de7b424ce9 100644 --- a/net-misc/omniORB/omniORB-305.ebuild +++ b/net-misc/omniORB/omniORB-305.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-305.ebuild,v 1.3 2002/07/26 21:38:14 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-305.ebuild,v 1.4 2002/08/08 18:27:55 phoenix Exp $ S="${WORKDIR}/omni" DESCRIPTION="a robust, high-performance CORBA 2 ORB" @@ -79,7 +79,7 @@ src_install () { doman man/man[15]/*.[15] exeinto /etc/init.d - newexe ${FILESDIR}/omniORB.rc6 omniORB + newexe ${FILESDIR}/omniORB.305 omniORB dodir /etc/omniorb insinto /etc/omniorb cd ${S} |