diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile index 8c030d25c868..731de59231c6 100644 --- a/mail/cyrus-imapd/Makefile +++ b/mail/cyrus-imapd/Makefile @@ -7,6 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ diff --git a/mail/cyrus-imapd/files/imapd.sh b/mail/cyrus-imapd/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd/files/imapd.sh +++ b/mail/cyrus-imapd/files/imapd.sh @@ -10,7 +10,8 @@ start) fi ;; stop) - killall -u cyrus master && echo -n ' imapd' + kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile index 8c030d25c868..731de59231c6 100644 --- a/mail/cyrus-imapd2/Makefile +++ b/mail/cyrus-imapd2/Makefile @@ -7,6 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ diff --git a/mail/cyrus-imapd2/files/imapd.sh b/mail/cyrus-imapd2/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd2/files/imapd.sh +++ b/mail/cyrus-imapd2/files/imapd.sh @@ -10,7 +10,8 @@ start) fi ;; stop) - killall -u cyrus master && echo -n ' imapd' + kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile index 8c030d25c868..731de59231c6 100644 --- a/mail/cyrus-imapd22/Makefile +++ b/mail/cyrus-imapd22/Makefile @@ -7,6 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ diff --git a/mail/cyrus-imapd22/files/imapd.sh b/mail/cyrus-imapd22/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd22/files/imapd.sh +++ b/mail/cyrus-imapd22/files/imapd.sh @@ -10,7 +10,8 @@ start) fi ;; stop) - killall -u cyrus master && echo -n ' imapd' + kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile index 8c030d25c868..731de59231c6 100644 --- a/mail/cyrus-imapd23/Makefile +++ b/mail/cyrus-imapd23/Makefile @@ -7,6 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ diff --git a/mail/cyrus-imapd23/files/imapd.sh b/mail/cyrus-imapd23/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd23/files/imapd.sh +++ b/mail/cyrus-imapd23/files/imapd.sh @@ -10,7 +10,8 @@ start) fi ;; stop) - killall -u cyrus master && echo -n ' imapd' + kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index 8c030d25c868..731de59231c6 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -7,6 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ diff --git a/mail/cyrus-imapd24/files/imapd.sh b/mail/cyrus-imapd24/files/imapd.sh index e190969bf571..a08c94fc3ad7 100644 --- a/mail/cyrus-imapd24/files/imapd.sh +++ b/mail/cyrus-imapd24/files/imapd.sh @@ -10,7 +10,8 @@ start) fi ;; stop) - killall -u cyrus master && echo -n ' imapd' + kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2