cdpr version 2.2.1 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    cdpr  most recent diff


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



      # $Id: Portfile 30602 2007-11-01 16:08:45Z markd macports.org $

      PortSystem 1.0

      Name: cdpr
      Version: 2.2.1
      revision 1
      Category: net
      Maintainers: markd
      Platform: darwin

      Description: Cisco Discovery Protocol Reporter
      Long Description: CDPR will show which switch and port the machine running it is connected to. It also supports sending cdp data back to a central server.
      Homepage: http://www.monkeymental.com/

      master_sites sourceforge

      checksums md5 1e682e7e9c03f9b004c1f97c0ed25431

      depends_lib port:libpcap

      use_configure no

      build.target
      build.args CFLAGS="-Wall -ggdb -lpcap -I. -I${prefix}/include" LDFLAGS="-L${prefix}/lib -lpcap"

      destroot {
      xinstall -m 755 ${worksrcpath}/cdpr ${destroot}${prefix}/bin
      }

    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/cdpr
      % sudo port install cdpr
      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 cdpr
      ---> Verifying checksum for cdpr
      ---> Extracting cdpr
      ---> Configuring cdpr
      ---> Building cdpr with target all
      ---> Staging cdpr into destroot
      ---> Installing cdpr
    - 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 cdpr with these commands:
      %  man cdpr
      % apropos cdpr
      % which cdpr
      % locate cdpr

     Where to find more information:

    Darwin Ports



    image test