[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:23:01 GMT 2003


The following bug has been ASSIGNED.
=======================================================================
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-09-22 14:23 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