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

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Mon Sep 22 14:10:07 GMT 2003


The following NEW bug has been ADDED.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=375
=======================================================================
Reporter:                   elaine
Handler:                    
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000375
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2003-09-22 14:10 GMT
Last Modified:              2003-09-22 14:10 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.
=======================================================================



More information about the Lunar-bugs mailing list