public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/postgrey/files/
Date: Thu, 22 Dec 2016 15:47:11 +0000 (UTC)	[thread overview]
Message-ID: <1482421617.041f07c1aa2f8e72413c7cce016568ad66c627e2.kensington@gentoo> (raw)

commit:     041f07c1aa2f8e72413c7cce016568ad66c627e2
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Dec 13 20:28:25 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 15:46:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041f07c1

mail-filter/postgrey: remove unused rc file

 mail-filter/postgrey/files/postgrey.rc.new | 101 -----------------------------
 1 file changed, 101 deletions(-)

diff --git a/mail-filter/postgrey/files/postgrey.rc.new b/mail-filter/postgrey/files/postgrey.rc.new
deleted file mode 100644
index d3f46e9..00000000
--- a/mail-filter/postgrey/files/postgrey.rc.new
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-conf="/etc/conf.d/postgrey"
-
-extra_started_commands="reload"
-
-depend() {
-	need net
-	before postfix
-	provide postfix_greylist
-}
-
-conf_error() {
-	eerror "You need to setup ${conf} first"
-	return 1
-}
-
-checkconfig() {
-if [ -z "${POSTGREY_TYPE}" ]
-	then
-		einfo "You need to choose the server type you want"
-		einfo "by setting the POSTGREY_TYPE variable in ${conf}."
-	else
-	if [ "x${POSTGREY_TYPE}" = "xinet" ]
-		then
-			if [ -z "${POSTGREY_PORT}" ] || [ -z "${POSTGREY_HOST}" ]
-				then
-					einfo "The following entries are missing in ${conf}:"
-					[ -z "${POSTGREY_HOST}" ] && einfo "  - POSTGREY_HOST"
-					[ -z "${POSTGREY_PORT}" ] && einfo "  - POSTGREY_PORT"
-					conf_error
-			fi
-			POSTGREY_ADDR="${POSTGREY_TYPE}=${POSTGREY_HOST}:${POSTGREY_PORT}"
-		else
-			if [ -z "${POSTGREY_SOCKET}" ]
-			then
-				einfo "The following entries are missing in ${conf}:"
-				[ -z "${POSTGREY_SOCKET}" ] && einfo "  - POSTGREY_SOCKET"
-				conf_error
-			fi
-			POSTGREY_ADDR="${POSTGREY_TYPE}=${POSTGREY_SOCKET}"
-	fi
-fi
-
-	if [ -z "${POSTGREY_PID}" ]
-		then
-		einfo "The following entries are missing in ${conf}:"
-		[ -z "${POSTGREY_PID}" ] && einfo "  - POSTGREY_PID"
-		conf_error
-	fi
-}
-
-start() {
-	checkconfig || return 1
-	ebegin "Starting Postgrey"
-	
-	# HACK -- start a subshell and corrects perms on the socket...
-	( if [ "x${POSTGREY_TYPE}" = "xunix" ]; then
-	rm -f ${POSTGREY_SOCKET};
-	while ! test -S ${POSTGREY_SOCKET}; do sleep 1; done;
-	chmod a+rw,a-x ${POSTGREY_SOCKET}; fi ) &
-
-	if [ -z ${POSTGREY_DELAY} ] ; then
-		POSTGREY_DELAY_ARG=""
-	else
-		POSTGREY_DELAY_ARG="--delay=${POSTGREY_DELAY}"
-	fi
-
-	if [ -z "${POSTGREY_TEXT}" ] ; then
-		POSTGREY_TEXT_ARG=""
-	else
-		POSTGREY_TEXT_ARG="--greylist-text=${POSTGREY_TEXT}"
-	fi
-
-	start-stop-daemon --start --quiet --background \
-		--pidfile=${POSTGREY_PID} \
-		--name postgrey \
-		--exec /usr/sbin/postgrey -- \
-		--${POSTGREY_ADDR} \
-		--daemonize \
-		--pidfile=${POSTGREY_PID} \
-		${POSTGREY_DELAY_ARG} \
-		${POSTGREY_OPTS} \
-		"${POSTGREY_TEXT_ARG}"
-	eend ${?}
-}
-
-stop() {
-	ebegin "Stopping Postgrey"
-	start-stop-daemon --stop --quiet --pidfile ${POSTGREY_PID}
-	eend ${?}
-}
-
-reload() {
-	ebegin "Reloading Postgrey"
-	start-stop-daemon --stop --signal HUP --oknodo --pidfile ${POSTGREY_PID}
-	eend $?
-}


             reply	other threads:[~2016-12-22 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22 15:47 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-21 18:15 [gentoo-commits] repo/gentoo:master commit in: mail-filter/postgrey/files/ Sam James
2020-12-26  0:53 Sam James

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=1482421617.041f07c1aa2f8e72413c7cce016568ad66c627e2.kensington@gentoo \
    --to=kensington@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