public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergey Popov" <pinkbyte@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sgopherd/
Date: Wed,  7 Nov 2018 10:20:48 +0000 (UTC)	[thread overview]
Message-ID: <1541586016.22f8d0921629e8fc70ca836f5be73d6d9267325e.pinkbyte@gentoo> (raw)

commit:     22f8d0921629e8fc70ca836f5be73d6d9267325e
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  7 10:19:49 2018 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Wed Nov  7 10:20:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22f8d092

net-misc/sgopherd: version bump

Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-misc/sgopherd/Manifest              |  1 +
 net-misc/sgopherd/sgopherd-18.08.ebuild | 38 +++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/net-misc/sgopherd/Manifest b/net-misc/sgopherd/Manifest
index 8ee05c484ad..977ca010dea 100644
--- a/net-misc/sgopherd/Manifest
+++ b/net-misc/sgopherd/Manifest
@@ -1 +1,2 @@
 DIST sgopherd-17.09.tar.gz 8855 BLAKE2B d79b6f2d6c19e0ec2878ff44c56d739863a74bfc967098d4e51d4b9a723fed587d5d52f78aeb5e915e466f43a28ac443b39e8b79e6a8e8fc82c4c049be7b8cb4 SHA512 7f3ef37d5ec08d21e7945f0327ea50697237461f717a2ce3c5a0fe9c077effe26710013725a59a184564e028f249f7b53087752410600da0f8feaf9cd1b9c7dc
+DIST sgopherd-18.08.tar.bz2 12777 BLAKE2B dde415822f9e4a41463fa6d2622b59adc5676b88cb5b5831ec3396869f6b2bfa4d605b92bd56c24d9aa1b8d4a0198c4f2f46a6141f5f2c913cde1cfb9e99d3db SHA512 830558f2be0763550f0229bfa22524de81c9ea119b2d0f00e465f76ba343d4f488e5595851bbf13697b270d7dc611eafb36a320b6dc2c7d27ad854bd14f4c10d

diff --git a/net-misc/sgopherd/sgopherd-18.08.ebuild b/net-misc/sgopherd/sgopherd-18.08.ebuild
new file mode 100644
index 00000000000..d83915c0411
--- /dev/null
+++ b/net-misc/sgopherd/sgopherd-18.08.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Small Gopher Server written in GNU Bash"
+HOMEPAGE="https://www.uninformativ.de/git/sgopherd"
+SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.bz2"
+
+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}"
+}


             reply	other threads:[~2018-11-07 10:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07 10:20 Sergey Popov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-14 11:19 [gentoo-commits] repo/gentoo:master commit in: net-misc/sgopherd/ Sergey Popov
2020-07-13  9:51 Sergey Popov
2017-09-14 12:05 Sergey Popov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1541586016.22f8d0921629e8fc70ca836f5be73d6d9267325e.pinkbyte@gentoo \
    --to=pinkbyte@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox