diff options
author | sergei <sergei@FreeBSD.org> | 2005-10-26 01:41:47 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2005-10-26 01:41:47 +0800 |
commit | 5f5b5ae30db5f50dd13e7f1d602fafd0cf322b2d (patch) | |
tree | 5cd7522ecc0dc8e4810857c4273f165a2ce33347 /mail | |
parent | 5ff459984f2c38959daa45d51fb6c0375ff09587 (diff) | |
download | freebsd-ports-gnome-5f5b5ae30db5f50dd13e7f1d602fafd0cf322b2d.tar.gz freebsd-ports-gnome-5f5b5ae30db5f50dd13e7f1d602fafd0cf322b2d.tar.zst freebsd-ports-gnome-5f5b5ae30db5f50dd13e7f1d602fafd0cf322b2d.zip |
- Update to 0.97
- Introduce OPTIONS: WITH_DW_AUTH - include Dale Woolridge's experimental
auth patch [1]
Submitted by: Dale Woolridge (via e-mail)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailfront/Makefile | 12 | ||||
-rw-r--r-- | mail/mailfront/distinfo | 8 | ||||
-rw-r--r-- | mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth | 21 | ||||
-rw-r--r-- | mail/mailfront/pkg-plist | 1 |
4 files changed, 35 insertions, 7 deletions
diff --git a/mail/mailfront/Makefile b/mail/mailfront/Makefile index 7869fed753ab..fd76c497a626 100644 --- a/mail/mailfront/Makefile +++ b/mail/mailfront/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mailfront -PORTVERSION= 0.96 +PORTVERSION= 0.97 CATEGORIES= mail MASTER_SITES= http://untroubled.org/${PORTNAME}/ @@ -28,6 +28,14 @@ CVM_LIB= ${LOCALBASE}/lib DOCS= NEWS README TODO *.html +OPTIONS= DW_AUTH "Include Dale Woolridge's auth patch" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_DW_AUTH) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mailfront-0.92-dw-auth +.endif + do-configure: ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc @@ -42,4 +50,4 @@ post-install: cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/mailfront/distinfo b/mail/mailfront/distinfo index 2d2f2cd4724c..cb43c81ff5c3 100644 --- a/mail/mailfront/distinfo +++ b/mail/mailfront/distinfo @@ -1,4 +1,4 @@ -MD5 (mailfront-0.96.tar.gz) = f084f00f58be10c95c7e8062777da7db -SIZE (mailfront-0.96.tar.gz) = 72002 -MD5 (mailfront-0.96.tar.gz.sig) = 6c97a09e2f1495b6c843cee1800282d1 -SIZE (mailfront-0.96.tar.gz.sig) = 189 +MD5 (mailfront-0.97.tar.gz) = 02d490bbe87258c68278f1aae7747551 +SIZE (mailfront-0.97.tar.gz) = 72245 +MD5 (mailfront-0.97.tar.gz.sig) = 5ac8adb12a40dba7f1d45484a106454e +SIZE (mailfront-0.97.tar.gz.sig) = 189 diff --git a/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth b/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth new file mode 100644 index 000000000000..90126b819f02 --- /dev/null +++ b/mail/mailfront/files/extra-patch-mailfront-0.92-dw-auth @@ -0,0 +1,21 @@ +Index: mailrules.c +=================================================================== +--- mailrules.c (revision 326) ++++ mailrules.c (working copy) +@@ -296,7 +296,7 @@ + struct rule* r; + unsigned long databytes; + +- if (*l != 'k' && *l != 'd' && *l != 'z' && *l != 'p' && *l != 'n') return 0; ++ if (*l != 'k' && *l != 'd' && *l != 'z' && *l != 'p' && *l != 'n' && *l != 'a') return 0; + r = alloc_rule(); + r->code = *l++; + +@@ -423,6 +423,7 @@ + case 'k': code = 250; defmsg = "OK"; break; + case 'd': code = 553; defmsg = "Rejected"; break; + case 'z': code = 451; defmsg = "Deferred"; break; ++ case 'a': code = 553; defmsg = "Authenticate first"; if (authenticated) return 0; break; + default: code = 451; defmsg = "Temporary failure"; break; + } + diff --git a/mail/mailfront/pkg-plist b/mail/mailfront/pkg-plist index 2dc1f9feb0d1..c91dbf70af86 100644 --- a/mail/mailfront/pkg-plist +++ b/mail/mailfront/pkg-plist @@ -12,7 +12,6 @@ bin/smtpfront-reject %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/cvm-sasl.html %%PORTDOCS%%%%DOCSDIR%%/imapfront.html %%PORTDOCS%%%%DOCSDIR%%/mailfront.html %%PORTDOCS%%%%DOCSDIR%%/mailrules.html |