LP#1306019 Debian Jessie makefile.install target
authorBill Erickson <berick@esilibrary.com>
Thu, 10 Apr 2014 15:39:06 +0000 (11:39 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 7 Aug 2014 15:27:49 +0000 (11:27 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Conflicts:
Open-ILS/src/extras/Makefile.install
docs/installation/server_installation.txt

Open-ILS/src/extras/Makefile.install
Open-ILS/src/extras/install/Makefile.debian-jessie [new file with mode: 0644]
docs/installation/server_installation.txt

index 3aabf24..bb46f6d 100644 (file)
@@ -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 (file)
index 0000000..6c76bd2
--- /dev/null
@@ -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:
index f7c2fd8..01686f4 100644 (file)
@@ -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 <osname> below:
+   substituting `debian-jessie`, `debian-wheezy`, `debian-squeeze`, `fedora`, 
+   `ubuntu-trusty`, or `ubuntu-precise` for <osname> below:
 +
 [source, bash]
 ------------------------------------------------------------------------------