diff options
author | ume <ume@FreeBSD.org> | 2001-03-16 21:28:16 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-03-16 21:28:16 +0800 |
commit | 8bb712610a6f31e97f6eb985f83096c3e71f51da (patch) | |
tree | 0af13dc7587c3c661c03bc453b24eebbfd0cc61a /mail | |
parent | 402743a82c163fcde3fee12daa2ec5f8af95983a (diff) | |
download | freebsd-ports-gnome-8bb712610a6f31e97f6eb985f83096c3e71f51da.tar.gz freebsd-ports-gnome-8bb712610a6f31e97f6eb985f83096c3e71f51da.tar.zst freebsd-ports-gnome-8bb712610a6f31e97f6eb985f83096c3e71f51da.zip |
killall doesn't have -u option under FreeBSD 3.X
Reported by: Alex Vasylenko <lxv@omut.org>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/cyrus-imapd/Makefile | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd/files/imapd.sh | 3 | ||||
-rw-r--r-- | mail/cyrus-imapd2/Makefile | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd2/files/imapd.sh | 3 | ||||
-rw-r--r-- | mail/cyrus-imapd22/Makefile | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd22/files/imapd.sh | 3 | ||||
-rw-r--r-- | mail/cyrus-imapd23/Makefile | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd23/files/imapd.sh | 3 | ||||
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 1 | ||||
-rw-r--r-- | mail/cyrus-imapd24/files/imapd.sh | 3 |
10 files changed, 15 insertions, 5 deletions
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 |