diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2004-03-30 06:18:49 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2004-03-30 06:18:49 +0000 |
commit | 1c7ffee3bf4bc1a7ee823315c7b943828330a788 (patch) | |
tree | 85ab172232679fb6708e0a793a8cc2e013a73d9b /mail/sqwebmail | |
parent | f8af35cf44b57c7e6dd2fadc2962a8c3e888aaf7 (diff) | |
download | ports-1c7ffee3bf4bc1a7ee823315c7b943828330a788.tar.gz ports-1c7ffee3bf4bc1a7ee823315c7b943828330a788.zip |
Notes
Diffstat (limited to 'mail/sqwebmail')
-rw-r--r-- | mail/sqwebmail/Makefile | 14 | ||||
-rw-r--r-- | mail/sqwebmail/files/patch-sqwebmail::newmsg_create.c | 11 |
2 files changed, 24 insertions, 1 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile index 1c0930ccee07..243e65f3ee70 100644 --- a/mail/sqwebmail/Makefile +++ b/mail/sqwebmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= sqwebmail PORTVERSION= 4.0.2 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier @@ -54,6 +54,10 @@ IMAGEURL?= ${WEBDATASUBDIR} # set WITH_MAXMSGSIZE to max size of messages (including attachments) # set WITH_MAXARGSIZE to max size of a text message (excluding attachments) # set WITH_MAXFORMARGSIZE to max size of attachments +# +# set WITH_CHARSET=chset,chset,... to enable charsets. +# Set it to "all" will enable all unicode charset mappings. +# For available charsets just type "iconv -l" CACHEDIR?= /var/sqwebmail/cache CACHEOWNER?= bin @@ -184,6 +188,14 @@ CONFIGURE_ARGS+= --with-maxargsize=${WITH_MAXARGSIZE} CONFIGURE_ARGS+= --with-maxformargsize=${WITH_MAXFORMARGSIZE} .endif +.if defined(WITH_CHARSET) +.if ${WITH_CHARSET:U} == ALL +CONFIGURE_ARGS+= --enable-unicode +.else +CONFIGURE_ARGS+= --enable-unicode=${WITH_CHARSET} +.endif +.endif + MAN1= maildirmake.1 MAN7= authlib.7 MAN8= deliverquota.8 makeuserdb.8 userdb.8 userdbpw.8 diff --git a/mail/sqwebmail/files/patch-sqwebmail::newmsg_create.c b/mail/sqwebmail/files/patch-sqwebmail::newmsg_create.c new file mode 100644 index 000000000000..dd077c618a27 --- /dev/null +++ b/mail/sqwebmail/files/patch-sqwebmail::newmsg_create.c @@ -0,0 +1,11 @@ +--- sqwebmail/newmsg_create.c.orig Mon Mar 29 21:07:15 2004 ++++ sqwebmail/newmsg_create.c Mon Mar 29 21:07:41 2004 +@@ -628,7 +628,7 @@ + { + struct lookup_buffers *lookup_buffer_list=0; + int rc; +-char *s=strdup(value); ++char *s=rfc2047_decode_simple(value); + + if (!s) enomem(); + rc=lookup_addressbook_do(header, s, &lookup_buffer_list); |