Download and Install bash version ${bash_version}.${bash_patchlevel} on Mac OS X
Thursday the 24th of July, 2008

    bash  most recent diff


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



      # $Id: Portfile 36459 2008-05-02 23:54:03Z raimue macports.org $

      PortSystem 1.0

      Name: bash
      set bash_version 3.2
      set bash_patchlevel 39
      Version: ${bash_version}.${bash_patchlevel}
      distname ${name}-${bash_version}
      Category: shells
      Maintainers: raimue
      Description: Bash (bourne-again shell) is a UNIX command interpreter
      Long Description: Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.
      Homepage: http://www.gnu.org/software/bash/bash.html
      Platform: darwin freebsd

      master_sites gnu ftp://ftp.cwru.edu/pub/bash/
      patch_sites gnu:${name}/${distname}-patches
      checksums ${distname}${extract.suffix} md5 00bfa16d58e034e3c2aa27f390390d30 sha1 fe6466c7ee98061e044dae0347ca5d1a8eab4a0d rmd160 a73f790817d98be375a36def567737498e33aaf1

      eval {
      set low 1
      while {$low <= $bash_patchlevel} {
      set high [expr $low + 99];
      if {$high < $bash_patchlevel} {

      ###
      # disabled because there haven't been a hundred patches for bash yet
      # and there's no way to tell the format in advance

      # patchfiles-append [format "%s.%03d-%03d.gz" $bash_version $low $high]
      # incr low 100

      } else {
      patchfiles-append [format "%s%s-%03d" $name [strsed ${bash_version} {g/\.//}] $low]
      incr low 1
      }
      }
      }

      depends_build bin:grep:grep bin:bison:bison
      depends_lib port:gettext port:readline

      configure.ldflags-append "-Wl,-search_paths_first -lncurses"
      configure.args --mandir=${prefix}/share/man --with-installed-readline --infodir=${prefix}/share/info

      include checksums_patch

      livecheck.check regex
      livecheck.url http://ftp.gnu.org/gnu/${name}/${name}-${bash_version}-patches/?C=M&O=D
      livecheck.version [format %03d ${bash_patchlevel}]
      livecheck.regex ${name}[strsed ${bash_version} {g/\.//}]-(\\d\\d\\d)

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

     Where to find more information:

    Darwin Ports



    image test