Leafnode version 1.11.7 - How to Download and Install on Mac OS X
Saturday the 21st of November, 2009

    leafnode  most recent diff


    version 1.11.7

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4
      The leafnode Portfile 54417 2009-07-27 07:20:51Z toby macports.org $

      PortSystem 1.0

      Name: leafnode
      Version: 1.11.7
      Category: news
      Platform: darwin
      Maintainers: macports.org:krischik
      Description: Leafnode is a store & forward NNTP proxy
      Long Description: Leafnode is a software package that implements a store & forward NNTP proxy (client and server) that supportis TCP connections across IPv4 and IPv6. It can be used to give a regular newsreader off-line functionality, merge news articles from several upstream newsservers for newsreaders that only support one server well and avoid duplicate news download for a small LAN with multiple users reading news.

      Homepage: http://leafnode.sourceforge.net/
      Master Sites: sourceforge

      Checksums: md5 e5e8ac28386c59df0b14ddbfcbe78509

      depends_lib port:pcre
      depends_run path:${prefix}/bin/zsh:zsh

      use_bzip2 yes

      configure.args --mandir='\${prefix}/share/man' --sysconfdir='\${prefix}/etc/${name}' --with-user=_news --with-group=_news

      configure.cxxflags-append "-I${prefix}/include"

      destroot.destdir prefix=${destroot}${prefix}

      set launch_dir /etc/LaunchDaemons/org.macports.${name}

      pre-destroot {
      addgroup _news realname="NEWS Server group"
      adduser _news gid=_news realname="NEWS Server user"
      }

      post-destroot {
      xinstall -o _news -g _news -m 750 -d ${destroot}${prefix}/etc/${name}
      xinstall -o root -g wheel -m 750 -d ${destroot}${prefix}${launch_dir}
      xinstall -m 755 -d ${destroot}${prefix}/var
      xinstall -m 755 -d ${destroot}${prefix}/var/spool
      xinstall -o _news -g _news -m 755 -d ${destroot}${prefix}/var/spool/news
      xinstall -m 750 -d ${destroot}/${applications_dir}/Utilities

      xinstall -o _news -g _news -m 640 -W ${filespath} config filters ${destroot}${prefix}/etc/${name}

      xinstall -o _news -g _news -m 644 -W ${filespath} dummy ${destroot}${prefix}/var/spool/news

      xinstall -o root -g wheel -m 644 -W ${filespath} org.macports.fetchnews.plist.in ${destroot}${prefix}${launch_dir}/org.macports.fetchnews.plist
      xinstall -o root -g wheel -m 644 -W ${filespath} org.macports.leafnode.plist.in ${destroot}${prefix}${launch_dir}/org.macports.leafnode.plist
      xinstall -o root -g wheel -m 644 -W ${filespath} org.macports.texpire.plist.in ${destroot}${prefix}${launch_dir}/org.macports.texpire.plist

      xinstall -m 755 -W ${filespath} Restart_Fetchnews.command.in ${destroot}/${applications_dir}/Utilities/Restart_Fetchnews.command
      xinstall -m 755 -W ${filespath} Restart_Leafnode.command.in ${destroot}/${applications_dir}/Utilities/Restart_Leafnode.command
      xinstall -m 755 -W ${filespath} Restart_Texpire.command.in ${destroot}/${applications_dir}/Utilities/Restart_Texpire.command

      reinplace s| PREFIX |${prefix}|g ${destroot}${prefix}${launch_dir}/org.macports.fetchnews.plist ${destroot}${prefix}${launch_dir}/org.macports.leafnode.plist ${destroot}${prefix}${launch_dir}/org.macports.texpire.plist
      reinplace s| PREFIX |${prefix}|g ${destroot}/${applications_dir}/Utilities/Restart_Fetchnews.command ${destroot}/${applications_dir}/Utilities/Restart_Leafnode.command ${destroot}/${applications_dir}/Utilities/Restart_Texpire.command
      }

      ############################################################ {{{1 ###########
      # vim: set nowrap tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab :
      # vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.