aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-04-02 20:13:53 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-04-02 20:13:53 +0000
commit844bcae5564a1bc05733bc9ac869d8db5bb80700 (patch)
treedd686c1cba8793f95b58d09f2e2cc02fb2ea2b5f /mail/cyrus-imapd24
parentfba09a1864f8c54ed3c430bb141a254d3aecd35c (diff)
downloadports-844bcae5564a1bc05733bc9ac869d8db5bb80700.tar.gz
ports-844bcae5564a1bc05733bc9ac869d8db5bb80700.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile69
-rw-r--r--mail/cyrus-imapd24/files/patch-Makefile.in4
-rw-r--r--mail/cyrus-imapd24/files/patch-aa22
-rw-r--r--mail/cyrus-imapd24/files/patch-ab38
-rw-r--r--mail/cyrus-imapd24/pkg-plist8
5 files changed, 53 insertions, 88 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 29bdbd827f73..bbd0b31a3e4b 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cyrus-imapd
PORTVERSION= 2.2.3
-PORTREVISION= 1
+PORTREVISION= 2
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/ \
@@ -129,10 +129,12 @@ MAN1= cyradm.1 imtest.1 installsieve.1 lmtptest.1 mupdatetest.1 \
nntptest.1 pop3test.1 sieveshell.1 sivtest.1 smtptest.1
MAN3= imclient.3
MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5
-MAN8= arbitron.8 chk_cyrus.8 nntpd.8 ctl_cyrusdb.8 ctl_deliver.8 \
- cyr_expire.8 ctl_mboxlist.8 cvt_cyrusdb.8 cyrquota.8 \
- deliver.8 fetchnews.8 fud.8 idled.8 imapd.8 ipurge.8 \
- lmtpd.8 master.8 mbexamine.8 mbpath.8 notifyd.8 pop3d.8 \
+CYRUS_MAN3= Cyrus::IMAP.3 Cyrus::IMAP::Admin.3 Cyrus::IMAP::IMSP.3 \
+ Cyrus::IMAP::Shell.3 Cyrus::SIEVE::managesieve.3
+CYRUS_MAN8= arbitron.8 chk_cyrus.8 nntpd.8 ctl_cyrusdb.8 ctl_deliver.8 \
+ cyr_expire.8 ctl_mboxlist.8 cvt_cyrusdb.8 deliver.8 \
+ fetchnews.8 fud.8 idled.8 imapd.8 ipurge.8 lmtpd.8 \
+ master.8 mbexamine.8 mbpath.8 notifyd.8 pop3d.8 quota.8 \
reconstruct.8 rmnews.8 smmapd.8 squatter.8 syncnews.8 \
timsieved.8 tls_prune.8
@@ -144,8 +146,6 @@ DOCS= altnamespace anoncvs bugs changes faq feedback index \
mailing-list man notes os overview questions readme sieve \
sieve-protocol specs
-DOCSDIR= ${PREFIX}/share/doc/cyrus-imapd22
-
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PKGINSTALL= ${WRKDIR}/pkg-install
@@ -183,52 +183,61 @@ post-patch:
@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|g" \
-e "s|/usr/sieve|/var/imap/sieve|g" \
${WRKSRC}/tools/masssievec
- @${CP} ${WRKSRC}/man/quota.8 ${WRKSRC}/man/cyrquota.8
.if ${PERL_LEVEL} < 500600
@${REINPLACE_CMD} -e "s|exec perl -x|exec perl -I${SITE_PERL} -x|" \
${WRKSRC}/perl/sieve/scripts/sieveshell.pl
.endif
post-install:
- @${MV} ${PREFIX}/cyrus/bin/quota ${PREFIX}/cyrus/bin/cyrquota
+.for file in ${CYRUS_MAN3}
+ @${GZIP_CMD} ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/${file}
+ @${ECHO_CMD} lib/perl5/${PERL_VERSION}/man/man3/${file}.gz \
+ >>${TMPPLIST}
+.endfor
+.for file in ${CYRUS_MAN8}
+ @${GZIP_CMD} ${PREFIX}/cyrus/man/man8/${file}
+ @${ECHO_CMD} cyrus/man/man8/${file}.gz >>${TMPPLIST}
+.endfor
+ @${ECHO_CMD} "@dirrm cyrus/man/man8" >>${TMPPLIST}
+ @${ECHO_CMD} "@dirrm cyrus/man" >>${TMPPLIST}
+ @${ECHO_CMD} "@dirrm cyrus" >>${TMPPLIST}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/man
- ${MKDIR} ${DOCSDIR}/text
+ @${MKDIR} ${DOCSDIR}/man
+ @${MKDIR} ${DOCSDIR}/text
.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
- @${ECHO_CMD} share/doc/cyrus-imapd22/${file}.html >>${TMPPLIST}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
+ @${ECHO_CMD} share/doc/${PORTNAME}/${file}.html >>${TMPPLIST}
.endfor
-.for file in ${MAN1} ${MAN3} ${MAN5} ${MAN8}
- ofile=`echo ${file} | ${SED} s/cyrquota/quota/`; \
- if [ -f ${WRKSRC}/doc/man/$${ofile}.html ]; then \
- ${INSTALL_DATA} ${WRKSRC}/doc/man/$${ofile}.html \
- ${DOCSDIR}/man/$${ofile}.html; \
- ${ECHO_CMD} share/doc/cyrus-imapd22/man/$${ofile}.html \
+.for file in ${MAN1} ${MAN3} ${MAN5} ${CYRUS_MAN8}
+ @if [ -f ${WRKSRC}/doc/man/${file}.html ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/doc/man/${file}.html \
+ ${DOCSDIR}/man/${file}.html; \
+ ${ECHO_CMD} share/doc/${PORTNAME}/man/${file}.html \
>>${TMPPLIST}; \
fi
.endfor
.for file in cyrusv2.mc murder.fig murder.png netnews.fig netnews.png
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
- @${ECHO_CMD} share/doc/cyrus-imapd22/${file} >>${TMPPLIST}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
+ @${ECHO_CMD} share/doc/${PORTNAME}/${file} >>${TMPPLIST}
.endfor
.for file in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/text/${file} ${DOCSDIR}/text
- @${ECHO_CMD} share/doc/cyrus-imapd22/text/${file} >>${TMPPLIST}
+ @${INSTALL_DATA} ${WRKSRC}/doc/text/${file} ${DOCSDIR}/text
+ @${ECHO_CMD} share/doc/${PORTNAME}/text/${file} >>${TMPPLIST}
.endfor
- @${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/text" >>${TMPPLIST}
- @${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22/man" >>${TMPPLIST}
- @${ECHO_CMD} "@dirrm share/doc/cyrus-imapd22" >>${TMPPLIST}
+ @${ECHO_CMD} "@dirrm share/doc/${PORTNAME}/text" >>${TMPPLIST}
+ @${ECHO_CMD} "@dirrm share/doc/${PORTNAME}/man" >>${TMPPLIST}
+ @${ECHO_CMD} "@dirrm share/doc/${PORTNAME}" >>${TMPPLIST}
.endif
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/imapd.sh > ${PREFIX}/etc/rc.d/imapd.sh
@${CHMOD} 755 ${PREFIX}/etc/rc.d/imapd.sh
- ${INSTALL_DATA} ${FILESDIR}/imapd.conf \
+ @${INSTALL_DATA} ${FILESDIR}/imapd.conf \
${PREFIX}/etc/imapd.conf.dist
- ${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \
+ @${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \
${PREFIX}/etc/cyrus.conf.dist
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \
+ @${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \
${PREFIX}/cyrus/bin/mkimap
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \
+ @${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec \
${PREFIX}/cyrus/bin/masssievec
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \
POST-INSTALL
diff --git a/mail/cyrus-imapd24/files/patch-Makefile.in b/mail/cyrus-imapd24/files/patch-Makefile.in
index 823e5cd22f4c..318dfe1d4710 100644
--- a/mail/cyrus-imapd24/files/patch-Makefile.in
+++ b/mail/cyrus-imapd24/files/patch-Makefile.in
@@ -1,7 +1,7 @@
Index: Makefile.in
diff -u Makefile.in.orig Makefile.in
--- Makefile.in.orig Tue Jan 13 06:02:09 2004
-+++ Makefile.in Thu Mar 11 01:34:50 2004
++++ Makefile.in Sat Apr 3 00:04:36 2004
@@ -90,13 +90,13 @@
touch distcvs
@@ -19,7 +19,7 @@ diff -u Makefile.in.orig Makefile.in
+ $(INSTALL) -d ${DESTDIR}$(prefix)/man/man1
+ $(INSTALL) -d ${DESTDIR}$(prefix)/man/man3
+ $(INSTALL) -d ${DESTDIR}$(prefix)/man/man5
-+ $(INSTALL) -d ${DESTDIR}$(prefix)/man/man8
++ $(INSTALL) -d ${DESTDIR}$(cyrus_prefix)/man/man8
@for d in $(SUBDIRS); \
do \
(cd $$d; echo "### Making" install "in" `pwd`; \
diff --git a/mail/cyrus-imapd24/files/patch-aa b/mail/cyrus-imapd24/files/patch-aa
index 616c7b3c61fe..7a285d51115f 100644
--- a/mail/cyrus-imapd24/files/patch-aa
+++ b/mail/cyrus-imapd24/files/patch-aa
@@ -1,13 +1,13 @@
Index: man/Makefile.in
diff -u man/Makefile.in.orig man/Makefile.in
---- man/Makefile.in.orig Fri Jun 20 05:49:50 2003
-+++ man/Makefile.in Fri Jul 18 00:30:05 2003
-@@ -69,7 +69,7 @@
- MAN3 = $(srcdir)/imclient.3
- MAN5 = imapd.conf.5 $(srcdir)/krb.equiv.5 $(srcdir)/cyrus.conf.5
- MAN8 = $(srcdir)/arbitron.8 $(srcdir)/cyr_expire.8 $(srcdir)/deliver.8 \
-- $(srcdir)/fud.8 $(srcdir)/imapd.8 $(srcdir)/pop3d.8 $(srcdir)/quota.8 \
-+ $(srcdir)/fud.8 $(srcdir)/imapd.8 $(srcdir)/pop3d.8 $(srcdir)/cyrquota.8 \
- $(srcdir)/reconstruct.8 $(srcdir)/rmnews.8 $(srcdir)/syncnews.8 \
- $(srcdir)/mbpath.8 $(srcdir)/timsieved.8 $(srcdir)/master.8 \
- $(srcdir)/lmtpd.8 $(srcdir)/idled.8 $(srcdir)/ctl_mboxlist.8 \
+--- man/Makefile.in.orig Sat Nov 8 06:33:54 2003
++++ man/Makefile.in Fri Apr 2 23:50:30 2004
+@@ -102,7 +102,7 @@
+ done
+ for file in $(MAN8); \
+ do \
+- $(INSTALL) -m 644 $$file $(DESTDIR)$(prefix)/man/man8 || exit 1; \
++ $(INSTALL) -m 644 $$file $(DESTDIR)$(cyrus_prefix)/man/man8 || exit 1; \
+ done
+
+ .c.o:
diff --git a/mail/cyrus-imapd24/files/patch-ab b/mail/cyrus-imapd24/files/patch-ab
deleted file mode 100644
index 1fc68c171063..000000000000
--- a/mail/cyrus-imapd24/files/patch-ab
+++ /dev/null
@@ -1,38 +0,0 @@
---- man/quota.8.orig Sun May 4 22:26:33 1997
-+++ man/quota.8 Sun May 4 22:27:24 1997
-@@ -11,9 +11,9 @@
- .\" use of the code for commercial purposes or benefits by anyone
- .\" without specific, additional permission by the owner of the code.
- .SH NAME
--quota \- report and optionally fix quota usage
-+cyrquota \- report and optionally fix quota usage
- .SH SYNOPSIS
--.B quota
-+.B cyrquota
- [
- .B \-f
- ]
-@@ -21,12 +21,12 @@
- .IR mailbox-prefix ...
- ]
- .SH DESCRIPTION
--.I Quota
-+.I Cyrquota
- generates a report listing quota roots, giving their limits and usage.
- If the
- .I \-f
- option is given,
--.I quota
-+.I cyrquota
- first fixes any inconsistencies in the quota subsystem, such as
- mailboxes with the wrong quota root or quota roots with the wrong
- quota usage reported.
-@@ -37,7 +37,7 @@
- prefixes.
- .PP
- Running
--.I quota
-+.I cyrquota
- with both the
- .I \-f
- option and
diff --git a/mail/cyrus-imapd24/pkg-plist b/mail/cyrus-imapd24/pkg-plist
index 2ca5c049726e..6fcac84db7b8 100644
--- a/mail/cyrus-imapd24/pkg-plist
+++ b/mail/cyrus-imapd24/pkg-plist
@@ -16,7 +16,6 @@ cyrus/bin/ctl_mboxlist
cyrus/bin/cvt_cyrusdb
cyrus/bin/cyr_expire
cyrus/bin/cyrdump
-cyrus/bin/cyrquota
cyrus/bin/deliver
%%NNTP%%cyrus/bin/fetchnews
cyrus/bin/fud
@@ -36,6 +35,7 @@ cyrus/bin/notifyd
cyrus/bin/pop3d
cyrus/bin/pop3proxyd
%%MURDER%%cyrus/bin/proxyd
+cyrus/bin/quota
cyrus/bin/reconstruct
cyrus/bin/sievec
cyrus/bin/smmapd
@@ -83,11 +83,6 @@ include/cyrus/util.h
include/cyrus/xmalloc.h
lib/libcyrus_min.a
lib/libcyrus.a
-lib/perl5/%%PERL_VERSION%%/man/man3/Cyrus::IMAP.3
-lib/perl5/%%PERL_VERSION%%/man/man3/Cyrus::IMAP::Admin.3
-lib/perl5/%%PERL_VERSION%%/man/man3/Cyrus::IMAP::IMSP.3
-lib/perl5/%%PERL_VERSION%%/man/man3/Cyrus::IMAP::Shell.3
-lib/perl5/%%PERL_VERSION%%/man/man3/Cyrus::SIEVE::managesieve.3
%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm
@@ -100,7 +95,6 @@ lib/perl5/%%PERL_VERSION%%/man/man3/Cyrus::SIEVE::managesieve.3
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/managesieve/managesieve.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/managesieve/managesieve.so
@dirrm cyrus/bin
-@dirrm cyrus
@dirrm include/cyrus
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/SIEVE