heirloom-sh-050706

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 24. SVR4-style Tools

- Prev

  star from schilytools-2024-03-21

- Next

  heirloom-devtools-070527

- Up
- Home

# heirloom-sh-050706

## Introduction to heirloom-sh

The heirloom-sh package is a portable variant of the traditional Unix Bourne Shell.

- Download: https://downloads.sourceforge.net/heirloom/heirloom-sh/050706/heirloom-sh-050706.tar.bz2

### Additional Downloads

- Required patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/heirloom-sh/heirloom-sh-050706-final-updates.patch

- Required patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/heirloom-sh/heirloom-sh-050706-glibc234-3.patch

### heirloom-sh Dependencies

#### Required

heirloom-ng-250220

## Installation of heirloom-sh

Apply a patch to bring up the source to the last upstream commit:

    patch -Np1 -i ../heirloom-sh-050706-final-updates.patch

Now, apply a patch to fix the build with glibc 2.34 and later:

    patch -Np1 -i ../heirloom-sh-050706-glibc234-3.patch

Install heirloom-sh by running the following command:

    make

Now, as the `root` user:

    make install

## Configuring heirloom-sh

### Configuration Information

As the `root` user, update `/etc/shells` to include the Bourne shell program names:

    cat >> /etc/shells << "EOF"
    /usr/5bin/sh
    /usr/5bin/jsh
    EOF

## Contents

Installed Programs: jsh (link to sh), and sh
Installed Libraries: None
Installed Directories: None

### Short Descriptions

jsh | is a symlink pointing to sh
sh | is the Bourne shell

- Prev

  star from schilytools-2024-03-21

- Next

  heirloom-devtools-070527

- Up
- Home