Remove GD perl modules from requirements as well as tje TTFONT configuration directive.

This commit is contained in:
Darold Gilles 2013-03-24 10:27:10 +01:00
parent 63b5c9421b
commit 70ce5aec46
5 changed files with 16 additions and 71 deletions

View file

@ -8,12 +8,8 @@ You need a modern perl distribution, and some Perl modules:
MIME::Base64;
MIME::QuotedPrint;
GD
GD::Graph
GD::Text
GD::Graph3d
and some useful libraries like libgd and libpng.
In modern Perl distribution those modules are already included.
Installation and usage instruction

View file

@ -253,11 +253,6 @@ POSTGREY_NAME postgrey
# to use utf-8 instead.
#HTML_CHARSET utf-8
# True type font to use in graphs. When using Bulgarian langage for example,
# GD::Graph is unable to draw Cyrillics font without true type font. You can
# also use it with other langage, this must be the full path to a ttf file.
#TTFONT /usr/share/fonts/truetype/msttcorefonts/arial.ttf
# Use this to set the recipient relay used for local delivery if your message
# appears twice in details view and in messaging, sender and recipient counter.
# This is especially right when with postfix configuraed to have local delivery

23
README
View file

@ -204,16 +204,13 @@ REQUIREMENT
MIME::Base64;
MIME::QuotedPrint;
GD
GD::Graph
GD::TextUtil
GD::Graph::bars3d;
The graph output are generated using the libgd and libpng. You can get
them at the following places:
Those modules are normaly already included in Perl core modules on
modern distributions.
http://www.libgd.org/
http://www.libpng.org/
The graph output is generated using the flotr2 javascript library so no
need to install additional library or package, you just need a modern
browser.
INSTALLATION
Generic install
@ -583,16 +580,6 @@ CONFIGURATION
Used to define the HTML charset to use. Default is iso-8859-1, but
with cyrillics character you have to use utf-8 instead.
TTFONT
True type font to use in graphs. When using Bulgarian langage for
example, GD::Graph is unable to draw Cyrillics font without a true
type font. You can also use it with other langage, this must be the
full path to the ttf file. For example:
TTFONT /usr/share/fonts/truetype/msttcorefonts/arial.ttf
to use Arial.
URL_LOGO
Url to the barorng image. Default: salogo.gif

View file

@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "SENDMAILANALYZER 1"
.TH SENDMAILANALYZER 1 "2013-03-22" "perl v5.14.2" "User Contributed Perl Documentation"
.TH SENDMAILANALYZER 1 "2013-03-24" "perl v5.14.2" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@ -319,22 +319,16 @@ version should also work.
You need the following Perl modules. If they are not yet include in your
\&\s-1OS\s0 distribution you can always find them at http://search.cpan.org/
.PP
.Vb 6
.Vb 2
\& MIME::Base64;
\& MIME::QuotedPrint;
\& GD
\& GD::Graph
\& GD::TextUtil
\& GD::Graph::bars3d;
.Ve
.PP
The graph output are generated using the libgd and libpng. You can get them
at the following places:
Those modules are normaly already included in Perl core modules on modern
distributions.
.PP
.Vb 2
\& http://www.libgd.org/
\& http://www.libpng.org/
.Ve
The graph output is generated using the flotr2 javascript library so no need
to install additional library or package, you just need a modern browser.
.SH "INSTALLATION"
.IX Header "INSTALLATION"
.SS "Generic install"
@ -726,18 +720,6 @@ is running. Default: lang/en_US.
.IX Item "HTML_CHARSET"
Used to define the \s-1HTML\s0 charset to use. Default is iso\-8859\-1, but with cyrillics
character you have to use utf\-8 instead.
.IP "\s-1TTFONT\s0" 4
.IX Item "TTFONT"
True type font to use in graphs. When using Bulgarian langage for example,
GD::Graph is unable to draw Cyrillics font without a true type font. You can
also use it with other langage, this must be the full path to the ttf file.
For example:
.Sp
.Vb 1
\& TTFONT /usr/share/fonts/truetype/msttcorefonts/arial.ttf
.Ve
.Sp
to use Arial.
.IP "\s-1URL_LOGO\s0" 4
.IX Item "URL_LOGO"
Url to the barorng image. Default: salogo.gif

View file

@ -315,16 +315,12 @@ OS distribution you can always find them at http://search.cpan.org/
MIME::Base64;
MIME::QuotedPrint;
GD
GD::Graph
GD::TextUtil
GD::Graph::bars3d;
The graph output are generated using the libgd and libpng. You can get them
at the following places:
Those modules are normaly already included in Perl core modules on modern
distributions.
http://www.libgd.org/
http://www.libpng.org/
The graph output is generated using the flotr2 javascript library so no need
to install additional library or package, you just need a modern browser.
=head1 INSTALLATION
@ -716,17 +712,6 @@ is running. Default: lang/en_US.
Used to define the HTML charset to use. Default is iso-8859-1, but with cyrillics
character you have to use utf-8 instead.
=item TTFONT
True type font to use in graphs. When using Bulgarian langage for example,
GD::Graph is unable to draw Cyrillics font without a true type font. You can
also use it with other langage, this must be the full path to the ttf file.
For example:
TTFONT /usr/share/fonts/truetype/msttcorefonts/arial.ttf
to use Arial.
=item URL_LOGO
Url to the barorng image. Default: salogo.gif