mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
Depend on metasloit-framework in optional gemspecs
MSP-11578 Optional gemspecs should depend on the minimal metasploit-framework because they don't work without metasploit-framework's code.
This commit is contained in:
parent
9137bd6527
commit
63b4c0beba
@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
|
||||
spec.add_runtime_dependency 'metasploit-credential', '~> 0.12.0'
|
||||
# Database models shared between framework and Pro.
|
||||
spec.add_runtime_dependency 'metasploit_data_models', '~> 0.21.1'
|
||||
# depend on metasploit-framewrok as the optional gems are useless with the actual code
|
||||
spec.add_runtime_dependency 'metasploit-framework', "= #{spec.version}"
|
||||
# Needed for module caching in Mdm::ModuleDetails
|
||||
spec.add_runtime_dependency 'pg', '>= 0.11'
|
||||
|
@ -26,7 +26,9 @@ Gem::Specification.new do |spec|
|
||||
# no files, just dependencies
|
||||
spec.files = []
|
||||
|
||||
# depend on metasploit-framewrok as the optional gems are useless with the actual code
|
||||
spec.add_runtime_dependency 'metasploit-framework', "= #{spec.version}"
|
||||
# get list of network interfaces, like eth* from OS.
|
||||
spec.add_runtime_dependency 'network_interface', '~> 0.0.1'
|
||||
# For sniffer and raw socket modules
|
||||
spec.add_runtime_dependency 'pcaprub'
|
||||
|
Loading…
Reference in New Issue
Block a user