diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/sobby |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/sobby')
-rw-r--r-- | net-misc/sobby/Manifest | 8 | ||||
-rw-r--r-- | net-misc/sobby/files/sobby-conf-0.4.7 | 6 | ||||
-rw-r--r-- | net-misc/sobby/files/sobby-init-0.4.7 | 21 | ||||
-rw-r--r-- | net-misc/sobby/files/sobby.xml | 14 | ||||
-rw-r--r-- | net-misc/sobby/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/sobby/sobby-0.4.8-r1.ebuild | 61 |
6 files changed, 119 insertions, 0 deletions
diff --git a/net-misc/sobby/Manifest b/net-misc/sobby/Manifest new file mode 100644 index 000000000000..f87ca146dde4 --- /dev/null +++ b/net-misc/sobby/Manifest @@ -0,0 +1,8 @@ +AUX sobby-conf-0.4.7 193 SHA256 7f77745296973d00b2aea3e6c507fc43e8480d44602105590ad8d70cbc392b61 SHA512 fa18053f316a666d5eb3e5576e5a73ff6609e985a6c65e11c547a1597074f1ce60d625d859402ad44103af596e74a1aeaa87c19c4c7bcab77d21f1ce244e566c WHIRLPOOL 09663921ef857b0954d6b2cb53987e9ff53fc9db7d12702d1c9b8780da1c2657d8d4123e0a4d5f63e17b65c602be17288d61c92b82f172c454f9cad5d4e50361 +AUX sobby-init-0.4.7 560 SHA256 fd770e730bde8d108d71ec4e76f955edd768faa7d68fa623d7b92ad22c0a32ea SHA512 2c6254db40b628148591cc1a89b41962db23afcb9dd24d54d702f6bdf97c9976ef7ddc88ed93b7e6572b313f07d4410596e57c0b3b7f1ab866f930a9b0174c4c WHIRLPOOL 12e3132338e297e38b8b5ecf0e10b0086b928d789dc78fa55052be7d379dc71e4843d72ccc64fecddff49940627443fc8372baa29d0a7f8dff74adb60f205f68 +AUX sobby.xml 451 SHA256 93f57a42e69911f628b72f2291ce71361e76f99cb84c60c4c0218f1c26292f0b SHA512 5ef02607a1e60a801036ad57b59d79fa1adff128da857491e0a149dd0b3a14c7244f263e7c916a1f9b08fba49597a02a11b8ff3924b278031d570679fa9eb8e3 WHIRLPOOL f373e15bf0cfbec1ba0162ab60c7820766bdbd1c4a21318e873f5581ce1e164a1c79cd83c00f3fc2b082341943ecd522c37c95e67f3928ce3dbef6c186d88d60 +DIST sobby-0.4.8.tar.gz 134766 SHA256 a711762c0722e9e7e01934c115dbffc7a233c033d66dbc5d58025af438516f48 SHA512 b946fc5c15257f74213fd6418933f8f4970ca58213a4c5bb33e1110f85964ce137eb5a9fdd0a601d8838310315241b9c29065493f4c9b33a8dbe09e77cc25492 WHIRLPOOL b2f6fd56725e6ef97df28b36090e63019b262fdd96e3d4ac04c05d2e41adc0e637f528cafec5c6f90344d67b5a92e84a2f043cba36e7532812fcf87c26099561 +EBUILD sobby-0.4.8-r1.ebuild 1255 SHA256 9906bd5695026b69f0f84ec4952010e1193183ae77375ca75835017908af03fa SHA512 9905003ce6942c2bd3632a0a4b7449a396de3ce32f0a318b9f2000e6e79d688e56ea6e3aeb76ea9cf5b1babe7923cb189d81c9d4d792f7481b7a2474130f3bb0 WHIRLPOOL f5e3192433ba81706d0999f67f6c3f0fc737e120f23b1ea6dcc79e76c0705ee988de667966f0d0e0224f6f52b90a5bbc4c6061bf2938123a4d56295b4aad9dbf +MISC ChangeLog 3516 SHA256 8af57a5c4708443535110e81fd55b5d3ce6cd3dc8c350c8eeba972b166c5a431 SHA512 d7a288209776a482d7f220677824b87ac6a4a304735f1cd6d3ef4987d89fe9d787e4003a20e72352cbceb09cebe2c3c8b5ff0b163ec0ed59b41ee7d8a9661214 WHIRLPOOL 5576015884d665a072aa0c878f691b0ed13020a09268d7dbe17991624179a3665e87f051f8c4d55c09947be35b54900f89d922fa0d3fdfd07defbd43ce96397f +MISC ChangeLog-2015 4563 SHA256 15b50ee845da21477d0b351dc6e991030db3bb39e712f3d1e2e231ae45e519c2 SHA512 1518d24b5d57af323668b83877e86c4ed875bbf2331ea61bc0bf67a8ef479395a01a9272947dcf0807b31cfd2da85f1ce87a9843e81195f4e436382d29646b07 WHIRLPOOL 96db0cd9170160e421718de6bbcd6f2a80babf2ae99603684e640d8b518bd6816f3ffe5f5b229f20975503229bbca65baa8f8c610e15cdfbb8c1a8f74e07892e +MISC metadata.xml 345 SHA256 0764571df392553ae81f17db429f689dea10c2c652e69684198d545860cfcc37 SHA512 3abe34bee888e0c4a39f293fd88991ac62d125b146536662176b99f7dd6bb8c2f440b2bc5efaac0a12daacdbd734e2818b2b0144600af79fbc8c1197e67c9f4c WHIRLPOOL 2146521c7fce13635a33211a9c7591d2decd5efdb5d93bae610e981ced17d8ecc8943ae3f74e2745f34471072171663abed3e4abd8a2d118aa8101776b8cbd41 diff --git a/net-misc/sobby/files/sobby-conf-0.4.7 b/net-misc/sobby/files/sobby-conf-0.4.7 new file mode 100644 index 000000000000..0dced5a6df41 --- /dev/null +++ b/net-misc/sobby/files/sobby-conf-0.4.7 @@ -0,0 +1,6 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +SOBBY_OPTS="-c /etc/sobby/sobby.xml" +SOBBY_USER="sobby" +SOBBY_GROUP="sobby" diff --git a/net-misc/sobby/files/sobby-init-0.4.7 b/net-misc/sobby/files/sobby-init-0.4.7 new file mode 100644 index 000000000000..2fc00631147f --- /dev/null +++ b/net-misc/sobby/files/sobby-init-0.4.7 @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use avahi +} + +start() { + ebegin "Starting obby dedicated server" + start-stop-daemon -b --quiet --start --make-pidfile \ + --pidfile /var/run/sobby.pid -u ${SOBBY_USER} -g ${SOBBY_GROUP} \ + --exec /usr/bin/sobby -- ${SOBBY_OPTS} + eend $? "Failed to start sobby" +} + +stop() { + ebegin "Stopping obby dedicated server" + start-stop-daemon --stop --quiet --pidfile /var/run/sobby.pid + eend $? "Failed to stop sobby" +} diff --git a/net-misc/sobby/files/sobby.xml b/net-misc/sobby/files/sobby.xml new file mode 100644 index 000000000000..b61a89f211e5 --- /dev/null +++ b/net-misc/sobby/files/sobby.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<sobby_config> + <settings> + <autosave_directory>/var/lib/sobby</autosave_directory> + <autosave_file>autosave.obby</autosave_file> + <autosave_interval>0</autosave_interval> + <command_directory></command_directory> + <name>Standalone obby server</name> + <password>secret</password> + <port>6522</port> + <post_save_hook></post_save_hook> + <session></session> + </settings> +</sobby_config> diff --git a/net-misc/sobby/metadata.xml b/net-misc/sobby/metadata.xml new file mode 100644 index 000000000000..2c70b7b5af87 --- /dev/null +++ b/net-misc/sobby/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> + <longdescription>Stand alone server for the obby colaborative editor</longdescription> +</pkgmetadata> diff --git a/net-misc/sobby/sobby-0.4.8-r1.ebuild b/net-misc/sobby/sobby-0.4.8-r1.ebuild new file mode 100644 index 000000000000..551d727f0525 --- /dev/null +++ b/net-misc/sobby/sobby-0.4.8-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic user + +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 ~arm ~ppc x86" +IUSE="zeroconf" + +RDEPEND=" + >=dev-cpp/glibmm-2.6 + >=dev-libs/libsigc++-2.0 + >=dev-libs/gmp-4.1.4:0 + >=dev-cpp/libxmlpp-2.6:2.6 + >=net-libs/net6-1.3.12 + >=net-libs/obby-0.4.6[zeroconf=] +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +pkg_setup() { + enewgroup sobby + enewuser sobby -1 -1 /var/lib/sobby sobby +} + +src_configure() { + append-cxxflags -std=c++11 + econf $(use_enable zeroconf) +} + +src_install() { + default + + newconfd "${FILESDIR}/${PN}-conf-0.4.7" sobby + newinitd "${FILESDIR}/${PN}-init-0.4.7" sobby + + insinto /etc/sobby + doins "${FILESDIR}/sobby.xml" + + keepdir /var/lib/sobby + + fperms -R 0700 /var/lib/sobby + fperms -R 0700 /etc/sobby + + fowners sobby:sobby /var/lib/sobby + fowners -R sobby:sobby /etc/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/sobby/sobby.xml" + elog "before you start sobby" +} |