From 4af0f8365f2db5cb7345a4ee72b5893e7c3c3883 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 10 Apr 2014 11:39:06 -0400 Subject: [PATCH] LP#1306019 Debian Jessie makefile.install target Signed-off-by: Bill Erickson Signed-off-by: Ben Shum Conflicts: Open-ILS/src/extras/Makefile.install docs/installation/server_installation.txt --- Open-ILS/src/extras/Makefile.install | 10 +- .../src/extras/install/Makefile.debian-jessie | 103 ++++++++++++++++++ docs/installation/server_installation.txt | 4 +- 3 files changed, 113 insertions(+), 4 deletions(-) create mode 100644 Open-ILS/src/extras/install/Makefile.debian-jessie diff --git a/Open-ILS/src/extras/Makefile.install b/Open-ILS/src/extras/Makefile.install index 3aabf24c75..bb46f6dfc8 100644 --- a/Open-ILS/src/extras/Makefile.install +++ b/Open-ILS/src/extras/Makefile.install @@ -4,12 +4,14 @@ # # Makefile to install prerequisites for OpenSRF and Evergreen # -# Currently supports Debian (wheezy, squeeze), Ubuntu (12.04), Ubuntu (14.04) and -# Fedora (16 and 17). +# Currently supports Debian (jessie, wheezy, squeeze), Ubuntu (12.04), +# Ubuntu (14.04) and Fedora (16 and 17). # # Installs Perl prereqs, libjs with Perl wrapper, libdbi, libdbi-drivers, and libyaz # # usage: +# make -f Makefile.install debian-jessie +# - or - # make -f Makefile.install debian-wheezy # - or - # make -f Makefile.install debian-squeeze @@ -63,6 +65,8 @@ DIR = $(dir $(lastword $(MAKEFILE_LIST)))/install all: @echo "please specify an OS" && exit 0 +debian-jessie: + @make -f $(DIR)/Makefile.debian-jessie debian-wheezy: @make -f $(DIR)/Makefile.debian-wheezy debian-squeeze: @@ -74,6 +78,8 @@ ubuntu-precise: fedora: @make -f $(DIR)/Makefile.fedora +postgres-server-debian-jessie: + @make -f $(DIR)/Makefile.debian-jessie install_postgres_server postgres-server-debian-wheezy: @make -f $(DIR)/Makefile.debian-wheezy install_postgres_server postgres-server-debian-squeeze: diff --git a/Open-ILS/src/extras/install/Makefile.debian-jessie b/Open-ILS/src/extras/install/Makefile.debian-jessie new file mode 100644 index 0000000000..6c76bd2819 --- /dev/null +++ b/Open-ILS/src/extras/install/Makefile.debian-jessie @@ -0,0 +1,103 @@ +# install files for Debian Wheezy + +DIR = $(dir $(lastword $(MAKEFILE_LIST))) + +export DEBS = \ + apache2-prefork-dev\ + aspell\ + aspell-en\ + libbusiness-creditcard-perl\ + libbusiness-isbn-data-perl\ + libbusiness-isbn-perl\ + libbusiness-issn-perl\ + libbusiness-onlinepayment-authorizenet-perl\ + libbusiness-onlinepayment-perl\ + libdatetime-format-builder-perl\ + libdatetime-format-iso8601-perl\ + libdatetime-format-mail-perl\ + libdatetime-perl\ + libdatetime-set-perl\ + libdatetime-timezone-perl\ + libdbd-pg-perl\ + libemail-send-perl\ + libemail-simple-perl\ + libgd-graph3d-perl\ + liblibrary-callnumber-lc-perl \ + liblocale-maketext-lexicon-perl\ + liblog-log4perl-perl\ + libmarc-charset-perl \ + libmarc-record-perl\ + libmarc-xml-perl \ + libncurses5-dev\ + 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\ + libparent-perl\ + libpq5\ + libpq-dev\ + librose-uri-perl\ + librpc-xml-perl\ + libspreadsheet-writeexcel-perl\ + libsru-perl\ + libssh2-1-dev\ + libtest-warn-perl\ + libtest-output-perl\ + libtext-aspell-perl\ + libtext-csv-perl\ + libuniversal-require-perl\ + libunix-syslog-perl\ + libuuid-tiny-perl\ + libyaz-dev\ + postgresql-client-9.3\ + libsoap-lite-perl\ + libbz2-dev\ + yaz + +export DEB_APACHE_MODS = \ + expires\ + include\ + proxy\ + proxy_http\ + rewrite + +export DEB_APACHE_DISMODS = \ + deflate + +export CPAN_MODULES = \ + Business::OnlinePayment::PayPal \ + Business::Stripe \ + Template::Plugin::POSIX \ + Safe + +export CPAN_MODULES_FORCE = \ + Class::DBI::Frozen::301 + +PGSQL_SERVER_DEBS_93 = \ + postgresql-9.3 \ + postgresql-contrib-9.3 \ + postgresql-plperl-9.3 \ + postgresql-server-dev-9.3 + +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.common install_libdbi + make -f $(DIR)/Makefile.debian install_js_sm + make -f $(DIR)/Makefile.debian debian_sys_config + +install_postgres_server: + make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_93)" + +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 f7c2fd8321..01686f4863 100644 --- a/docs/installation/server_installation.txt +++ b/docs/installation/server_installation.txt @@ -83,8 +83,8 @@ deb http://backports.debian.org/debian-backports squeeze-backports main contrib retrieve the new packages from the backports repository. 4. Issue the following commands as the *root* Linux account to install prerequisites using the `Makefile.install` prerequisite installer, - substituting `debian-squeeze`, `debian-wheezy`, `fedora`, `ubuntu-precise`, or - `ubuntu-trusty` for below: + substituting `debian-jessie`, `debian-wheezy`, `debian-squeeze`, `fedora`, + `ubuntu-trusty`, or `ubuntu-precise` for below: + [source, bash] ------------------------------------------------------------------------------ -- 2.43.2