Oh.. speaking of ancient Redhat .rpm files, here's an old script I once wrote to extract the contents of any .rpm file. I call it rpm_extract.sh:
Code:
#!/bin/bash
while [ ! "$1" = "" ]; do
        dir="${1%%.rpm}"
        if [ "$dir" == "$1" ]; then
                dir="${1%%.mvl}"        ## MontaVistaLinux (.mvl) rpm files
        fi
        echo "Extracting $1 to $dir"
        if [ ! -d "${dir}" ]; then
                mkdir "${dir}"
        fi
        cd "${dir}" && ( rpm2cpio "../$1" | cpio -i --make-directories )
        cd - &>/dev/null
        shift
done