Difference between revisions of "ASH"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.osuosl.org/pub/blfs/conglomeration/ash/ash-0.4.0.tar.bz2
+
| http://ftp.osuosl.org/pub/blfs/conglomeration/ash/ash-{{ASH-Version}}.tar.bz2
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/ash/ash-0.4.0-cumulative_fixes-2.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/ash/ash-{{ASH-Version}}-cumulative_fixes-2.patch
 
|}
 
|}
  
Line 20: Line 20:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
+
  patch -Np1 -i ../ash-{{ASH-Version}}-cumulative_fixes-2.patch &&
 
  make
 
  make
  
Line 39: Line 39:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
+
  patch -Np1 -i ../ash-{{ASH-Version}}-cumulative_fixes-2.patch &&
 
  make CC="gcc ${BUILD32}"
 
  make CC="gcc ${BUILD32}"
  
Line 55: Line 55:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
+
  patch -Np1 -i ../ash-{{ASH-Version}}-cumulative_fixes-2.patch &&
 
  make CC="gcc ${BUILDN32}"
 
  make CC="gcc ${BUILDN32}"
  
Line 71: Line 71:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
+
  patch -Np1 -i ../ash-{{ASH-Version}}-cumulative_fixes-2.patch &&
 
  make CC="gcc ${BUILD64}"
 
  make CC="gcc ${BUILD64}"
  

Revision as of 13:08, 17 December 2006

Download Source: http://ftp.osuosl.org/pub/blfs/conglomeration/ash/ash-0.4.0.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/ash/ash-0.4.0-cumulative_fixes-2.patch

Introduction to ASH

ash is a shell that is the most compliant with the Bourne Shell (not to be confused with Bourne Again SHell i.e., Bash installed in CLFS) without any additional features. Bourne Shell is available on most commercial UNIX systems. Hence ash is useful for testing scripts to be sh-compliant. It also has small memory and space requirements compared to the other sh-compliant shells.

Dependencies

Non-Multilib

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make

Install the package

install -v -m 755 sh /bin/ash &&
install -v -m 644 sh.1 /usr/share/man/man1/ash.1

If you would like to make ash the default sh shell, make a symlink.

ln -v -sf ash /bin/sh

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make CC="gcc ${BUILD32}"

Install the package

install -v -m 755 sh /bin/ash &&
install -v -m 644 sh.1 /usr/share/man/man1/ash.1

If you would like to make ash the default sh shell, make a symlink.

ln -v -sf ash /bin/sh

N32

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make CC="gcc ${BUILDN32}"

Install the package

install -v -m 755 sh /bin/ash &&
install -v -m 644 sh.1 /usr/share/man/man1/ash.1

If you would like to make ash the default sh shell, make a symlink.

ln -v -sf ash /bin/sh

64Bit

Compile the package:

patch -Np1 -i ../ash-0.4.0-cumulative_fixes-2.patch &&
make CC="gcc ${BUILD64}"

Install the package

install -v -m 755 sh /bin/ash &&
install -v -m 644 sh.1 /usr/share/man/man1/ash.1

If you would like to make ash the default sh shell, make a symlink.

ln -v -sf ash /bin/sh
Retrieved from "?title=ASH&oldid=5258"