netwib version 5.30.0 for Mac OS X 10.5 Leopard
Sunday the 11th of May, 2008

    netwib  most recent diff


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



      # $Id: Portfile 30204 2007-10-22 21:05:01Z jmpp macports.org $

      PortSystem 1.0

      Name: netwib
      Version: 5.30.0
      set NetWVers 530
      Category: net
      Platform: darwin
      Maintainers: jmpp openmaintainer

      Description: A network library oriented towards developers.
      Long Description: Netwib is a network library providing network features such as address conversion, udp/tcp clients/servers, packet encoding/decoding/displaying, spoofing, sniffing, etc., and general features such as data conversion, linked list and hash, portable threads, etc. Using all these functions, a network program can be quickly created.

      Homepage: http://www.laurentconstantin.com/
      master_sites ${homepage}common/netw/${name}/download/v5/ http://www.mirrors.wiretapped.net/security/packet-construction/${name}
      extract.suffix .tgz
      distfiles ${distname}-src${extract.suffix} ${distname}-doc_html${extract.suffix}
      checksums ${distname}-src${extract.suffix} md5 dcd41f26fc8a0ea381c48940c072ef61 ${distname}-doc_html${extract.suffix} md5 cb56b8844c3a2322e365e265e30d37fd

      depends_lib port:libpcap port:libnet11

      worksrcdir ${distname}-src/src

      pre-configure {
      cd ${worksrcpath}
      reinplace "s|/usr/local|${prefix}|g" config.dat
      reinplace "s|\\(NETWIBDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" config.dat
      reinplace "s|\\(NETWIBDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" config.dat
      reinplace "s|/man|/share/man|g" config.dat
      reinplace "s|/share/man3|/man3|g" config.dat
      reinplace "s|/usr/include/pcap/|${prefix}/include/pcap|g" genemake
      }

      configure.pre_args {}
      configure.cmd ./genemake

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
      file copy ${workpath}/${distname}-doc_html ${destroot}${prefix}/share/doc/${name}/html
      xinstall -m 644 -v -W ${worksrcpath}/../doc/ changelog.txt credits.txt guidestyle.txt todo.txt ${destroot}${prefix}/share/doc/${name}/
      }

      post-activate {
      ui_msg "\nFull html documentation is installed as part of the port at:\n
      ${prefix}/share/doc/${name}/html/\n"
      }

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

     Where to find more information:

    Darwin Ports



    image test