pkgsrc/mail/tmda/Makefile

72 lines
1.9 KiB
Makefile
Raw Normal View History

Update to 0.61. From the changelog: * New -A option for tmda-ofmipd to allow authentication against checkpassword compatible programs such as checkpassword-pam (http://checkpasswd-pam.sourceforge.net/). * New -C option for tmda-ofmipd to set a limit on the number of simultaneous connections. Default is 20. * tmda-ofmipd general bugfixes and security improvements. * New config variable, `X_TMDA_IN_SUBJECT' which turns on parsing of the Subject header for X-TMDA override actions. See description in Defaults.py for more information. * New config variable, `ADDED_HEADERS_SERVER' which allows you to add arbitrary headers to all server-sent (i.e, tmda-filter) messages. * Josh Huber's tmda.el, an elisp module for integrating TMDA with Gnus and Message mode, has been added to the contrib directory. This is super-cool, Jason sez check it out! * Major improvements to the filter file language, courtesy of Tim, including: - The addition of "macro" definition and expansion. - The addition of variable interpolation. - A new argument, `-optional', for all rules that access files. - Support for nested filter files with the 'include' statement. For more information on these new features, see the updated TMDA Filter Specification (http://tmda.net/config-filter.html). * Logging capability for client-side message (i.e, those sent with tmda-sendmail). Set LOGFILE_OUTGOING in your config to enable this. * New version of tmda.el. * Fixed a bug which prevented the `from/to-mailman' filter sources from working.
2002-09-01 01:08:40 +02:00
# $NetBSD: Makefile,v 1.8 2002/08/31 23:08:40 schmonz Exp $
#
Update to 0.61. From the changelog: * New -A option for tmda-ofmipd to allow authentication against checkpassword compatible programs such as checkpassword-pam (http://checkpasswd-pam.sourceforge.net/). * New -C option for tmda-ofmipd to set a limit on the number of simultaneous connections. Default is 20. * tmda-ofmipd general bugfixes and security improvements. * New config variable, `X_TMDA_IN_SUBJECT' which turns on parsing of the Subject header for X-TMDA override actions. See description in Defaults.py for more information. * New config variable, `ADDED_HEADERS_SERVER' which allows you to add arbitrary headers to all server-sent (i.e, tmda-filter) messages. * Josh Huber's tmda.el, an elisp module for integrating TMDA with Gnus and Message mode, has been added to the contrib directory. This is super-cool, Jason sez check it out! * Major improvements to the filter file language, courtesy of Tim, including: - The addition of "macro" definition and expansion. - The addition of variable interpolation. - A new argument, `-optional', for all rules that access files. - Support for nested filter files with the 'include' statement. For more information on these new features, see the updated TMDA Filter Specification (http://tmda.net/config-filter.html). * Logging capability for client-side message (i.e, those sent with tmda-sendmail). Set LOGFILE_OUTGOING in your config to enable this. * New version of tmda.el. * Fixed a bug which prevented the `from/to-mailman' filter sources from working.
2002-09-01 01:08:40 +02:00
DISTNAME= tmda-0.61
CATEGORIES= mail python
Update to 0.58. Changes to the package itself: - Update MASTER_SITES and HOMEPAGE. - Change iterator variables to something other than "file" to placate pkglint. From the changelog: * 'keyword' addresses now use an identifying string like 'dated' and 'sender' addresses do. 'keyword' by default, and customizable via TAGS_KEYWORD. This means you'll need to generate new addresses using `tmda-address', as your old ones will no longer work. If you want your old keyword addresses to be accepted until you can transition to the new format, you can add entries for them in your FILTER_INCOMING. e.g, to jason-promos.8d06eu@mastaler.com ok to jason-stupid_promo.289j76@mastaler.com ok * RECIPIENT_DELIMITER is no longer allowed to be part of the keyword in a keyword address. `?' will be substituted for it when a new keyword address is created. * The format for a confirmation request address is now: RECIPIENT-confirm-TIMESTAMP.PID.HMAC, instead of RECIPIENT-confirm-accept.TIMESTAMP.PID.HMAC The new format is detailed in CRYPTO. Because of this change, it's recommended that you run tmda-pending to make sure your queue is free of legitimate messages, since the old confirmation addresses will no longer work. If you are unable to do this and need temporary backward compatibility with the old format, there is a patch against 0.56 available at: <URL:http://mla.libertine.org/tmda-users/200206/msg00193.html> * Confirmed messages are now reinjected to the original envelope recipient address (RECIPIENT) rather than to: RECIPIENT-confirm-done.TIMESTAMP.PID.HMAC See CRYPTO for more details. * TMDA now sends outgoing mail by handing it off to an SMTP server instead of the /usr/sbin/sendmail program. By default it will use the standard SMTP port (25) on the local host. You can modify this by setting the "SMTPHOST" variable in your tmdarc. See TMDA/Defaults.py for further information. * tmdarc variable SENDMAIL has been renamed SENDMAIL_PROGRAM, but is irrelevant unless OUTGOINGMAIL = "sendmail". * tmdarc variable PURGED_HEADERS now lists "Bcc:" and "Resent-Bcc" by default. If you define this variable in your tmdarc, be sure to add these two headers. * CRYPT_KEY should be removed from ~/.tmdarc or ~/.tmda/config. Your secret key is now read from CRYPT_KEY_FILE, which defaults to ~/.tmda/crypt_key. To make this conversion, move your existing CRYPT_KEY to ~/.tmda/crypt_key, but without the double-quotes. e.g, if CRYPT_KEY = "df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8" ~/.tmda/crypt_key should contain: df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8 * ~/.tmdarc and ~/.tmda/config are no longer checked for file permissions. Instead, make sure ~/.tmda/crypt_key is chmod 400 or 600 (or 640 if ALLOW_MODE_640 = 1). * An exception is no longer be raised if ~/.tmdarc or ~/.tmda/config is missing. However, a ~/.tmda/crypt_key file is required. * tmda-keygen now outputs an unquoted key instead of a CRYPT_KEY line. * Template variables dated_cookie_address and sender_cookie_address were replaced with dated_recipient_address and sender_recipient_address, which are based on the RECIPIENT address.
2002-07-23 22:05:47 +02:00
MASTER_SITES= http://tmda.net/releases/ \
http://tmda.net/releases/old/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@netbsd.org
Update to 0.58. Changes to the package itself: - Update MASTER_SITES and HOMEPAGE. - Change iterator variables to something other than "file" to placate pkglint. From the changelog: * 'keyword' addresses now use an identifying string like 'dated' and 'sender' addresses do. 'keyword' by default, and customizable via TAGS_KEYWORD. This means you'll need to generate new addresses using `tmda-address', as your old ones will no longer work. If you want your old keyword addresses to be accepted until you can transition to the new format, you can add entries for them in your FILTER_INCOMING. e.g, to jason-promos.8d06eu@mastaler.com ok to jason-stupid_promo.289j76@mastaler.com ok * RECIPIENT_DELIMITER is no longer allowed to be part of the keyword in a keyword address. `?' will be substituted for it when a new keyword address is created. * The format for a confirmation request address is now: RECIPIENT-confirm-TIMESTAMP.PID.HMAC, instead of RECIPIENT-confirm-accept.TIMESTAMP.PID.HMAC The new format is detailed in CRYPTO. Because of this change, it's recommended that you run tmda-pending to make sure your queue is free of legitimate messages, since the old confirmation addresses will no longer work. If you are unable to do this and need temporary backward compatibility with the old format, there is a patch against 0.56 available at: <URL:http://mla.libertine.org/tmda-users/200206/msg00193.html> * Confirmed messages are now reinjected to the original envelope recipient address (RECIPIENT) rather than to: RECIPIENT-confirm-done.TIMESTAMP.PID.HMAC See CRYPTO for more details. * TMDA now sends outgoing mail by handing it off to an SMTP server instead of the /usr/sbin/sendmail program. By default it will use the standard SMTP port (25) on the local host. You can modify this by setting the "SMTPHOST" variable in your tmdarc. See TMDA/Defaults.py for further information. * tmdarc variable SENDMAIL has been renamed SENDMAIL_PROGRAM, but is irrelevant unless OUTGOINGMAIL = "sendmail". * tmdarc variable PURGED_HEADERS now lists "Bcc:" and "Resent-Bcc" by default. If you define this variable in your tmdarc, be sure to add these two headers. * CRYPT_KEY should be removed from ~/.tmdarc or ~/.tmda/config. Your secret key is now read from CRYPT_KEY_FILE, which defaults to ~/.tmda/crypt_key. To make this conversion, move your existing CRYPT_KEY to ~/.tmda/crypt_key, but without the double-quotes. e.g, if CRYPT_KEY = "df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8" ~/.tmda/crypt_key should contain: df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8 * ~/.tmdarc and ~/.tmda/config are no longer checked for file permissions. Instead, make sure ~/.tmda/crypt_key is chmod 400 or 600 (or 640 if ALLOW_MODE_640 = 1). * An exception is no longer be raised if ~/.tmdarc or ~/.tmda/config is missing. However, a ~/.tmda/crypt_key file is required. * tmda-keygen now outputs an unquoted key instead of a CRYPT_KEY line. * Template variables dated_cookie_address and sender_cookie_address were replaced with dated_recipient_address and sender_recipient_address, which are based on the RECIPIENT address.
2002-07-23 22:05:47 +02:00
HOMEPAGE= http://tmda.net/
COMMENT= Python-based SPAM reduction system
PY_PATCHPLIST= # defined
PYTHON_PATCH_SCRIPTS= ${TMDA_PROGRAMS}
SHAREDIR= share/${PKGBASE}
DOCDIR= share/doc/${PKGBASE}
CONTRIBDIR= share/doc/${PKGBASE}/contrib
HTMLDIR= share/doc/html/${PKGBASE}
PLIST_SUBST+= SHAREDIR="${SHAREDIR}"
PLIST_SUBST+= DOCDIR="${DOCDIR}"
PLIST_SUBST+= CONTRIBDIR="${CONTRIBDIR}"
PLIST_SUBST+= HTMLDIR="${HTMLDIR}"
TMDA_PROGRAMS= bin/tmda-address
TMDA_PROGRAMS+= bin/tmda-check-address
TMDA_PROGRAMS+= bin/tmda-filter
TMDA_PROGRAMS+= bin/tmda-inject
TMDA_PROGRAMS+= bin/tmda-keygen
Update to 0.58. Changes to the package itself: - Update MASTER_SITES and HOMEPAGE. - Change iterator variables to something other than "file" to placate pkglint. From the changelog: * 'keyword' addresses now use an identifying string like 'dated' and 'sender' addresses do. 'keyword' by default, and customizable via TAGS_KEYWORD. This means you'll need to generate new addresses using `tmda-address', as your old ones will no longer work. If you want your old keyword addresses to be accepted until you can transition to the new format, you can add entries for them in your FILTER_INCOMING. e.g, to jason-promos.8d06eu@mastaler.com ok to jason-stupid_promo.289j76@mastaler.com ok * RECIPIENT_DELIMITER is no longer allowed to be part of the keyword in a keyword address. `?' will be substituted for it when a new keyword address is created. * The format for a confirmation request address is now: RECIPIENT-confirm-TIMESTAMP.PID.HMAC, instead of RECIPIENT-confirm-accept.TIMESTAMP.PID.HMAC The new format is detailed in CRYPTO. Because of this change, it's recommended that you run tmda-pending to make sure your queue is free of legitimate messages, since the old confirmation addresses will no longer work. If you are unable to do this and need temporary backward compatibility with the old format, there is a patch against 0.56 available at: <URL:http://mla.libertine.org/tmda-users/200206/msg00193.html> * Confirmed messages are now reinjected to the original envelope recipient address (RECIPIENT) rather than to: RECIPIENT-confirm-done.TIMESTAMP.PID.HMAC See CRYPTO for more details. * TMDA now sends outgoing mail by handing it off to an SMTP server instead of the /usr/sbin/sendmail program. By default it will use the standard SMTP port (25) on the local host. You can modify this by setting the "SMTPHOST" variable in your tmdarc. See TMDA/Defaults.py for further information. * tmdarc variable SENDMAIL has been renamed SENDMAIL_PROGRAM, but is irrelevant unless OUTGOINGMAIL = "sendmail". * tmdarc variable PURGED_HEADERS now lists "Bcc:" and "Resent-Bcc" by default. If you define this variable in your tmdarc, be sure to add these two headers. * CRYPT_KEY should be removed from ~/.tmdarc or ~/.tmda/config. Your secret key is now read from CRYPT_KEY_FILE, which defaults to ~/.tmda/crypt_key. To make this conversion, move your existing CRYPT_KEY to ~/.tmda/crypt_key, but without the double-quotes. e.g, if CRYPT_KEY = "df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8" ~/.tmda/crypt_key should contain: df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8 * ~/.tmdarc and ~/.tmda/config are no longer checked for file permissions. Instead, make sure ~/.tmda/crypt_key is chmod 400 or 600 (or 640 if ALLOW_MODE_640 = 1). * An exception is no longer be raised if ~/.tmdarc or ~/.tmda/config is missing. However, a ~/.tmda/crypt_key file is required. * tmda-keygen now outputs an unquoted key instead of a CRYPT_KEY line. * Template variables dated_cookie_address and sender_cookie_address were replaced with dated_recipient_address and sender_recipient_address, which are based on the RECIPIENT address.
2002-07-23 22:05:47 +02:00
TMDA_PROGRAMS+= bin/tmda-ofmipd
TMDA_PROGRAMS+= bin/tmda-pending
TMDA_PROGRAMS+= bin/tmda-rfilter
TMDA_PROGRAMS+= bin/tmda-sendmail
TMDA_DOCS= COPYING
TMDA_DOCS+= CRYPTO
TMDA_DOCS+= ChangeLog
TMDA_DOCS+= INSTALL
TMDA_DOCS+= README
TMDA_DOCS+= THANKS
TMDA_DOCS+= UPGRADE
do-build:
cd ${WRKSRC}; ${PYTHONBIN} ./compileall
do-install:
Update to 0.58. Changes to the package itself: - Update MASTER_SITES and HOMEPAGE. - Change iterator variables to something other than "file" to placate pkglint. From the changelog: * 'keyword' addresses now use an identifying string like 'dated' and 'sender' addresses do. 'keyword' by default, and customizable via TAGS_KEYWORD. This means you'll need to generate new addresses using `tmda-address', as your old ones will no longer work. If you want your old keyword addresses to be accepted until you can transition to the new format, you can add entries for them in your FILTER_INCOMING. e.g, to jason-promos.8d06eu@mastaler.com ok to jason-stupid_promo.289j76@mastaler.com ok * RECIPIENT_DELIMITER is no longer allowed to be part of the keyword in a keyword address. `?' will be substituted for it when a new keyword address is created. * The format for a confirmation request address is now: RECIPIENT-confirm-TIMESTAMP.PID.HMAC, instead of RECIPIENT-confirm-accept.TIMESTAMP.PID.HMAC The new format is detailed in CRYPTO. Because of this change, it's recommended that you run tmda-pending to make sure your queue is free of legitimate messages, since the old confirmation addresses will no longer work. If you are unable to do this and need temporary backward compatibility with the old format, there is a patch against 0.56 available at: <URL:http://mla.libertine.org/tmda-users/200206/msg00193.html> * Confirmed messages are now reinjected to the original envelope recipient address (RECIPIENT) rather than to: RECIPIENT-confirm-done.TIMESTAMP.PID.HMAC See CRYPTO for more details. * TMDA now sends outgoing mail by handing it off to an SMTP server instead of the /usr/sbin/sendmail program. By default it will use the standard SMTP port (25) on the local host. You can modify this by setting the "SMTPHOST" variable in your tmdarc. See TMDA/Defaults.py for further information. * tmdarc variable SENDMAIL has been renamed SENDMAIL_PROGRAM, but is irrelevant unless OUTGOINGMAIL = "sendmail". * tmdarc variable PURGED_HEADERS now lists "Bcc:" and "Resent-Bcc" by default. If you define this variable in your tmdarc, be sure to add these two headers. * CRYPT_KEY should be removed from ~/.tmdarc or ~/.tmda/config. Your secret key is now read from CRYPT_KEY_FILE, which defaults to ~/.tmda/crypt_key. To make this conversion, move your existing CRYPT_KEY to ~/.tmda/crypt_key, but without the double-quotes. e.g, if CRYPT_KEY = "df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8" ~/.tmda/crypt_key should contain: df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8 * ~/.tmdarc and ~/.tmda/config are no longer checked for file permissions. Instead, make sure ~/.tmda/crypt_key is chmod 400 or 600 (or 640 if ALLOW_MODE_640 = 1). * An exception is no longer be raised if ~/.tmdarc or ~/.tmda/config is missing. However, a ~/.tmda/crypt_key file is required. * tmda-keygen now outputs an unquoted key instead of a CRYPT_KEY line. * Template variables dated_cookie_address and sender_cookie_address were replaced with dated_recipient_address and sender_recipient_address, which are based on the RECIPIENT address.
2002-07-23 22:05:47 +02:00
for f in ${TMDA_PROGRAMS}; do \
${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${PREFIX}/bin; \
done
${INSTALL_SCRIPT_DIR} ${PREFIX}/${PYSITELIB}/TMDA
${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${PREFIX}/${PYSITELIB}/TMDA
${INSTALL_DATA_DIR} ${PREFIX}/${SHAREDIR}
${INSTALL_DATA} ${WRKSRC}/templates/*.txt ${PREFIX}/${SHAREDIR}
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
Update to 0.58. Changes to the package itself: - Update MASTER_SITES and HOMEPAGE. - Change iterator variables to something other than "file" to placate pkglint. From the changelog: * 'keyword' addresses now use an identifying string like 'dated' and 'sender' addresses do. 'keyword' by default, and customizable via TAGS_KEYWORD. This means you'll need to generate new addresses using `tmda-address', as your old ones will no longer work. If you want your old keyword addresses to be accepted until you can transition to the new format, you can add entries for them in your FILTER_INCOMING. e.g, to jason-promos.8d06eu@mastaler.com ok to jason-stupid_promo.289j76@mastaler.com ok * RECIPIENT_DELIMITER is no longer allowed to be part of the keyword in a keyword address. `?' will be substituted for it when a new keyword address is created. * The format for a confirmation request address is now: RECIPIENT-confirm-TIMESTAMP.PID.HMAC, instead of RECIPIENT-confirm-accept.TIMESTAMP.PID.HMAC The new format is detailed in CRYPTO. Because of this change, it's recommended that you run tmda-pending to make sure your queue is free of legitimate messages, since the old confirmation addresses will no longer work. If you are unable to do this and need temporary backward compatibility with the old format, there is a patch against 0.56 available at: <URL:http://mla.libertine.org/tmda-users/200206/msg00193.html> * Confirmed messages are now reinjected to the original envelope recipient address (RECIPIENT) rather than to: RECIPIENT-confirm-done.TIMESTAMP.PID.HMAC See CRYPTO for more details. * TMDA now sends outgoing mail by handing it off to an SMTP server instead of the /usr/sbin/sendmail program. By default it will use the standard SMTP port (25) on the local host. You can modify this by setting the "SMTPHOST" variable in your tmdarc. See TMDA/Defaults.py for further information. * tmdarc variable SENDMAIL has been renamed SENDMAIL_PROGRAM, but is irrelevant unless OUTGOINGMAIL = "sendmail". * tmdarc variable PURGED_HEADERS now lists "Bcc:" and "Resent-Bcc" by default. If you define this variable in your tmdarc, be sure to add these two headers. * CRYPT_KEY should be removed from ~/.tmdarc or ~/.tmda/config. Your secret key is now read from CRYPT_KEY_FILE, which defaults to ~/.tmda/crypt_key. To make this conversion, move your existing CRYPT_KEY to ~/.tmda/crypt_key, but without the double-quotes. e.g, if CRYPT_KEY = "df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8" ~/.tmda/crypt_key should contain: df7a18a8d95f02ff94bf6463a8ec214cf20cb9e8 * ~/.tmdarc and ~/.tmda/config are no longer checked for file permissions. Instead, make sure ~/.tmda/crypt_key is chmod 400 or 600 (or 640 if ALLOW_MODE_640 = 1). * An exception is no longer be raised if ~/.tmdarc or ~/.tmda/config is missing. However, a ~/.tmda/crypt_key file is required. * tmda-keygen now outputs an unquoted key instead of a CRYPT_KEY line. * Template variables dated_cookie_address and sender_cookie_address were replaced with dated_recipient_address and sender_recipient_address, which are based on the RECIPIENT address.
2002-07-23 22:05:47 +02:00
for f in ${TMDA_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/${DOCDIR}; \
done
${INSTALL_DATA_DIR} ${PREFIX}/${CONTRIBDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/* ${PREFIX}/${CONTRIBDIR}
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/htdocs/*.html ${PREFIX}/${HTMLDIR}
.include "../../lang/python/extension.buildlink.mk"
.include "../../lang/python/application.buildlink.mk"
.include "../../mk/bsd.pkg.mk"