# GNU automake
# ============
# You only really need one, but in case you are building software that does
# not support the latest, or scripts run a specific version of automake
# like 'automake-1.2.3', we cover loads of different ones below. If you
# run just 'automake' and 'aclocal' you'll get the latest.
# If you want to uninstall automake, or if you just want to clear out
# old files before installing a new version, skip down to the bottom
# for uninstall instructions.
# GNU automake 1.4-p6
# ===================
# Get the tarball
cd
test -f installed/automake-1.4-p6.tar.gz &&
mv installed/automake-1.4-p6.tar.gz .
test ! -f automake-1.4-p6.tar.gz &&
wget http://ftpmirror.gnu.org/automake/automake-1.4-p6.tar.gz
# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
test -d ./automake-1.4 && rm -r ./automake-1.4
find -maxdepth 1 -type d -name "automake-1.4-p*" -exec rm -r {} \;
tar xzvf ~/automake-1.4-p6.tar.gz
cd automake-1.4-p6
test $UID = 0 && chown -R root:root .
# Configure the build
./configure --prefix=/usr --infodir=/usr/info
# Build it
make
# Become root
su
# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg automake
# Install it
make install
# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .
# Become yourself again
exit
# Keep the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/automake-1.4.tar.* installed/automake-1.4-p*.tar.*
mv automake-1.4-p6.tar.gz installed/
# GNU automake 1.5
# ================
# Get the tarball
cd
test -f installed/automake-1.5.tar.gz &&
mv installed/automake-1.5.tar.gz .
test ! -f automake-1.5.tar.gz &&
wget http://ftpmirror.gnu.org/automake/automake-1.5.tar.gz
# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
test -d ./automake-1.5 && rm -r ./automake-1.5
tar xzvf ~/automake-1.5.tar.gz
cd automake-1.5
test $UID = 0 && chown -R root:root .
# Set it to use /usr/share/aclocal-1.5 and /usr/share/automake-1.5
# instead of /usr/share/aclocal and /usr/share/automake
# (I won't do this with a patch because you'd need to run... automake
# on it)
cp -a aclocal.in aclocal.in.orig
cat aclocal.in.orig | \
sed 's%@datadir@/aclocal%@datadir@/aclocal-1.5%' > aclocal.in
cp -a automake.in automake.in.orig
cat automake.in.orig | \
sed 's%@datadir@/@PACKAGE@%@datadir@/@PACKAGE@-1.5%' > automake.in
find -type f -name Makefile.in |
while read file2fix
do
cp -a $file2fix ${file2fix}.orig
cat ${file2fix}.orig | \
sed -e 's%$(datadir)/@PACKAGE@%$(datadir)/@PACKAGE@-1.5%' \
-e 's%$(datadir)/aclocal%$(datadir)/aclocal-1.5%' > $file2fix
done
# Configure the build
./configure --prefix=/usr --infodir=/usr/info
# Build it
make
# Become root
su
# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg automake
# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .
# Become yourself again
exit
# Keep the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/automake-1.5.tar.*
mv automake-1.5.tar.gz installed/
# GNU automake 1.6.3
# ==================
# Get the tarball
cd
test -f installed/automake-1.6.3.tar.bz2 &&
mv installed/automake-1.6.3.tar.bz2 .
test ! -f automake-1.6.3.tar.bz2 &&
wget http://ftpmirror.gnu.org/automake/automake-1.6.3.tar.bz2
# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.6.*" -exec rm -r {} \;
tar xjvf ~/automake-1.6.3.tar.bz2
cd automake-1.6.3
test $UID = 0 && chown -R root:root .
# Configure the build
./configure --prefix=/usr --infodir=/usr/info
# Build it
make
# Become root
su
# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg automake
# Install it
make install
# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .
# Become yourself again
exit
# Keep the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/automake-1.6.*.tar.*
mv automake-1.6.3.tar.bz2 installed/
# GNU automake 1.7.9
# ==================
# Get the tarball
cd
test -f installed/automake-1.7.9.tar.bz2 &&
mv installed/automake-1.7.9.tar.bz2 .
test ! -f automake-1.7.9.tar.bz2 &&
wget http://ftpmirror.gnu.org/automake/automake-1.7.9.tar.bz2
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "571fd0b0598eb2a27dcf68adcfddfacb automake-1.7.9.tar.bz2" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "da96734fa972a22cfbc4118dcd222871272e4d96 automake-1.7.9.tar.bz2" | \
sha1sum -c
# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.7.*" -exec rm -r {} \;
tar xjvf ~/automake-1.7.9.tar.bz2
cd automake-1.7.9
test $UID = 0 && chown -R root:root .
# Configure the build
./configure --prefix=/usr --infodir=/usr/info
# Build it
make
# Become root
su
# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg automake
# Install it
make install
# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .
# Become yourself again
exit
# Keep the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/automake-1.7.*.tar.*
mv automake-1.7.9.tar.bz2 installed/
# GNU automake 1.8.5
# ==================
# Get the tarball
cd
test -f installed/automake-1.8.5.tar.bz2 &&
mv installed/automake-1.8.5.tar.bz2 .
test ! -f automake-1.8.5.tar.bz2 &&
wget http://ftpmirror.gnu.org/automake/automake-1.8.5.tar.bz2
# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.8.*" -exec rm -r {} \;
tar xjvf ~/automake-1.8.5.tar.bz2
cd automake-1.8.5
test $UID = 0 && chown -R root:root .
# Configure the build
./configure --prefix=/usr --infodir=/usr/info
# Build it
make
# Become root
su
# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg automake
# Install it
make install
# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .
# Become yourself again
exit
# Keep the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/automake-1.8.*.tar.*
mv automake-1.8.5.tar.bz2 installed/
# GNU automake 1.9.6
# ==================
# Get the tarball
cd
test -f installed/automake-1.9.6.tar.bz2 &&
mv installed/automake-1.9.6.tar.bz2 .
test ! -f automake-1.9.6.tar.bz2 &&
wget http://ftpmirror.gnu.org/automake/automake-1.9.6.tar.bz2
# Get the tarball
cd
test -f installed/automake-1.10.3.tar.bz2 &&
mv installed/automake-1.10.3.tar.bz2 .
test ! -f automake-1.10.3.tar.bz2 &&
wget http://ftpmirror.gnu.org/automake/automake-1.10.3.tar.bz2
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "b8e67fb458da396bc35555af7ef2b49f automake-1.10.3.tar.bz2" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "ed6944f2b746a356bd161ab2210cf121d1d04e12 automake-1.10.3.tar.bz2" | \
sha1sum -c
# Get the tarball
cd
test -f installed/automake-1.11.6.tar.xz &&
mv installed/automake-1.11.6.tar.xz .
test ! -f automake-1.11.6.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.11.6.tar.xz
# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "cf4752287ad708f83bd3689da57a32c9 automake-1.11.6.tar.xz" | md5sum -c
# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "765cd19ffefb57604b7208f925b56803166484e9 automake-1.11.6.tar.xz" | \
sha1sum -c
# Get the tarball
cd
test -f installed/automake-1.12.6.tar.xz &&
mv installed/automake-1.12.6.tar.xz .
test ! -f automake-1.12.6.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.12.6.tar.xz
# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "8141315fdcb977ced87837b9ded2c2b0a538ad4b automake-1.12.6.tar.xz" | \
sha1sum -c
# Verify tarball w/ sha256sum:
# (this also came from my gpg-verified tarball)
echo "f834ab2145b1ee24bd85387950044f5cb418dd0af2b84c52e60c2bf29162dbfa a\
utomake-1.12.6.tar.xz" | sha256sum -c
# Get the tarball
cd
test -f installed/automake-1.13.4.tar.xz &&
mv installed/automake-1.13.4.tar.xz .
test ! -f automake-1.13.4.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.13.4.tar.xz
# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "20dac46d2699cb32c8102584db67e964c472b03e automake-1.13.4.tar.xz" | \
sha1sum -c
# Verify tarball w/ sha256sum:
# (this also came from my gpg-verified tarball)
echo "89ce4933f59b8f0c20115c39cfe450a595cca74ede27b6881e88ec27720d1d66 a\
utomake-1.13.4.tar.xz" | sha256sum -c
# Get the tarball
cd
test -f installed/automake-1.14.1.tar.xz &&
mv installed/automake-1.14.1.tar.xz .
test ! -f automake-1.14.1.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.14.1.tar.xz
# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "2ced676f6b792a95c5919243f81790b1172c7f5b automake-1.14.1.tar.xz" | \
sha1sum -c
# Verify tarball w/ sha256sum:
# (this also came from my gpg-verified tarball)
echo "a9b4f04b8b69cac2e832a38a718943aa976dbdad0097211f8b3448afdacf0669 a\
utomake-1.14.1.tar.xz" | sha256sum -c
# Get the tarball
cd
test -f installed/automake-1.15.1.tar.xz &&
mv installed/automake-1.15.1.tar.xz .
test ! -f automake-1.15.1.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.15.1.tar.xz
# Verify tarball w/ sha256sum:
# (this came from my gpg-verified tarball)
echo "af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bed\
af automake-1.15.1.tar.xz" | sha256sum -c
# Get the tarball
cd
test -f installed/automake-1.16.5.tar.xz &&
mv installed/automake-1.16.5.tar.xz .
test ! -f automake-1.16.5.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.16.5.tar.xz
# Verify tarball against base64 encoded SHA256 checksum using sha256sum and
# base64 from coreutils and xxd from vim
echo "8B1YzW2dd/vcqetLvV6tGYgij9tz1veiAfX41rEYtGk" ; \
sha256sum automake-1.16.5.tar.xz | xxd -r -p | base64
# Get the tarball
cd
test -f installed/automake-1.17.tar.xz &&
mv installed/automake-1.17.tar.xz .
test ! -f automake-1.17.tar.xz &&
wget http://ftpmirror.gnu.org/automake/automake-1.17.tar.xz
# Verify tarball against base64 encoded SHA256 checksum using sha256sum and
# base64 from coreutils and xxd from vim
echo "iSDB/EEeE7kL9wTvnbbynVQOdtIyyzssn03EzFmb2ZA=" ; \
sha256sum automake-1.17.tar.xz | xxd -r -p | base64
# Or with coreutils >= 9.2, use cksum
# [ cksum -a sha256 --base64 --untagged automake-1.17.tar.xz ]
cksum --version | head -1
echo "iSDB/EEeE7kL9wTvnbbynVQOdtIyyzssn03EzFmb2ZA= automake-1.17.tar.xz" | \
cksum -a sha256 -c