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-p2p/saku |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-p2p/saku')
-rw-r--r-- | net-p2p/saku/Manifest | 7 | ||||
-rw-r--r-- | net-p2p/saku/files/saku | 25 | ||||
-rw-r--r-- | net-p2p/saku/files/saku.ini | 27 | ||||
-rw-r--r-- | net-p2p/saku/metadata.xml | 10 | ||||
-rw-r--r-- | net-p2p/saku/saku-3.11.0-r2.ebuild | 45 |
5 files changed, 114 insertions, 0 deletions
diff --git a/net-p2p/saku/Manifest b/net-p2p/saku/Manifest new file mode 100644 index 000000000000..2956e04c41c0 --- /dev/null +++ b/net-p2p/saku/Manifest @@ -0,0 +1,7 @@ +AUX saku 496 SHA256 36d62a16923c4634ea531c04d56cd34664a09e06a39392efaefe7876be831cc1 SHA512 4a88d8132e503a85a9146807f6af3bfaeab1830c73beb2fc9f63eb8440c8c6fb0245c74476115167b08c429df80e5a8df741b7cf6c02d8f9e0f403f79206fc53 WHIRLPOOL 40a14e0492aa69cd89b979b454a5095acef1305ff17d55a510d682b34af4e605a6541e9241d018737d88bc4fcc8cb8d050bd5c5aafdc36c3928fea6944d379d4 +AUX saku.ini 638 SHA256 28df8f75c9f18cfa5a90d811d0c9f7d4f807489b7f6e76310e1dec7900451d7f SHA512 18e91a7b3cbc0bf7f0142be20a2b3f6dde91c5b24ab1ed2fd6a6a6821bda65d52f5347d3de7a2d799473564d578540643fff0ef95df29ab786cd01c09b6f7dff WHIRLPOOL 69ef7136ce16cd5028efd78a54a49f23927f1bbf42be618b370f340a7a6cd84bfc72d3920d6349fd7a3591096dfe82ead5b00fba766e939ebf159801bd58c930 +DIST saku-3.11.0.tar.gz 239772 SHA256 295fbd77aff51cb8967172f71000f26c37cbe133649b7ad2c050e161a8e61c39 SHA512 e6cb37fa555a43d69523a90d1039dcd9bdbc4e4d14e7a4063849cfcaf3a67f1947bd7e5341f97726030eddf53915304ad948f67ce7fb1cb2b6344e1556cc8467 WHIRLPOOL 9865ac033aa779ac772e63ea32fb629d5850958907a91b0c7a4fcfb6dac3a92fa8ede0084c878d806d9e08c1cdc7f4446de5b1afa7f6ff9750ac9395dbad530f +EBUILD saku-3.11.0-r2.ebuild 928 SHA256 c1fec6cef78cc73ddd6f5239655ac3cc739831f727c70a5d074c1cde52f19940 SHA512 faea7f3e08d5746c42ef7af966b8eb072aa36a86385393fab887404f004ba76e84138e36cf072e9124384ca115d7de3105bb989895e5a66c9def75f666fd20e5 WHIRLPOOL 3667ce5c5a931f6a14382934275e66f9e1344718e453761a1f82c85782aedb4fdadffaa23e0dcd5f1bae9f144cd5678c546d1829f2ee313054f8d6d0d2d1936f +MISC ChangeLog 2325 SHA256 d80f0c3269a7bd13fffe0cc557db24206afb294cc60aff5dabb0a497d229442c SHA512 c6b03a6e9ae4879f8fb4d2b1703c2d16998e9cd701f0dcfc97a20dee0e84766d192654606ef404e003e0f2af3558efc865d2c46f7e4287f3fbbe420bf2866f19 WHIRLPOOL f9715795491557bf05ddbce6a64f0ce269ff899d05edf45578f2b2b2d5550908f50afb5f55243d29330d0ec6294f9fa9b01ebd9f943c757193c7937afb2c172f +MISC ChangeLog-2015 1189 SHA256 a7bddada91e06cbb83565f09b5993d7f75d457e83e7aee25a3e2368f93e7cb88 SHA512 5b6a6e7414c9053214018ae55d1c86ed8817b69b000f8a3b41645521c06fc29d09a87d39d8afbdce67e678b4c1f587e8222294bb4c7b9ca17253159019a703e3 WHIRLPOOL 4416e7abcdd6bd66b8e5075d2c2709c3f33e065f1f10360590310e9a8bf408f8b2087d947b720d33679f74a5f8cf95af98b7758cf138954c317985d515d8d9ee +MISC metadata.xml 303 SHA256 0019ab66caa317aa1025ed1973c2030ee5adb43d62fff38085a9cbbbb133eac3 SHA512 e0e26140640025bbf8c0c251cab5e5ff10df7a8b03ea9ba0c0d0dbdb6cd4da3a0a83b2bdf907b2f59bf15eb47139c3f37b19027b144e661a3268d5ae9a3c05e7 WHIRLPOOL 7bf27df17f12b065149ae4531e8a4767be49fec5f190aa8a3193b301eeb8aa8e98ee10921698a5d28798b8d854e366140720cc69884ed593282ff23ee41106c1 diff --git a/net-p2p/saku/files/saku b/net-p2p/saku/files/saku new file mode 100644 index 000000000000..6c600f57904c --- /dev/null +++ b/net-p2p/saku/files/saku @@ -0,0 +1,25 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +PID_DIR=/var/run/saku + +depend() { + use dns + need net +} + +start() { + mkdir -p $PID_DIR + rm -f ${PID_DIR}/pid.txt + ebegin "Starting p2p bbs: saku" + start-stop-daemon --start -u saku -g saku --quiet -b \ + -p ${PID_DIR}/pid.txt --exec /usr/bin/saku + eend $? +} + +stop() { + ebegin "Stopping p2p bbs: saku" + start-stop-daemon --stop --quiet -p ${PID_DIR}/pid.txt + eend $? +} diff --git a/net-p2p/saku/files/saku.ini b/net-p2p/saku/files/saku.ini new file mode 100644 index 000000000000..21a9461783cb --- /dev/null +++ b/net-p2p/saku/files/saku.ini @@ -0,0 +1,27 @@ +# +# Sample saku.ini to run saku in distributed directory. +# Copyright (c) 2005-2007 shinGETsu Project. +# $Id: saku.ini 1513 2011-01-03 10:17:08Z sbwhitecap $ +# + +[Network] +port: 8000 +upnp: no + +[Path] +prefix: /usr +var: /var +sysconfig: /etc +docroot: %(prefix)s/share/saku/www +file_dir: %(prefix)s/share/saku/file +template_dir: %(prefix)s/share/saku/template +log_dir: %(var)s/log/saku +run_dir: %(var)s/run/saku +cache_dir: %(var)s/spool/saku +spam_list: %(sysconfig)s/saku/spam.txt +initnode_list: %(sysconfig)s/saku/initnode.txt +node_allow: %(sysconfig)s/saku/node_allow.txt +node_deny: %(sysconfig)s/saku/node_deny.txt + +[Gateway] +visitor: ^127 diff --git a/net-p2p/saku/metadata.xml b/net-p2p/saku/metadata.xml new file mode 100644 index 000000000000..0ef1d8a861c8 --- /dev/null +++ b/net-p2p/saku/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>naota@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">shingetsu</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-p2p/saku/saku-3.11.0-r2.ebuild b/net-p2p/saku/saku-3.11.0-r2.ebuild new file mode 100644 index 000000000000..fc437fb14e4f --- /dev/null +++ b/net-p2p/saku/saku-3.11.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 user + +DESCRIPTION="a clone of P2P anonymous BBS shinGETsu" +HOMEPAGE="http://shingetsu.info/" +SRC_URI="mirror://sourceforge/shingetsu/${P}.tar.gz" + +LICENSE="BSD-2 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/cheetah[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup saku + enewuser saku -1 -1 /var/run/saku saku +} + +python_prepare_all() { + sed -i -e "/^prefix/s:/usr:${EPREFIX}/usr:" file/saku.ini || die + sed -i -e "s:root/share/doc/saku/:root/share/doc/${PF}/:" setup.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /etc/saku + doins "${FILESDIR}"/saku.ini + + doinitd "${FILESDIR}"/saku + + diropts -o saku -g saku + keepdir /var/log/saku + keepdir /var/spool/saku +} |