From 142655ae2b4d808fc43e34e4223dbbf0c04e7d44 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Fri, 14 Dec 2018 16:00:41 -0500 Subject: [PATCH] Lp 1808580: Remove Installation Support for Ubuntu 14.04 Remove prerequisite installation on Ubuntu 14.04 "Trusty Tahr" from Makefile.install and the edi_translator installation script. Remove and/or update references to Ubuntu 14.04 Trusty Tahr to Ubuntu 18.04 Bionic Beaver in the server installation and upgrade documents. Signed-off-by: Jason Stephenson Signed-off-by: Ben Shum --- Open-ILS/src/edi_translator/install-ubuntu.sh | 2 - Open-ILS/src/extras/Makefile.install | 14 +- .../src/extras/install/Makefile.ubuntu-trusty | 168 ------------------ docs/installation/server_installation.adoc | 22 +-- docs/installation/server_upgrade.adoc | 3 +- 5 files changed, 7 insertions(+), 202 deletions(-) delete mode 100644 Open-ILS/src/extras/install/Makefile.ubuntu-trusty diff --git a/Open-ILS/src/edi_translator/install-ubuntu.sh b/Open-ILS/src/edi_translator/install-ubuntu.sh index 56728db1ee..73e4ec572b 100755 --- a/Open-ILS/src/edi_translator/install-ubuntu.sh +++ b/Open-ILS/src/edi_translator/install-ubuntu.sh @@ -4,8 +4,6 @@ UBUNTU_RELEASE=$(lsb_release -sc) if [ "$UBUNTU_RELEASE" == "xenial" ]; then RUBY_VERSION="2.3.0" -elif [ "$UBUNTU_RELEASE" == "trusty" ]; then - RUBY_VERSION="1.9.1" else echo "Could not determine your Ubuntu release." echo "Please consult $0 and install manually." diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install index d58a6f48cb..ac4013cd3a 100644 --- a/Open-ILS/src/extras/Makefile.install +++ b/Open-ILS/src/extras/Makefile.install @@ -5,7 +5,7 @@ # Makefile to install prerequisites for OpenSRF and Evergreen # # Currently supports Debian (stretch, jessie), -# Ubuntu (14.04), Ubuntu (16.04). +# Ubuntu (16.04), Ubuntu (18.04). # # Installs Perl prereqs, libdbi, libdbi-drivers, and libyaz # @@ -14,8 +14,6 @@ # - or - # make -f Makefile.install debian-jessie # - or - -# make -f Makefile.install ubuntu-trusty -# - or - # make -f Makefile.install ubuntu-xenial # - or - # make -f Makefile.install ubuntu-bionic @@ -72,8 +70,6 @@ ubuntu-bionic: @make -f $(DIR)/Makefile.ubuntu-bionic ubuntu-xenial: @make -f $(DIR)/Makefile.ubuntu-xenial -ubuntu-trusty: - @make -f $(DIR)/Makefile.ubuntu-trusty fedora: @make -f $(DIR)/Makefile.fedora @@ -85,8 +81,6 @@ postgres-server-ubuntu-bionic: @make -f $(DIR)/Makefile.ubuntu-bionic install_postgres_server postgres-server-ubuntu-xenial: @make -f $(DIR)/Makefile.ubuntu-xenial install_postgres_server -postgres-server-ubuntu-trusty: - @make -f $(DIR)/Makefile.ubuntu-trusty install_postgres_server postgres-server-fedora: @make -f $(DIR)/Makefile.fedora install_postgres_server @@ -94,8 +88,6 @@ ubuntu-bionic-developer: @make -f $(DIR)/Makefile.ubuntu-bionic install_developer ubuntu-xenial-developer: @make -f $(DIR)/Makefile.ubuntu-xenial install_developer -ubuntu-trusty-developer: - @make -f $(DIR)/Makefile.ubuntu-trusty install_developer debian-stretch-developer: @make -f $(DIR)/Makefile.debian-stretch install_developer debian-jessie-developer: @@ -105,8 +97,6 @@ ubuntu-bionic-translator: @make -f $(DIR)/Makefile.ubuntu-bionic install_translator ubuntu-xenial-translator: @make -f $(DIR)/Makefile.ubuntu-xenial install_translator -ubuntu-trusty-translator: - @make -f $(DIR)/Makefile.ubuntu-trusty install_translator debian-stretch-translator: @make -f $(DIR)/Makefile.debian-stretch install_translator debian-jessie-translator: @@ -116,8 +106,6 @@ ubuntu-bionic-packager: @make -f $(DIR)/Makefile.ubuntu-bionic install_packager ubuntu-xenial-packager: @make -f $(DIR)/Makefile.ubuntu-xenial install_packager -ubuntu-trusty-packager: - @make -f $(DIR)/Makefile.ubuntu-trusty install_packager debian-stretch-packager: @make -f $(DIR)/Makefile.debian-stretch install_packager debian-jessie-packager: diff --git a/Open-ILS/src/extras/install/Makefile.ubuntu-trusty b/Open-ILS/src/extras/install/Makefile.ubuntu-trusty deleted file mode 100644 index f1e1ef5af5..0000000000 --- a/Open-ILS/src/extras/install/Makefile.ubuntu-trusty +++ /dev/null @@ -1,168 +0,0 @@ -# install files for Ubuntu 14.04 LTS Trusty Tahr - -DIR = $(dir $(lastword $(MAKEFILE_LIST))) - -export DEB_PGSQL_COMMON_MODS = \ - gcc \ - libbusiness-isbn-perl \ - libjson-xs-perl \ - liblibrary-callnumber-lc-perl \ - libmarc-record-perl \ - libmarc-xml-perl \ - librose-uri-perl \ - libuuid-tiny-perl \ - libxml-libxml-perl \ - libxml-libxslt-perl - -export DEBS = \ - $(DEB_PGSQL_COMMON_MODS) \ - apache2-prefork-dev\ - aspell\ - aspell-en\ - libapache2-mod-perl2\ - libbusiness-creditcard-perl\ - libbusiness-edi-perl \ - libbusiness-isbn-data-perl\ - libbusiness-issn-perl\ - libbusiness-onlinepayment-authorizenet-perl\ - libbusiness-onlinepayment-payflowpro-perl\ - libbusiness-onlinepayment-perl\ - libdate-manip-perl\ - libdatetime-format-builder-perl\ - libdatetime-format-iso8601-perl\ - libdatetime-format-mail-perl\ - libdatetime-perl\ - libdatetime-set-perl\ - libdatetime-timezone-perl\ - libdbd-pg-perl\ - libdbd-pgsql \ - libdbi-dev \ - libemail-send-perl\ - libemail-simple-perl\ - libexcel-writer-xlsx-perl\ - libgd-graph3d-perl\ - liblocale-maketext-lexicon-perl\ - liblog-log4perl-perl\ - libmarc-charset-perl \ - libncurses5-dev\ - libnet-https-any-perl \ - libnet-ip-perl\ - libnet-ldap-perl \ - libnet-server-perl\ - libnet-ssh2-perl\ - libnet-z3950-simple2zoom-perl\ - libnet-z3950-simpleserver-perl\ - libnet-z3950-zoom-perl \ - libnspr4-dev\ - libole-storage-lite-perl\ - libbz2-dev \ - libpq5\ - libpq-dev\ - librpc-xml-perl\ - libsru-perl\ - libssh2-1-dev\ - libtemplate-plugin-posix-perl\ - libtest-output-perl\ - libtext-aspell-perl\ - libtext-csv-perl\ - libuniversal-require-perl\ - libunix-syslog-perl\ - libyaz-dev\ - postgresql-client-9.4\ - libsoap-lite-perl\ - libtest-warn-perl\ - libparse-recdescent-perl\ - yaz - -export DEB_APACHE_MODS = \ - expires\ - include\ - proxy\ - proxy_http\ - rewrite\ - cgi\ - perl\ - remoteip - -export DEB_APACHE_DISMODS = \ - deflate - -export DEB_APACHE_DISCONF = \ - serve-cgi-bin - -export CPAN_MODULES = \ - Business::CreditCard::Object \ - Business::OnlinePayment::PayPal \ - -export CPAN_MODULES_FORCE = \ - Business::Stripe \ - Class::DBI::Frozen::301 - -PGSQL_APT_REPO_DEBS = \ - wget \ - ca-certificates - -PGSQL_SERVER_DEBS_94 = \ - $(DEB_PGSQL_COMMON_MODS) \ - postgresql-9.4 \ - postgresql-contrib-9.4 \ - postgresql-plperl-9.4 \ - postgresql-server-dev-9.4 - -# note: some prereqs are repeated in the developer/packager -# sections to support building Evergreen packages on servers -# where Evergreen and its prereqs are not installed. - -DEVELOPER_DEBS = \ - automake \ - autoconf \ - libtool - -PACKAGER_DEBS = \ - asciidoc \ - source-highlight \ - zip \ - unzip \ - nsis - -TRANSLATOR_DEBS = \ - libtemplate-perl \ - liblocale-maketext-lexicon-perl \ - translate-toolkit \ - python-dev \ - python-levenshtein \ - python-polib \ - python-setuptools \ - python-simplejson \ - python-lxml \ - bzr - -all: - make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)" - make -f $(DIR)/Makefile.debian debian_postgresql_repo - make -f $(DIR)/Makefile.debian install_debs - make -f $(DIR)/Makefile.debian test_for_libdbi_pkg - make -f $(DIR)/Makefile.common install_cpan - make -f $(DIR)/Makefile.common install_cpan_force - make -f $(DIR)/Makefile.debian debian_sys_config - -install_postgres_server: - make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)" - -# note: if/when grunt-cli is available as a -# package, use the packaged version instead. -install_developer: - make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)" - make -f $(DIR)/Makefile.common install_nodejs_from_source - -install_translator: install_developer - make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)" - -install_packager: install_developer install_translator - make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)" - -clean: - make -f $(DIR)/Makefile.common clean - make -f $(DIR)/Makefile.debian clean - -# vim:noet:sw=4:ts=4: diff --git a/docs/installation/server_installation.adoc b/docs/installation/server_installation.adoc index 1fb32aa23a..b46d769b55 100644 --- a/docs/installation/server_installation.adoc +++ b/docs/installation/server_installation.adoc @@ -59,8 +59,7 @@ Installing prerequisites Debian Stretch (9), Debian Jessie (8), Ubuntu Bionic Beaver (18.04), - Ubuntu Xenial Xerus (16.04), - and Ubuntu Trusty Tahr (14.04). + and Ubuntu Xenial Xerus (16.04). If you are running an older version of these distributions, you may want to upgrade before upgrading Evergreen. For instructions on upgrading these distributions, visit the Debian or Ubuntu websites. @@ -72,21 +71,11 @@ before you can successfully configure, compile, and install Evergreen. 1. Begin by installing the most recent version of OpenSRF (3.0.0 or later). You can download OpenSRF releases from http://evergreen-ils.org/opensrf-downloads/ -2. On some distributions, it is necessary to install PostgreSQL 9.4+ from external - repositories. -+ - * Ubuntu (Trusty) comes with an older version of PostgreSQL - and Ubuntu (Bionic) comes with a newer version of PostgreSQL, - so steps are taken to automatically utilize the PostgreSQL - community's apt sources. - (For complete details, see: https://wiki.postgresql.org/wiki/Apt) - * Debian (Jessie/Stretch) and Ubuntu (Xenial) comes with PostgreSQL 9.4+, - so no additional steps are required. -+ -3. Issue the following commands as the *root* Linux account to install ++ +2. Issue the following commands as the *root* Linux account to install prerequisites using the `Makefile.install` prerequisite installer, - substituting `debian-stretch`,`debian-jessie`,`ubuntu-bionic`,`ubuntu-xenial`, - or `ubuntu-trusty` for below: + substituting `debian-stretch`,`debian-jessie`,`ubuntu-bionic`, or + `ubuntu-xenial` for below: + [source, bash] ------------------------------------------------------------------------------ @@ -436,7 +425,6 @@ command below based on your operating system. ------------------------------------------------------------------------------ make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-stretch make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-jessie -make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-trusty make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-xenial make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-bionic ------------------------------------------------------------------------------ diff --git a/docs/installation/server_upgrade.adoc b/docs/installation/server_upgrade.adoc index 1983804ca3..601481c813 100644 --- a/docs/installation/server_upgrade.adoc +++ b/docs/installation/server_upgrade.adoc @@ -8,7 +8,7 @@ Software Prerequisites * **PostgreSQL**: The minimum supported version is 9.4. * **Linux**: Evergreen 2.12.0 has been tested on Debian Stretch (9.0), - Debian Jessie (8.0), Ubuntu Xenial Xerus (16.04),and Ubuntu Trusty Tahr (14.04). + Debian Jessie (8.0), Ubuntu Xenial Xerus (16.04), and Ubuntu Bionic Beaver (18.04). If you are running an older version of these distributions, you may want to upgrade before upgrading Evergreen. For instructions on upgrading these distributions, visit the Debian or Ubuntu websites. @@ -69,7 +69,6 @@ indexterm:[Linux, Ubuntu] * `debian-stretch` for Debian Stretch (9.0) (EDI compatibility in progress) * `debian-jessie` for Debian Jessie (8.0) (See https://bugs.launchpad.net/evergreen/+bug/1342227[Bug 134222] if you want to use EDI) * `ubuntu-xenial` for Ubuntu Xenial Xerus (16.04) (EDI compatibility in progress) - * `ubuntu-trusty` for Ubuntu Trusty Tahr (14.04) (See https://bugs.launchpad.net/evergreen/+bug/1342227[Bug 134222] if you want to use EDI) + [source, bash] -- 2.43.2