Commit 53784cf4 authored by Casey Strouse's avatar Casey Strouse

Add tcpdump (4.8.1) package

Tcpdump prints out a description of the contents of packets on a network interface.

Tested as working properly on Samsung XE50013-K01US. I was able to capture USB traffic as expected and all tests in their test suite passed.
parent 0d71d1ed
require 'package'
class Tcpdump < Package
version '4.8.1'
source_url 'http://www.tcpdump.org/release/tcpdump-4.8.1.tar.gz'
source_sha1 '364c8a60b637d1b122769fdeae79bcd300d5bd5c'
depends_on 'libpcap'
depends_on 'openssl'
def self.build
system "./configure --prefix=/usr/local --with-user=chronos"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment