Splitting $base

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Splitting $base

Jose Miguel Parrella Romero
Greetings,

My name is Jose Parrella, and I'm packaging ASSP for the Debian Free
Software Distribution. I've been using ASSP in commercial clients in
Venezuela since January with a high success rate, and lots of interest
in having an ASSP package. One of the big show stoppers for a Debian
package of ASSP is the way it handles the paths for files. I'm aware of
a previous thread about this in [1], which I would like to address again.

Is it feasible to split $base in several variables? I have started to do
some work towards it, but I'm afraid that the work could collide, or
even worst, that my work might break the situation for Windows users (I
really don't expect that, though)

Several issues need to be revised in order to provide some structure to
the way ASSP handles paths. One easy patch is to substitute all images/
links with, say, /usr/share/assp/images. You can do this easily using a
variable expansion and search and replace.

Some of the paths can be specified in the configuration file, for
example the maillog.txt path, and the paths for redre.txt and
nodelay.txt, as well as the paths for the spamdb, and the errors/
folder. This ease up a little bit the issue, but forces the maintainer
to provide an assp.cfg file, since newer versions of ASSP don't provide
a separate assp.cfg.

Another issue arises regarding the mkdir calls, which needs to be
wrapped inside a "if it doesn't exists", thus avoiding failures, and
also needs some sanity controls before proceeding, in order to avoid the
creation of directories in random directories. rebuildspamdb.pl also
needs to get this changes.

assp.pl also needs to be transformed from DOS to Unix format in order to
be invoked by the start-stop-daemon in Debian through an init.d script.
I'll be working on all of these issues trying to be the less intrusive
possible, and I'll provide patches when all the changes work in a sane
way. But I would like feedback on this issue, specially if someone's
already working on that, or if I'm missing an obvious solution, or if
this involves a design decision.

Thank you all very much for making ASSP a great software, and have a
nice day.

[1]
http://sourceforge.net/mailarchive/forum.php?thread_id=7252241&forum_id=39228

--
José M. Parrella -> Debian Sid, k2.6.17.13
Escuela de Ingenieria Electrica
Universidad Central de Venezuela -> ucvlug.info

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel
Reply | Threaded
Open this post in threaded view
|

Re: Splitting $base

Fritz Borgstedt
[hidden email] schreibt:
>This ease up a little bit the issue, but forces the maintainer
>to provide an assp.cfg file, since newer versions of ASSP don't
>provide
>a separate assp.cfg.

what do you mean with that?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel
Reply | Threaded
Open this post in threaded view
|

Re: Splitting $base

Fritz Borgstedt
In reply to this post by Jose Miguel Parrella Romero
[hidden email] schreibt:
>assp.pl also needs to be transformed from DOS to Unix format in order
>to
>be invoked by the start-stop-daemon in Debian through an init.d
>script.
>I'll be working on all of these issues trying to be the less intrusive
>possible, and I'll provide patches when all the changes work in a sane
>way. But I would like feedback on this issue, specially if someone's
>already working on that, or if I'm missing an obvious solution, or if
>this involves a design decision.

I am little confused what you are writing. assp.pl *is* already in
Unix format.

If you want to make changes , you are welcome.

Take the last version at
http://www.magicvillage.de/~Fritz_Borgstedt/assp/05908906-000F4555?WasRead=1

make the modifications and send the modified version to me.

fritz


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel
Reply | Threaded
Open this post in threaded view
|

Re: Splitting $base

michelinux (Bugzilla)
> I am little confused what you are writing. assp.pl *is* already in
> Unix format.

The 1.2.5 release at sourceforge has windows end of line (\r\n) not unix (\n).

Versions at http://www.iworld.de/homes/fb/ASSP/ have unix end of line.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel