Well, almost.

I want all packages installed though debian to speed up and automate
the process. Unfortunately qmail-scanner 1.15 makes this harder than
necessary due to its eschewing of config files with install-time
modification of the source code.

My patch is a hack, no doubt about that. I did the minimum necessary
to build a debian package from the original distribution. However I
think some of my changes should go into the next release, as they
are in line with the author's TODO which says:
"rewrite install script more like configure/make works".

My changes:

 * Include all provided subs into the main script. It's really
 no issue to have them all available in the script, and it simplifies
 the configuration process. When you package stuff up in debian you
 really want it to be able to run in a variety of environments and
 so the less the code has to be modified before it works, the better

 * "configure" is still there but it combines the substitutions for
 the sub-*.template files (now no longer required) and the '%%' to '$'
 hack into the big perl-using substitution command

 * There's a Makefile which can do "make install" to create the
 needed directories and copy the script into /usr/sbin (or in the
 case of a debian-install, $DESTDIR/usr/sbin)

 * The '%%' to '$' hack seemed to be broken. I think it is fixed now

 * Add the debian packaging control files

 * "configure" without install can be done as a non-root user now.

Still todo:

 * Add a config file to be looked-up at runtime which specifies the
 installed virus scanners and their paths

 * Messages to be loaded (and their $ variables substituted) at
 runtime

 * Spend the time to tidy it all up from a debian packaging point of
 view (e.g. allow interactive configuration using debconf at
 install time)

I don't have time to do any further work on this package; I'm hoping
somebody else can pick up where I left off. Please send me an email
if you would like a copy of my diffs.

Nick.
-- 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to