summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2009-04-19 18:16:35 +0000
committerCaleb Tennis <caleb@gentoo.org>2009-04-19 18:16:35 +0000
commitbed1395b48dd2edebabd36637f8cc5b3462d593c (patch)
treeb4cd4329d7fd6345d4aaccb75c67c43573aabab6
parentVersion bump, based on icedtea6-1.4.1-r1 from java-overlay. (diff)
downloadhistorical-bed1395b48dd2edebabd36637f8cc5b3462d593c.tar.gz
historical-bed1395b48dd2edebabd36637f8cc5b3462d593c.tar.bz2
historical-bed1395b48dd2edebabd36637f8cc5b3462d593c.zip
Repoman didn't commit these files for some reason, trying again
Package-Manager: portage-2.1.6.11/cvs/Linux i686
-rw-r--r--net-misc/orbited/Manifest2
-rw-r--r--net-misc/orbited/files/0.7.9/orbited.cfg42
-rw-r--r--net-misc/orbited/files/0.7.9/orbited.init31
3 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/orbited/Manifest b/net-misc/orbited/Manifest
index 64031680c000..a4a9e5c31ec9 100644
--- a/net-misc/orbited/Manifest
+++ b/net-misc/orbited/Manifest
@@ -1,3 +1,5 @@
+AUX 0.7.9/orbited.cfg 788 RMD160 2edb466365057b89b30c612eca44250ac8aa9143 SHA1 301d38cdd6d8bc2ef016a46e72c3615242caf000 SHA256 d3cf7bb01333454200189f71f6930556ceb22898925013083c5659cb923d2e47
+AUX 0.7.9/orbited.init 688 RMD160 f65000a637a05afcc0532a8880b947be1337865a SHA1 e2c836fbdb0d74cea7f2485fd85be551e2ffae3b SHA256 0a46f7e63dfbb9c7893544a015873ee848bf1707b94bfb5841096db7bf7cbcc6
DIST orbited-0.7.9.tar.gz 167324 RMD160 c10b01a80579b20f6f83cb0612dc450347add6e0 SHA1 e04e7c1f7497f5604ac34a9d01f433366afef43c SHA256 98a321729b1e1f08207520700a4488598fc8aaea68003a68ffbd643d91478e2b
EBUILD orbited-0.7.9.ebuild 800 RMD160 f4335ec09ab47574f8af445ef79fb957c2de5db7 SHA1 39bf14fe27f8807422f4af07b7c2624e796c5657 SHA256 b94b9a67537244c3abb43f4a4a823c3792aa16e6ca67dda9cedce5af401e4fc5
MISC ChangeLog 391 RMD160 e4ce44c76d7d2787f6001e404b0ea5a7bcf542bc SHA1 55fe8ef6ab0d05765caaf62bbefbc558eb26802e SHA256 30f7ea971a63a02aac055b0ef647eb22eb52fe679923dac83524cb68884ba05c
diff --git a/net-misc/orbited/files/0.7.9/orbited.cfg b/net-misc/orbited/files/0.7.9/orbited.cfg
new file mode 100644
index 000000000000..5379c47999e0
--- /dev/null
+++ b/net-misc/orbited/files/0.7.9/orbited.cfg
@@ -0,0 +1,42 @@
+# Example Orbited Configuration file
+
+[global]
+reactor=select
+# reactor=kqueue
+# reactor=epoll
+session.ping_interval = 40
+session.ping_timeout = 30
+# once the sockets are open, orbited will drop its privileges to this user.
+user=orbited
+
+[listen]
+http://:8000
+#stomp://:61613
+# uncomment to enable SSL on port 8043 using given .key and .crt files
+#https://:8043
+#
+#[ssl]
+#key=orbited.key
+#crt=orbited.crt
+
+[static]
+
+[access]
+localhost:8000 -> irc.freenode.net:6667
+* -> localhost:4747
+#* -> localhost:61613
+
+[logging]
+debug=STDERR,debug.log
+info=STDERR,info.log
+access=STDERR,info.log
+warn=STDERR,error.log
+error=STDERR,error.log
+
+#Don't enable debug by default
+enabled.default=info,access,warn,error
+
+# Turn debug on for the "Proxy" logger
+[loggers]
+#Proxy=debug,info,access,warn,error
+
diff --git a/net-misc/orbited/files/0.7.9/orbited.init b/net-misc/orbited/files/0.7.9/orbited.init
new file mode 100644
index 000000000000..876de54f85db
--- /dev/null
+++ b/net-misc/orbited/files/0.7.9/orbited.init
@@ -0,0 +1,31 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/orbited/files/0.7.9/orbited.init,v 1.1 2009/04/19 18:16:35 caleb Exp $
+
+depend() {
+ need net
+ use dns
+}
+
+checkconfig() {
+ if [ ! -f "/etc/orbited.cfg" ] ; then
+ eerror "No /etc/orbited.cfg file exists!"
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting orbited..."
+ /usr/bin/orbited --config=/etc/orbited.cfg >/dev/null 2>&1 &
+ pid=$!
+ echo $pid > /var/run/orbited.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping orbited..."
+ start-stop-daemon --stop --quiet --pidfile=/var/run/orbited.pid --retry 20
+ eend $?
+}
+