mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
9eff14e488
- login_disabled option before starttls for pop3 - fix compiler warnings for GCC5 - Fix IMAP mailbox maintanence - prevent assertion in p_string_erase - improve crypt authentication, also don't segfault when spasswd is empty - simplify log_query_time duration logic - Disconnect IMAP clients if only few free FDs left - Add primary key constraint to dbmail_authlog - Rework temporary connection failures - Give sensible default for retry 120s - Add retries for binding and searching - Bump search timeout to 60s - Increase ldap timeout to 600s 10 mins - Refactor deprecated functions - Get timeout from config - Remove redundant event_assign - Remove deprecated non functioning g_mem_profile - Add definition for authldap_free - Revert inadvertent event_assign removal - Reduce failed LDAP connection for search to error - Update LDAP to non deprecated search - Clear the ldap connection - Update ldap deprecated unbind - Fix typo - Update to ldap_unbind_ext_s and remove redundant sigaction - Rebalance commit rollback - Ensure mailbox2dbmail is using Python 2 - Tidy mailbox2dbmail man page - Update description of pid file location in server man page - Boundaries fixups ordering of parts do not add newline on - Prepend headers during delivery - Allow for systems that don't use proc PR: 210274 Submitted by: fluffy
75 lines
2.0 KiB
Makefile
75 lines
2.0 KiB
Makefile
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dbmail
|
|
PORTVERSION= 3.2.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://git.dbmail.eu/paul/dbmail/snapshot/ \
|
|
http://www.dbmail.org/download/3.2/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= SQL database-based mail system (POP3 and IMAP)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libgmime-2.6.so:mail/gmime26 \
|
|
libzdb.so:databases/libzdb \
|
|
libmhash.so:security/mhash \
|
|
libevent.so:devel/libevent
|
|
BUILD_DEPENDS= asciidoc:textproc/asciidoc \
|
|
xmlto:textproc/xmlto \
|
|
docbook-sgml>0:textproc/docbook-sgml
|
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
|
|
|
CONFLICTS= dbmail22-[0-9]*
|
|
|
|
OPTIONS_DEFINE= DOCS LDAP SIEVE
|
|
OPTIONS_DEFAULT= SIEVE
|
|
SIEVE_DESC= Sieve mail sorting language support
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= ${PREFIX}/lib/dbmail
|
|
USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved
|
|
USES= autoreconf gmake libtool pkgconfig shebangfix ssl tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
|
|
SHEBANG_FILES= man/fixsp.pl
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc --enable-manpages
|
|
|
|
MAKE_ARGS+= mandir=${MANPREFIX}/man
|
|
|
|
DOCS= AUTHORS BUGS INSTALL THANKS UPGRADING
|
|
|
|
SIEVE_CONFIGURE_WITH= sieve
|
|
SIEVE_LIB_DEPENDS= libsieve.so:mail/libsieve
|
|
|
|
LDAP_CONFIGURE_WITH= ldap
|
|
LDAP_USE= OPENLDAP=yes
|
|
|
|
DBMAIL_USER?= mailnull
|
|
DBMAIL_GROUP?= mail
|
|
PIDDIR?= /var/run/dbmail
|
|
|
|
PLIST_SUB+= DBMAIL_USER="${DBMAIL_USER}" \
|
|
DBMAIL_GROUP="${DBMAIL_GROUP}" \
|
|
PIDDIR="${PIDDIR}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf.sample
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dbmail.schema ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}/sql && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
@${MKDIR} ${STAGEDIR}${PIDDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|