automake - Makefile generator ChangeLog

HOWTO


# 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.

# Slackware 14.0, 14.1: automake 1.11.5
# Slackware 14.2: automake 1.15
# Slackware 15.0: automake 1.16.2

# Download alternatives:
# http://ftp.gnu.org/gnu/automake/
# http://mirrors.ibiblio.org/pub/mirrors/gnu/automake/
# https://www.gnu.org/prep/ftp.html

# Prerequisites:
# Perl
# teTeX or TeX Live (optional)
# yacc
# lex


# 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

# Verify tarball w/ md5sum:
echo "24872b81b95d78d05834c39af2cfcf05  automake-1.4-p6.tar.gz" | md5sum -c

# 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

# Verify tarball w/ md5sum:
echo "74a22ac0581378e807ecb334a55c5bab  automake-1.5.tar.gz" | md5sum -c

# 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

# Install it
make install
mv -f /usr/bin/aclocal /usr/bin/aclocal-1.5
ln -s /usr/bin/aclocal-1.5 /usr/bin/aclocal
mv -f /usr/bin/automake /usr/bin/automake-1.5
ln -s /usr/bin/automake-1.5 /usr/bin/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

# Verify tarball w/ md5sum:
echo "2e8053609e9d318f80db0fce29dca7e9  automake-1.6.3.tar.bz2" | md5sum -c

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 2E236E47 > /dev/null 2>&1 || gpg --recv-keys 2E236E47 ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.7.9.tar.bz2.sig &&
  gpg --verify automake-1.7.9.tar.bz2.sig && rm automake-1.7.9.tar.bz2.sig

# 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

# Verify tarball w/ md5sum:
echo "0114aa6d7dc32112834b68105fb8d7e2  automake-1.8.5.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "b639ff48033e9ac7347a6f938b015107754fdf3a  automake-1.8.5.tar.bz2" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 2E236E47 > /dev/null 2>&1 || gpg --recv-keys 2E236E47 ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.8.5.tar.bz2.sig &&
  gpg --verify automake-1.8.5.tar.bz2.sig && rm automake-1.8.5.tar.bz2.sig

# 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

# Verify tarball w/ md5sum:
echo "c11b8100bb311492d8220378fd8bf9e0  automake-1.9.6.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "d205dbb274d3ff5be1cf6734f27fb452c7131866  automake-1.9.6.tar.bz2" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 2E236E47 > /dev/null 2>&1 || gpg --recv-keys 2E236E47 ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.9.6.tar.bz2.sig &&
  gpg --verify automake-1.9.6.tar.bz2.sig && rm automake-1.9.6.tar.bz2.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.9.*" -exec rm -r {} \;
tar xjvf ~/automake-1.9.6.tar.bz2
cd automake-1.9.6
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.9.*.tar.*
mv automake-1.9.6.tar.bz2 installed/


# GNU automake 1.10.3
# ===================
# Prerequisites:
# autoconf >= 2.60

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 5D0CDCFC > /dev/null 2>&1 || gpg --recv-keys 5D0CDCFC ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.10.3.tar.bz2.sig &&
  gpg --verify automake-1.10.3.tar.bz2.sig && rm automake-1.10.3.tar.bz2.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.10.*" -exec rm -r {} \;
tar xjvf ~/automake-1.10.3.tar.bz2
cd automake-1.10.3
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info

# Build it
make

# Become root
su

# Remove the old 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.10.*.tar.*
mv automake-1.10.3.tar.bz2 installed/


# GNU automake 1.11.6
# ===================
# Prerequisites:
# autoconf >= 2.60

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 429F96EA > /dev/null 2>&1 || gpg --recv-keys 429F96EA ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.11.6.tar.xz.sig &&
  gpg --verify automake-1.11.6.tar.xz.sig && rm automake-1.11.6.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.11.*" -exec rm -r {} \;
tar xJvf ~/automake-1.11.6.tar.xz
cd automake-1.11.6
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Become root
su

# Remove the old 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.11.*.tar.*
mv automake-1.11.6.tar.xz installed/


# GNU automake 1.12.6
# ===================
# Prerequisites:
# autoconf >= 2.60

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 429F96EA > /dev/null 2>&1 || gpg --recv-keys 429F96EA ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.12.6.tar.xz.sig &&
  gpg --verify automake-1.12.6.tar.xz.sig && rm automake-1.12.6.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.12.*" -exec rm -r {} \;
tar xJvf ~/automake-1.12.6.tar.xz
cd automake-1.12.6
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Become root
su

