Bnetd version 0.4.25 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 0.4.25

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


      The bnetd Portfile 40550 2008-10-06 20:34:21Z jmr macports.org $

      PortSystem 1.0

      Name: bnetd
      Version: 0.4.25
      Revision: 1
      Category: net games
      Platform: darwin
      Maintainers: nomaintainer
      Description: daemon that emulates Blizzards Battle.net service
      Long Description: ${description}

      Homepage: http://www.chiark.greenend.org.uk/~owend/free/bnetd.html
      Master Sites: http://www.chiark.greenend.org.uk/~owend/free/
      Checksums: md5 8a27ad997fabfb6d1dc514bb14c01bed
      Patch Files: patch-d2cs-cmdline_parse.c.diff patch-d2dbs-cmdline_parse.c.diff patch-d2dbs-main.c.diff

      worksrcdir ${worksrcdir}/src

      configure.args --host=powerpc-apple-freebsd --mandir=${prefix}/share/man/ --sysconfdir=${prefix}/etc/bnetd/ --localstatedir=${prefix}/var/bnetd/
      pre-destroot {
      reinplace "s|${prefix}|\${prefix}|g" ${worksrcpath}/Makefile
      }
      destroot.destdir prefix=${destroot}${prefix}
      post-destroot {
      set vardir ${destroot}${prefix}/var/bnetd
      foreach file {users reports chanlogs charinfo charsave ladders bak/charsave bak/charinfo} {
      xinstall -m 755 -d ${vardir}/${file}
      destroot.keepdirs-append ${vardir}/${file}
      }
      reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/etc/bnetd/bnetd.conf ${destroot}${prefix}/etc/bnetd/d2cs.conf ${destroot}${prefix}/etc/bnetd/d2dbs.conf
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.