FOSSology Packages

FOSSology v2.0+ package definition

1. Packages structure:

  • fossology: only from single-system, the default install package, when run .apt-get install/yum install fossology. to install from this package; this package didn.t install anything except the documentation; it need to call other sub packages:

fossology-common
fossology-db
fossology-web
fossology-scheduler
fossology-ununpack
fossology-copyright
fossology-nomos
fossology-buckets
fossology-pkgagent
fossology-delagent
fossology-mimetype
fossology-wgetagent

  • fossology-common: common files of fossology source; will install

etc/cron.d/fossology
etc/fossology/Db.conf
etc/fossology/VERSION
etc/fossology/fossology.conf
etc/fossology/mods-enabled
etc/fossology/sampleheader.txt
etc/fossology/samplefooter.txt
usr/bin/cp2foss
usr/bin/fossjobs
usr/bin/fosslic
usr/include/libfossology.h
usr/lib/fossology/*
usr/share/fossology
usr/share/fossology/cli/*
usr/share/fossology/lib/php/*

  • fossology-web: web interface; will install

etc/fossology/mods-enabled/www --- link to /usr/share/fossology/www/
usr/share/fossology/www/ui/*

  • fossology-db: database stuff; will install database stuff in /usr/lib/fossology/* and create fossology database
  • fossology-scheduler: scheduler packages; will install

etc/fossology/mods-enabled/scheduler --- link to /usr/share/fossology/scheduler/
etc/init.d/fossology
usr/share/fossology/scheduler/agent/fo_cli
usr/share/fossology/scheduler/agent/fo_scheduler

  • fossology-ununpack: ununpack and adj2nest agent

etc/fossology/mods-enabled/adj2nest --- link to /usr/share/fossology/adj2nest/
etc/fossology/mods-enabled/ununpack --- link to /usr/share/fossology/ununpack/
usr/share/fossology/adj2nest/*
usr/share/fossology/ununpack/*

  • fossology-wgetagent: wget _agent

etc/fossology/mods-enabled/wget_agent --- link to /usr/share/fossology/wget_agent/
usr/share/fossology/wget_agent/*

  • fossology-nomos: nomos agent

etc/fossology/mods-enabled/nomos --- link to /usr/share/fossology/nomos/
usr/share/fossology/nomos/*

  • fossology-copyright: copyright agent

etc/fossology/mods-enabled/copyright --- link to /usr/share/fossology/copyright/
usr/share/fossology/copyright/*

  • fossology-pkgagent: pkgagent

etc/fossology/mods-enabled/pkgagent --- link to /usr/share/fossology/pkgagent/
usr/share/fossology/pkgagent/*

  • fossology-buckets: buckets agent

etc/fossology/mods-enabled/buckets --- link to /usr/share/fossology/buckets/
usr/share/fossology/buckets/*

  • * fossology-mimetype*: mimetype agent

etc/fossology/mods-enabled/mimetype --- link to /usr/share/fossology/mimetype/
usr/share/fossology/mimetype/*

  • fossology-delagent: delagent

etc/fossology/mods-enabled/delagent --- link to /usr/share/fossology/delagent/
usr/share/fossology/delagent/*

2. In the single-system:

  • default to install all the components, using following process: fossology-common, fossology-db, fossology-web --> fossology-scheduler, fossology-ununpack, fossology-wgetagent, fossology-nomos, fossology-copyright, fossology-pkgagent, fossology-buckets, fossology-mimetype, fossology-delagent --> fossology

3. In the multi-system:

  • On db: fossology-db
  • On agent servers : fossology-common and fossology-* (agent modules package)
  • On web: fossology-common and fossology-web
  • On scheduler: fossology-common and fossology-scheduler

FAQ:

The single-system package 'fossology' will install which components?

Answer: All packages except bSAM will be installed.

In which package(s) should fo-postinstall script run? OR, do we run fo-postinstall for each module package?

Answer: Each package will call fo-postinstall with an option to install that package.

Do we change the apache and postgresql configuration during a package install?

Answer: We don't change apache and postgresql configuration. We only add new conf files for fossology.

Do we create a separate bsam package?

Answer: yes. It will be available from fossology.org & sourceforge.