From b6b64deb16ed3f005d64f99365b0220a82d72431 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 7 Dec 2011 15:08:42 -0500 Subject: [PATCH] Support installation for Ubuntu 12.04 Precise Pangolin. Update the README to include Precise Pangolin as a supported release. Update src/extras/Makefile.install to install two new debs required on Ubuntu 12.04 alpha1. Signed-off-by: Jason Stephenson Signed-off-by: Chris Sharp --- README | 1 + src/extras/Makefile.install | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README b/README index 50c21f8..95f8fbc 100644 --- a/README +++ b/README @@ -24,6 +24,7 @@ Well-tested values for include: * `debian-squeeze` for Debian 6.0.0 * `ubuntu-hardy` for Ubuntu 8.04 * `ubuntu-lucid` for Ubuntu 10.04 + * `ubuntu-precise` for Ubuntu 12.04 * `fedora15` for Fedora 15 Less-tested values for include: diff --git a/src/extras/Makefile.install b/src/extras/Makefile.install index f49a477..56725c9 100644 --- a/src/extras/Makefile.install +++ b/src/extras/Makefile.install @@ -4,7 +4,7 @@ # # Makefile to install prerequisites for OpenSRF # -# Currently supports Debian (lenny/squeeze), Ubuntu (hardy/lucid) +# Currently supports Debian (lenny/squeeze), Ubuntu (hardy/lucid/precise) # Working towards support of CentOS 5 / RHEL 5 and Fedora. # Installs Perl prereqs, libjs with Perl wrapper # @@ -17,6 +17,8 @@ # - or - # make -f Makefile.install ubuntu-lucid # - or - +# make -f Makefile.install ubuntu-precise +# - or - # make -f Makefile.install centos # - or - # make -f Makefile.install rhel @@ -258,6 +260,13 @@ EXTRA_DEBS_UBUNTU_LUCID = \ libxml-libxml-perl \ libxml-libxslt-perl +EXTRA_DEBS_UBUNTU_PRECISE = \ + libmemcached-dev\ + libxml-libxml-perl \ + libxml-libxslt-perl \ + ncurses-dev \ + libreadline-dev + # generic CPAN modules: # * DateTime::Format::ISO8601 is packaged by both Debian Lenny and Ubuntu Intrepid # * JSON::XS is packaged by both Debian Lenny and Ubuntu Intrepid @@ -295,8 +304,10 @@ rhel: centos ubuntu-hardy: generic_ubuntu install_cpan_xml hardy ubuntu-lucid: generic_ubuntu lucid +ubuntu-precise: generic_ubuntu precise hardy: install_cpan install_libmemcached lucid: install_extra_debs install_extra_debs_lucid +precise: install_extra_debs install_extra_debs_precise generic_ubuntu: install_debs debian_sys_config # - COMMON TARGETS --------------------------------------------------------- @@ -416,6 +427,9 @@ install_extra_debs_squeeze: install_extra_debs install_extra_debs_lucid: $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_LUCID) +install_extra_debs_precise: + $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_PRECISE) + # Fedora install_fedora_rpms: yum -y install $(FEDORAS) -- 2.43.2