diff options
author | bapt <bapt@FreeBSD.org> | 2011-01-02 22:01:24 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-01-02 22:01:24 +0800 |
commit | e602f8d2b0552f7ac8b0528b39ee6ed2feeceeaa (patch) | |
tree | f6bed7a33a4099c6ae61ae9d018ca9280ec2f8a9 /mail | |
parent | ef0ea729631455d2bfefcc2acd5cffe664843784 (diff) | |
download | freebsd-ports-gnome-e602f8d2b0552f7ac8b0528b39ee6ed2feeceeaa.tar.gz freebsd-ports-gnome-e602f8d2b0552f7ac8b0528b39ee6ed2feeceeaa.tar.zst freebsd-ports-gnome-e602f8d2b0552f7ac8b0528b39ee6ed2feeceeaa.zip |
- Fix alias file scanning
- submitter is now maintainer
Submitted by: bz (by mail)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dma/Makefile | 4 | ||||
-rw-r--r-- | mail/dma/files/patch-aliases_scan.l | 13 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/dma/Makefile b/mail/dma/Makefile index 2cbfb9b96fe2..43b6a5bd4be8 100644 --- a/mail/dma/Makefile +++ b/mail/dma/Makefile @@ -11,11 +11,11 @@ PORTNAME= dma # commit f54b5114efc65d0e31c7b612bd59cc1b7c8cd8dc PORTVERSION= 20101004 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= LOCAL/bz -MAINTAINER= bapt@FreeBSD.org +MAINTAINER= bz@FreeBSD.org COMMENT= DragonFly Mail Agent, a small MTA for local/outbound mail USE_BZIP2= yes diff --git a/mail/dma/files/patch-aliases_scan.l b/mail/dma/files/patch-aliases_scan.l index d6913f30b0ac..840e92cd41bc 100644 --- a/mail/dma/files/patch-aliases_scan.l +++ b/mail/dma/files/patch-aliases_scan.l @@ -1,5 +1,5 @@ --- ./aliases_scan.l.orig 2010-10-04 21:03:33.000000000 +0200 -+++ ./aliases_scan.l 2010-10-18 13:25:47.330077534 +0200 ++++ ./aliases_scan.l 2010-12-26 22:03:33.000000000 +0000 @@ -3,8 +3,6 @@ #include <string.h> #include "aliases_parse.h" @@ -9,3 +9,14 @@ int yylex(void); %} +@@ -13,9 +11,9 @@ int yylex(void); + + %% + ++^([[:blank:]]*(#.*)?\n)+ ;/* ignore empty lines */ + [^:,#[:space:][:cntrl:]]+ {yylval.ident = strdup(yytext); return T_IDENT;} + [:,\n] return yytext[0]; +-^([[:blank:]]*(#.*)?\n)+ ;/* ignore empty lines */ + (\n?[[:blank:]]+|#.*)+ ;/* ignore whitespace and continuation */ + \\\n ;/* ignore continuation. not allowed in comments */ + . return T_ERROR; |