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
commit4582ff26bd2a8f0aa341e81ca818c0008c1d71da (patch)
tree91500faa651957a4487c4099080d8e6120375118 /net-misc/sobby
parentInitial import. (diff)
downloadhistorical-4582ff26bd2a8f0aa341e81ca818c0008c1d71da.tar.gz
historical-4582ff26bd2a8f0aa341e81ca818c0008c1d71da.tar.bz2
historical-4582ff26bd2a8f0aa341e81ca818c0008c1d71da.zip
initial import. Closes bug 101194
Package-Manager: portage-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..bca00265fa63
--- /dev/null
+++ b/net-misc/sobby/Manifest
@@ -0,0 +1,6 @@
+MD5 b5688bbf07fe796fdffe7f75e965dc7c sobby-0.2.0.ebuild 1542
+MD5 8f29e917020cef9dbc9022f3d964b418 ChangeLog 289
+MD5 9c6acf8b7103a5a76752783ea820c568 metadata.xml 312
+MD5 925da2634d9246b4f9a8045cf4e13b0b files/sobby-init-0.2.0 587
+MD5 f5f94a0b4ed63e9a9f74d182a9cf1846 files/sobby-conf-0.2.0 480
+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"
+}
+