Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367375

Summary: net-analyzer/ndoutils-1.4_beta9: "db/" directory from source code is not installed to system
Product: Gentoo Linux Reporter: Alexandr Tiurin <alexanderyt>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: minor CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexandr Tiurin 2011-05-15 13:44:07 UTC
A db/ source directory  contain any scripts for create mysql databases.  


Reproducible: Always

Steps to Reproduce:
1. emerge ndoutils

Actual Results:  
equery f ndoutils

/etc
/etc/init.d
/etc/init.d/ndo2db
/etc/nagios
/etc/nagios/ndo2db.cfg-sample
/etc/nagios/ndomod.cfg-sample
/usr
/usr/bin
/usr/bin/file2sock
/usr/bin/log2ndo
/usr/bin/ndo2db
/usr/bin/ndomod.o
/usr/bin/sockdebug
/usr/share
/usr/share/doc
/usr/share/doc/ndoutils-1.4_beta9
/usr/share/doc/ndoutils-1.4_beta9/Changelog.bz2
/usr/share/doc/ndoutils-1.4_beta9/NDOUTILS DB Model.pdf
/usr/share/doc/ndoutils-1.4_beta9/NDOUtils Documentation.pdf
/usr/share/doc/ndoutils-1.4_beta9/README.bz2
/usr/share/doc/ndoutils-1.4_beta9/REQUIREMENTS.bz2
/usr/share/doc/ndoutils-1.4_beta9/TODO.bz2
/usr/share/doc/ndoutils-1.4_beta9/UPGRADING.bz2




Expected Results:  
/etc
/etc/init.d
/etc/init.d/ndo2db
/etc/nagios
/etc/nagios/ndo2db.cfg-sample
/etc/nagios/ndomod.cfg-sample
/usr
/usr/bin
/usr/bin/file2sock
/usr/bin/log2ndo
/usr/bin/ndo2db
/usr/bin/ndomod.o
/usr/bin/sockdebug
/usr/share
/usr/share/doc
/usr/share/doc/ndoutils-1.4_beta9
/usr/share/doc/ndoutils-1.4_beta9/Changelog.bz2
/usr/share/doc/ndoutils-1.4_beta9/NDOUTILS DB Model.pdf
/usr/share/doc/ndoutils-1.4_beta9/NDOUtils Documentation.pdf
/usr/share/doc/ndoutils-1.4_beta9/README.bz2
/usr/share/doc/ndoutils-1.4_beta9/REQUIREMENTS.bz2
/usr/share/doc/ndoutils-1.4_beta9/TODO.bz2
/usr/share/doc/ndoutils-1.4_beta9/UPGRADING.bz2
===
/usr/share/nagios/db/
/usr/share/nagios/db/installdb 
and any more.
Comment 1 Michael Orlitzky gentoo-dev 2020-10-08 16:19:53 UTC
I'm not sure when exactly, but I fixed this a long time ago. From the ebuild:

    insinto "/usr/share/${PN}"
    doins -r db

    # These need to be executable...                                            
    exeinto "/usr/share/${PN}/db"
    doexe db/{installdb,prepsql,upgradedb}