Initial commit, ebuild by James Le Cuirot <chewi@ffaura.com>, bug 87857.
authorBryan Østergaard <kloeri@gentoo.org>
Fri, 30 Sep 2005 00:55:14 +0000 (00:55 +0000)
committerBryan Østergaard <kloeri@gentoo.org>
Fri, 30 Sep 2005 00:55:14 +0000 (00:55 +0000)
Package-Manager: portage-2.0.52-r1

net-misc/omnievents/ChangeLog [new file with mode: 0644]
net-misc/omnievents/Manifest [new file with mode: 0644]
net-misc/omnievents/files/digest-omnievents-2.6.2 [new file with mode: 0644]
net-misc/omnievents/files/omnievents-conf [new file with mode: 0644]
net-misc/omnievents/files/omnievents-init [new file with mode: 0644]
net-misc/omnievents/metadata.xml [new file with mode: 0644]
net-misc/omnievents/omnievents-2.6.2.ebuild [new file with mode: 0644]

diff --git a/net-misc/omnievents/ChangeLog b/net-misc/omnievents/ChangeLog
new file mode 100644 (file)
index 0000000..40310aa
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/omnievents
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/ChangeLog,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+*omnievents-2.6.2 (30 Sep 2005)
+
+  30 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> +files/omnievents-conf,
+  +files/omnievents-init, +metadata.xml, +omnievents-2.6.2.ebuild:
+  Initial commit, ebuild by James Le Cuirot <chewi@ffaura.com>, bug 87857.
+
diff --git a/net-misc/omnievents/Manifest b/net-misc/omnievents/Manifest
new file mode 100644 (file)
index 0000000..6e4b87b
--- /dev/null
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 781ac2f7ab281b61c56e4e5990e21819 omnievents-2.6.2.ebuild 1045
+MD5 200332597151f526a1704008cea0bdf3 metadata.xml 224
+MD5 54ed446a1b9a17463063131de40af363 ChangeLog 464
+MD5 ab37db48c0c5fa7134cf1c0d5dfbe5a5 files/digest-omnievents-2.6.2 73
+MD5 0f14063c749ad37cbb4188b0ac08cfa3 files/omnievents-init 769
+MD5 6558f859f00eb7f641388d0f60b160f6 files/omnievents-conf 804
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDPI0HKf2g/qXtneoRAu1BAJ9iAYCZ6X87TzjLWt4RiW8S8COSgACcDrB1
+MXbIMjpYM2V0+Sypz/ul1Tw=
+=kt19
+-----END PGP SIGNATURE-----
diff --git a/net-misc/omnievents/files/digest-omnievents-2.6.2 b/net-misc/omnievents/files/digest-omnievents-2.6.2
new file mode 100644 (file)
index 0000000..58b7973
--- /dev/null
@@ -0,0 +1 @@
+MD5 2087d0f6b7e89da22697c8854a9c8ad0 omniEvents-2_6_2-src.tar.gz 1328376
diff --git a/net-misc/omnievents/files/omnievents-conf b/net-misc/omnievents/files/omnievents-conf
new file mode 100644 (file)
index 0000000..c30bbb4
--- /dev/null
@@ -0,0 +1,23 @@
+# /etc/conf.d/omniEvents
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/files/omnievents-conf,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+# Determines the port on which omniEvents will listen.
+
+OMNIEVENTS_PORT=11169
+
+# The name of omniEvents' EventChannelFactory in the naming service.
+# Examples:  TopLevelName  Context/SubContext/Id.Kind
+
+OMNIEVENTS_NS_NAME=EventChannelFactory
+
+# Set alternate endPoint for failover. The address should point to the
+# alternate omniEvents daemon, usually on another machine.
+
+#OMNIEVENTS_ALTERNATE=giop:tcp:<alternate_host>:11169 
+
+# Any other options.
+# For debugging, you might set it to: -ORBtraceLevel 10 -t/var/log/omniEvents.log
+
+#OMNIEVENTS_OPTIONS=
diff --git a/net-misc/omnievents/files/omnievents-init b/net-misc/omnievents/files/omnievents-init
new file mode 100644 (file)
index 0000000..245726c
--- /dev/null
@@ -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/net-misc/omnievents/files/omnievents-init,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+depend() {
+       need net
+}
+
+start() {
+       test -n "$OMNIEVENTS_ALTERNATE" && OPT_ALTERNATE="-a $OMNIEVENTS_ALTERNATE"
+       test -n "$OMNIEVENTS_NS_NAME" && OPT_NS_NAME="-N $OMNIEVENTS_NS_NAME"
+
+       ebegin "Starting omniEvents"
+       start-stop-daemon --start --quiet --exec /usr/sbin/omniEvents -- $OMNIEVENTS_OPTIONS -P /var/run/omniEvents.pid -l /var/lib/omniEvents -p $OMNIEVENTS_PORT $OPT_ALTERNATE $OPT_NS_NAME
+       eend $?
+}
+
+stop() {
+       ebegin "Stopping omniEvents"
+       start-stop-daemon --stop --quiet --pidfile /var/run/omniEvents.pid
+       eend $?
+}
diff --git a/net-misc/omnievents/metadata.xml b/net-misc/omnievents/metadata.xml
new file mode 100644 (file)
index 0000000..95764d9
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+  <email>kloeri@gentoo.org</email>
+</maintainer>  
+</pkgmetadata>
diff --git a/net-misc/omnievents/omnievents-2.6.2.ebuild b/net-misc/omnievents/omnievents-2.6.2.ebuild
new file mode 100644 (file)
index 0000000..212f02a
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/omnievents-2.6.2.ebuild,v 1.1 2005/09/30 00:55:14 kloeri Exp $
+
+inherit versionator
+
+MY_PV=$(replace_all_version_separators "_")
+MY_P="omniEvents-${MY_PV}"
+
+
+DESCRIPTION="An implementation of the CORBA Events Service for omniORB"
+SRC_URI="mirror://sourceforge/omnievents/${MY_P}-src.tar.gz"
+HOMEPAGE="http://www.omnievents.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=net-misc/omniORB-4"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       econf || die "Failed to configure!"
+       emake -j1 || die "Failed to compile!"
+}
+
+src_install () {
+       make DESTDIR=${D} install
+
+       doman doc/man/*
+
+       dohtml -A xml -x man,rc -r doc/*
+
+       insinto /usr/share/doc/${PF}/examples
+       doins -r examples/*
+
+       diropts -m0700
+       dodir /var/lib/omniEvents
+       keepdir /var/lib/omniEvents
+
+       install -D -m0755 ${FILESDIR}/${PN}-init ${D}/etc/init.d/${PN}
+       install -D -m0644 ${FILESDIR}/${PN}-conf ${D}/etc/conf.d/${PN}
+}