From 4607f2322bcda84b70b866a2a24aa74b558416ab Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Thu, 18 Jun 2020 20:21:45 +0200 Subject: net-libs/courier-authlib: remove unused file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger Signed-off-by: Hanno Böck Closes: https://github.com/gentoo/gentoo/pull/16312 --- net-libs/courier-authlib/files/courier-authlib-r1 | 40 ----------------------- 1 file changed, 40 deletions(-) delete mode 100644 net-libs/courier-authlib/files/courier-authlib-r1 (limited to 'net-libs/courier-authlib') diff --git a/net-libs/courier-authlib/files/courier-authlib-r1 b/net-libs/courier-authlib/files/courier-authlib-r1 deleted file mode 100644 index 5730139a02af..000000000000 --- a/net-libs/courier-authlib/files/courier-authlib-r1 +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net - provide authdaemond -} - -checkconfig() { - if [ ! -e /etc/courier/authlib/authdaemonrc ] ; then - eerror "You need an /etc/courier/authlib/authdaemonrc file to run authdaemon" - return 1 - fi -} - -setauth() { - . /etc/courier/authlib/authdaemonrc - AUTHLIB="/usr/lib/courier/courier-authlib" - AUTHDAEMOND="authdaemond" - pidfile="/var/run/authdaemon.pid" - logger="/usr/sbin/courierlogger" - export DEBUG_LOGIN DEFAULTOPTIONS LOGGEROPTS -} - -start() { - checkconfig || return 1 - setauth - ebegin "Starting courier-authlib: ${AUTHDAEMOND}" - start-stop-daemon --quiet --start --pidfile "${pidfile}" --exec \ - /usr/bin/env ${logger} -- ${LOGGEROPTS} -pid="${pidfile}" -start "${AUTHLIB}/${AUTHDAEMOND}" - eend $? -} - -stop() { - setauth - ebegin "Stopping courier-authlib: ${AUTHDAEMOND}" - start-stop-daemon --quiet --stop --pidfile "${pidfile}" - eend $? -} -- cgit v1.2.3-65-gdbad