Skip to content

Commit

Permalink
Test npcap
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Jul 10, 2024
1 parent 4de5fde commit 681fe9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
# limitations under the License.
#

name "winpcap-devpack"
default_version "4.1.2"
name ""
default_version "1.13"

version "4.1.2" do
source md5: "bae2236af062b0900ad1416b2c4878b9"
version "1.13" do
source md5: "2067b3975763ddf61d4114d28d9d6c9b"
end

dependency "ruby-windows"
dependency "ruby-windows-devkit"

relative_path "WpdPack"
relative_path "npcap-sdk"

source url: "https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip"
source url: "https://npcap.com/dist/npcap-sdk-#{version}.zip"

build do
ruby_api_version = "3.1.0"
Expand Down
5 changes: 2 additions & 3 deletions config/software/pcaprub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if windows?
dependency "ruby-windows"
dependency "ruby-windows-devkit"
dependency "winpcap-devpack"
dependency "npcap-sdk"
else
dependency "ruby"
dependency "libpcap"
Expand All @@ -33,8 +33,7 @@
env = with_standard_compiler_flags(with_embedded_path)
env['SSL_CERT_FILE'] = "#{install_dir}/embedded/ssl/cert.pem"

# We need to create the pcaprub gem ourselves until 0.13.2 is released (https://github.com/pcaprub/pcaprub/issues/67)
# Use version of pcaprub relative to the current directory
# Support a custom build of pcaprub relative to the current directory
local_pcaprub_checkout = File.expand_path(File.join(Dir.pwd, "..", "pcaprub"))
command "echo checking for path: #{local_pcaprub_checkout}", env: env
if File.exist?(local_pcaprub_checkout)
Expand Down
2 changes: 1 addition & 1 deletion local/cache
Submodule cache updated 1 files
+ npcap-sdk-1.13.zip

0 comments on commit 681fe9a

Please sign in to comment.