summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2005-08-14 22:01:58 +0000
committerGustavo Felisberto <humpback@gentoo.org>2005-08-14 22:01:58 +0000
commit069a0368035d482de232c521ef7a89dc525e5b40 (patch)
treecb2d3868ad010f93de303bf818558045c36bc1a3 /net-misc/sobby
parentInitial import. (diff)
downloadgentoo-2-069a0368035d482de232c521ef7a89dc525e5b40.tar.gz
gentoo-2-069a0368035d482de232c521ef7a89dc525e5b40.tar.bz2
gentoo-2-069a0368035d482de232c521ef7a89dc525e5b40.zip
initial import. Closes bug 101194
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/sobby')
-rw-r--r--net-misc/sobby/ChangeLog7
-rw-r--r--net-misc/sobby/Manifest6
-rw-r--r--net-misc/sobby/files/digest-sobby-0.2.01
-rw-r--r--net-misc/sobby/files/sobby-conf-0.2.010
-rwxr-xr-xnet-misc/sobby/files/sobby-init-0.2.020
-rw-r--r--net-misc/sobby/metadata.xml10
-rw-r--r--net-misc/sobby/sobby-0.2.0.ebuild60
7 files changed, 114 insertions, 0 deletions
diff --git a/net-misc/sobby/ChangeLog b/net-misc/sobby/ChangeLog
new file mode 100644
index 000000000000..5fe125030866
--- /dev/null
+++ b/net-misc/sobby/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for net-misc/sobby
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/ChangeLog,v 1.1 2005/08/14 22:01:58 humpback Exp $
+
+ 14 Aug 2005; Gustavo Felisberto <humpback@gentoo.org>; ChangeLog:
+ Initial import
+
diff --git a/net-misc/sobby/Manifest b/net-misc/sobby/Manifest
new file mode 100644
index 000000000000..ae3b4d0f3faa
--- /dev/null
+++ b/net-misc/sobby/Manifest
@@ -0,0 +1,6 @@
+MD5 c22970517f1aae6fe0f276defeaa84ac sobby-0.2.0.ebuild 1445
+MD5 a6309fac7ef118b0b37b499a12854500 ChangeLog 201
+MD5 9c6acf8b7103a5a76752783ea820c568 metadata.xml 312
+MD5 182b9dcc83ce6b93ad35aad239545602 files/sobby-init-0.2.0 486
+MD5 5a8e7d50a8f1a42290cd2c5d940e2715 files/sobby-conf-0.2.0 379
+MD5 9383a1f60a0fce0f3a86e31199a886e0 files/digest-sobby-0.2.0 63
diff --git a/net-misc/sobby/files/digest-sobby-0.2.0 b/net-misc/sobby/files/digest-sobby-0.2.0
new file mode 100644
index 000000000000..bfb5a90493a1
--- /dev/null
+++ b/net-misc/sobby/files/digest-sobby-0.2.0
@@ -0,0 +1 @@
+MD5 68e740d9ad051e7939de29fa2c28da56 sobby-0.2.0.tar.gz 104063
diff --git a/net-misc/sobby/files/sobby-conf-0.2.0 b/net-misc/sobby/files/sobby-conf-0.2.0
new file mode 100644
index 000000000000..88408ec1596b
--- /dev/null
+++ b/net-misc/sobby/files/sobby-conf-0.2.0
@@ -0,0 +1,10 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/files/sobby-conf-0.2.0,v 1.1 2005/08/14 22:01:58 humpback Exp $
+
+# Options to pass to the sobby process
+# -n --name Published server name
+# -p --port Port to runt the obby server on (default: 6522)
+# --password Global password required to join the session
+
+SOBBY_OPTS="--password secret -n gentoo-obby -p 6522"
diff --git a/net-misc/sobby/files/sobby-init-0.2.0 b/net-misc/sobby/files/sobby-init-0.2.0
new file mode 100755
index 000000000000..3100966fe488
--- /dev/null
+++ b/net-misc/sobby/files/sobby-init-0.2.0
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/files/sobby-init-0.2.0,v 1.1 2005/08/14 22:01:58 humpback Exp $
+
+depend() {
+ need mDNSResponder
+}
+
+start() {
+ ebegin "Starting obby dedicated server"
+ start-stop-daemon -b --quiet --start --exec /usr/bin/sobby -- ${SOBBY_OPTS}
+ eend $? "Failed to start sobby"
+}
+
+stop() {
+ ebegin "Stopping obby dedicated server"
+ start-stop-daemon --stop --quiet --exec /usr/bin/sobby
+ eend $? "Failed to stop sobby"
+}
diff --git a/net-misc/sobby/metadata.xml b/net-misc/sobby/metadata.xml
new file mode 100644
index 000000000000..b07bb0c119d2
--- /dev/null
+++ b/net-misc/sobby/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>humpback@gentoo.org</email>
+</maintainer>
+<longdescription>Stand alone server for the obby colaborative editor</longdescription>
+</pkgmetadata>
diff --git a/net-misc/sobby/sobby-0.2.0.ebuild b/net-misc/sobby/sobby-0.2.0.ebuild
new file mode 100644
index 000000000000..4cc161878fa9
--- /dev/null
+++ b/net-misc/sobby/sobby-0.2.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.2.0.ebuild,v 1.1 2005/08/14 22:01:58 humpback Exp $
+
+inherit eutils
+
+DESCRIPTION="Standalone Obby server"
+HOMEPAGE="http://darcs.0x539.de/gobby"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
+
+DEPEND=">=dev-cpp/glibmm-2.6
+ >=dev-libs/libsigc++-2.0
+ >=dev-libs/gmp-4.1.4
+ >=net-libs/net6-1.1.0
+ >=net-libs/obby-0.2.0"
+
+RDEPEND=""
+
+src_compile() {
+ econf || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ insinto /etc/conf.d/
+ newins ${FILESDIR}/sobby-conf-0.2.0 sobby
+
+ exeinto /etc/init.d/
+ newexe ${FILESDIR}/sobby-init-0.2.0 sobby
+}
+
+pkg_postinst() {
+ if built_with_use net-libs/obby howl
+ then
+ einfo "Zeroconf support has been enabled for sobby"
+ else
+ einfo "net-libs/obby was not build with zeroconf support,"
+ einfo "thus zeroconf is not enabled for ${PN}."
+ einfo ""
+ einfo "To get zeroconf support, rebuild net-libs/obby"
+ einfo "with \"howl\" in your USE flags."
+ einfo "Try USE=\"howl\" emerge net-libs/obby net-misc/sobby,"
+ einfo "or add \"howl\" to your USE string in /etc/make.conf and"
+ einfo "emerge net-libs/obby"
+ fi
+
+ echo
+ einfo "To start sobby, you can use the init script:"
+ einfo " /etc/init.d/sobby start"
+ einfo ""
+ einfo "Please check the configuration in /etc/conf.d/sobby"
+ einfo "before you start sobby"
+}
+