[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] report on .rpm build of v2.0b8_ma7.6pre



Volker Apelt <volker_apelt@xxxxxxxx> writes:

> I'd like to share my experiences with 
> rpm builds and leafnode v2.x. 
> 
> Currently it fails for several reasons, if build as 
> normal users and/or root. 

Hum. *shrug* I wonder if I should fix this NOW, as I'm going to switch
to automake, and most of the chown stuff is nonsense anyway.

> 1) There is no README File, it is called README.html 
>    despite what the .spec says. 
>    So, the spec line about documentation will fail
>    even as root. I had to remove README fom %doc 

README should be built, but this will only be fixed after the automake
transition.

> 3) Because I'm building this on a SuSE system (7.2 & 7.1) 
>    some file path are different. 
>    eg:  man pages and docs are expected under /usr/share/
> 
>    If you don't set MANDIR to /usr/share/man, brp-compress
>    will hang and  rpm will not create the package files
>    because it can not find the man directories!   

Wee. brp-compress is no longer used on SuSE 7.3. If I hate something
about RPM, it's

1- bad and incomplete documentation of RPM itself
2- zilch documentation of RPM macros that vendors add.

> In addition to the rpm fixes, I changed the behavior of error
> output during initvars(progname).  
> 
> This was neccessary to have an error log on failed uid changes 
> in leafnode when it is started as server from tcpd.

How can that happen? Misconfiguration of inetd.conf?

> The required changes against v2.0b8_ma7.6pre  
> are in this patch.

Halfway. ln_log already logs to stderr, so the fprintf can be thrown
out. Thanks a lot for the patch.

-- 
Matthias Andree

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."         Benjamin Franklin

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list