Jean Charles Delepine wrote:
"Stefan Hornburg (Racke)" <[EMAIL PROTECTED]> écrivait (wrote) :

Right and sorry, I'll fix that.

Thats not the only problems with your package.

 * wwsympa will not start :
     ## Check effective ID
     unless ($> eq (getpwnam('--USER--'))[2]) {
         &report::reject_report_web('intern_quiet','incorrect_server_config',{},
'','');
         &wwslog('err','Config error: wwsympa should run with UID %s (instead of
 %s)', (getpwnam('--USER--'))[2], $>);
     }
In your package --USER-- is root. But wwsympa will, correctly start as sympa.
    see sympa-5.2.3-0.7/debian/patch/01_owner-vs-user.dpatch
    and my debian rules for a solution.
 * no soap
   + same problem as wwsympa if the admin manage to start it
   see my package for a solution
* if the user choose mysql and ask not to give root password as suggested your package will fail. See my package for something wich works as stated.
   You will also need 05_default_database_none.dpatch and my debian/config
   test:/home/delepine# mysql mysql </dev/null
   test:/home/delepine# echo $?
   0
   test:/home/delepine# perl -e 'use DBI; $dsn = "DBI:mysql:database=mysql"; if ($dbh = 
DBI->connect($dsn, "root","")) {exit 0;} else {exit 1;}' </dev/null 2>/dev/null;
   test:/home/delepine# echo $?
   1

 * debian/config is craps. Please use diff and see my changes.
   Extract: if [ "db_hostname" = "localhost" ]; then
 * you will create arc and bounce dir in /usr/lib/sympa
    06_dont_create_arc_and_bounce.dpatch

OK, i fixed that in my source tree by just removing these directories in the 
install target.
If possible, I would like to avoid doing automake/autoconf in package builds.

Bye
        Racke

--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



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

Reply via email to