From 4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f Mon Sep 17 00:00:00 2001 From: ume Date: Thu, 12 Apr 2001 19:06:31 +0000 Subject: Since imapd.conf is installed into ${PREFIX}/etc, mkimap should refer ${PREFIX}/etc/imapd.conf --- mail/cyrus-imapd/Makefile | 7 ++++++- mail/cyrus-imapd/files/imapd.sh | 4 +++- mail/cyrus-imapd/pkg-message | 2 +- mail/cyrus-imapd2/Makefile | 7 ++++++- mail/cyrus-imapd2/files/imapd.sh | 4 +++- mail/cyrus-imapd2/pkg-message | 2 +- mail/cyrus-imapd22/Makefile | 7 ++++++- mail/cyrus-imapd22/files/imapd.sh | 4 +++- mail/cyrus-imapd22/pkg-message | 2 +- mail/cyrus-imapd23/Makefile | 7 ++++++- mail/cyrus-imapd23/files/imapd.sh | 4 +++- mail/cyrus-imapd23/pkg-message | 2 +- mail/cyrus-imapd24/Makefile | 7 ++++++- mail/cyrus-imapd24/files/imapd.sh | 4 +++- mail/cyrus-imapd24/pkg-message | 2 +- 15 files changed, 50 insertions(+), 15 deletions(-) (limited to 'mail') diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile index 5163181..b4e214f 100644 --- a/mail/cyrus-imapd/Makefile +++ b/mail/cyrus-imapd/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 -PORTREVISION= 3 +PORTREVISION= 4 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/ @@ -57,6 +57,11 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ install-testing install-upgrade install mailing-list notes \ os overview questions readme sieve-protocol sieve +post-patch: + @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \ + > ${WRKSRC}/tools/mkimap.new + @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap + pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/mail/cyrus-imapd/files/imapd.sh b/mail/cyrus-imapd/files/imapd.sh index 5453fc5..5230d76 100644 --- a/mail/cyrus-imapd/files/imapd.sh +++ b/mail/cyrus-imapd/files/imapd.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Start or stop cyrus-imapd +# $FreeBSD$ + case "$1" in start) if [ -x /usr/local/cyrus/bin/master -a \ @@ -11,7 +14,6 @@ start) ;; stop) kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' - echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd/pkg-message b/mail/cyrus-imapd/pkg-message index 24125a8..e442925 100644 --- a/mail/cyrus-imapd/pkg-message +++ b/mail/cyrus-imapd/pkg-message @@ -1,6 +1,6 @@ **************************************************************************** To setup mail spool, modify /usr/local/etc/imapd.conf appropriately, -then run `/usr/local/cyrus/bin/mkimap /usr/local/etc/imapd.conf'. +then run /usr/local/cyrus/bin/mkimap. **************************************************************************** diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile index 5163181..b4e214f 100644 --- a/mail/cyrus-imapd2/Makefile +++ b/mail/cyrus-imapd2/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 -PORTREVISION= 3 +PORTREVISION= 4 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/ @@ -57,6 +57,11 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ install-testing install-upgrade install mailing-list notes \ os overview questions readme sieve-protocol sieve +post-patch: + @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \ + > ${WRKSRC}/tools/mkimap.new + @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap + pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/mail/cyrus-imapd2/files/imapd.sh b/mail/cyrus-imapd2/files/imapd.sh index 5453fc5..5230d76 100644 --- a/mail/cyrus-imapd2/files/imapd.sh +++ b/mail/cyrus-imapd2/files/imapd.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Start or stop cyrus-imapd +# $FreeBSD$ + case "$1" in start) if [ -x /usr/local/cyrus/bin/master -a \ @@ -11,7 +14,6 @@ start) ;; stop) kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' - echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd2/pkg-message b/mail/cyrus-imapd2/pkg-message index 24125a8..e442925 100644 --- a/mail/cyrus-imapd2/pkg-message +++ b/mail/cyrus-imapd2/pkg-message @@ -1,6 +1,6 @@ **************************************************************************** To setup mail spool, modify /usr/local/etc/imapd.conf appropriately, -then run `/usr/local/cyrus/bin/mkimap /usr/local/etc/imapd.conf'. +then run /usr/local/cyrus/bin/mkimap. **************************************************************************** diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile index 5163181..b4e214f 100644 --- a/mail/cyrus-imapd22/Makefile +++ b/mail/cyrus-imapd22/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 -PORTREVISION= 3 +PORTREVISION= 4 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/ @@ -57,6 +57,11 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ install-testing install-upgrade install mailing-list notes \ os overview questions readme sieve-protocol sieve +post-patch: + @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \ + > ${WRKSRC}/tools/mkimap.new + @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap + pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/mail/cyrus-imapd22/files/imapd.sh b/mail/cyrus-imapd22/files/imapd.sh index 5453fc5..5230d76 100644 --- a/mail/cyrus-imapd22/files/imapd.sh +++ b/mail/cyrus-imapd22/files/imapd.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Start or stop cyrus-imapd +# $FreeBSD$ + case "$1" in start) if [ -x /usr/local/cyrus/bin/master -a \ @@ -11,7 +14,6 @@ start) ;; stop) kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' - echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd22/pkg-message b/mail/cyrus-imapd22/pkg-message index 24125a8..e442925 100644 --- a/mail/cyrus-imapd22/pkg-message +++ b/mail/cyrus-imapd22/pkg-message @@ -1,6 +1,6 @@ **************************************************************************** To setup mail spool, modify /usr/local/etc/imapd.conf appropriately, -then run `/usr/local/cyrus/bin/mkimap /usr/local/etc/imapd.conf'. +then run /usr/local/cyrus/bin/mkimap. **************************************************************************** diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile index 5163181..b4e214f 100644 --- a/mail/cyrus-imapd23/Makefile +++ b/mail/cyrus-imapd23/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 -PORTREVISION= 3 +PORTREVISION= 4 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/ @@ -57,6 +57,11 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ install-testing install-upgrade install mailing-list notes \ os overview questions readme sieve-protocol sieve +post-patch: + @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \ + > ${WRKSRC}/tools/mkimap.new + @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap + pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/mail/cyrus-imapd23/files/imapd.sh b/mail/cyrus-imapd23/files/imapd.sh index 5453fc5..5230d76 100644 --- a/mail/cyrus-imapd23/files/imapd.sh +++ b/mail/cyrus-imapd23/files/imapd.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Start or stop cyrus-imapd +# $FreeBSD$ + case "$1" in start) if [ -x /usr/local/cyrus/bin/master -a \ @@ -11,7 +14,6 @@ start) ;; stop) kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' - echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd23/pkg-message b/mail/cyrus-imapd23/pkg-message index 24125a8..e442925 100644 --- a/mail/cyrus-imapd23/pkg-message +++ b/mail/cyrus-imapd23/pkg-message @@ -1,6 +1,6 @@ **************************************************************************** To setup mail spool, modify /usr/local/etc/imapd.conf appropriately, -then run `/usr/local/cyrus/bin/mkimap /usr/local/etc/imapd.conf'. +then run /usr/local/cyrus/bin/mkimap. **************************************************************************** diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index 5163181..b4e214f 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-imapd PORTVERSION= 2.0.12 -PORTREVISION= 3 +PORTREVISION= 4 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/ @@ -57,6 +57,11 @@ HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ install-testing install-upgrade install mailing-list notes \ os overview questions readme sieve-protocol sieve +post-patch: + @${SED} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/tools/mkimap \ + > ${WRKSRC}/tools/mkimap.new + @${MV} ${WRKSRC}/tools/mkimap.new ${WRKSRC}/tools/mkimap + pre-install: @ ${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8 @${PKGINSTALL} ${PKGNAME} PRE-INSTALL diff --git a/mail/cyrus-imapd24/files/imapd.sh b/mail/cyrus-imapd24/files/imapd.sh index 5453fc5..5230d76 100644 --- a/mail/cyrus-imapd24/files/imapd.sh +++ b/mail/cyrus-imapd24/files/imapd.sh @@ -1,5 +1,8 @@ #!/bin/sh +# Start or stop cyrus-imapd +# $FreeBSD$ + case "$1" in start) if [ -x /usr/local/cyrus/bin/master -a \ @@ -11,7 +14,6 @@ start) ;; stop) kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' - echo -n ' imapd' ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/mail/cyrus-imapd24/pkg-message b/mail/cyrus-imapd24/pkg-message index 24125a8..e442925 100644 --- a/mail/cyrus-imapd24/pkg-message +++ b/mail/cyrus-imapd24/pkg-message @@ -1,6 +1,6 @@ **************************************************************************** To setup mail spool, modify /usr/local/etc/imapd.conf appropriately, -then run `/usr/local/cyrus/bin/mkimap /usr/local/etc/imapd.conf'. +then run /usr/local/cyrus/bin/mkimap. **************************************************************************** -- cgit v1.1