Fix-mime-charset automatically detects character sets of email message and
modifies the Content-Type header appropriately. It can be used as mail
filter in mailing lists where users often set the charset of their messages
incorrectly. It processes messages fast and accurately, ignoring
attachments, and correctly interprets transfer-encodings. None but the
Content-Type header is changed.
===> The following configuration options are available for fix-mime-charset-0.5.3_3:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
converters: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Keda <admin@lissyara.su>
* Alex Semenyaka <alex@rinet.ru>
* Alexandr Kovalenko <never@nevermind.kiev.ua>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrey A. Chernov <ache@FreeBSD.org>
* Anton Berezin <tobez@FreeBSD.org>
* Blaz Zupan <blaz@amis.net>
* Brent J. Nordquist <bjn@visi.com>
* Carlos J. Puga Medina <cpm@fbsd.es>
(Only the first 15 lines of the commit message are shown above )
converters/fix-mime-charset: unbreak with libc++ 3.9
./argp-local.h:69:7: error: cannot initialize a variable of type 'char *' with
an rvalue of type 'const char *'
char *p=strrchr(arg,'/');
^ ~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
Add <cstring> and/or <cstdlib> to support modern gcc
Four of these five patches should have been part of the previous
commit but I didn't notice them. The ampasCTL pach is to fix a
regression that I introduced by removing part of the post-patch
target.
Approved by: gcc5 support blanket
- Switch converters/enca to USES=libtool, drop .la files
- Add LICENSE_FILE
- Bump dependent ports as .so version has changed
Approved by: portmgr blanket
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
New port: converters/fix-mime-charset - Fix incorrect Content-Type
MIME headers of e-mail messages
Categories: converters textproc russian ukrainian
Fix-mime-charset automatically detects character sets of
email message and modifies the Content-Type header
appropriately. It can be used as mail filter in mailing
lists where users often set the charset of their messages
incorrectly. It processes messages fast and accurately,
ignoring attachments, and correctly interprets transfer-encodings.
None but the Content-Type header is changed.
PR: ports/61050
Submitted by: Nosov Artem <chip-set@mail.ru>