# Remove the old 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.12.6.*.tar.*
mv automake-1.12.6.tar.xz installed/


# GNU automake 1.13.4
# ===================
# Prerequisites:
# autoconf >= 2.60

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 429F96EA > /dev/null 2>&1 || gpg --recv-keys 429F96EA ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.13.4.tar.xz.sig &&
  gpg --verify automake-1.13.4.tar.xz.sig && rm automake-1.13.4.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.13.*" -exec rm -r {} \;
tar xJvf ~/automake-1.13.4.tar.xz
cd automake-1.13.4
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Check the build - will take a while
make check

# Become root
su

# Remove the old 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.13.4.*.tar.*
mv automake-1.13.4.tar.xz installed/


# GNU automake 1.14.1
# ===================
# Prerequisites:
# autoconf >= 2.60

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 429F96EA > /dev/null 2>&1 || gpg --recv-keys 429F96EA ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.14.1.tar.xz.sig &&
  gpg --verify automake-1.14.1.tar.xz.sig && rm automake-1.14.1.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.14.*" -exec rm -r {} \;
tar xJvf ~/automake-1.14.1.tar.xz
cd automake-1.14.1
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Check the build - will take a while
make check

# Become root
su

# Remove the old 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.14.*.tar.*
mv automake-1.14.1.tar.xz installed/


# GNU automake 1.15.1 (2017-07-19)
# ===================
# Prerequisites:
# autoconf >= 2.60

# GNU Automake 1.15.1 manual
# GNU Automake 1.15.1 released

# 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

# Verify tarball w/ gpg:
( gpg --list-keys 0ADEE10094604D37 > /dev/null 2>&1 ||
  gpg --keyserver keys.gnupg.net --recv-keys 0ADEE10094604D37 ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.15.1.tar.xz.sig &&
  gpg --verify automake-1.15.1.tar.xz.sig && rm automake-1.15.1.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.15.*" -exec rm -r {} \;
tar xJvf ~/automake-1.15.1.tar.xz
cd automake-1.15.1
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Check the build - will take a while
make check

# Become root
su

# Remove the old 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.15.*.tar.*
mv automake-1.15.1.tar.xz installed/


# GNU automake 1.16.5
# ===================
# Prerequisites:
# autoconf >= 2.60

# GNU Automake 1.16.5 manual
# GNU Automake 1.16.5 released [stable]

# 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 OpenSSL:
echo "8B1YzW2dd/vcqetLvV6tGYgij9tz1veiAfX41rEYtGk" ; \
openssl sha256 -binary automake-1.16.5.tar.xz | openssl base64

# 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

# Or with coreutils >= 9.2, use cksum

# Verify tarball w/ gpg:
( gpg --list-keys 7FD9FCCB000BEEEE > /dev/null 2>&1 ||
  gpg --keyserver keys.gnupg.net --recv-keys 7FD9FCCB000BEEEE ) &&
wget -nc http://ftpmirror.gnu.org/automake/automake-1.16.5.tar.xz.sig &&
  gpg --verify automake-1.16.5.tar.xz.sig && rm automake-1.16.5.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "automake-1.16.*" -exec rm -r {} \;
tar xJvf ~/automake-1.16.5.tar.xz
cd automake-1.16.5
test $UID = 0 && chown -R root:root .

# Configure the build
./configure --prefix=/usr --docdir=/usr/doc/automake --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Check the build - will take _a_while_
make check

# Become root
su

# Remove the old 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.16.5.*.tar.*
mv automake-1.16.5.tar.xz installed/


# If you ever want to uninstall automake, this should do it:
cd
su
test -d src/automake-* && ( cd src/automake-* ; make uninstall )
( cd /usr/bin ; rm -f aclocal automake aclocal-* automake-* )
test -d /usr/doc/automake && rm -r /usr/doc/automake
rm -f /usr/info/automake.info /usr/share/info/automake.info
( cd /usr/man/man1 ; rm -f aclocal.1 automake.1 aclocal-* automake-* )
find /usr/share -maxdepth 1 -type d -name "aclocal-*" -exec rm -r {} \;
find /usr/share -maxdepth 1 -type d -name "automake-*" -exec rm -r {} \;
test -d /usr/share/doc/automake && rm -r /usr/share/doc/automake
( cd /usr/share/man/man1 ; rm -f aclocal.1 automake.1 aclocal-* automake-* )
exit
find ~/src -maxdepth 1 -type d -name "automake-*" -exec rm -r {} \;
rm -f ~/installed/automake-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2023-12-22 8:25pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]