summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-08-18 23:00:42 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-08-18 23:00:42 +0000
commit16fe075825bb427500eeed8ce4871adcc735d681 (patch)
treeb7ce0b39630dcfdbbb5dcbfd3290b0dc9247bb10 /net-misc/sobby
parentSparc stable --- Bug #189408 --- Passes all tests and installs as expected. (diff)
downloadgentoo-2-16fe075825bb427500eeed8ce4871adcc735d681.tar.gz
gentoo-2-16fe075825bb427500eeed8ce4871adcc735d681.tar.bz2
gentoo-2-16fe075825bb427500eeed8ce4871adcc735d681.zip
Version bump (bug #171089), dropped old versions.
(Portage version: 2.1.3.6)
Diffstat (limited to 'net-misc/sobby')
-rw-r--r--net-misc/sobby/ChangeLog9
-rw-r--r--net-misc/sobby/files/digest-sobby-0.4.13
-rw-r--r--net-misc/sobby/files/digest-sobby-0.4.33
-rw-r--r--net-misc/sobby/files/sobby-conf-0.4.310
-rwxr-xr-xnet-misc/sobby/files/sobby-init-0.4.320
-rw-r--r--net-misc/sobby/sobby-0.4.1.ebuild62
-rw-r--r--net-misc/sobby/sobby-0.4.3.ebuild50
7 files changed, 91 insertions, 66 deletions
diff --git a/net-misc/sobby/ChangeLog b/net-misc/sobby/ChangeLog
index b44f3e7a89c8..b09f708a1782 100644
--- a/net-misc/sobby/ChangeLog
+++ b/net-misc/sobby/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/sobby
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/ChangeLog,v 1.11 2007/04/29 17:55:26 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/ChangeLog,v 1.12 2007/08/18 23:00:42 dev-zero Exp $
+
+*sobby-0.4.3 (18 Aug 2007)
+
+ 18 Aug 2007; Tiziano Müller <dev-zero@gentoo.org>
+ +files/sobby-conf-0.4.3, +files/sobby-init-0.4.3, -sobby-0.4.1.ebuild,
+ +sobby-0.4.3.ebuild:
+ Version bump (bug #171089), dropped old versions.
29 Apr 2007; Torsten Veller <tove@gentoo.org> sobby-0.3.0.ebuild,
sobby-0.4.1.ebuild:
diff --git a/net-misc/sobby/files/digest-sobby-0.4.1 b/net-misc/sobby/files/digest-sobby-0.4.1
deleted file mode 100644
index aec61ef44004..000000000000
--- a/net-misc/sobby/files/digest-sobby-0.4.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 126a32a448f8b84e589258522149ffad sobby-0.4.1.tar.gz 115933
-RMD160 3c6c942ae504ea84deb94eac9ec227c4cf570417 sobby-0.4.1.tar.gz 115933
-SHA256 457ef80b546ac17ef0b9770175a9f9cee06e9659314449f9f2d61c8ae51cdfd0 sobby-0.4.1.tar.gz 115933
diff --git a/net-misc/sobby/files/digest-sobby-0.4.3 b/net-misc/sobby/files/digest-sobby-0.4.3
new file mode 100644
index 000000000000..0b5c6673161d
--- /dev/null
+++ b/net-misc/sobby/files/digest-sobby-0.4.3
@@ -0,0 +1,3 @@
+MD5 90fd8c4935d71ec0458ff0378d53a3bf sobby-0.4.3.tar.gz 123021
+RMD160 ad45489205c7f4d6d24667cde024ab92763d77b7 sobby-0.4.3.tar.gz 123021
+SHA256 350c88cc34bbf644149829112e7039437662809ebeb66dfcdaa3dc41f656e1a6 sobby-0.4.3.tar.gz 123021
diff --git a/net-misc/sobby/files/sobby-conf-0.4.3 b/net-misc/sobby/files/sobby-conf-0.4.3
new file mode 100644
index 000000000000..9118b1721aec
--- /dev/null
+++ b/net-misc/sobby/files/sobby-conf-0.4.3
@@ -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.4.3,v 1.1 2007/08/18 23:00:42 dev-zero 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.4.3 b/net-misc/sobby/files/sobby-init-0.4.3
new file mode 100755
index 000000000000..189e0b35c38f
--- /dev/null
+++ b/net-misc/sobby/files/sobby-init-0.4.3
@@ -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.4.3,v 1.1 2007/08/18 23:00:42 dev-zero Exp $
+
+depend() {
+ use avahi
+}
+
+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/sobby-0.4.1.ebuild b/net-misc/sobby/sobby-0.4.1.ebuild
deleted file mode 100644
index 57ff7b618a46..000000000000
--- a/net-misc/sobby/sobby-0.4.1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.4.1.ebuild,v 1.5 2007/07/12 02:52:15 mr_bones_ Exp $
-
-inherit eutils
-
-#MY_P=${P/_rc/rc}
-#S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Standalone Obby server"
-HOMEPAGE="http://darcs.0x539.de/gobby"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-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
- >=dev-cpp/libxmlpp-2.6
- >=net-libs/obby-0.4.1
- dev-util/pkgconfig"
-
-RDEPEND=""
-
-S=${WORKDIR}/${P/_/}
-
-src_compile() {
- econf || die "./configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- newconfd "${FILESDIR}"/sobby-conf-0.2.0 sobby
- newinitd "${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"
-}
diff --git a/net-misc/sobby/sobby-0.4.3.ebuild b/net-misc/sobby/sobby-0.4.3.ebuild
new file mode 100644
index 000000000000..6a4c215aef92
--- /dev/null
+++ b/net-misc/sobby/sobby-0.4.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.4.3.ebuild,v 1.1 2007/08/18 23:00:42 dev-zero Exp $
+
+DESCRIPTION="Standalone Obby server"
+HOMEPAGE="http://gobby.0x539.de/"
+SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="avahi"
+
+RDEPEND=">=dev-cpp/glibmm-2.6
+ >=dev-libs/libsigc++-2.0
+ >=dev-libs/gmp-4.1.4
+ >=dev-cpp/libxmlpp-2.6
+ >=net-libs/obby-0.4.3"
+DEPEND="dev-util/pkgconfig"
+
+pkg_setup() {
+ if use avahi && ! built_with_use net-libs/obby avahi ; then
+ eerror "Please reinstall net-libs/obby with the avahi USE-flag enabled"
+ eerror "for zeroconf/DNS-SD support or disable it for this package."
+ die "Missing 'avahi' USE-flag for net-libs/obby"
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable avahi zeroconf) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README
+
+ newconfd "${FILESDIR}/sobby-conf-0.4.3" sobby
+ newinitd "${FILESDIR}/sobby-init-0.4.3" sobby
+}
+
+pkg_postinst() {
+ elog "To start sobby, you can use the init script:"
+ elog " /etc/init.d/sobby start"
+ elog ""
+ elog "Please check the configuration in /etc/conf.d/sobby"
+ elog "before you start sobby"
+}