From be0ed357743e8b36f13fe38a9127dc8bd0f4172e Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Tue, 5 Jul 2016 13:03:57 -0400 Subject: [PATCH] LP#1603708: Remove support for Ubuntu 12.04 Precise With support for Ubuntu 16.04 Xenial in place, remove the oldest LTS, which is Ubuntu 12.04 Precise. Signed-off-by: Ben Shum Signed-off-by: Mike Rylander --- Open-ILS/src/extras/Makefile.install | 12 +- Open-ILS/src/extras/install/Makefile.common | 2 +- .../extras/install/Makefile.ubuntu-precise | 148 ------------------ docs/installation/server_installation.txt | 21 +-- docs/installation/server_upgrade.txt | 3 +- 5 files changed, 10 insertions(+), 176 deletions(-) delete mode 100644 Open-ILS/src/extras/install/Makefile.ubuntu-precise diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install index 2a372b61a6..73161a6fa2 100644 --- a/Open-ILS/src/extras/Makefile.install +++ b/Open-ILS/src/extras/Makefile.install @@ -14,8 +14,6 @@ # - or - # make -f Makefile.install debian-wheezy # - or - -# make -f Makefile.install ubuntu-precise -# - or - # make -f Makefile.install ubuntu-trusty # - or - # make -f Makefile.install ubuntu-xenial @@ -39,7 +37,7 @@ export LIBDBI_DRIVERS=libdbi-drivers-0.8.3 export LIBDBI_HOST=http://open-ils.org/~denials/evergreen # some OSes require a source install of NodeJS. -# NOTE: Deprecate me with wheezy / precise +# NOTE: Deprecate me with wheezy export NODEJS_SOURCE_VERSION=v0.10.28 # As this Makefile is designed to be used by a make process running as @@ -69,8 +67,6 @@ ubuntu-xenial: @make -f $(DIR)/Makefile.ubuntu-xenial ubuntu-trusty: @make -f $(DIR)/Makefile.ubuntu-trusty -ubuntu-precise: - @make -f $(DIR)/Makefile.ubuntu-precise fedora: @make -f $(DIR)/Makefile.fedora @@ -82,8 +78,6 @@ 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-ubuntu-precise: - @make -f $(DIR)/Makefile.ubuntu-precise install_postgres_server postgres-server-fedora: @make -f $(DIR)/Makefile.fedora install_postgres_server @@ -93,8 +87,6 @@ ubuntu-trusty-developer: @make -f $(DIR)/Makefile.ubuntu-trusty install_developer debian-jessie-developer: @make -f $(DIR)/Makefile.debian-jessie install_developer -ubuntu-precise-developer: - @make -f $(DIR)/Makefile.ubuntu-precise install_developer debian-wheezy-developer: @make -f $(DIR)/Makefile.debian-wheezy install_developer @@ -104,8 +96,6 @@ ubuntu-trusty-packager: @make -f $(DIR)/Makefile.ubuntu-trusty install_packager debian-jessie-packager: @make -f $(DIR)/Makefile.debian-jessie install_packager -ubuntu-precise-packager: - @make -f $(DIR)/Makefile.ubuntu-precise install_packager debian-wheezy-packager: @make -f $(DIR)/Makefile.debian-wheezy install_packager diff --git a/Open-ILS/src/extras/install/Makefile.common b/Open-ILS/src/extras/install/Makefile.common index ecfdb8f821..3ad90cf82c 100644 --- a/Open-ILS/src/extras/install/Makefile.common +++ b/Open-ILS/src/extras/install/Makefile.common @@ -27,7 +27,7 @@ install_libdbi: cd $(LIBDBI_DRIVERS) && ./configure \ --disable-docs --with-pgsql --enable-libdbi && make all install -# NOTE: Deprecate me with wheezy / precise +# NOTE: Deprecate me with wheezy install_nodejs_from_source: git clone https://github.com/joyent/node.git cd node; \ diff --git a/Open-ILS/src/extras/install/Makefile.ubuntu-precise b/Open-ILS/src/extras/install/Makefile.ubuntu-precise deleted file mode 100644 index 853d6f853e..0000000000 --- a/Open-ILS/src/extras/install/Makefile.ubuntu-precise +++ /dev/null @@ -1,148 +0,0 @@ -# install files for Ubuntu 12.04 LTS Precise Pangolin - -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 \ - libuuid-tiny-perl \ - libxml-libxml-perl \ - libxml-libxslt-perl - -export DEBS = \ - $(DEB_PGSQL_COMMON_MODS) \ - apache2-prefork-dev\ - aspell\ - aspell-en\ - 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\ - 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\ - libtext-aspell-perl\ - libtext-csv-perl\ - libuniversal-require-perl\ - libunix-syslog-perl\ - libyaz-dev\ - postgresql-client-9.1\ - libsoap-lite-perl\ - libtest-warn-perl\ - libtest-output-perl\ - libparse-recdescent-perl\ - yaz - -export DEB_APACHE_MODS = \ - expires\ - include\ - proxy\ - proxy_http\ - rewrite - -export DEB_APACHE_DISMODS = \ - deflate - -export CPAN_MODULES = \ - Excel::Writer::XLSX \ - Business::CreditCard::Object \ - Business::OnlinePayment::PayPal \ - Template::Plugin::POSIX \ - Rose::URI \ - -export CPAN_MODULES_FORCE = \ - Business::Stripe \ - Class::DBI::Frozen::301 - -PGSQL_SERVER_DEBS_91 = \ - $(DEB_PGSQL_COMMON_MODS) \ - postgresql-9.1 \ - postgresql-contrib-9.1 \ - postgresql-plperl-9.1 \ - postgresql-server-dev-9.1 - -# 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 = \ - libtemplate-perl \ - liblocale-maketext-lexicon-perl \ - asciidoc \ - source-highlight \ - translate-toolkit \ - python-dev \ - python-levenshtein \ - python-polib \ - python-setuptools \ - python-simplejson \ - python-lxml \ - zip \ - unzip \ - bzr \ - nsis - -all: - 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_91)" - -install_developer: - make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)" - make -f $(DIR)/Makefile.common install_nodejs_from_source - -install_packager: install_developer - 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.txt b/docs/installation/server_installation.txt index 74679c0c4b..91aec9b9db 100644 --- a/docs/installation/server_installation.txt +++ b/docs/installation/server_installation.txt @@ -58,7 +58,7 @@ Installing prerequisites is 9.1. * **Linux**: Evergreen 2.8 has been tested on Debian Jessie (8.0), Debian Wheezy (7.0), Ubuntu Xenial Xerus (16.04), - Ubuntu Trusty Tahr (14.04), Ubuntu Precise Pangolin (12.04), and Fedora. + Ubuntu Trusty Tahr (14.04), and Fedora. 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, Ubuntu or Fedora websites. @@ -73,7 +73,7 @@ before you can successfully configure, compile, and install Evergreen. 2. On some distributions, it is necessary to install PostgreSQL 9.1+ from external repositories. + - * Debian (Wheezy and Jessie) and Ubuntu (Precise, Trusty, and Xenial) comes with + * Debian (Wheezy and Jessie) and Ubuntu (Trusty and Xenial) comes with PostgreSQL 9.1+, so no additional steps are required. * Fedora 19 and 20 come with PostgreSQL 9.2+, so no additional steps are required. + @@ -82,7 +82,7 @@ before you can successfully configure, compile, and install Evergreen. 4. Issue the following commands as the *root* Linux account to install prerequisites using the `Makefile.install` prerequisite installer, substituting `debian-jessie`, `debian-wheezy`, `fedora`, - `ubuntu-xenial`, `ubuntu-trusty`, or `ubuntu-precise` for below: + `ubuntu-xenial`, or `ubuntu-trusty` for below: + [source, bash] ------------------------------------------------------------------------------ @@ -93,7 +93,7 @@ make -f Open-ILS/src/extras/Makefile.install issuing the following commands as the *root* Linux account: + [NOTE] -You should skip this step if installing on Ubuntu Precise, Trusty, Xenial or Debian Jessie. The Ubuntu +You should skip this step if installing on Ubuntu Trusty, Ubuntu Xenial or Debian Jessie. The Ubuntu and Debian Jessie targets use libdbd-pgsql from packages. + .Debian Wheezy @@ -298,7 +298,7 @@ versions 2.4 or greater) to configure your Web server for the Evergreen catalog, staff client, Web services, and administration interfaces. Issue the following commands as the *root* Linux account: + -.Debian Wheezy and Ubuntu Precise +.Debian Wheezy [source,bash] ------------------------------------------------------------------------------ cp Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/ @@ -365,7 +365,7 @@ place. a request timing out unexpectedly, but increase the risk of using up all available Apache child processes. b. 'Optional': Change `MaxKeepAliveRequests` to `100` - c. (Debian Wheezy, Ubuntu Precise, and Fedora) Update the prefork configuration + c. (Debian Wheezy and Fedora) Update the prefork configuration section to suit your environment. The following settings apply to a busy system: + @@ -392,7 +392,7 @@ a2enmod mpm_prefork 6. (Fedora): As the *root* Linux account, edit the `/etc/httpd/eg_vhost.conf` file to change references from the non-existent `/etc/apache2/` directory to `/etc/httpd/`. -7. (Debian Wheezy and Ubuntu Precise): As the *root* Linux account, enable the Evergreen site: +7. (Debian Wheezy): As the *root* Linux account, enable the Evergreen site: + [source,bash] ------------------------------------------------------------------------------ @@ -472,7 +472,6 @@ command below based on your operating system. ------------------------------------------------------------------------------ make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-jessie make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-wheezy -make -f Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-precise 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-fedora @@ -492,12 +491,6 @@ systemctl start postgresql For a standalone PostgreSQL server, install the following Perl modules for your distribution as the *root* Linux account: -.(Ubuntu Precise) -[source,bash] ---------------------------------------------------------------------------------- -cpan Rose::URI ---------------------------------------------------------------------------------- - .(Debian Wheezy, Ubuntu Trusty, and Ubuntu Xenial) No extra modules required for these distributions. diff --git a/docs/installation/server_upgrade.txt b/docs/installation/server_upgrade.txt index 2b4cb5412e..773c250ef2 100644 --- a/docs/installation/server_upgrade.txt +++ b/docs/installation/server_upgrade.txt @@ -10,7 +10,7 @@ Software Prerequisites is 9.1. * **Linux**: Evergreen 2.10.1 has been tested on Debian Jessie (8.0), Debian Wheezy (7.0), Ubuntu Xenial Xerus (16.04), Ubuntu Trusty Tahr (14.04), - Ubuntu Precise Pangolin (12.04), and Fedora. + and Fedora. 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, Ubuntu or Fedora websites. @@ -72,7 +72,6 @@ indexterm:[Linux, Ubuntu] * `debian-wheezy` for Debian Wheezy (7.0) * `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) - * `ubuntu-precise` for Ubuntu Precise Pangolin (12.04) * `fedora` for Fedora + -- 2.43.2