logo

overlay

My (experimental) gentoo overlay
commit: 5f5ee5e0387bdd1b181bfb7bd784105f40f86a85
parent: 224e7fe33111714ab8a5e1f9e7cbc4b3423eb56c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  5 Nov 2018 11:37:17 +0100

net-nntp/inn: keywords and initd

Diffstat:

Anet-nntp/inn/files/innd-r122++++++++++++++++++++++
Mnet-nntp/inn/inn-2.6.2.ebuild2+-
2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/net-nntp/inn/files/innd-r1 b/net-nntp/inn/files/innd-r1 @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net +} + +start() { + ebegin "Starting ${SVCNAME}" + checkpath -d -m 0755 -o news:news /run/news + start-stop-daemon --start --user news --pidfile /run/news/${SVCNAME}.pid \ + --exec /usr/lib/news/bin/rc.news + eend $? +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --start --user news --exec /usr/lib/news/bin/rc.news -- stop + sleep 2 + eend $? +} diff --git a/net-nntp/inn/inn-2.6.2.ebuild b/net-nntp/inn/inn-2.6.2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://ftp.isc.org/isc/inn/${P}.tar.gz" # GPL-2 only for init script LICENSE="ISC GPL-2+ public-domain BSD-4 BSD-2 RSA BSD MIT GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="~amd64 ~x86" IUSE="berkdb innkeywords inntaggedhash ipv6 kerberos perl python sasl libressl ssl" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"