Difference between revisions of "ASH"

From CBLFS
Jump to navigationJump to search
 
 
(3 intermediate revisions by 2 users not shown)
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
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|'''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 ==
 
== Dependencies ==
Line 16: Line 18:
 
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 35: Line 37:
 
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 51: Line 53:
 
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 67: Line 69:
 
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}"
  
Line 78: Line 80:
  
 
  ln -v -sf ash /bin/sh
 
  ln -v -sf ash /bin/sh
 +
 +
[[Category:Shells]]

Latest revision as of 18:48, 5 July 2008

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.

Project Homepage: Unknown

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