pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/cyrus-imapd312
Module Name: pkgsrc
Committed By: jnemeth
Date: Mon Mar 9 03:16:44 UTC 2026
Added Files:
pkgsrc/mail/cyrus-imapd312: DEINSTALL DESCR Makefile PLIST distinfo
options.mk
pkgsrc/mail/cyrus-imapd312/files: cyrus.sh imapd.conf
pkgsrc/mail/cyrus-imapd312/patches: patch-Makefile.am patch-Makefile.in
patch-configure patch-docsrc_conf.py
patch-docsrc_imap_concepts_overview__and__concepts.rst
patch-docsrc_imap_developer_compiling.rst
patch-docsrc_imap_download_installation_manage-dav.rst
patch-docsrc_imap_quickstart_introduction.rst
Log Message:
mail/cyrus-imapd312: import cyrus-imapd-3.12.1
IMAP (Internet Message Access Protocol) is an Internet standards-track
protocol for accessing messages (mail, bboards, news, etc). The Cyrus
IMAP server differs from other IMAP server implementations in that it
is generally intended to be run on "sealed" servers, where normal users
are not permitted to log in. The mailbox database is stored in parts of
the filesystem that are private to the Cyrus IMAP system. All user
access to mail is through the IMAP, POP3, or KPOP protocols.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/cyrus-imapd312/DEINSTALL \
pkgsrc/mail/cyrus-imapd312/DESCR pkgsrc/mail/cyrus-imapd312/Makefile \
pkgsrc/mail/cyrus-imapd312/PLIST pkgsrc/mail/cyrus-imapd312/distinfo \
pkgsrc/mail/cyrus-imapd312/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/cyrus-imapd312/files/cyrus.sh \
pkgsrc/mail/cyrus-imapd312/files/imapd.conf
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.am \
pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.in \
pkgsrc/mail/cyrus-imapd312/patches/patch-configure \
pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_conf.py \
pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_concepts_overview__and__concepts.rst \
pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_developer_compiling.rst \
pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_download_installation_manage-dav.rst \
pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_quickstart_introduction.rst
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/mail/cyrus-imapd312/DEINSTALL
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/DEINSTALL:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/DEINSTALL Mon Mar 9 03:16:43 2026
@@ -0,0 +1,38 @@
+# $NetBSD: DEINSTALL,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+
+IMAPDCONF=@IMAPDCONF@
+
+case ${STAGE} in
+DEINSTALL)
+ if [ -f ${IMAPDCONF} ]; then
+ IMAPDIRS=`
+ ${AWK} '/configdirectory:/ { print $2 }; \
+ /partition-.*:/ { print $2 }; \
+ /sievedir:/ { print $2 }' \
+ ${IMAPDCONF} | ${SORT} -ur`
+ _IMAPDIRS=
+ for dir in ${IMAPDIRS}; do
+ ${RMDIR} -p ${dir} 2>/dev/null || ${TRUE}
+ if [ -d ${dir} ]; then
+ _IMAPDIRS="${_IMAPDIRS} ${dir}"
+ fi
+ done
+ if [ -n "${_IMAPDIRS}" ]; then
+ ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may want to remove
+the following directories:
+
+EOF
+ for dir in ${_IMAPDIRS}; do
+ if [ -d "${dir}" ]; then
+ ${ECHO} " ${dir}"
+ fi
+ done
+ ${CAT} << EOF
+===========================================================================
+EOF
+ fi
+ fi
+ ;;
+esac
Index: pkgsrc/mail/cyrus-imapd312/DESCR
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/DESCR:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/DESCR Mon Mar 9 03:16:43 2026
@@ -0,0 +1,7 @@
+IMAP (Internet Message Access Protocol) is an Internet standards-track
+protocol for accessing messages (mail, bboards, news, etc). The Cyrus
+IMAP server differs from other IMAP server implementations in that it
+is generally intended to be run on "sealed" servers, where normal users
+are not permitted to log in. The mailbox database is stored in parts of
+the filesystem that are private to the Cyrus IMAP system. All user
+access to mail is through the IMAP, POP3, or KPOP protocols.
Index: pkgsrc/mail/cyrus-imapd312/Makefile
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/Makefile:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/Makefile Mon Mar 9 03:16:43 2026
@@ -0,0 +1,165 @@
+# $NetBSD: Makefile,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+
+DISTNAME= cyrus-imapd-3.12.1
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cyrusimap/}
+GITHUB_TAG= ${PKGNAME_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.cyrusimap.org/
+COMMENT= Cyrus IMAP server
+LICENSE= original-bsd # like license
+
+MAKE_JOBS_SAFE= no
+
+USE_TOOLS+= perl:run makedepend pkg-config gmake bison bash:run
+USE_TOOLS+= autoconf automake autoreconf
+USE_LANGUAGES+= c c++
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+PERL5_CONFIGURE= no
+USE_LIBTOOL= yes
+
+BUILD_TARGET= all
+BUILD_DEFS+= VARBASE
+
+CHECK_PORTABILITY_SKIP= configure.lineno
+
+.include "../../mk/bsd.prefs.mk"
+
+# CYRUS_USER username of the Cyrus administrator
+# CYRUS_GROUP group of the Cyrus administrator
+#
+CYRUS_USER?= cyrus
+CYRUS_GROUP?= mail
+
+DEPENDS+= p5-Term-ReadLine-Gnu-[0-9]*:../../devel/p5-Term-ReadLine-Gnu
+
+BUILD_DEFS+= CYRUS_USER CYRUS_GROUP
+FILES_SUBST+= CYRUS_USER=${CYRUS_USER}
+FILES_SUBST+= CYRUS_GROUP=${CYRUS_GROUP}
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --with-cyrus-user=${CYRUS_USER}
+CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/cyrus-master.pid
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
+CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
+CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
+CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
+CONFIGURE_ENV+= ac_cv_lib_wrap_request_init=yes
+
+CONFIGURE_ARGS+= --enable-idled
+CONFIGURE_ARGS+= --enable-murder
+CONFIGURE_ARGS+= --enable-nntp
+CONFIGURE_ARGS+= --enable-replication
+
+CONFIGURE_ARGS+= andrew_cv_runpath_switch=${COMPILER_RPATH_FLAG}
+
+.include "options.mk"
+
+MAKE_ENV+= PERL=${PERL5:Q}
+
+HTMLDIR= ${PREFIX}/share/doc/cyrus-imapd
+EGDIR= ${PREFIX}/share/examples/cyrus-imapd
+CONF_FILES= ${EGDIR}/imapd.conf ${PKG_SYSCONFDIR}/imapd.conf
+CONF_FILES+= ${EGDIR}/normal.conf ${PKG_SYSCONFDIR}/cyrus.conf
+RCD_SCRIPTS= cyrus
+FILES_SUBST+= IMAPDCONF=${PKG_SYSCONFDIR}/imapd.conf
+
+REPLACE_BASH+= imap/cyr_cd.sh
+
+REPLACE_PERL+= imap/promdatagen
+REPLACE_PERL+= perl/annotator/Daemon.pm
+REPLACE_PERL+= perl/sieve/scripts/sieveshell.pl
+REPLACE_PERL+= snmp/snmpgen
+REPLACE_PERL+= tools/config2header
+REPLACE_PERL+= tools/masssievec
+REPLACE_PERL+= tools/mkimap
+REPLACE_PERL+= tools/mknewsgroups
+REPLACE_PERL+= tools/rehash
+REPLACE_PERL+= tools/config2rst
+REPLACE_PERL+= tools/perl2rst
+
+# Override default Perl install location
+SUBST_CLASSES+= perldir
+SUBST_STAGE.perldir= post-configure
+SUBST_FILES.perldir= perl/annotator/Makefile
+SUBST_FILES.perldir+= perl/imap/Makefile
+SUBST_FILES.perldir+= perl/sieve/managesieve/Makefile
+SUBST_SED.perldir+= -e 's|\(^INSTALLDIRS =\) .*|\1 vendor|'
+
+PERL5_PACKLIST= \
+ auto/Cyrus/Annotator/Daemon/.packlist \
+ auto/Cyrus/IMAP/.packlist \
+ auto/Cyrus/SIEVE/managesieve/.packlist
+
+post-extract:
+ set -e; cd ${WRKSRC} && autoreconf -fi
+ set -e; cd ${WRKSRC}/docsrc/imap/reference/manpages/systemcommands && mv httpd.rst cyrus-httpd.rst
+
+.include "../../lang/perl5/module.mk"
+BUILDLINK_API_DEPENDS.cyrus-sasl+= cyrus-sasl>=2.1.17
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/tcp_wrappers/buildlink3.mk"
+
+# Only imap/mupdate needs to be build with pthreads support, so selectively
+# enable it via patches for just that one program.
+#
+.include "../../mk/pthread.buildlink3.mk"
+
+# XXX cyrus imapd no longer comes with prebuilt man pages
+# # Change references of some manpages from foo.8 to cyrus-foo.8 to avoid
+# # manpage conflicts with other packages. Also change references to
+# # "/etc/{cyrus,imapd}.conf" into "${PKG_SYSCONFDIR}/{cyrus,imapd}.conf".
+# #
+# post-patch:
+# cd ${WRKSRC}/man; \
+# set -- deliver 8 fetchnews 8 idled 8 imapd 8 lmtpd 8 master 8 \
+# nntpd 8 notifyd 8 pop3d 8 quota 8; \
+# while [ $$# -gt 0 ]; do \
+# man=$$1.$$2; \
+# for file in Makefile.in *.[0-9]; do \
+# sed -e "s|\(\$$(srcdir)/\)\($$man\)|\1cyrus-\2|g" \
+# -e "s|\(\\\fB\)\($$1($$2)\\\fR\)|\1cyrus-\2|g" \
+# $$file > $$file.fixed; \
+# mv -f $$file.fixed $$file; \
+# done; \
+# if [ -f $$man ]; then \
+# mv $$man cyrus-$$man; \
+# fi; \
+# shift 2; \
+# done
+# find ${WRKSRC} -type f -print | \
+# xargs -n 1 ${GREP} -l -e /etc/imapd\.conf -e /etc/cyrus\.conf | \
+# while read file; do \
+# sed -e "s|/etc/\(cyrus\.conf\)|${PKG_SYSCONFDIR}/\1|g" \
+# -e "s|/etc/\(imapd\.conf\)|${PKG_SYSCONFDIR}/\1|g" \
+# $${file} > $${file}.fixed; \
+# mv -f $${file}.fixed $${file}; \
+# done
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/masssievec ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/mknewsgroups ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/translatesieve ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/rehash ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${FILESDIR}/imapd.conf ${DESTDIR}${EGDIR}
+ cd ${WRKSRC}/doc/examples/cyrus_conf; for file in *.conf; do \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${EGDIR}; \
+ done
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
+ cd ${WRKSRC}/doc/legacy; for file in *.html; do \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${HTMLDIR}; \
+ done
+
+.include "../../time/libical/buildlink3.mk"
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
+.include "../../databases/sqlite3/buildlink3.mk"
+CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite3}
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/cyrus-imapd312/PLIST
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/PLIST:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/PLIST Mon Mar 9 03:16:43 2026
@@ -0,0 +1,273 @@
+@comment $NetBSD: PLIST,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+bin/httptest
+bin/imtest
+bin/installsieve
+bin/lmtptest
+bin/mupdatetest
+bin/nntptest
+bin/pop3test
+bin/sieveshell
+bin/sivtest
+bin/smtptest
+bin/synctest
+include/cyrus/acl.h
+include/cyrus/arrayu64.h
+include/cyrus/assert.h
+include/cyrus/auth.h
+include/cyrus/bitvector.h
+include/cyrus/bloom.h
+include/cyrus/bsearch.h
+include/cyrus/charset.h
+include/cyrus/command.h
+include/cyrus/crc32.h
+include/cyrus/cyr_lock.h
+include/cyrus/cyr_qsort_r.h
+include/cyrus/cyrusdb.h
+include/cyrus/dynarray.h
+include/cyrus/glob.h
+include/cyrus/gmtoff.h
+include/cyrus/hash.h
+include/cyrus/hashset.h
+include/cyrus/hashu64.h
+include/cyrus/imapopts.h
+include/cyrus/imapurl.h
+include/cyrus/imclient.h
+include/cyrus/imparse.h
+include/cyrus/iostat.h
+include/cyrus/iptostring.h
+include/cyrus/libcyr_cfg.h
+include/cyrus/lsort.h
+include/cyrus/map.h
+include/cyrus/mappedfile.h
+include/cyrus/mkgmtime.h
+include/cyrus/mpool.h
+include/cyrus/murmurhash2.h
+include/cyrus/nonblock.h
+include/cyrus/parseaddr.h
+include/cyrus/proc.h
+include/cyrus/procinfo.h
+include/cyrus/retry.h
+include/cyrus/rfc822tok.h
+include/cyrus/seqset.h
+include/cyrus/sieve/sieve_err.h
+include/cyrus/sieve/sieve_interface.h
+include/cyrus/signals.h
+include/cyrus/smallarrayu64.h
+include/cyrus/sqldb.h
+include/cyrus/strarray.h
+include/cyrus/strhash.h
+include/cyrus/stristr.h
+include/cyrus/times.h
+include/cyrus/tok.h
+include/cyrus/wildmat.h
+include/cyrus/xmalloc.h
+include/cyrus/xsha1.h
+include/cyrus/xunlink.h
+lib/libcyrus.la
+lib/libcyrus_com_err.la
+lib/libcyrus_imap.la
+lib/libcyrus_min.la
+lib/libcyrus_sieve.la
+${PERL5_SUB_INSTALLARCHLIB}/perllocal.pod
+${PERL5_SUB_INSTALLVENDORLIB}/Cyrus/Annotator/AnnotateInlinedCIDs.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Cyrus/Annotator/Daemon.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Cyrus/Annotator/Message.pm
+${PERL5_SUB_INSTALLVENDORARCH}/Cyrus/IMAP.pm
+${PERL5_SUB_INSTALLVENDORARCH}/Cyrus/IMAP/Admin.pm
+${PERL5_SUB_INSTALLVENDORARCH}/Cyrus/IMAP/Shell.pm
+${PERL5_SUB_INSTALLVENDORARCH}/Cyrus/SIEVE/managesieve.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Cyrus/Annotator/Daemon/.packlist
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Cyrus/IMAP/.packlist
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Cyrus/IMAP/IMAP.so
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Cyrus/SIEVE/managesieve/.packlist
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Cyrus/SIEVE/managesieve/managesieve.so
+${PERL5_SUB_INSTALLVENDORBIN}/cyradm
+${PERL5_SUB_INSTALLVENDORMAN1DIR}/cyradm.1
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Cyrus::Annotator::Daemon.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Cyrus::Annotator::Message.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Cyrus::IMAP.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Cyrus::IMAP::Admin.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Cyrus::IMAP::Shell.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Cyrus::SIEVE::managesieve.3
+lib/pkgconfig/libcyrus.pc
+lib/pkgconfig/libcyrus_imap.pc
+lib/pkgconfig/libcyrus_min.pc
+lib/pkgconfig/libcyrus_sieve.pc
+libexec/fud
+libexec/idled
+libexec/imapd
+libexec/lmtpd
+libexec/lmtpproxyd
+libexec/master
+libexec/mupdate
+libexec/nntpd
+libexec/notifyd
+libexec/pop3d
+libexec/pop3proxyd
+libexec/promstatsd
+libexec/proxyd
+libexec/ptloader
+libexec/smmapd
+libexec/sync_server
+libexec/timsieved
+man/man1/dav_reconstruct.1
+man/man1/httptest.1
+man/man1/imtest.1
+man/man1/installsieve.1
+man/man1/lmtptest.1
+man/man1/mupdatetest.1
+man/man1/nntptest.1
+man/man1/pop3test.1
+man/man1/sieveshell.1
+man/man1/sivtest.1
+man/man1/smtptest.1
+man/man1/synctest.1
+man/man3/imclient.3
+man/man5/cyrus.conf.5
+man/man5/imapd.conf.5
+man/man8/arbitron.8
+man/man8/calalarmd.8
+man/man8/chk_cyrus.8
+man/man8/ctl_conversationsdb.8
+man/man8/ctl_cyrusdb.8
+man/man8/ctl_deliver.8
+man/man8/ctl_mboxlist.8
+man/man8/ctl_zoneinfo.8
+man/man8/cvt_cyrusdb.8
+man/man8/cvt_xlist_specialuse.8
+man/man8/cyr_buildinfo.8
+man/man8/cyr_dbtool.8
+man/man8/cyr_deny.8
+man/man8/cyr_df.8
+man/man8/cyr_expire.8
+man/man8/cyr_info.8
+man/man8/cyr_ls.8
+man/man8/cyr_synclog.8
+man/man8/cyr_userseen.8
+man/man8/cyr_virusscan.8
+man/man8/cyr_withlock_run.8
+man/man8/cyradm.8
+man/man8/cyrdump.8
+man/man8/cyrus-httpd.8
+man/man8/deliver.8
+man/man8/fetchnews.8
+man/man8/fud.8
+man/man8/idled.8
+man/man8/imapd.8
+man/man8/ipurge.8
+man/man8/lmtpd.8
+man/man8/lmtpproxyd.8
+man/man8/master.8
+man/man8/mbexamine.8
+man/man8/mbpath.8
+man/man8/mbtool.8
+man/man8/mupdate.8
+man/man8/nntpd.8
+man/man8/notifyd.8
+man/man8/pop3d.8
+man/man8/pop3proxyd.8
+man/man8/promstatsd.8
+man/man8/proxyd.8
+man/man8/ptdump.8
+man/man8/ptexpire.8
+man/man8/ptloader.8
+man/man8/quota.8
+man/man8/reconstruct.8
+man/man8/relocate_by_id.8
+man/man8/sievec.8
+man/man8/sieved.8
+man/man8/smmapd.8
+man/man8/squatter.8
+man/man8/sync_client.8
+man/man8/sync_reset.8
+man/man8/sync_server.8
+man/man8/timsieved.8
+man/man8/tls_prune.8
+man/man8/unexpunge.8
+sbin/arbitron
+sbin/chk_cyrus
+sbin/ctl_conversationsdb
+sbin/ctl_cyrusdb
+sbin/ctl_deliver
+sbin/ctl_mboxlist
+sbin/cvt_cyrusdb
+sbin/cvt_xlist_specialuse
+sbin/cyr_buildinfo
+sbin/cyr_cd.sh
+sbin/cyr_dbtool
+sbin/cyr_deny
+sbin/cyr_df
+sbin/cyr_expire
+sbin/cyr_info
+sbin/cyr_ls
+sbin/cyr_pwd
+sbin/cyr_synclog
+sbin/cyr_userseen
+sbin/cyr_virusscan
+sbin/cyr_withlock_run
+sbin/cyrdump
+sbin/deliver
+sbin/fetchnews
+sbin/ipurge
+sbin/masssievec
+sbin/mbexamine
+sbin/mbpath
+sbin/mbtool
+sbin/mkimap
+sbin/mknewsgroups
+sbin/ptdump
+sbin/ptexpire
+sbin/quota
+sbin/reconstruct
+sbin/rehash
+sbin/relocate_by_id
+sbin/sievec
+sbin/sieved
+sbin/squatter
+sbin/sync_client
+sbin/sync_reset
+sbin/tls_prune
+sbin/translatesieve
+sbin/unexpunge
+share/doc/cyrus-imapd/ag.html
+share/doc/cyrus-imapd/anoncvs.html
+share/doc/cyrus-imapd/bugs.html
+share/doc/cyrus-imapd/changes.html
+share/doc/cyrus-imapd/faq.html
+share/doc/cyrus-imapd/feedback.html
+share/doc/cyrus-imapd/index.html
+share/doc/cyrus-imapd/install-admin-mb.html
+share/doc/cyrus-imapd/install-auth.html
+share/doc/cyrus-imapd/install-compile.html
+share/doc/cyrus-imapd/install-configure.html
+share/doc/cyrus-imapd/install-murder.html
+share/doc/cyrus-imapd/install-netnews.html
+share/doc/cyrus-imapd/install-perf.html
+share/doc/cyrus-imapd/install-prereq.html
+share/doc/cyrus-imapd/install-replication.html
+share/doc/cyrus-imapd/install-sieve.html
+share/doc/cyrus-imapd/install-snmpmon.html
+share/doc/cyrus-imapd/install-testing.html
+share/doc/cyrus-imapd/install-upgrade.html
+share/doc/cyrus-imapd/install-virtdomains.html
+share/doc/cyrus-imapd/install.html
+share/doc/cyrus-imapd/mailing-list.html
+share/doc/cyrus-imapd/man.html
+share/doc/cyrus-imapd/os.html
+share/doc/cyrus-imapd/overview.html
+share/doc/cyrus-imapd/questions.html
+share/doc/cyrus-imapd/readme.html
+share/doc/cyrus-imapd/sieve-protocol.html
+share/doc/cyrus-imapd/sieve.html
+share/doc/cyrus-imapd/specs.html
+share/examples/cyrus-imapd/cmu-backend.conf
+share/examples/cyrus-imapd/cmu-frontend.conf
+share/examples/cyrus-imapd/imapd.conf
+share/examples/cyrus-imapd/murder-backend.conf
+share/examples/cyrus-imapd/murder-frontend.conf
+share/examples/cyrus-imapd/murder-mupdate.conf
+share/examples/cyrus-imapd/normal-master.conf
+share/examples/cyrus-imapd/normal-replica.conf
+share/examples/cyrus-imapd/normal.conf
+share/examples/cyrus-imapd/prefork.conf
+share/examples/cyrus-imapd/small.conf
Index: pkgsrc/mail/cyrus-imapd312/distinfo
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/distinfo:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/distinfo Mon Mar 9 03:16:43 2026
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+
+BLAKE2s (cyrus-imapd-3.12.1.tar.gz) = 24d07259b14e762f1ed59becd9ba14ec7d1e799bd73bba3f32d0535a97259b16
+SHA512 (cyrus-imapd-3.12.1.tar.gz) = 3089cbe79c176b4af922700426e04fa69cfe2aa23ddf393077499f7489228ad301402abbd3a17d8797700b77dcaabbe31540276e287e7bec79571a372dc37e82
+Size (cyrus-imapd-3.12.1.tar.gz) = 5232294 bytes
+SHA1 (patch-Makefile.am) = 05f5cb3676b3f2e226d5966740841aafa7dde843
+SHA1 (patch-Makefile.in) = 3bb072eb7042f3496796ede24994b077d26c404f
+SHA1 (patch-configure) = 6da0341a5ce1f58be3068ad3f6ed47c6a23787f7
+SHA1 (patch-docsrc_conf.py) = 5474342cb1bb99e8e54ff4b011463bb0a5131a9c
+SHA1 (patch-docsrc_imap_concepts_overview__and__concepts.rst) = 4971c769790fe6b648c697a82961d32d93f7bcbb
+SHA1 (patch-docsrc_imap_developer_compiling.rst) = 3dd9b2be508a216f851dc7c8d880782ce6ad3464
+SHA1 (patch-docsrc_imap_download_installation_manage-dav.rst) = 2982b81eeac52d01aa8a50844a7f583bf87f9372
+SHA1 (patch-docsrc_imap_quickstart_introduction.rst) = aea770e1e22b47fe2bcc1183f690f69f192c26a5
Index: pkgsrc/mail/cyrus-imapd312/options.mk
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/options.mk:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/options.mk Mon Mar 9 03:16:43 2026
@@ -0,0 +1,135 @@
+# $NetBSD: options.mk,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-imapd
+PKG_SUPPORTED_OPTIONS= gssapi kerberos kerberos4 ldap pcre snmp
+PKG_SUPPORTED_OPTIONS+= mysql pgsql doc
+PKG_SUGGESTED_OPTIONS= pcre doc
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= ldap
+
+.if !empty(PKG_OPTIONS:Mkerberos)
+. if empty(PKG_OPTIONS:Mgssapi)
+PKG_OPTIONS+= gssapi
+. endif
+.endif
+
+.if !empty(PKG_OPTIONS:Mkerberos4)
+. if exists(/usr/include/kerberosIV/krb.h)
+PKG_USE_KERBEROS= yes
+CONFIGURE_ARGS+= --with-krb=/usr
+. endif
+.elif !empty(PKG_OPTIONS:Mgssapi)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE}
+CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
+GSSIMPL.heimdal= heimdal
+GSSIMPL.mit-krb5= mit
+CONFIGURE_ENV+= COMPILE_ET=${KRB5BASE}/bin/compile_et
+.else
+CONFIGURE_ARGS+= --without-krb
+CONFIGURE_ARGS+= --disable-gssapi
+CHECK_BUILTIN.heimdal:= yes
+. include "../../security/heimdal/builtin.mk"
+CHECK_BUILTIN.heimdal:= no
+CHECK_BUILTIN.mit-krb5:= yes
+. include "../../security/mit-krb5/builtin.mk"
+CHECK_BUILTIN.mit-krb5:= no
+. if ( ${USE_BUILTIN.heimdal:tl} == yes || \
+ ${USE_BUILTIN.mit-krb5:tl} == yes) && \
+ exists(/usr/bin/compile_et) && exists(/usr/include/krb5/com_err.h)
+CPPFLAGS+= -I/usr/include/krb5
+CONFIGURE_ENV+= COMPILE_ET=/usr/bin/compile_et
+. elif ${OPSYS} != "Linux" && \
+ exists(/usr/bin/compile_et) && exists(/usr/include/com_err.h)
+CONFIGURE_ENV+= COMPILE_ET=/usr/bin/compile_et
+. else
+CONFIGURE_ARGS+= --with-com-err=yes
+. endif
+.endif
+.if !empty(CONFIGURE_ENV:MCOMPILE_ET=*)
+post-configure: generate-compile-et
+.endif
+
+generate-compile-et:
+ ${RUN}cd ${WRKSRC}/com_err/et; \
+ if ${TEST} ! -f Makefile -a ! -f compile_et; then \
+ ${SED} -e 's,@SED@,${SED},g' \
+ -e 's,@AWK@,${AWK},g' \
+ -e 's,@DIR@,${WRKSRC}/com_err/et,g' \
+ < compile_et.sh > compile_et; \
+ ${CHMOD} +x compile_et; \
+ fi
+
+.if !empty(PKG_OPTIONS:Mldap)
+. include "../../databases/openldap-client/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
+PLIST.ldap= yes
+.else
+CONFIGURE_ARGS+= --without-ldap
+.endif
+
+.if !empty(PKG_OPTIONS:Msnmp)
+. include "../../net/net-snmp/buildlink3.mk"
+CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.net-snmp}
+USE_TOOLS+= perl:run
+.else
+CONFIGURE_ARGS+= --without-snmp
+.endif
+
+.if !empty(PKG_OPTIONS:Mmysql)
+. include "../../mk/mysql.buildlink3.mk"
+CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
+.else
+CONFIGURE_ARGS+= --without-mysql
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+. include "../../mk/pgsql.buildlink3.mk"
+CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX}
+.else
+CONFIGURE_ARGS+= --without-pgsql
+.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+. include "../../devel/pcre/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-pcre
+.else
+CONFIGURE_ARGS+= --disable-pcre
+.endif
+
+.if !empty(PKG_OPTIONS:Mdoc)
+BUILD_TARGET+= man
+.include "../../lang/python/pyversion.mk"
+PYTHON_FOR_BUILD_ONLY= yes
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+CONFIGURE_ENV+= SPHINX_BUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX}
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-actdiag-[0-9]*:../../textproc/py-sphinxcontrib-actdiag
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-blockdiag-[0-9]*:../../textproc/py-sphinxcontrib-blockdiag
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-nwdiag-[0-9]*:../../textproc/py-sphinxcontrib-nwdiag
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-phpdomain-[0-9]*:../../textproc/py-sphinxcontrib-phpdomain
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-programoutput2-[0-9]*:../../textproc/py-sphinxcontrib-programoutput2
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-seqdiag-[0-9]*:../../textproc/py-sphinxcontrib-seqdiag
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-spelling-[0-9]*:../../textproc/py-sphinxcontrib-spelling
+TOOL_DEPENDS+= p5-Pod-POM-View-Restructured-[0-9]*:../../textproc/p5-Pod-POM-View-Restructured
+.endif
+
+#XXX doesn't build
+#XXX .if !empty(PKG_OPTIONS:Mwebdav)
+#XXX CONFIGURE_ARGS+= --enable-http
+#XXX DEPENDS+= rsync-[0-9]*:../../net/rsync
+#XXX .include "../../textproc/xapian/buildlink3.mk"
+#XXX CONFIGURE_ARGS+= --enable-xapian
+#XXX CONFIGURE_ARGS+= --enable-jmap
+#XXX .include "../../archivers/brotli/buildlink3.mk"
+#XXX .include "../../time/libical/buildlink3.mk"
+#XXX .include "../../textproc/libxml2/buildlink3.mk"
+#XXX .include "../../www/nghttp2/buildlink3.mk"
+#XXX .include "../../www/wslay/buildlink3.mk"
+#XXX DEPENDS+= vim-share-[0-9]*:../../editors/vim-share
+#XXX .include "../../devel/zlib/buildlink3.mk"
+#XXX .endif
Index: pkgsrc/mail/cyrus-imapd312/files/cyrus.sh
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/files/cyrus.sh:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/files/cyrus.sh Mon Mar 9 03:16:43 2026
@@ -0,0 +1,79 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: cyrus.sh,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+#
+# PROVIDE: cyrus
+# REQUIRE: DAEMON
+# BEFORE: mail
+# KEYWORD: shutdown
+#
+# To start cyrus-imapd at startup, copy this script to /etc/rc.d and set
+# cyrus=YES in /etc/rc.conf.
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+rcd_dir=`@DIRNAME@ $0`
+
+name="cyrus"
+rcvar=$name
+command="@PREFIX@/cyrus/bin/master"
+command_args="-d -p $pidfile"
+pidfile="@VARBASE@/run/cyrus-master.pid"
+required_files="@PKG_SYSCONFDIR@/cyrus.conf @IMAPDCONF@"
+extra_commands="mkimap reload"
+
+mkimap_cmd="cyrus_mkimap"
+start_precmd="cyrus_prestart"
+
+cyrus_prestart()
+{
+ # Check to see if "configdirectory" is present before we start
+ # the Cyrus IMAP server. Otherwise, we run mkimap to generate
+ # the necessary directories.
+ #
+ if [ -f @IMAPDCONF@ ]; then
+ configdir=` \
+ @AWK@ '/^configdirectory:/ { print $2; exit };' \
+ @IMAPDCONF@ \
+ `
+ if [ -z "$configdir" ]; then
+ @ECHO@ "@IMAPDCONF@ missing 'configdirectory' setting"
+ exit 1
+ fi
+ if [ ! -d "$configdir" ]; then
+ $rcd_dir/cyrus mkimap
+ fi
+ fi
+}
+
+cyrus_mkimap()
+{
+ # Generate the prerequisite directory structure for Cyrus IMAP.
+ if [ -f @IMAPDCONF@ ]; then
+ @AWK@ '/^configdirectory:/ { print $2 }; \
+ /^partition-.*:/ { print $2 }; \
+ /^sievedir:/ { print $2 }' \
+ @IMAPDCONF@ | \
+ while read dir; do
+ if [ ! -d "$dir" ]; then
+ @MKDIR@ "$dir"
+ @CHMOD@ 750 "$dir"
+ @CHOWN@ @CYRUS_USER@ "$dir"
+ @CHGRP@ @CYRUS_GROUP@ "$dir"
+ fi
+ done
+ @SU@ -m @CYRUS_USER@ -c "@PREFIX@/cyrus/bin/mkimap"
+ fi
+}
+
+if [ -f /etc/rc.subr -a -f /etc/rc.conf \
+ -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ @ECHO@ -n " ${name}"
+ eval ${start_precmd}
+ ${command} ${cyrus_flags} ${command_args}
+fi
Index: pkgsrc/mail/cyrus-imapd312/files/imapd.conf
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/files/imapd.conf:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/files/imapd.conf Mon Mar 9 03:16:43 2026
@@ -0,0 +1,25 @@
+# $NetBSD: imapd.conf,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+#
+# Cyrus IMAP server configuration file. Refer to imapd.conf(5) for
+# more options.
+
+configdirectory: /var/imap
+partition-default: /var/spool/imap
+sieveusehomedir: false
+sievedir: /var/sieve
+hashimapspool: false
+
+admins: cyrus
+
+# If use the saslauthd daemon to verify plaintext passwords, please ensure that
+# the saslauthd daemon is running before trying to authenticate.
+#
+#sasl_pwcheck_method: saslauthd
+sasl_pwcheck_method: auxprop
+
+# The server certificate and key files must be specified for the
+# server to repond to IMAPS or POP3S requests. See imapd.conf(5) for
+# a complete listing of tls_* options.
+#
+#tls_cert_file: /var/imap/server.pem
+#tls_key_file: /var/imap/server.pem
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.am
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.am:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.am Mon Mar 9 03:16:43 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.am,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+
+Rename httpd.8 to cyrus-httpd.8 to not conflict with an installed
+web server.
+
+--- Makefile.am.orig 2026-01-12 06:31:11.481409856 +0000
++++ Makefile.am
+@@ -1655,7 +1655,7 @@ dist_man8_MANS = \
+ man/deliver.8 \
+ man/fetchnews.8 \
+ man/fud.8 \
+- man/httpd.8 \
++ man/cyrus-httpd.8 \
+ man/idled.8 \
+ man/imapd.8 \
+ man/ipurge.8 \
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.in:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.in Mon Mar 9 03:16:43 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.in,v 1.1 2026/03/09 03:16:43 jnemeth Exp $
+
+Rename httpd.8 to cyrus-httpd.8 to not conflict with an installed
+web server.
+
+--- Makefile.in.orig 2026-01-12 06:36:19.642724602 +0000
++++ Makefile.in
+@@ -3184,7 +3184,7 @@ dist_man8_MANS = \
+ man/deliver.8 \
+ man/fetchnews.8 \
+ man/fud.8 \
+- man/httpd.8 \
++ man/cyrus-httpd.8 \
+ man/idled.8 \
+ man/imapd.8 \
+ man/ipurge.8 \
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-configure
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-configure:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-configure Mon Mar 9 03:16:44 2026
@@ -0,0 +1,210 @@
+$NetBSD: patch-configure,v 1.1 2026/03/09 03:16:44 jnemeth Exp $
+
+Fix SunOS build of the libcyrus.a library.
+Don't mess with PYTHON variable.
+
+--- configure.orig 2026-01-12 08:00:27.936155462 +0000
++++ configure
+@@ -31303,7 +31303,7 @@ elif test "${with_perl}" != "no"; then
+
+
+ case "${target_os}" in
+- linux*|netbsd*|freebsd*|dragonfly*|openbsd*)
++ linux*|netbsd*|freebsd*|dragonfly*|openbsd*|solaris2*)
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perl cccdlflags needed on \"${target_os}\"" >&5
+ printf %s "checking for perl cccdlflags needed on \"${target_os}\"... " >&6; }
+ eval `${PERL} -V:cccdlflags`
+@@ -32223,92 +32223,74 @@ printf "%s\n" "$as_me: WARNING: could no
+ fi
+
+
+- if test -z $PYTHON;
+- then
+- if test -z "python2";
+- then
+- PYTHON="python3"
+- else
+- PYTHON="python2"
+- fi
+- fi
+- PYTHON_NAME=`basename $PYTHON`
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: git" >&5
+-printf %s "checking $PYTHON_NAME module: git... " >&6; }
+- $PYTHON -c "import git" 2>/dev/null
+- if test $? -eq 0;
+- then
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-printf "%s\n" "yes" >&6; }
+- eval HAVE_PYMOD_GIT=yes
+- else
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-printf "%s\n" "no" >&6; }
+- eval HAVE_PYMOD_GIT=no
+- #
+- if test -n ""
+- then
+- as_fn_error $? "failed to find required module git" "$LINENO" 5
+- exit 1
+- fi
+- fi
+-
+-case $HAVE_PYMOD_GIT in #(
+- yes) :
+- ;; #(
+- *) :
+-
+- unset PYTHON # work around AX_PYTHON_MODULE not cleaning up
+-
+- if test -z $PYTHON;
+- then
+- if test -z "python3";
+- then
+- PYTHON="python3"
+- else
+- PYTHON="python3"
+- fi
+- fi
+- PYTHON_NAME=`basename $PYTHON`
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: git" >&5
+-printf %s "checking $PYTHON_NAME module: git... " >&6; }
+- $PYTHON -c "import git" 2>/dev/null
+- if test $? -eq 0;
+- then
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-printf "%s\n" "yes" >&6; }
++#XXX Don't look for git
++#XXX PYTHON_NAME=`basename $PYTHON`
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: git" >&5
++#XXXprintf %s "checking $PYTHON_NAME module: git... " >&6; }
++#XXX $PYTHON -c "import git" 2>/dev/null
++#XXX if test $? -eq 0;
++#XXX then
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++#XXXprintf "%s\n" "yes" >&6; }
++#XXX eval HAVE_PYMOD_GIT=yes
++#XXX else
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
++#XXXprintf "%s\n" "no" >&6; }
++#XXX eval HAVE_PYMOD_GIT=no
++#XXX #
++#XXX if test -n ""
++#XXX then
++#XXX as_fn_error $? "failed to find required module git" "$LINENO" 5
++#XXX exit 1
++#XXX fi
++#XXX fi
++#XXX
++#XXXcase $HAVE_PYMOD_GIT in #(
++#XXX yes) :
++#XXX ;; #(
++#XXX *) :
++#XXX
++#XXX PYTHON_NAME=`basename $PYTHON`
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: git" >&5
++#XXXprintf %s "checking $PYTHON_NAME module: git... " >&6; }
++#XXX $PYTHON -c "import git" 2>/dev/null
++#XXX if test $? -eq 0;
++#XXX then
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
++#XXXprintf "%s\n" "yes" >&6; }
++#XXX eval HAVE_PYMOD_GIT=yes
++#XXX else
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
++#XXXprintf "%s\n" "no" >&6; }
++#XXX eval HAVE_PYMOD_GIT=no
++#XXX #
++#XXX if test -n ""
++#XXX then
++#XXX as_fn_error $? "failed to find required module git" "$LINENO" 5
++#XXX exit 1
++#XXX fi
++#XXX fi
++#XXX
++#XXX case $HAVE_PYMOD_GIT in #(
++#XXX yes) :
++#XXX ;; #(
++#XXX *) :
++#XXX
++#XXX if test -z "$ENABLE_RELEASE_CHECKS_TRUE"; then :
++#XXX as_fn_error $? "No GitPython, cannot regenerate docs" "$LINENO" 5
++#XXXelse
++#XXX { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No GitPython, won't be able to regenerate docs" >&5
++#XXXprintf "%s\n" "$as_me: WARNING: No GitPython, won't be able to regenerate docs" >&2;}
++#XXXfi
++#XXX ;; #(
++#XXX *) :
++#XXX ;;
++#XXXesac
++#XXX ;; #(
++#XXX *) :
++#XXX ;;
++#XXXesac
+ eval HAVE_PYMOD_GIT=yes
+- else
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-printf "%s\n" "no" >&6; }
+- eval HAVE_PYMOD_GIT=no
+- #
+- if test -n ""
+- then
+- as_fn_error $? "failed to find required module git" "$LINENO" 5
+- exit 1
+- fi
+- fi
+-
+- case $HAVE_PYMOD_GIT in #(
+- yes) :
+- ;; #(
+- *) :
+-
+- if test -z "$ENABLE_RELEASE_CHECKS_TRUE"; then :
+- as_fn_error $? "No GitPython, cannot regenerate docs" "$LINENO" 5
+-else
+- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No GitPython, won't be able to regenerate docs" >&5
+-printf "%s\n" "$as_me: WARNING: No GitPython, won't be able to regenerate docs" >&2;}
+-fi
+- ;; #(
+- *) :
+- ;;
+-esac
+- ;; #(
+- *) :
+- ;;
+-esac
+
+ # XXX icky and slightly bogus* to have to duplicate this python2/python3 mess,
+ # XXX but i think it's not worth generalising now when we'll surely drop
+@@ -32317,15 +32299,6 @@ esac
+ # XXX doesn't actually check both despite looking like it will. that's fine...
+ # XXX it only works if both modules are installed for the same python anyway!)
+
+- if test -z $PYTHON;
+- then
+- if test -z "python2";
+- then
+- PYTHON="python3"
+- else
+- PYTHON="python2"
+- fi
+- fi
+ PYTHON_NAME=`basename $PYTHON`
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: sphinx_rtd_theme" >&5
+ printf %s "checking $PYTHON_NAME module: sphinx_rtd_theme... " >&6; }
+@@ -32352,17 +32325,6 @@ case $HAVE_PYMOD_SPHINX_RTD_THEME in #(
+ ;; #(
+ *) :
+
+- unset PYTHON # work around AX_PYTHON_MODULE not cleaning up
+-
+- if test -z $PYTHON;
+- then
+- if test -z "python3";
+- then
+- PYTHON="python3"
+- else
+- PYTHON="python3"
+- fi
+- fi
+ PYTHON_NAME=`basename $PYTHON`
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: sphinx_rtd_theme" >&5
+ printf %s "checking $PYTHON_NAME module: sphinx_rtd_theme... " >&6; }
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_conf.py
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_conf.py:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_conf.py Mon Mar 9 03:16:44 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-docsrc_conf.py,v 1.1 2026/03/09 03:16:44 jnemeth Exp $
+
+Replace external references to cyrussasl with actual links
+to avoid web lookups while building.
+
+--- docsrc/conf.py.orig 2026-01-19 06:36:47.207902527 +0000
++++ docsrc/conf.py
+@@ -44,7 +44,6 @@ extensions = [
+ 'sphinx.ext.ifconfig',
+ 'sphinx.ext.mathjax',
+ 'sphinx.ext.todo',
+- 'sphinx.ext.intersphinx',
+ ]
+
+ extensions.append('sphinxlocal.roles.cyrusman')
+@@ -54,13 +53,6 @@ gitstamp_fmt = "%b %d %Y"
+
+ extensions.append('sphinxlocal.sitemap')
+
+-# We publish master branch at /dev
+-# Other branches are available at multiple locations (3.12 is at 3.12 and stable and /).
+-# Supply all webroots that this set of docs is available at.
+-sitemap_website = ["https://www.cyrusimap.org/dev/"]
+-
+-intersphinx_mapping = {'cyrussasl': ('https://www.cyrusimap.org/sasl', None)}
+-
+ mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js'
+
+ todo_include_todos = False
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_concepts_overview__and__concepts.rst
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_concepts_overview__and__concepts.rst:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_concepts_overview__and__concepts.rst Mon Mar 9 03:16:44 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-docsrc_imap_concepts_overview__and__concepts.rst,v 1.1 2026/03/09 03:16:44 jnemeth Exp $
+
+Replace external references to cyrussasl with actual links
+to avoid web lookups while building.
+
+--- docsrc/imap/concepts/overview_and_concepts.rst.orig 2026-01-19 06:22:12.989170023 +0000
++++ docsrc/imap/concepts/overview_and_concepts.rst
+@@ -185,7 +185,7 @@ Login Authentication
+
+ This section discusses different types of authentication (ways of logging in) that can be used with Cyrus IMAP.
+
+-The Cyrus IMAP server uses the Cyrus SASL library for authentication. This section describes how to configure SASL with use with Cyrus imapd. Please consult the :ref:`Cyrus SASL System
Administrator's Guide <cyrussasl:sasl-index>` for more detailed, up-to-date information.
++The Cyrus IMAP server uses the Cyrus SASL library for authentication. This section describes how to configure SASL with use with Cyrus imapd. Please consult the :ref:`Cyrus SASL System
Administrator's Guide <http://www.cyrusimap.org/sasl/>` for more detailed, up-to-date information.
+
+ Anonymous Login
+ ===============
+@@ -225,7 +225,7 @@ If the ``loginuseacl`` configuration opt
+ Shared Secrets Logins
+ =====================
+
+-The SCRAM mechanisms require the user and the server to share a secret (generally a password) that can be used for comparison without actually passing the password in the clear across the network.
For these mechanisms, you will need to supply a source of passwords, such as the sasldb (which is described more fully in the :ref:`Cyrus SASL distribution <cyrussasl:sasl-index>`).
++The SCRAM mechanisms require the user and the server to share a secret (generally a password) that can be used for comparison without actually passing the password in the clear across the network.
For these mechanisms, you will need to supply a source of passwords, such as the sasldb (which is described more fully in the :ref:`Cyrus SASL distribution <http://www.cyrusimap.org/sasl/>`).
+
+ Quotas
+ ******
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_developer_compiling.rst
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_developer_compiling.rst:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_developer_compiling.rst Mon Mar 9 03:16:44 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-docsrc_imap_developer_compiling.rst,v 1.1 2026/03/09 03:16:44 jnemeth Exp $
+
+Replace external references to cyrussasl with actual links
+to avoid web lookups while building.
+
+--- docsrc/imap/developer/compiling.rst.orig 2026-01-19 06:24:23.189073716 +0000
++++ docsrc/imap/developer/compiling.rst
+@@ -52,7 +52,7 @@ required to build a functional cyrus-ima
+ .. _autoconf: http://www.gnu.org/software/autoconf/
+ .. _automake: http://www.gnu.org/software/automake/
+ .. _bison: http://www.gnu.org/software/bison/
+-.. _Cyrus SASL: :ref:`Cyrus SASL <cyrussasl:sasl-index>`
++.. _Cyrus SASL: :ref:`Cyrus SASL <http://www.cyrusimap.org/sasl/>`
+ .. _flex: http://flex.sourceforge.net/
+ .. _gcc: http://gcc.gnu.org
+ .. _gperf: http://www.gnu.org/software/gperf/
+@@ -205,9 +205,9 @@ Other
+
+ .. _ClamAV: https://www.clamav.net/
+ .. _CUnit: http://cunit.sourceforge.net/
+-.. _Cyrus SASL Plain: :ref:`Cyrus SASL <cyrussasl:sasl-index>`
+-.. _Cyrus SASL MD5: :ref:`Cyrus SASL <cyrussasl:sasl-index>`
+-.. _sasl binaries: :ref:`Cyrus SASL <cyrussasl:sasl-index>`
++.. _Cyrus SASL Plain: :ref:`Cyrus SASL <http://www.cyrusimap.org/sasl/>`
++.. _Cyrus SASL MD5: :ref:`Cyrus SASL <http://www.cyrusimap.org/sasl/>`
++.. _sasl binaries: :ref:`Cyrus SASL <http://www.cyrusimap.org/sasl/>`
+ .. _Kerberos: http://web.mit.edu/kerberos/www/
+ .. _libbrotli: https://github.com/google/brotli
+ .. _libchardet: https://github.com/Joungkyun/libchardet
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_download_installation_manage-dav.rst
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_download_installation_manage-dav.rst:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_download_installation_manage-dav.rst Mon Mar 9 03:16:44 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-docsrc_imap_download_installation_manage-dav.rst,v 1.1 2026/03/09 03:16:44 jnemeth Exp $
+
+Replace external references to cyrussasl with actual links
+to avoid web lookups while building.
+
+--- docsrc/imap/download/installation/manage-dav.rst.orig 2026-01-19 06:25:46.418639235 +0000
++++ docsrc/imap/download/installation/manage-dav.rst
+@@ -67,7 +67,7 @@ Authentication
+ --------------
+
+ As with other Cyrus services, the Cyrus httpd service uses
+-:ref:`Cyrus SASL <cyrussasl:sasl-index>` to perform its authentication.
++:ref:`Cyrus SASL <http://www.cyrusimap.org/sasl/>` to perform its authentication.
+
+ .. sidebar:: allowplaintext
+
+@@ -84,7 +84,7 @@ whether the client has connected over a
+ authentication does not depend on a Cyrus SASL plugin.
+
+ The advertisement of the other HTTP authentication schemes is controlled by the
+-:ref:`SASL mech_list option <cyrussasl:options>` option. For Cyrus httpd
++:ref:`SASL mech_list option <http://www.cyrusimap.org/sasl/sasl/options.html>` option. For Cyrus httpd
+ the GSS-SPNEGO, SCRAM-SHA-1, and SCRAM-SHA-256 values enable
+ support for the Negotiate (Kerberos only), SCRAM-SHA-1, and
+ SCRAM-SHA-256 authentication schemes respectively, provided that the plugins
Index: pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_quickstart_introduction.rst
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_quickstart_introduction.rst:1.1
--- /dev/null Mon Mar 9 03:16:44 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-docsrc_imap_quickstart_introduction.rst Mon Mar 9 03:16:44 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-docsrc_imap_quickstart_introduction.rst,v 1.1 2026/03/09 03:16:44 jnemeth Exp $
+
+Replace external references to cyrussasl with actual links
+to avoid web lookups while building.
+
+--- docsrc/imap/quickstart/introduction.rst.orig 2026-01-19 06:35:00.097077895 +0000
++++ docsrc/imap/quickstart/introduction.rst
+@@ -8,7 +8,7 @@ Cyrus IMAP is a `Carnegie Mellon Univers
+ development project for a highly scalable enterprise mail system.
+
+ Cyrus IMAP is one of two primary software development projects
+-undertaken by the Cyrus project -- the other one being :ref:`cyrussasl:sasl-index`.
++undertaken by the Cyrus project -- the other one being :ref:`http://www.cyrusimap.org/sasl/`.
+
+ The project as a whole started in 1994 and has its roots in replacing
+ the Andrew Mail System (|AMS|) that |CMU| had been using, and has
Home |
Main Index |
Thread Index |
Old Index