dhcp version 3.1.0 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    dhcp  most recent diff


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



      # $Id: Portfile 32920 2008-01-15 04:38:00Z blair macports.org $

      PortSystem 1.0

      Name: dhcp
      Version: 3.1.0
      revision 3
      Category: net
      Description: ISC dhcpd server
      Long Description: ISC's Dynamic Host Configuration Protocol Distribution reference implementation of all aspects of the DHCP protocol, through a suite of DHCP tools: A DHCP server, client, and relay agent. These tools all use a modular API which is designed to be sufficently general that can easily be made to work on POSIX- compliant operating systems and also non-POSIX systems like Windows NT and Mac OS. The DHCP server, client and relay agent are provided both as reference implementations of the protocol and as working, fully-features sample implementations. Both the client and the server provide functionality that, while not strictly required by the protocol, is very useful in practice. The DHCP server also makes allowance for non-compliant clients which one might still like to support.
      Homepage: http://www.isc.org/products/DHCP/
      Platform: darwin
      Maintainers: nomaintainer
      master_sites http://ftp.isc.org/isc/dhcp/ http://ftp.isc.org/isc/dhcp/dhcp-3.1-history/
      checksums md5 27d179a3c3fbef576566b456a1168246

      patchfiles patch-minires-res_send.c

      post-patch {
      file copy -force ${filespath}/site.conf ${worksrcpath}
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/site.conf
      }

      configure.pre_args

      startupitem.create yes
      startupitem.name dhcpd
      startupitem.executable ${prefix}/sbin/dhcpd -f
      startupitem.netchange yes

      destroot.keepdirs ${destroot}${prefix}/var/db/dhcpd
      post-destroot {
      set etc ${destroot}${prefix}/etc/dhcp
      xinstall -m 755 -d ${etc}
      xinstall -m 644 ${worksrcpath}/server/dhcpd.conf ${etc}/dhcpd.conf.sample
      xinstall -m 644 ${worksrcpath}/client/dhclient.conf ${etc}/dhclient.conf.sample
      }

      platform darwin 8 { build.args CC=/usr/bin/gcc-4.0 }

      post-activate {
      ui_msg "\n

      NOTE:

      -The dhcpd .conf and .leases files must be named and located as shown for dhcpd to find them:
      ${prefix}/etc/dhcp/dhcpd.conf (there is a sample file)
      ${prefix}/var/db/dhcpd/dhcpd.leases (use the touch command to create a blank one)

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

     Where to find more information:

    Darwin Ports



    image test