dsocks version 1.6 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    dsocks  most recent diff


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



      # $Id: Portfile 32369 2007-12-28 05:55:15Z boeyms macports.org $

      PortSystem 1.0

      Name: dsocks
      Version: 1.6
      Category: net
      Maintainers: boeyms openmaintainer
      Description: SOCKS client wrapper for *BSD / Mac OS X
      Long Description: dsocks supports just enough of SOCKS 4 and 5 to allow non-SOCKS-aware applications to connect through either a local OpenSSH or a local Tor SOCKS proxy.
      Platform: darwin freebsd

      Homepage: http://monkey.org/~dugsong/dsocks/
      master_sites ${homepage}
      checksums md5 3879ecbdccedbee8fcb0713492274c02 sha1 d2f917b831786cdf0b80f662f6e8b9e283929c92 rmd160 7a36c11e80a099bd595dfa9ed2cde654ef22aefe

      depends_run bin:ssh:openssh

      patchfiles patch-dsocks.sh.diff patch-dsocks-torify.sh.diff

      # Darwin 7 and earlier (Mac OS X 10.3 and earlier) need dsocks.h to explicitly
      # include stdint.h. patch-dsocks.h does this.
      platform darwin 7 {
      patchfiles-append patch-dsocks.h.diff
      }

      platform darwin 6 {
      patchfiles-append patch-dsocks.h.diff
      }

      post-patch {
      reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/dsocks.sh ${worksrcpath}/dsocks-torify.sh
      }

      use_configure no
      build.type bsd
      destroot.post_args DESTDIR=${destroot} LIBDIR=${prefix}/lib

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin
      xinstall -m 755 ${worksrcpath}/dsocks.sh ${destroot}${prefix}/bin
      }

      Variant: tor description {Add support for using the TOR anonymising network} {
      depends_run-append bin:tor:tor port:py-dpkt
      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin
      xinstall -m 755 ${worksrcpath}/dsocks.sh ${destroot}${prefix}/bin
      xinstall -m 755 ${worksrcpath}/dsocks-torify.sh ${destroot}${prefix}/bin
      xinstall -m 755 ${worksrcpath}/tor-dns-proxy.py ${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/dsocks
      % sudo port install dsocks
      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 dsocks
      ---> Verifying checksum for dsocks
      ---> Extracting dsocks
      ---> Configuring dsocks
      ---> Building dsocks with target all
      ---> Staging dsocks into destroot
      ---> Installing dsocks
    - 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 dsocks with these commands:
      %  man dsocks
      % apropos dsocks
      % which dsocks
      % locate dsocks

     Where to find more information:

    Darwin Ports



    image test