pkgsrc/mail/dbmail/Makefile
tnn af4fdbe790 dbmail: update to 3.2.5
3.2.5
Added
  IMAP Daemon: added switch to control the diffential state reload
    (mailbox_update_strategy=2), more information in dbmail.conf,
    mailbox_update_strategy_2_max_iterations [#81]
  IMAP Daemon: added switch to control UNSEEN first message in SELECT commands

Changed
  IMAP Daemon: allow reporting UID COPY success in case of various failures
    (except quota), reporting issues are sent to error log as warnings [#87]

Optimizations
  optimizing differential state [#81]
  optimizing fetch message headers [#85]

Issues
  fixing issue related to copy message in regard to RFC 3501, section 6.4.8
  fixing issues related group_concat for PostgreSql [#75], [#78]
  fixing issue related to lastRowId [#71]
  fixing issues related with differential update [#70], [#73]
  fixing proc not being used in BSD systems [#74]
  IMAP Daemon: segmentation fault [#68]

3.2.4
Added
  IMAP Daemon: mailbox-update-strategy switch (see dbmail.conf), experimental
  support for application_name in database connection uri
  IMAP Daemon: mailbox_search_strategy switch (see dbmail.conf)

Changed
  systemd unit changed to type notify
  mailbox state is build using only valid messages [#39]

Optimizations
  IMAP Daemon: optimization of sql queries in relation to message headers
  libevent increased priority on accepting new connections
  libevent optimization on reading and writing to sockets
  simplify libzdb configuration (AC_CHECK_HEADERS)

Issues
  fix segmentation fault in imap_append_hash_as_string [#12]
  dbmail-users: sql issue on deleting alias user [#18]
  IMAP Daemon: generation of invalid BODYSTRUCTURE in Content-Type field [#23]
  fix support for jemalloc latest version [#35]
  IMAP Deamon: BYE Command now offers optional message even on normal operations
  IMAP Deamon: idle message now offers optional message (* OK Still Here)
  IMAP Daemon: random hangs when single user is connected [#37]
  fix fd leaks
  IMAP Daemon: fix MODIFIED keyword, too many '[' and ']'
  fix segmentation fault in find_end_of_header
  fix gcc 10 compilation issue, duplicated definition
2020-08-15 10:52:50 +00:00

55 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2020/08/15 10:52:50 tnn Exp $
DISTNAME= dbmail-3.2.5
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=dbmail/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.dbmail.org/
COMMENT= Store and retrieve mail messages in a database
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake pkg-config pax
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-logdir=${VARBASE}/log
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/run
CONFIGURE_ARGS+= --with-zdb=${BUILDLINK_PREFIX.libzdb}
BUILD_DEFS+= VARBASE
EGDIR= ${PREFIX}/share/examples/dbmail
CONF_FILES_PERMS+= ${EGDIR}/dbmail.conf ${PKG_SYSCONFDIR}/dbmail.conf \
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0640
RCD_SCRIPTS= dbmail dbmailimapd dbmaillmtpd dbmailpop3d
DATADIR= ${PREFIX}/share/dbmail
MESSAGE_SUBST+= DATADIR=${DATADIR}
SUBST_CLASSES+= sysconf
SUBST_STAGE.sysconf= do-configure
SUBST_FILES.sysconf= man/commonopts.txt
SUBST_SED.sysconf= -e 's|/etc/dbmail\.conf|${PKG_SYSCONFDIR}/dbmail.conf|g'
SUBST_MESSAGE.sysconf= Fixing sysconf paths.
INSTALLATION_DIRS= lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 sbin ${EGDIR} ${DATADIR}/sql
post-install:
${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${DESTDIR}${EGDIR}
.for f in mysql postgresql sqlite
cd ${WRKSRC}/sql && pax -rw ${f} ${DESTDIR}${DATADIR}/sql/.
.endfor
.include "options.mk"
.include "../../databases/libzdb/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
.include "../../mail/gmime/buildlink3.mk"
.include "../../security/mhash/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"