Libpcap version 1.0.0 - How to Download and Install on Mac OS X
Saturday the 4th of July, 2009

    libpcap  most recent diff


    version 1.0.0

      View the most recent changes for the libpcap port at: libpcap.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libpcap.
      The raw portfile for libpcap 1.0.0 is located here:
      http://libpcap.darwinports.com/dports/net/libpcap/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libpcap


      The libpcap Portfile 42171 2008-11-16 16:36:13Z nox macports.org $

      PortSystem 1.0

      Name: libpcap
      Version: 1.0.0
      Category: net
      Maintainers: opendarwin.org darkart.com
      Description: Packet Capture library
      Long Description: The Packet Capture library provides a high level interface to packet capture systems. All packets on the network, even those destined for other hosts, are accessible through this mechanism.
      Homepage: http://www.tcpdump.org/
      Platform: darwin
      Master Sites: ${homepage}release/ macports
      Checksums: md5 9ad1358c5dec48456405eac197a46d3d sha1 9893654027ae11033d785045ff35583da43fe8fa rmd160 20857fe6af5dc70fffb19da46e0fee908f55b3ea

      configure.args --enable-ipv6

      Patch Files: patch-scanner.l.diff

      use_parallel_build yes
      build.target-append shared

      destroot.target-append install-shared

      universal_variant no

      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
      # vi: set fenc=utf-8 filetype=tcl et sw=4 ts=4 sts=4: #

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libpcap
      % sudo port install libpcap
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libpcap
      ---> Verifying checksum for libpcap
      ---> Extracting libpcap
      ---> Configuring libpcap
      ---> Building libpcap with target all
      ---> Staging libpcap into destroot
      ---> Installing libpcap
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libpcap with these commands:
      %  man libpcap
      % apropos libpcap
      % which libpcap
      % locate libpcap

     Where to find more information:

    Darwin Ports



    Lightbox this page.