[Lunar Linux 0000375]: Bash code logic in DEPENDS files

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Wed Dec 17 00:43:00 GMT 2003


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000375
=======================================================================
Reporter:                   elaine
Handler:                    nhudson
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000375
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2003-09-22 14:10 GMT
Last Modified:              2003-12-17 00:43 GMT
=======================================================================
Summary:                    Bash code logic in DEPENDS files
Description: 
The moonbase contains a few modules which use program logic 
or external commands in the DEPENDS files.

While this works, it creates substantial problems with 
automating dependency analysis or reading the dependency
data with anything but bash.

An example:  security/nessus/DEPENDS   
depends  nmap    &&
depends  openssl &&
depends  wget    &&
if  grep  -q  "enable-gtk"  $MODULE_CONFIG;  then
  depends gtk+

Preferred fix:

keep all program logic in the CONFIGURE scripts and restrict DEPENDS files
to depends, optional_depends statements.
=======================================================================

-----------------------------------------------------------------------
 nhudson - 2003-10-15 03:49 GMT 
-----------------------------------------------------------------------
Ok I have been working on this, totem has been fixed.  I removed the login
in the DEPENDS file.  Also I am working on mozilla atm.  With the new moz
version 1.4.1 I took out all login in the DEPENDS file.  It will build by
default with gtk2 and xft support along with a few others.  Although for
now there is some login in the other files like in the BUILD, and
CONFIGURE file.  I hope this is ok and if I understood everything
correctly we were just taking it out of the DEPENDS file right?  Let me
know if I need to take out all other logic in the mozilla module.

-----------------------------------------------------------------------
 nhudson - 2003-10-16 03:19 GMT 
-----------------------------------------------------------------------
We can mark off docbook-profile now to so that now leaves 2 modules. 
Nessus and useful-profile.  I dont know how to handle the useful-profile. 
I can just put something in and allow the admin no choice what he wants to
install.  For instance it has a option of either metalog or sysklogd to
install.  Both modules conflicts with each other.  We can have on or the
other in the DEPENDS file.  

As far as nessus goes I dont have that installed atm but I will see what I
can do with it later unless someone wants to test it beofr I do.

-----------------------------------------------------------------------
 sofar - 2003-12-17 00:43 GMT 
-----------------------------------------------------------------------
status?



More information about the Lunar-bugs mailing list