Bug#254000: MLDonkey patch for syslog

2006-07-23 Thread spiral voice

Hi,

not all platforms MLDonkey is working on provide a
syslog-ocaml package. I do not have experience
including 3rd-party cmx/cmxa files while linking
MLDonkey core so I appreciate patches.

But syslog.ml is not really a big file so including
it in MLDonkey is easier than coding the optional
compile of it or its linking. I know this contradicts
Debian (and other distros) package management
philosophy, but in this case I do not care that much
for a file sized 7500 byte;-)

There are already other 3rd-party libs present in
MLDonkey sourcecode, like camlzip (incl. bzip2),
ocamlrss, xml-light, CryptoPP which would require
the same treatment. If its really important to use
existing Debian packages this should be done
in a broader way which works on many distros,
including the packages mentioned above.
This topic is very low on my personal to-do list.

Including 3rd-party libs reduces the management
efforts to provide compiling/working sourcecode
because its proven code, which in the case of
ocamlrss, CryptoPP and camlzip also includes
special modifications for use in MLDonkey.

BTW: I posted a bug report for libsyslog-ocaml-dev
because a new upstream version is available.

Greetings, spiralvoice




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#254000: MLDonkey patch for syslog

2006-07-23 Thread Eric Cooper
Hi, I saw your email about syslog support for mldonkey and noticed
that you included the syslog.ml source files.  Is there a reason why
you can't build-depend on the existing libsyslog-ocaml-dev library?
(I'm the maintainer, so I'm interested in making it as generally
useful as possible.)

Cheers,
Eric

-- 
Eric Cooper e c c @ c m u . e d u


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#254000: MLDonkey patch for syslog

2006-07-23 Thread spiral voice

Hi,

there is a new patch for MLDonkey CVS:
https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=5260

This patch
https://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=5258
is also needed if applied for vanilla 2.7.7

With these patches MLDonkey core can log directly to syslog:
New option log_to_syslog, default false
"Post log messages to syslog. This setting is independent of log_file and 
its associated commands, therefore close_log does not stop log to syslog. 
Its therefore possible to log to syslog and log_file at the same time."


Greetings, spiralvoice




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]