diff options
Diffstat (limited to 'net-misc/sgopherd')
-rw-r--r-- | net-misc/sgopherd/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/sgopherd/Manifest | 18 | ||||
-rw-r--r-- | net-misc/sgopherd/metadata.xml | 11 | ||||
-rw-r--r-- | net-misc/sgopherd/sgopherd-13.01.ebuild | 41 |
4 files changed, 80 insertions, 0 deletions
diff --git a/net-misc/sgopherd/ChangeLog b/net-misc/sgopherd/ChangeLog new file mode 100644 index 000000000000..b74b8fca38cd --- /dev/null +++ b/net-misc/sgopherd/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/sgopherd +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sgopherd/ChangeLog,v 1.1 2013/03/18 14:16:24 pinkbyte Exp $ + +*sgopherd-13.01 (18 Mar 2013) + + 18 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +sgopherd-13.01.ebuild, + +metadata.xml: + Initial commit + diff --git a/net-misc/sgopherd/Manifest b/net-misc/sgopherd/Manifest new file mode 100644 index 000000000000..f445610a5e4c --- /dev/null +++ b/net-misc/sgopherd/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST sgopherd-13.01.tar.gz 10524 SHA256 8a115d48fd0b78b9c3f069f2c827aacac439cfbf3d2face22f173e2920554693 SHA512 8f2864ddb263e8a437d37718a3108fee2fd7fdc1ce8e3fdb5a8db019b2dde5a52d12f574e3f32a6fe80e1ab1ca2687d87a310e6d12580f6e5d588ba13d4a5165 WHIRLPOOL af0bd9444e68191284fa50c6582f0ef84275e9e3de2d0851f2dbffb35dde1571d490fb444ff2534fbaf5d9a8da9c77d56497ce9efa01b53f14258dfaaf6559ac +EBUILD sgopherd-13.01.ebuild 1004 SHA256 39237f7a5e82148f8a1fc5e08f2e13cfc272b38db511188ba6028fe9fdf2b182 SHA512 22071280b4c53f40d39edfecef670d72aebdc50e48c4689abf2eb5652d48ec69e90ad492805450b231cfa732a7ca44f1e51079836bc6ade38ae572b343793c3c WHIRLPOOL d2f4e29696a39173152f22beadda9f6438c3fb0f6d6a4e1552f63956dae4b4e6cbd31e747e0938a3a05163bd951eb91f3e8ebf5ff4094dba0ff5e00a6769b1ca +MISC ChangeLog 349 SHA256 47c0d8d125090164a0c5254266cbd573189bae4f4cdbf0ee407de9ac687ba333 SHA512 af1780b813f9e0cfbfe3af75a3ee56919268a725fc1fe91a7bea7d6429924c878cd6078e8d75b784cb63581af9693204551ca55ec5f713fc99bda66fe3b342d5 WHIRLPOOL bba64efb79121a8baf31f8534d8441baa1b1f895f667d291519f8e0c48dd9262eba1ec22a0e53f445ece9759151b13baab765a394d9583bb4180d73c93e93b90 +MISC metadata.xml 311 SHA256 aeaf5cd3b3b020c20eb08981f0f8550bc2b8423c695e587e769fd294f992da62 SHA512 088af7fa631e4fd17c436f7f8747d84da853d2cde846840aa4dcd3ce028aae6e4ec7476c1411aeb77c0bf3a735f96e05ffcda28c52fdfb63f5a745e01865dd18 WHIRLPOOL 84969446b6f53def0b08067baefaee66f08743a51b8d8d25c037d196eeeeb5e81ffc6a07f893b68108002c795e36b8216e7c86a694d0f66435f40600b3097cff +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRRyGzAAoJECo/aRed9267oUgH/jtPBgrmjcvDpOxMSoZZs/xj +jYM6IBfasXcAFXpgPio/p5TxQILNnMuW/gvlMD/IZuL3sMJLS3/tAxtLUgrBiztV +iTfLxoISi7zRebhcZqBwfvv+6ViRL2IJl67IezPNFQ7fw6LpJdhCDkb9n1YSHwQW +XJHTqHUXUa2whoAUH5b8sEd4T3ILAgr3K7rGC6OCNHIrTSo9ldQueb0v1oSiXzds +h4mctSgkmQhNonJmZNlIhBH/ZPK+66XZYZ2fydAsduLU0X3Vrj6x1w6+6+Igt5vu +k6Uuz7hefStej6k67y8dYual0IIOtBsOIyFNioMd3StNyHZhfLcbJhbMrg+8NkQ= +=owOw +-----END PGP SIGNATURE----- diff --git a/net-misc/sgopherd/metadata.xml b/net-misc/sgopherd/metadata.xml new file mode 100644 index 000000000000..3b9f77da53a3 --- /dev/null +++ b/net-misc/sgopherd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> + <upstream> + <remote-id type="github">vain/sgopherd</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/sgopherd/sgopherd-13.01.ebuild b/net-misc/sgopherd/sgopherd-13.01.ebuild new file mode 100644 index 000000000000..a15309c0151f --- /dev/null +++ b/net-misc/sgopherd/sgopherd-13.01.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sgopherd/sgopherd-13.01.ebuild,v 1.1 2013/03/18 14:16:24 pinkbyte Exp $ + +EAPI=5 + +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="PIZZA-WARE" +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' + + epatch_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}" +} |