Pureftpd version 1.0.21 - How to Download and Install on Mac OS X
Friday the 19th of March, 2010

    pureftpd  most recent diff


    version 1.0.21

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


      The pureftpd Portfile 54601 2009-07-30 06:26:57Z toby macports.org $

      PortSystem 1.0

      Name: pureftpd
      Version: 1.0.21
      Category: net
      Platform: darwin
      Maintainers: nomaintainer

      Homepage: http://pureftpd.org/
      Description: A fast and standard-conformant FTP server

      Long Description: "Pure-FTPd is a fast, production-quality, standard-conformant FTP server, based upon Troll-FTPd. Unlike other popular FTP servers, it's designed to be secure in default configuration, has no known buffer overflow, it is really trivial to set up and it is especially designed for modern kernels. Features include chroot()ed and/or virtual chroot()ed home directories, virtual domains, built-in 'ls', anti-warez system, bounded ports for passive downloads, FXP protocol, bandwidth throttling, ratios, LDAP / MySQL / PostgreSQL-based authentication, fortune files, Apache-like log files, fast standalone mode, text / HTML / XML real-time status report, virtual users, virtual quotas and more."

      Master Sites: ftp://ftp.pureftpd.org/pure-ftpd/releases/ ftp://ftp.fr.pureftpd.org/pure-ftpd/releases/

      distname pure-ftpd-${version}
      use_bzip2 yes

      Checksums: md5 ca8a8dbec0cd9c8ea92fc4c37ea9c410 sha1 1405ff2b9b9c3616c4e390eb99779884173a3347 rmd160 1ad61243c1f8a8d1055ee839eec0d9117681cf20

      Patch Files: patch-pam_pureftpd.diff

      configure.args --with-everything --with-virtualchroot --with-paranoidmsg --with-pam --with-rendezvous --without-capabilities --mandir=${prefix}/share/man --infodir=${prefix}/share/info

      destroot.destdir prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man

      post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -v -W ${worksrcpath} AUTHORS CONTACT FAQ HISTORY NEWS README README.Authentication-Modules README.Configuration-File README.LDAP README.MacOS-X README.MySQL README.PGSQL README.TLS README.Virtual-Users pureftpd-ldap.conf pureftpd-mysql.conf pureftpd-pgsql.conf THANKS ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/pam/pure-ftpd ${destroot}${prefix}/share/doc/${name}
      }

      # Notify the user how to launch the ftpd
      post-install {
      ui_msg "\nYou can now start PureFTPd in 3 ways,"
      ui_msg "either via xinetd, in standalone mode, or"
      ui_msg "if you're using Mac OS X 10.4 / Darwin 8.x"
      ui_msg "via launchd(8).\n"
      ui_msg "If you're under Mac OS X 10.3 or Mac OS X 10.4,"
      ui_msg "you have to copy ${prefix}/share/doc/${name}/pure-ftpd"
      ui_msg "to /etc/pam.d and use the '-lpam' flag when"
      ui_msg "launching pure-ftpd to have PAM working.\n"
      }

      # Langugage variants, should only be able to choose one.
      Variant: brazilian description "Use Bazilian language for server messages" { configure.args-append --with-language=brazilian }
      Variant: czech description "Use Czech language for server messages" { configure.args-append --with-language=czech }
      Variant: danish description "Use Danish language for server messages" { configure.args-append --with-language=danish }
      Variant: dutch description "Use Dutch language for server messages" { configure.args-append --with-language=dutch }
      Variant: french description "Use French language for server messages" { configure.args-append --with-language=french }
      Variant: french_funny description "Use French funny language for server messages" { configure.args-append --with-language=french-funny }
      Variant: german description "Use German language for server messages" { configure.args-append --with-language=german }
      Variant: italian description "Use Italian language for server messages" { configure.args-append --with-language=italian }
      Variant: korean description "Use Korean language for server messages" { configure.args-append --with-language=korean }
      Variant: norwegian description "Use Norwegian language for server messages" { configure.args-append --with-language=norwegian }
      Variant: polish description "Use Polish language for server messages" { configure.args-append --with-language=polish }
      Variant: romanian description "Use Romanian language for server messages" { configure.args-append --with-language=romanian }
      Variant: russian description "Use Russian language for server messages" { configure.args-append --with-language=russian }
      Variant: simplified_chinese description "Use simplified Chinese for server messages" { configure.args-append --with-language=simplified-chinese }
      Variant: slovak description "Use Slovak language for server messages" { configure.args-append --with-language=slovak }
      Variant: spanish description "Use Spanish language for server messages" { configure.args-append --with-language=spanish }
      Variant: swedish description "Use Swedish language for server messages" { configure.args-append --with-language=swedish }
      Variant: traditional_chinese description "Use traditional Chinese language for server messages" { configure.args-append --with-language=traditional-chinese }

      Variant: mysql5 description "Use the native MySQL support for users database." {
      depends_lib-append path:bin/mysql_config5:mysql5
      configure.args-append --with-mysql
      configure.cflags-append "-I${prefix}/include/mysql5/mysql"
      configure.ldflags-append "-L${prefix}/lib/mysql5/mysql"
      }

      Variant: nobanner description "Don't display the initial banner" { configure.args-append --without-banner }

      Variant: tls description "Encryption of the control channel using SSL/TLS" {
      depends_lib lib:libssl.dylib:openssl
      configure.args-append --with-tls --with-certfile=${prefix}/etc/ssl/private/pure-ftpd.pem
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.