From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/sgopherd/Manifest | 5 +++++ net-misc/sgopherd/metadata.xml | 11 +++++++++ net-misc/sgopherd/sgopherd-17.09.ebuild | 40 +++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 net-misc/sgopherd/Manifest create mode 100644 net-misc/sgopherd/metadata.xml create mode 100644 net-misc/sgopherd/sgopherd-17.09.ebuild (limited to 'net-misc/sgopherd') diff --git a/net-misc/sgopherd/Manifest b/net-misc/sgopherd/Manifest new file mode 100644 index 000000000000..74213e9d2da1 --- /dev/null +++ b/net-misc/sgopherd/Manifest @@ -0,0 +1,5 @@ +DIST sgopherd-17.09.tar.gz 8855 SHA256 025fdced4e9a0d11e549aa579f9586e6a973c10eec528ffd949f633b087192cb SHA512 7f3ef37d5ec08d21e7945f0327ea50697237461f717a2ce3c5a0fe9c077effe26710013725a59a184564e028f249f7b53087752410600da0f8feaf9cd1b9c7dc WHIRLPOOL 4765eda55013499cdda69ce8b3cdca36eee06f70e4701c58660dcb334a6c2baea20fac55f2684807bac3ecd5150039d45c99fb1b4dffec85651b2883b27f75b2 +EBUILD sgopherd-17.09.ebuild 881 SHA256 99549e7f73077b2120ae90b49be6d1ad4945051f9c85f74bb3b3b896b03a2c34 SHA512 5097bae8034d6cb3eb680dc42956880dcf38dad2afc460ce5281dcc54999e6fa70b3e4a1cb9f83bac377be19f4e11933d6f3e986bee98f0edb7e11d38a35aa1c WHIRLPOOL 583195facd860175faa407775d56f85f3277cabdc8237d5bd47f74aff260a55e34aa450c9fd9a6b32a2481843350cbfe85ce4e246aebccaa1b89b840b95fd5f0 +MISC ChangeLog 2179 SHA256 724c5f25feed6f11a62784928819b582bf09c8c6dfe055f7ab7006037eabc6e3 SHA512 6b5a2af703f5c235dc2f9184f14511e71a241458d99588040ae25ef8815b694bd2ade1a5136aaf3476a61834cc1a1556121e5383c974de3b8306e07500a28662 WHIRLPOOL c2c62f0c8fce99162b9e990241804eabfc117ec850dac874b16b55f802939db6e43d08b7a8d2fb7b40acd9d848e7d37307172488bf632490b260f85000f09cb9 +MISC ChangeLog-2015 349 SHA256 47c0d8d125090164a0c5254266cbd573189bae4f4cdbf0ee407de9ac687ba333 SHA512 af1780b813f9e0cfbfe3af75a3ee56919268a725fc1fe91a7bea7d6429924c878cd6078e8d75b784cb63581af9693204551ca55ec5f713fc99bda66fe3b342d5 WHIRLPOOL bba64efb79121a8baf31f8534d8441baa1b1f895f667d291519f8e0c48dd9262eba1ec22a0e53f445ece9759151b13baab765a394d9583bb4180d73c93e93b90 +MISC metadata.xml 325 SHA256 78e253c5dc29b255d262e89cc9453edde12a1ab838b2ffa9b2991c8fc7b1fddd SHA512 b0da1cc0212383ff00849f6c9b3cf1e96713d1db19e21711cb8147b43ac8dc696fbfb5ff4703f8b25f73f051c25d3f05dd3e59bf229528cc0a6652b57c2b19ef WHIRLPOOL ca948ba1b2745943035eff6e0acbf80e544f4402b82a0c9bd7c8150dbdbbbb4a116befa7e3aec1f8c9921ac8844e4a5d25310b62c29e601e1ee2be6950897698 diff --git a/net-misc/sgopherd/metadata.xml b/net-misc/sgopherd/metadata.xml new file mode 100644 index 000000000000..aa3406196cb1 --- /dev/null +++ b/net-misc/sgopherd/metadata.xml @@ -0,0 +1,11 @@ + + + + + pinkbyte@gentoo.org + Sergey Popov + + + vain/sgopherd + + diff --git a/net-misc/sgopherd/sgopherd-17.09.ebuild b/net-misc/sgopherd/sgopherd-17.09.ebuild new file mode 100644 index 000000000000..742b26b78b00 --- /dev/null +++ b/net-misc/sgopherd/sgopherd-17.09.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Small Gopher Server written in GNU Bash" +HOMEPAGE="https://github.com/vain/sgopherd" +SRC_URI="https://github.com/vain/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="app-shells/bash + sys-apps/sed + sys-apps/xinetd" + +src_prepare() { + # Set default user to run sgopherd + sed -i -e '/user/s/http/nobody/' xinetd/xinetd-example.conf || die 'sed failed' + + eapply_user +} + +src_install() { + dodoc README + doman man8/"${PN}".8 + dobin "${PN}" + insinto /etc/xinetd.d + newins xinetd/xinetd-example.conf "${PN}" + # TODO: add installation of systemd-related files +} + +pkg_postinst() { + elog "${PN} can be launched through xinetd" + elog "Configuration options are in /etc/xinetd.d/${PN}" +} -- cgit v1.2.3