pkgsrc/mail/mailfront/Makefile

52 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 2012/10/08 12:19:15 asau Exp $
#
Update to 1.12, addressing PR pkg/34765. From the changelog: 1.12: - Fixed problem with overwriting existing session data items. - Fixed several problems with handling of databytes in rules. - Fixed crash in plugin cvm-validate when the lookup secret was unset. - pop3front-auth now supports a no-argument variant on the AUTH command, used by KMail to test for authentication modes, and documented in http://www.tools.ietf.org/html/draft-myers-sasl-pop3-05 Thanks Bernhard Graf for the initial patch - pop3front-auth and -maildir now support the CAPA command. Thanks Bernhard Graf for the initial patch - Made imapfront-auth more compatible with Courier IMAP by adding extra bits to the CAPABILITY command. Thanks Bernhard Graf. - plugin-cvm-validate handles modules that provide an "out of scope" fact by passing to the next plugin. - Fixed handling of addresses without a domain in @file rules. Thanks Jorge Valdes 1.11: - Fixed the main mailfront program to clean up temporary files properly. - Modified the SMTP protocol module to export the SASL authentication information internally. - Modified the check-fqdn plugin to append $DEFAULTHOST and $DEFAULTDOMAIN to addresses if necessary. - Added separate connect and send timeouts and a maximum message size to the ClamAV plugin, and fixed a bug with handling port numbers when using multiple IPs. - Modified the ClamAV plugin to prefer $CLAMAV_* settings over $CLAMD_* - Added plugin API documentation. 1.10: - Added a ClamAV virus scanner plugin. Note: Using this plugin will cause mailfront to save messages to temporary files. See mailfront.html for details. - Modified the plugin API to add a version code, a flags word, and to (optionally) save messages to a temporary file. - Fixed a few cases where the UCSPI-TCP protocol was assumed. - Fixed pop3front-maildir breakage on dietlibc/uClibc and empty maildirs. Thanks Wayne Marshall. 1.01: - Fixed a bug in the counters plugin that triggered a problem in the SMTP protocol when handling the SIZE=# parameter. - Reversed the order of cvm-validate and qmail-validate in the wrapper scripts (and documentation) due to the semantics of the two plugins. - Added a list of built-in plugins. The list currently contains the three accept* plugins, which are extremely trivial. 1.0: Mailfront has been rewritten to be totally modular. The core mailfront program loads the protocol, backend, and all plugin behaviors at run time from shared objects. The previous commands, such as smtpfront-qmail, are now shell script wrappers for the main "mailfront" command, and as such are depricated in favor of using "mailfront" directly. The *front-qmail wrappers preload all the plugins that were previously compiled into the corresponding programs: check-fqdn counters mailrules relayclient cvm-validate qmail-validate add-received patterns accept-sender NOTE: The *front-reject backends have been dropped in favor of a plugin. In addition, the $REQUIRE_AUTH feature has been moved to another plugin. If you used this backend or feature you will need to adjust your configuration accordingly.
2009-04-08 03:44:04 +02:00
DISTNAME= mailfront-1.12
CATEGORIES= mail
2008-03-17 12:41:46 +01:00
MASTER_SITES= ${HOMEPAGE}archive/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://untroubled.org/mailfront/
COMMENT= Mail server network protocol front-ends
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
DEPENDS_QMAIL= qmail>=1.03nb8:../../mail/qmail
DEPENDS+= ${DEPENDS_QMAIL}
DJB_RESTRICTED= NO
DJB_MAKE_TARGETS= NO
Update to 1.12, addressing PR pkg/34765. From the changelog: 1.12: - Fixed problem with overwriting existing session data items. - Fixed several problems with handling of databytes in rules. - Fixed crash in plugin cvm-validate when the lookup secret was unset. - pop3front-auth now supports a no-argument variant on the AUTH command, used by KMail to test for authentication modes, and documented in http://www.tools.ietf.org/html/draft-myers-sasl-pop3-05 Thanks Bernhard Graf for the initial patch - pop3front-auth and -maildir now support the CAPA command. Thanks Bernhard Graf for the initial patch - Made imapfront-auth more compatible with Courier IMAP by adding extra bits to the CAPABILITY command. Thanks Bernhard Graf. - plugin-cvm-validate handles modules that provide an "out of scope" fact by passing to the next plugin. - Fixed handling of addresses without a domain in @file rules. Thanks Jorge Valdes 1.11: - Fixed the main mailfront program to clean up temporary files properly. - Modified the SMTP protocol module to export the SASL authentication information internally. - Modified the check-fqdn plugin to append $DEFAULTHOST and $DEFAULTDOMAIN to addresses if necessary. - Added separate connect and send timeouts and a maximum message size to the ClamAV plugin, and fixed a bug with handling port numbers when using multiple IPs. - Modified the ClamAV plugin to prefer $CLAMAV_* settings over $CLAMD_* - Added plugin API documentation. 1.10: - Added a ClamAV virus scanner plugin. Note: Using this plugin will cause mailfront to save messages to temporary files. See mailfront.html for details. - Modified the plugin API to add a version code, a flags word, and to (optionally) save messages to a temporary file. - Fixed a few cases where the UCSPI-TCP protocol was assumed. - Fixed pop3front-maildir breakage on dietlibc/uClibc and empty maildirs. Thanks Wayne Marshall. 1.01: - Fixed a bug in the counters plugin that triggered a problem in the SMTP protocol when handling the SIZE=# parameter. - Reversed the order of cvm-validate and qmail-validate in the wrapper scripts (and documentation) due to the semantics of the two plugins. - Added a list of built-in plugins. The list currently contains the three accept* plugins, which are extremely trivial. 1.0: Mailfront has been rewritten to be totally modular. The core mailfront program loads the protocol, backend, and all plugin behaviors at run time from shared objects. The previous commands, such as smtpfront-qmail, are now shell script wrappers for the main "mailfront" command, and as such are depricated in favor of using "mailfront" directly. The *front-qmail wrappers preload all the plugins that were previously compiled into the corresponding programs: check-fqdn counters mailrules relayclient cvm-validate qmail-validate add-received patterns accept-sender NOTE: The *front-reject backends have been dropped in favor of a plugin. In addition, the $REQUIRE_AUTH feature has been moved to another plugin. If you used this backend or feature you will need to adjust your configuration accordingly.
2009-04-08 03:44:04 +02:00
DJB_CONFIG_CMDS+= ${ECHO} ${PREFIX}/include > conf-include; \
${ECHO} ${PREFIX}/lib/${PKGBASE} > conf-modules;\
${ECHO} ${PREFIX}/lib > conf-cvmlibs
RCD_SCRIPTS= smtpfront
Update to 1.12, addressing PR pkg/34765. From the changelog: 1.12: - Fixed problem with overwriting existing session data items. - Fixed several problems with handling of databytes in rules. - Fixed crash in plugin cvm-validate when the lookup secret was unset. - pop3front-auth now supports a no-argument variant on the AUTH command, used by KMail to test for authentication modes, and documented in http://www.tools.ietf.org/html/draft-myers-sasl-pop3-05 Thanks Bernhard Graf for the initial patch - pop3front-auth and -maildir now support the CAPA command. Thanks Bernhard Graf for the initial patch - Made imapfront-auth more compatible with Courier IMAP by adding extra bits to the CAPABILITY command. Thanks Bernhard Graf. - plugin-cvm-validate handles modules that provide an "out of scope" fact by passing to the next plugin. - Fixed handling of addresses without a domain in @file rules. Thanks Jorge Valdes 1.11: - Fixed the main mailfront program to clean up temporary files properly. - Modified the SMTP protocol module to export the SASL authentication information internally. - Modified the check-fqdn plugin to append $DEFAULTHOST and $DEFAULTDOMAIN to addresses if necessary. - Added separate connect and send timeouts and a maximum message size to the ClamAV plugin, and fixed a bug with handling port numbers when using multiple IPs. - Modified the ClamAV plugin to prefer $CLAMAV_* settings over $CLAMD_* - Added plugin API documentation. 1.10: - Added a ClamAV virus scanner plugin. Note: Using this plugin will cause mailfront to save messages to temporary files. See mailfront.html for details. - Modified the plugin API to add a version code, a flags word, and to (optionally) save messages to a temporary file. - Fixed a few cases where the UCSPI-TCP protocol was assumed. - Fixed pop3front-maildir breakage on dietlibc/uClibc and empty maildirs. Thanks Wayne Marshall. 1.01: - Fixed a bug in the counters plugin that triggered a problem in the SMTP protocol when handling the SIZE=# parameter. - Reversed the order of cvm-validate and qmail-validate in the wrapper scripts (and documentation) due to the semantics of the two plugins. - Added a list of built-in plugins. The list currently contains the three accept* plugins, which are extremely trivial. 1.0: Mailfront has been rewritten to be totally modular. The core mailfront program loads the protocol, backend, and all plugin behaviors at run time from shared objects. The previous commands, such as smtpfront-qmail, are now shell script wrappers for the main "mailfront" command, and as such are depricated in favor of using "mailfront" directly. The *front-qmail wrappers preload all the plugins that were previously compiled into the corresponding programs: check-fqdn counters mailrules relayclient cvm-validate qmail-validate add-received patterns accept-sender NOTE: The *front-reject backends have been dropped in favor of a plugin. In addition, the $REQUIRE_AUTH feature has been moved to another plugin. If you used this backend or feature you will need to adjust your configuration accordingly.
2009-04-08 03:44:04 +02:00
INSTALLATION_DIRS= share/doc/mailfront
2010-03-15 03:51:24 +01:00
INSTALL_ENV+= install_prefix=${DESTDIR:Q}
.include "../../mk/bsd.prefs.mk"
Update to 1.12, addressing PR pkg/34765. From the changelog: 1.12: - Fixed problem with overwriting existing session data items. - Fixed several problems with handling of databytes in rules. - Fixed crash in plugin cvm-validate when the lookup secret was unset. - pop3front-auth now supports a no-argument variant on the AUTH command, used by KMail to test for authentication modes, and documented in http://www.tools.ietf.org/html/draft-myers-sasl-pop3-05 Thanks Bernhard Graf for the initial patch - pop3front-auth and -maildir now support the CAPA command. Thanks Bernhard Graf for the initial patch - Made imapfront-auth more compatible with Courier IMAP by adding extra bits to the CAPABILITY command. Thanks Bernhard Graf. - plugin-cvm-validate handles modules that provide an "out of scope" fact by passing to the next plugin. - Fixed handling of addresses without a domain in @file rules. Thanks Jorge Valdes 1.11: - Fixed the main mailfront program to clean up temporary files properly. - Modified the SMTP protocol module to export the SASL authentication information internally. - Modified the check-fqdn plugin to append $DEFAULTHOST and $DEFAULTDOMAIN to addresses if necessary. - Added separate connect and send timeouts and a maximum message size to the ClamAV plugin, and fixed a bug with handling port numbers when using multiple IPs. - Modified the ClamAV plugin to prefer $CLAMAV_* settings over $CLAMD_* - Added plugin API documentation. 1.10: - Added a ClamAV virus scanner plugin. Note: Using this plugin will cause mailfront to save messages to temporary files. See mailfront.html for details. - Modified the plugin API to add a version code, a flags word, and to (optionally) save messages to a temporary file. - Fixed a few cases where the UCSPI-TCP protocol was assumed. - Fixed pop3front-maildir breakage on dietlibc/uClibc and empty maildirs. Thanks Wayne Marshall. 1.01: - Fixed a bug in the counters plugin that triggered a problem in the SMTP protocol when handling the SIZE=# parameter. - Reversed the order of cvm-validate and qmail-validate in the wrapper scripts (and documentation) due to the semantics of the two plugins. - Added a list of built-in plugins. The list currently contains the three accept* plugins, which are extremely trivial. 1.0: Mailfront has been rewritten to be totally modular. The core mailfront program loads the protocol, backend, and all plugin behaviors at run time from shared objects. The previous commands, such as smtpfront-qmail, are now shell script wrappers for the main "mailfront" command, and as such are depricated in favor of using "mailfront" directly. The *front-qmail wrappers preload all the plugins that were previously compiled into the corresponding programs: check-fqdn counters mailrules relayclient cvm-validate qmail-validate add-received patterns accept-sender NOTE: The *front-reject backends have been dropped in favor of a plugin. In addition, the $REQUIRE_AUTH feature has been moved to another plugin. If you used this backend or feature you will need to adjust your configuration accordingly.
2009-04-08 03:44:04 +02:00
post-install:
cd ${WRKSRC}; \
2010-03-15 03:51:24 +01:00
for f in ANNOUNCEMENT NEWS README *.html; do \
${INSTALL_DATA} $${f} \
${DESTDIR}${PREFIX}/share/doc/mailfront; \
Update to 1.12, addressing PR pkg/34765. From the changelog: 1.12: - Fixed problem with overwriting existing session data items. - Fixed several problems with handling of databytes in rules. - Fixed crash in plugin cvm-validate when the lookup secret was unset. - pop3front-auth now supports a no-argument variant on the AUTH command, used by KMail to test for authentication modes, and documented in http://www.tools.ietf.org/html/draft-myers-sasl-pop3-05 Thanks Bernhard Graf for the initial patch - pop3front-auth and -maildir now support the CAPA command. Thanks Bernhard Graf for the initial patch - Made imapfront-auth more compatible with Courier IMAP by adding extra bits to the CAPABILITY command. Thanks Bernhard Graf. - plugin-cvm-validate handles modules that provide an "out of scope" fact by passing to the next plugin. - Fixed handling of addresses without a domain in @file rules. Thanks Jorge Valdes 1.11: - Fixed the main mailfront program to clean up temporary files properly. - Modified the SMTP protocol module to export the SASL authentication information internally. - Modified the check-fqdn plugin to append $DEFAULTHOST and $DEFAULTDOMAIN to addresses if necessary. - Added separate connect and send timeouts and a maximum message size to the ClamAV plugin, and fixed a bug with handling port numbers when using multiple IPs. - Modified the ClamAV plugin to prefer $CLAMAV_* settings over $CLAMD_* - Added plugin API documentation. 1.10: - Added a ClamAV virus scanner plugin. Note: Using this plugin will cause mailfront to save messages to temporary files. See mailfront.html for details. - Modified the plugin API to add a version code, a flags word, and to (optionally) save messages to a temporary file. - Fixed a few cases where the UCSPI-TCP protocol was assumed. - Fixed pop3front-maildir breakage on dietlibc/uClibc and empty maildirs. Thanks Wayne Marshall. 1.01: - Fixed a bug in the counters plugin that triggered a problem in the SMTP protocol when handling the SIZE=# parameter. - Reversed the order of cvm-validate and qmail-validate in the wrapper scripts (and documentation) due to the semantics of the two plugins. - Added a list of built-in plugins. The list currently contains the three accept* plugins, which are extremely trivial. 1.0: Mailfront has been rewritten to be totally modular. The core mailfront program loads the protocol, backend, and all plugin behaviors at run time from shared objects. The previous commands, such as smtpfront-qmail, are now shell script wrappers for the main "mailfront" command, and as such are depricated in favor of using "mailfront" directly. The *front-qmail wrappers preload all the plugins that were previously compiled into the corresponding programs: check-fqdn counters mailrules relayclient cvm-validate qmail-validate add-received patterns accept-sender NOTE: The *front-reject backends have been dropped in favor of a plugin. In addition, the $REQUIRE_AUTH feature has been moved to another plugin. If you used this backend or feature you will need to adjust your configuration accordingly.
2009-04-08 03:44:04 +02:00
done
# Detect the PKG_SYSCONFDIR of the installed qmail, so we can create
# config files there and refer to them from rc.d scripts.
#
.if !defined(PKG_SYSCONFDIR.mailfront)
PKG_SYSCONFDIR.mailfront!= \
${PKG_INFO} -Q PKG_SYSCONFDIR \
${DEPENDS_QMAIL:C/:.*$//:Q} 2>/dev/null || \
${ECHO} "PKG_SYSCONFDIR.mailfront_not_set"
. if empty(PKG_SYSCONFDIR.mailfront:M*not_set)
MAKEVARS+= PKG_SYSCONFDIR.mailfront
. endif
.endif
.include "../../devel/bglibs/buildlink3.mk"
.include "../../security/cvm/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"