# - or -
# make -f Makefile.install ubuntu-bionic
# - or -
+# make -f Makefile.install rhel
+# - or -
+# make -f Makefile.install centos
+# - or -
# make -f Makefile.install fedora
-#
# ---------------------------------------------------------------------
# variables shared by all installers
@make -f $(DIR)/Makefile.ubuntu-xenial
fedora:
@make -f $(DIR)/Makefile.fedora
+rhel:
+ @make -f $(DIR)/Makefile.rhel
+centos:
+ @make -f $(DIR)/Makefile.centos
postgres-server-debian-buster:
@make -f $(DIR)/Makefile.debian-buster install_postgres_server
@make -f $(DIR)/Makefile.ubuntu-xenial install_postgres_server_10
postgres-server-fedora:
@make -f $(DIR)/Makefile.fedora install_postgres_server
+postgres-server-rhel:
+ @make -f $(DIR)/Makefile.rhel install_postgres_server
+postgres-server-centos:
+ @make -f $(DIR)/Makefile.centos install_postgres_server
ubuntu-bionic-developer:
@make -f $(DIR)/Makefile.ubuntu-bionic install_developer
@make -f $(DIR)/Makefile.debian-stretch install_developer
debian-jessie-developer:
@make -f $(DIR)/Makefile.debian-jessie install_developer
+centos-developer:
+ @make -f $(DIR)/Makefile.centos install_developer
+rhel-developer:
+ @make -f $(DIR)/Makefile.rhel install_developer
ubuntu-bionic-translator:
@make -f $(DIR)/Makefile.ubuntu-bionic install_translator
--- /dev/null
+# install files for CentOS
+
+DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+
+PGSQL_COMMON_RPMS = \
+ perl-UUID-Tiny \
+ perl-XML-LibXML \
+ perl-XML-LibXSLT
+
+RPMS = \
+ $(PGSQL_COMMON_RPMS) \
+ aspell \
+ aspell-en \
+ bzip2-devel \
+ libdbi \
+ libdbi-dbd-pgsql \
+ libdbi-devel \
+ libssh2-devel \
+ libpq \
+ libpq-devel \
+ libyaz \
+ libyaz-devel \
+ mod_ssl \
+ ncurses-devel \
+ ncurses-libs \
+ nspr-devel \
+ pcre-static \
+ perl-parent \
+ perl-Date-Manip \
+ perl-DBD-Pg \
+ perl-Email-Simple \
+ perl-Email-MIME \
+ perl-GDGraph3d \
+ perl-Locale-Codes \
+ perl-Locale-Maketext-Lexicon \
+ perl-Module-Pluggable \
+ perl-Net-IP \
+ perl-OLE-Storage_Lite \
+ perl-Parse-RecDescent \
+ perl-SOAP-Lite \
+ perl-Test-Output \
+ perl-Text-CSV \
+ perl-Text-CSV_XS \
+ perl-XML-Writer \
+ postgresql-devel \
+ yaz
+
+export CPAN_MODULES = \
+ Business::CreditCard \
+ Business::ISBN::Data \
+ Crypt::SSLeay \
+ Email::Send \
+ HTML::Defang \
+ MARC::Charset \
+ Net::SSH2 \
+ RPC::XML \
+ Text::Aspell \
+ Excel::Writer::XLSX \
+ Business::ISSN \
+ Net::Z3950::ZOOM \
+ Net::Z3950::Simple2ZOOM \
+ Net::Z3950::SimpleServer \
+ Template::Plugin::POSIX \
+ SRU \
+ Rose::URI
+
+export CPAN_MODULES_PGSQL = \
+ Business::ISBN \
+ Library::CallNumber::LC \
+ MARC::Record \
+ MARC::XML
+
+export CPAN_MODULES_FORCE = \
+ Business::Stripe \
+ Class::DBI::Frozen::301 \
+ Business::OnlinePayment \
+ Business::OnlinePayment::AuthorizeNet \
+ Business::OnlinePayment::PayflowPro \
+ Business::OnlinePayment::PayPal
+
+PGSQL_RPMS = \
+ $(PGSQL_COMMON_RPMS) \
+ postgresql \
+ postgresql-contrib \
+ postgresql-libs \
+ postgresql-plperl \
+ postgresql-server
+
+DEVELOPER_RPMS = \
+ autoconf \
+ automake \
+ chromium-headless \
+ firefox
+
+all:
+ make -f $(DIR)/Makefile.common install_indexdata_centos_repo
+ install_rpms
+ make -f $(DIR)/Makefile.common install_cpan
+ make -f $(DIR)/Makefile.common install_cpan_force
+ make -f $(DIR)/Makefile.common install_cpan_pgsql
+
+install_postgres_server:
+ yum -y install $(PGSQL_RPMS)
+ make -f $(DIR)/Makefile.common install_cpan_pgsql
+
+install_rpms:
+ yum -y update
+ yum -y install $(RPMS)
+
+install_developer:
+ yum -y install $(DEVELOPER_RPMS)
+ make -f $(DIR)/Makefile.common install_nodejs_from_source
+
+clean:
+ make -f $(DIR)/Makefile.common clean
+
+# vim:noet:sw=4:ts=4:
install_cpan_pgsql:
for m in $(CPAN_MODULES_PGSQL); do perl -MCPAN -e "install \"$$m\";"; done
+install_indexdata_centos_repo:
+ rpm --import http://ftp.indexdata.com/pub/yum/centos/8/RPM-GPG-KEY-indexdata
+ wget http://ftp.indexdata.com/pub/yum/centos/8/indexdata.repo -P /etc/yum.repos.d/
+
install_net_z3950_simpleserver:
if [ ! -f $(LIBNET_Z3950_SIMPLESERVER).tar.gz ]; \
then wget $(LIBNET_Z3950_SIMPLESERVER_URL).tar.gz; \
--- /dev/null
+# install files for RHEL
+
+DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+
+PGSQL_COMMON_RPMS = \
+ perl-UUID-Tiny \
+ perl-XML-LibXML \
+ perl-XML-LibXSLT
+
+RPMS = \
+ $(PGSQL_COMMON_RPMS) \
+ aspell \
+ aspell-en \
+ bzip2-devel \
+ libdbi \
+ libdbi-dbd-pgsql \
+ libdbi-devel \
+ libssh2-devel \
+ libpq \
+ libpq-devel \
+ libyaz \
+ libyaz-devel \
+ mod_ssl \
+ ncurses-devel \
+ ncurses-libs \
+ nspr-devel \
+ pcre-static \
+ perl-parent \
+ perl-Date-Manip \
+ perl-DBD-Pg \
+ perl-Email-Simple \
+ perl-Email-MIME \
+ perl-GDGraph3d \
+ perl-LDAP \
+ perl-Locale-Codes \
+ perl-Locale-Maketext-Lexicon \
+ perl-Module-Pluggable \
+ perl-Net-IP \
+ perl-OLE-Storage_Lite \
+ perl-Parse-RecDescent \
+ perl-SOAP-Lite \
+ perl-Test-Output \
+ perl-Text-CSV \
+ perl-Text-CSV_XS \
+ perl-XML-Writer \
+ postgresql-devel \
+ yaz
+
+export CPAN_MODULES = \
+ Business::CreditCard \
+ Business::ISBN::Data \
+ Crypt::SSLeay \
+ Email::Send \
+ HTML::Defang \
+ MARC::Charset \
+ Net::SSH2 \
+ RPC::XML \
+ Text::Aspell \
+ Excel::Writer::XLSX \
+ Business::ISSN \
+ Net::Z3950::ZOOM \
+ Net::Z3950::Simple2ZOOM \
+ Net::Z3950::SimpleServer \
+ Template::Plugin::POSIX \
+ SRU \
+ Rose::URI
+
+export CPAN_MODULES_PGSQL = \
+ Business::ISBN \
+ Library::CallNumber::LC \
+ MARC::Record \
+ MARC::XML
+
+export CPAN_MODULES_FORCE = \
+ Business::Stripe \
+ Class::DBI::Frozen::301 \
+ Business::OnlinePayment \
+ Business::OnlinePayment::AuthorizeNet \
+ Business::OnlinePayment::PayflowPro \
+ Business::OnlinePayment::PayPal
+
+PGSQL_RPMS = \
+ $(PGSQL_COMMON_RPMS) \
+ postgresql \
+ postgresql-contrib \
+ postgresql-libs \
+ postgresql-plperl \
+ postgresql-server
+
+all:
+ make -f $(DIR)/Makefile.common install_indexdata_centos_repo
+ install_rpms
+ make -f $(DIR)/Makefile.common install_cpan
+ make -f $(DIR)/Makefile.common install_cpan_force
+ make -f $(DIR)/Makefile.common install_cpan_pgsql
+
+install_postgres_server:
+ yum -y install $(PGSQL_RPMS)
+ make -f $(DIR)/Makefile.common install_cpan_pgsql
+
+install_rpms:
+ yum -y update
+ yum -y install $(RPMS)
+
+clean:
+ make -f $(DIR)/Makefile.common clean
+
+# vim:noet:sw=4:ts=4: