Name: courier-imap Version: 5.2.10 Release: 1mamba Summary: An IMAP server that handles QMail's Mailbox dirs Group: System/Servers Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.courier-mta.org/ Source: http://downloads.sourceforge.net/sourceforge/courier/courier-imap-%{version}.tar.bz2 #Source: http://www.courier-mta.org/beta/imap/courier-imap-%{version}.tar.bz2 Source1: imap-pam Source2: imapd-initscript Source3: imapd-ssl-initscript Source4: imap-generate-certificate.sh License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcourier-authlib-devel BuildRequires: libcourier-unicode-devel BuildRequires: libgcc BuildRequires: libgdbm-devel BuildRequires: libidn2-devel BuildRequires: libopenssl-devel BuildRequires: libpcre2-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: libcourier-unicode-devel >= 2.3.0-1mamba BuildRequires: pam-devel >= 0.77 BuildRequires: libopenssl-devel >= 0.9.7b BuildRequires: libopenldap-devel >= 2.1.22 BuildRequires: courier-authlib >= 0.71 Requires: courier-authlib >= 0.71 %description The Courier mail transfer agent (MTA) is an integrated mail/groupware server based on open commodity protocols, such as ESMTP, IMAP, POP3, LDAP, SSL, and HTTP. Courier provides ESMTP, IMAP, POP3, webmail, and mailing list services within a single, consistent, framework. %debug_package %prep [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"/../perl-root [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" %setup -q %build find . -name Makefile.in | xargs -n1 sed -i "s|DEFAULT_INCLUDES = |DEFAULT_INCLUDES = -I/usr/include/db4|" ./configure \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir}/imap \ --mandir=%{_mandir} \ --libexecdir=%{_libexecdir}/courier-imap \ --datadir=%{_datadir}/courier-imap \ --localstatedir=/run \ --without-authdaemon \ --with-redhat \ --with-notice=unicode find . -name Makefile | xargs -n1 sed -i "s|-ldb|-ldb-4|" make %{_smp_mflags} %install make install DESTDIR=%{buildroot} MANDIR=%{buildroot}%{_mandir} for f in `find %{buildroot}%{_mandir}/man/man7 -type l`; do rm $f done make install-configure DESTDIR=%{buildroot} rm %{buildroot}%{_sysconfdir}/imap/*.dist mkdir -p %{buildroot}%{_sysconfdir}/pam.d cp %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/imap mkdir -p %{buildroot}%{_initrddir} cp %{SOURCE2} %{buildroot}%{_initrddir}/imapd cp %{SOURCE3} %{buildroot}%{_initrddir}/imapd-ssl cp %{SOURCE4} %{buildroot}%{_libexecdir}/courier-imap/ # avoid a conflict with QMail file mv %{buildroot}%{_mandir}/man1/maildirmake.1 %{buildroot}%{_mandir}/man1/maildirmake-imap.1 pushd %{buildroot} popd %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"/../perl-root [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" %post # new install if [ $1 -eq 1 ]; then source %{_initrddir}/ldap-functions set_ldap_environment sed -i "s|dc=example,dc=com|$LDAPBASEDN|" %{_sysconfdir}/imap/authldaprc fi %files %defattr(-,root,root) %attr(0700,root,root) %dir %{_sysconfdir}/imap/ %config(noreplace) %{_sysconfdir}/imap/* %config(noreplace) %{_sysconfdir}/pam.d/imap %attr(0755,root,root) %{_initrddir}/imapd %attr(0755,root,root) %{_initrddir}/imapd-ssl %dir %{_libexecdir}/courier-imap %{_libexecdir}/courier-imap/* %{_bindir}/* %{_sbindir}/* %{_sbindir}/mkimapdcert %{_sbindir}/mkpop3dcert %dir %{_datadir}/courier-imap %{_datadir}/courier-imap/* %{_mandir}/man1/* %{_mandir}/man8/* %changelog * Sun Sep 01 2024 Automatic Build System 5.2.10-1mamba - automatic version update by autodist * Wed Aug 07 2024 Automatic Build System 5.2.9-1mamba - automatic version update by autodist * Wed Jul 17 2024 Automatic Build System 5.2.7-1mamba - automatic version update by autodist * Wed Jan 10 2024 Automatic Build System 5.2.6-2mamba - rebuilt by autoport with build requirements: libcourier-unicode-devel>=2.3.0-1mamba * Mon Nov 27 2023 Automatic Build System 5.2.6-1mamba - automatic version update by autodist * Tue Aug 29 2023 Automatic Build System 5.2.5-1mamba - automatic version update by autodist * Mon May 01 2023 Automatic Build System 5.2.4-1mamba - automatic version update by autodist * Thu Apr 06 2023 Automatic Build System 5.2.3-1mamba - automatic version update by autodist * Sun Feb 19 2023 Automatic Build System 5.2.2-1mamba - automatic version update by autodist * Sun Dec 18 2022 Automatic Build System 5.2.1-1mamba - automatic version update by autodist * Wed Dec 07 2022 Automatic Build System 5.2.0-1mamba - automatic version update by autodist * Thu Nov 17 2022 Automatic Build System 5.1.9-1mamba - automatic version update by autodist * Thu Jun 02 2022 Automatic Build System 5.1.8-1mamba - automatic version update by autodist * Tue Jan 18 2022 Automatic Build System 5.1.7-1mamba - automatic version update by autodist * Mon Jan 17 2022 Automatic Build System 5.1.5-1mamba - automatic version update by autodist * Wed Aug 04 2021 Automatic Build System 5.1.4-1mamba - automatic version update by autodist * Sun May 02 2021 Automatic Build System 5.1.3-1mamba - automatic version update by autodist * Wed Jan 21 2015 Automatic Build System 4.7.0-2mamba - automatic rebuild by autodist * Tue Apr 13 2010 Automatic Build System 4.7.0-1mamba - automatic update by autodist * Tue Jul 07 2009 Automatic Build System 4.5.1-1mamba - automatic update by autodist * Thu May 28 2009 Automatic Build System 4.5.0-1mamba - automatic update by autodist * Wed Feb 25 2009 Silvan Calarco 4.4.1-1mamba - automatic update by autodist * Fri Oct 24 2008 Silvan Calarco 4.4.0-1mamba - automatic update by autodist * Sat Aug 25 2007 Tiziana Ferro 4.1.3-1mamba - update to 4.1.3 * Mon Oct 11 2004 Silvan Calarco 2.2.2.20040207-4qilnx - rebuilt to remove a dependency on libmisc * Mon Oct 11 2004 Silvan Calarco 2.2.2.20040207-3qilnx - added LDAP configuration on install * Wed Feb 18 2004 Silvan Calarco 2.2.2.20040207-2qilnx - fixed initscripts due to courierlogger directory change * Mon Feb 16 2004 Silvan Calarco 2.2.2.20040207-1qilnx - new version build - fixed manual packaging problems * Mon Sep 29 2003 Silvan Calarco 2.1.1.20030902-2qilnx - added chkconfig support to initscript * Thu Sep 11 2003 Silvan Calarco 2.1.1.20030902-1qilnx - first build