summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-04-12 19:06:31 +0000
committerume <ume@FreeBSD.org>2001-04-12 19:06:31 +0000
commit4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f (patch)
treec97733264c4ce83adaa0f17a2a60943cc5e3589f /mail
parent45d23dbc0ea7c12efbf38f0eeb56062a6bbbcfac (diff)
downloadFreeBSD-ports-4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f.zip
FreeBSD-ports-4cdd8e3f6c60fe03be29ea8641a7c8dffd13dc0f.tar.gz
Since imapd.conf is installed into ${PREFIX}/etc, mkimap should
refer ${PREFIX}/etc/imapd.conf
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd/Makefile7
-rw-r--r--mail/cyrus-imapd/files/imapd.sh4
-rw-r--r--mail/cyrus-imapd/pkg-message2
-rw-r--r--mail/cyrus-imapd2/Makefile7
-rw-r--r--mail/cyrus-imapd2/files/imapd.sh4
-rw-r--r--mail/cyrus-imapd2/pkg-message2
-rw-r--r--mail/cyrus-imapd22/Makefile7
-rw-r--r--mail/cyrus-imapd22/files/imapd.sh4
-rw-r--r--mail/cyrus-imapd22/pkg-message2
-rw-r--r--mail/cyrus-imapd23/Makefile7
-rw-r--r--mail/cyrus-imapd23/files/imapd.sh4
-rw-r--r--mail/cyrus-imapd23/pkg-message2
-rw-r--r--mail/cyrus-imapd24/Makefile7
-rw-r--r--mail/cyrus-imapd24/files/imapd.sh4
-rw-r--r--mail/cyrus-imapd24/pkg-message2
15 files changed, 50 insertions, 15 deletions
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.
****************************************************************************
OpenPOWER on IntegriCloud