Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 249962 Details for
Bug 340175
net-mail/courier-imap-4.8.0: convert init.d to POSIX shell
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove bashisms from the init-scripts
courier-imap-bashisms-fix.patch (text/plain), 3.66 KB, created by
Alec Moskvin
on 2010-10-08 17:38:03 UTC
(
hide
)
Description:
Patch to remove bashisms from the init-scripts
Filename:
MIME Type:
Creator:
Alec Moskvin
Created:
2010-10-08 17:38:03 UTC
Size:
3.66 KB
patch
obsolete
>diff -ru files.orig/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 >--- files.orig/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 2010-10-08 12:41:45.358999849 -0400 >+++ files/courier-imap-4.0.6-r1-courier-imapd-ssl.rc6 2010-10-08 12:46:48.080997512 -0400 >@@ -8,19 +8,19 @@ > 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 -ru files.orig/courier-imap-4.0.6-r1-courier-imapd.rc6 files/courier-imap-4.0.6-r1-courier-imapd.rc6 >--- files.orig/courier-imap-4.0.6-r1-courier-imapd.rc6 2010-10-08 12:41:45.358999849 -0400 >+++ files/courier-imap-4.0.6-r1-courier-imapd.rc6 2010-10-08 12:48:00.575994863 -0400 >@@ -8,14 +8,14 @@ > 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 -ru files.orig/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 >--- files.orig/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 2010-10-08 12:41:45.358999849 -0400 >+++ files/courier-imap-4.0.6-r1-courier-pop3d-ssl.rc6 2010-10-08 12:49:03.282999516 -0400 >@@ -8,19 +8,19 @@ > 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 -ru files.orig/courier-imap-4.0.6-r1-courier-pop3d.rc6 files/courier-imap-4.0.6-r1-courier-pop3d.rc6 >--- files.orig/courier-imap-4.0.6-r1-courier-pop3d.rc6 2010-10-08 12:41:45.358999849 -0400 >+++ files/courier-imap-4.0.6-r1-courier-pop3d.rc6 2010-10-08 12:49:36.721998034 -0400 >@@ -8,14 +8,14 @@ > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 340175
: 249962