diff options
author | garga <garga@FreeBSD.org> | 2008-11-26 02:14:54 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2008-11-26 02:14:54 +0800 |
commit | bc7dc1c1ecb4306226d7a182c7a9d5ef81cf1215 (patch) | |
tree | d352ecc6aca7b6588ee2bcd19a0f8e0a377aa7d0 | |
parent | df542c73699eb97d6c80ed69bcf9e775abbae461 (diff) | |
download | freebsd-ports-gnome-bc7dc1c1ecb4306226d7a182c7a9d5ef81cf1215.tar.gz freebsd-ports-gnome-bc7dc1c1ecb4306226d7a182c7a9d5ef81cf1215.tar.zst freebsd-ports-gnome-bc7dc1c1ecb4306226d7a182c7a9d5ef81cf1215.zip |
- Add qmail-custom-error, a new patch for qmail-ldap port, off by default. It
permits you to set custom error messages for rejected messages.
Sugested by: jmelo
Tested by: jmelo
-rw-r--r-- | mail/qmail/Makefile | 13 | ||||
-rw-r--r-- | mail/qmail/distinfo | 3 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index 119d782ecc13..8062ed922775 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -58,6 +58,10 @@ BARRIER_RFC2821_PATCH= yes BARRIER_TARPIT_PATCH= yes .endif +.if !defined(SLAVE_LDAP) +BARRIER_CUSTOM_ERROR_PATCH= yes +.endif + PATCH_DIST_STRIP+= -p1 .if !defined(BARRIER_DNS_PATCH) @@ -184,6 +188,10 @@ OPTIONS+= RELAYMAILFROM "Open relay based on mailfrom" off \ OPTIONS+= QEXTRA "enable QUEUE_EXTRA copy feature" off +.if !defined(BARRIER_CUSTOM_ERROR_PATCH) +OPTIONS+= CUSTOM_ERROR "Add custom reject error message" off +.endif + .if !defined(SLAVE_LDAP) OPTIONS+= RCDLINK "create rc.d/qmail.sh symlink" on .endif @@ -475,6 +483,11 @@ DISTFILES+= ${SMTPEXTFORK_PATCH:S/$/:extfork/} \ README.smtpextfork:extfork .endif +.if defined(WITH_CUSTOM_ERROR) && !defined(BARRIER_CUSTOM_ERROR_PATCH) +PATCH_SITES+= ${MASTER_SITE_GENTOO:S/$/distfiles\/:custom_error/} +PATCHFILES+= qmail-ldap-1.03-queue-custom-error.patch:custom_error +.endif + # Some default values, these can be modified by make command line .if defined(WITH_BIG_CONCURRENCY_PATCH) && !defined(BARRIER_BIG_CONCURRENCY_PATCH) WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT?= 509 diff --git a/mail/qmail/distinfo b/mail/qmail/distinfo index 8fe155ef0988..20c4859aa6c9 100644 --- a/mail/qmail/distinfo +++ b/mail/qmail/distinfo @@ -104,3 +104,6 @@ SIZE (qmail/smtpextfork-spamcontrol-2418_1.patch) = 7609 MD5 (qmail/README.smtpextfork) = e783965f5a7510c38b30f0ba3cda1e11 SHA256 (qmail/README.smtpextfork) = c43122d27d4e20dd955c30ca402903d2e9a6a1820c3cf11902e2477316abdcbb SIZE (qmail/README.smtpextfork) = 7618 +MD5 (qmail/qmail-ldap-1.03-queue-custom-error.patch) = c584cc3f14e92dbaa4d86333c7eb8efc +SHA256 (qmail/qmail-ldap-1.03-queue-custom-error.patch) = 77536616109591ef5f4bc0f309879167a14b3d6ce4778ff3f2dcaee9a424c25a +SIZE (qmail/qmail-ldap-1.03-queue-custom-error.patch) = 2472 |