Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628214 - dev-ruby/recog-2.1.6 does not install all required files
Summary: dev-ruby/recog-2.1.6 does not install all required files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 18:49 UTC by Sebastian Hamann
Modified: 2017-08-20 16:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for dev-ruby/recog-2.1.6 that installs the "features" and "xml" subdirectories (recog-2.1.6.ebuild,785 bytes, text/plain)
2017-08-18 18:49 UTC, Sebastian Hamann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Hamann 2017-08-18 18:49:26 UTC
Created attachment 489538 [details]
ebuild for dev-ruby/recog-2.1.6 that installs the "features" and "xml" subdirectories

The current ebuild for dev-ruby/recog-2.1.6 does not install the "features" and "xml" subdirectories. These files are required, for instance, by net-analyzer/metasploit.
Other versions of recog may or may not have the same issue, I did not check them.

The attached ebuild installs the missing directories and files.
My knowledge in ebuilds and ruby is quite limited, so this may not be the best or even a complete solution. But it did run fine in my testing.
Comment 1 Hans de Graaff gentoo-dev Security 2017-08-19 07:11:18 UTC
(In reply to black from comment #0)

> The attached ebuild installs the missing directories and files.
> My knowledge in ebuilds and ruby is quite limited, so this may not be the
> best or even a complete solution. But it did run fine in my testing.

This is the correct approach. Are you sure that features are also required? Normally they would be for tests only and I would not expect them to be needed by other packages.

The xml files are referenced in the recog code itself, so this is clearly needed. I've added recog-2.1.6-r1 with the xml files installed.

Could you re-open this with additional information (e.g. backtrace or something similar) if features are still required as well?)
Comment 2 Sebastian Hamann 2017-08-20 16:54:42 UTC
(In reply to Hans de Graaff from comment #1)
> 
> This is the correct approach. Are you sure that features are also required?
> Normally they would be for tests only and I would not expect them to be
> needed by other packages.
> 
> Could you re-open this with additional information (e.g. backtrace or
> something similar) if features are still required as well?)

Thank you. I am indeed not sure, that features are needed.
Unfortunately, I can not recall, what part of metasploit complained about the missing files, so I can not reproduce it now.

I'll re-open as suggested if I have further issues.