public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/files/
Date: Sun, 12 Feb 2017 14:05:40 +0000 (UTC)	[thread overview]
Message-ID: <1486907702.52fdf07995b87f9bfb481918043c6599484cd09a.bircoph@gentoo> (raw)

commit:     52fdf07995b87f9bfb481918043c6599484cd09a
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 13:00:14 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 13:55:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fdf079

net-mail/courier-imap: fix bug 340175

Make init scripts POSIX compliant. Patch by Alec Moskvin <alecm at
gmx.com>, bug 340175.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 .../files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6          | 10 +++++-----
 .../courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6 |  8 ++++----
 .../files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6          | 10 +++++-----
 .../courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 |  8 ++++----
 4 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6
index 38f69b1f51..d903cd0161 100644
--- a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6
+++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,19 +8,19 @@ depend() {
 	use famd
 }
 
-source /etc/courier-imap/imapd-ssl
+. /etc/courier-imap/imapd-ssl
 
 checkconfig() {
-	if [[ ! -e /etc/courier-imap/imapd-ssl ]] ; then
+	if [ ! -e /etc/courier-imap/imapd-ssl ] ; then
 		eerror "You need an /etc/courier-imap/imapd-ssl file to run courier-imapd-ssl"
 		return 1
 	fi
-	source /etc/courier-imap/imapd-ssl || {
+	. /etc/courier-imap/imapd-ssl || {
 		eerror "There are syntax errors in /etc/courier-imap/imapd-ssl"
 		eerror "Please correct them before trying to start courier-imapd-ssl"
 		return 3
 	}
-	if [[ ! -e "${TLS_CERTFILE}" ]] ; then
+	if [ ! -e "${TLS_CERTFILE}" ] ; then
 		eerror "You need to create a SSL certificate to use IMAP over SSL"
 		eerror "Edit /etc/courier-imap/imapd.cnf, then run: mkimapdcert"
 		return 2

diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6
index 2c336d7b49..9ab0bf22a0 100644
--- a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6
+++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-imapd.rc6
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,14 +8,14 @@ depend() {
 	use famd
 }
 
-source /etc/courier-imap/imapd
+. /etc/courier-imap/imapd
 
 checkconfig() {
-	if [[ ! -e /etc/courier-imap/imapd ]] ; then
+	if [ ! -e /etc/courier-imap/imapd ] ; then
 		eerror "You need an /etc/courier-imap/imapd file to run courier-imapd"
 		return 1
 	fi
-	source /etc/courier-imap/imapd || {
+	. /etc/courier-imap/imapd || {
 		eerror "There are syntax errors in /etc/courier-imap/imapd"
 		eerror "Please correct them before trying to start courier-imapd"
 		return 2

diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6
index ba32da563a..46b5b425d9 100644
--- a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6
+++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,19 +8,19 @@ depend() {
 	use famd
 }
 
-source /etc/courier-imap/pop3d-ssl
+. /etc/courier-imap/pop3d-ssl
 
 checkconfig() {
-	if [[ ! -e /etc/courier-imap/pop3d-ssl ]] ; then
+	if [ ! -e /etc/courier-imap/pop3d-ssl ] ; then
 		eerror "You need an /etc/courier-imap/pop3d-ssl file to run courier-pop3d-ssl"
 		return 1
 	fi
-	source /etc/courier-imap/pop3d-ssl || {
+	. /etc/courier-imap/pop3d-ssl || {
 		eerror "There are syntax errors in /etc/courier-imap/pop3d-ssl"
 		eerror "Please correct them before trying to start courier-pop3d-ssl"
 		return 3
 	}
-	if [[ ! -e "${TLS_CERTFILE}" ]] ; then
+	if [ ! -e "${TLS_CERTFILE}" ] ; then
 		eerror "You need to create a SSL certificate to use POP3 over SSL"
 		eerror "Edit /etc/courier-imap/pop3d.cnf, then run: mkpop3dcert"
 		return 2

diff --git a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6 b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6
index 9a4ecf6049..dc6033c923 100644
--- a/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6
+++ b/net-mail/courier-imap/files/courier-imap-4.0.6-r1-courier-pop3d.rc6
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,14 +8,14 @@ depend() {
 	use famd
 }
 
-source /etc/courier-imap/pop3d
+. /etc/courier-imap/pop3d
 
 checkconfig() {
-	if [[ ! -e /etc/courier-imap/pop3d ]] ; then
+	if [ ! -e /etc/courier-imap/pop3d ] ; then
 		eerror "You need an /etc/courier-imap/pop3d file to run courier-pop3d"
 		return 1
 	fi
-	source /etc/courier-imap/pop3d || {
+	. /etc/courier-imap/pop3d || {
 		eerror "There are syntax errors in /etc/courier-imap/pop3d"
 		eerror "Please correct them before trying to start courier-pop3d"
 		return 2


             reply	other threads:[~2017-02-12 14:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-12 14:05 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-01 18:48 [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/files/ Ulrich Müller
2018-04-18 18:15 David Seifert
2020-01-27  7:57 Alfredo Tupone
2021-07-13 21:16 Conrad Kostecki
2023-12-29 16:48 Alfredo Tupone

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=1486907702.52fdf07995b87f9bfb481918043c6599484cd09a.bircoph@gentoo \
    --to=bircoph@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