From 1b80443f266cf37521c63e71bf3bb508b6879c70 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Sat, 21 Jul 2012 22:04:23 +0800 Subject: [PATCH] Bug 8489 - Revised ubuntu-pkg-check.sh, renamed ubuntu package files, tweaked 12.04 package file, copied 12.04 package file to ubuntu.packages 1) Changed ubuntu-pkg-check.sh to use lsb_release to determine version of ubuntu.{version}.packages file. If a versioned file does not exist, the user is warned, and ubuntu.packages is used. Told the user which file is being used. NOTE: ubuntu.packages MUST BE A COPY OF THE LATEST ubuntu.{version}.packages FILE! 2) moved: ubuntu.packages -> ubuntu.10.04.packages ubuntu_maverick.packages -> ubuntu.10.10.packages ubuntu.precise.packages -> ubuntu.12.04 packages (created new, but effectively supersedes bug 8488) 3) tweaked: ubuntu.12.04.packages: changed yaz3 references to yaz4 dropped libmysqlclient16-dev changed libmysqlclient16 to libmysqlclient18 4) copied the ubuntu.12.04.packages file to ubuntu.packages Content-Type: text/plain; charset="utf-8" --- install_misc/ubuntu-pkg-check.sh | 15 ++-- install_misc/ubuntu.10.04.packages | 134 +++++++++++++++++++++++++++++++ install_misc/ubuntu.10.10.packages | 129 ++++++++++++++++++++++++++++++ install_misc/ubuntu.12.04.packages | 142 +++++++++++++++++++++++++++++++++ install_misc/ubuntu.packages | 16 +++- install_misc/ubuntu_maverick.packages | 129 ------------------------------ 6 files changed, 427 insertions(+), 138 deletions(-) create mode 100644 install_misc/ubuntu.10.04.packages create mode 100644 install_misc/ubuntu.10.10.packages create mode 100644 install_misc/ubuntu.12.04.packages delete mode 100644 install_misc/ubuntu_maverick.packages diff --git a/install_misc/ubuntu-pkg-check.sh b/install_misc/ubuntu-pkg-check.sh index 9303082..a41c592 100755 --- a/install_misc/ubuntu-pkg-check.sh +++ b/install_misc/ubuntu-pkg-check.sh @@ -1,16 +1,21 @@ #!/bin/sh -UBUNTU_PACKAGES=`dirname $0`/ubuntu.packages +# determine what directory this script is in, because the packages files +# should be there too. +DIR=`dirname $0` -# sanity checks +#determine which vbersion of ubuntu +VERSION=`lsb_release -r | cut -f2 -d' '` +UBUNTU_PACKAGES=$DIR/ubuntu.$VERSION.packages +# sanity checks if [ ! -e $UBUNTU_PACKAGES ]; then - echo ERROR: Could not find $UBUNTU_PACKAGES file for running check. - exit + echo "WARNING! We strongly recommend an LTS release." + UBUNTU_PACKAGES=$DIR/ubuntu.packages fi +echo "Using the $UBUNTU_PACKAGES file." # main - UBUNTU_PACKAGES_LIST=`awk '{print $1}' $UBUNTU_PACKAGES | grep -v '^\s*#' | grep -v '^\s*$'` for F in $UBUNTU_PACKAGES_LIST; do UBUNTU_PKG_POLICY=`apt-cache policy $F | grep "Installed:"` diff --git a/install_misc/ubuntu.10.04.packages b/install_misc/ubuntu.10.04.packages new file mode 100644 index 0000000..61fbebf --- /dev/null +++ b/install_misc/ubuntu.10.04.packages @@ -0,0 +1,134 @@ +apache2 install +at install +daemon install +gcc install +gettext install +make install + +# mysql packages + +mysql-server install +libmysqlclient16 install +libmysqlclient16-dev install + +# yaz packages + +yaz install +yaz-doc install +libyaz3 install +libyaz3-dev install + +# zebra packages + +idzebra-2.0 install +idzebra-2.0-common install +idzebra-2.0-doc install +idzebra-2.0-utils install +libidzebra-2.0-0 install +libidzebra-2.0-dev install +libidzebra-2.0-mod-alvis install +libidzebra-2.0-mod-grs-marc install +libidzebra-2.0-mod-grs-regx install +libidzebra-2.0-mod-grs-xml install +libidzebra-2.0-mod-text install +libidzebra-2.0-modules install + +# crypto packages + +libgcrypt11 install +libgcrypt11-dev install + +# xml/xslt packages + +libxml2 install +libxml2-dev install +libxml2-utils install +libxslt1.1 install +libxslt1-dev install + +# perl packages + +libalgorithm-checkdigits-perl install +libauthen-cas-client-perl install +libbiblio-endnotestyle-perl install +libbusiness-isbn-perl install +libcgi-session-driver-memcached-perl install +libcgi-session-perl install +libcgi-session-serialize-yaml-perl install +libclass-factory-util-perl install +libdata-ical-perl install +libdate-calc-perl install +libdate-manip-perl install +libdatetime-perl install +libdatetime-format-dateparse-perl install +libdatetime-format-ical-perl install +libdatetime-format-mail-perl install +libdatetime-format-strptime-perl install +libdatetime-format-w3cdtf-perl install +libdatetime-locale-perl install +libdatetime-timezone-perl install +libdbd-mysql-perl install +libdbd-sqlite2-perl install +libdbi-perl install +libemail-date-perl install +libgd-barcode-perl install +libgraphics-magick-perl install +libgravatar-url-perl install +libhtml-scrubber-perl install +libhtml-template-pro-perl install +libhttp-oai-perl install +liblingua-ispell-perl install +liblingua-stem-perl install +liblingua-stem-snowball-perl install +liblist-moreutils-perl install +liblocale-currency-format-perl install +liblocale-gettext-perl install +liblocale-po-perl install +libmail-sendmail-perl install +libmarc-charset-perl install +libmarc-crosswalk-dublincore-perl install +libmarc-record-perl install +libmarc-xml-perl install +libmemoize-memcached-perl install +libmime-lite-perl install +libmodern-perl install +libmodule-install-perl install +libnet-ldap-perl install +libnet-server-perl install +libpdf-api2-simple-perl install +libreadonly-perl install +libreadonly-xs-perl install +libnet-z3950-zoom-perl install +libnumber-format-perl install +libpdf-api2-perl install +libpdf-reuse-perl install +libpdf-reuse-barcode-perl install +libpdf-table-perl install +libpoe-perl install +libschedule-at-perl install +libsms-send-perl install +libtemplate-perl install +libtext-charwidth-perl install +libtext-csv-encoded-perl install +libtext-csv-perl install +libtext-iconv-perl install +libtext-wrapi18n-perl install +libtimedate-perl install +libtime-duration-perl install +libtime-format-perl install +libuniversal-require-perl install +libunix-syslog-perl install +libxml-perl install +libxml-dom-perl install +libxml-dumper-perl install +libxml-libxml-perl install +libxml-libxslt-perl install +libxml-namespacesupport-perl install +libxml-parser-perl install +libxml-regexp-perl install +libxml-rss-perl install +libxml-sax-writer-perl install +libxml-simple-perl install +libxml-xslt-perl install +libyaml-perl install +libyaml-syck-perl install diff --git a/install_misc/ubuntu.10.10.packages b/install_misc/ubuntu.10.10.packages new file mode 100644 index 0000000..9b806bb --- /dev/null +++ b/install_misc/ubuntu.10.10.packages @@ -0,0 +1,129 @@ + +apache2 install +at install +daemon install +gcc install +gettext install +make install + +# mysql packages + +mysql-server install +libmysqlclient16 install +libmysqlclient16-dev install + +# yaz packages + +yaz install +yaz-doc install +libyaz3 install +libyaz3-dev install + +# zebra packages + +idzebra-2.0 install +idzebra-2.0-common install +idzebra-2.0-doc install +idzebra-2.0-utils install +libidzebra-2.0-0 install +libidzebra-2.0-dev install +libidzebra-2.0-mod-alvis install +libidzebra-2.0-mod-grs-marc install +libidzebra-2.0-mod-grs-regx install +libidzebra-2.0-mod-grs-xml install +libidzebra-2.0-mod-text install +libidzebra-2.0-modules install + +# crypto packages + +libgcrypt11 install +libgcrypt11-dev install + +# xml/xslt packages + +libxml2 install +libxml2-dev install +libxml2-utils install +libxslt1.1 install +libxslt1-dev install + +# perl packages + +libalgorithm-checkdigits-perl install +libauthen-cas-client-perl install +libbiblio-endnotestyle-perl install +libbusiness-isbn-perl install +libcgi-session-perl install +libcgi-session-serialize-yaml-perl install +libclass-factory-util-perl install +libdata-ical-perl install +libdate-calc-perl install +libdate-manip-perl install +libdatetime-perl install +libdatetime-format-ical-perl install +libdatetime-format-mail-perl install +libdatetime-format-strptime-perl install +libdatetime-format-w3cdtf-perl install +libdatetime-locale-perl install +libdatetime-timezone-perl install +libdbd-mysql-perl install +libdbd-sqlite2-perl install +libdbi-perl install +libemail-date-perl install +libgd-barcode-perl install +libgraphics-magick-perl install +libhtml-scrubber-perl install +libhtml-template-pro-perl install +libhttp-oai-perl install +liblingua-ispell-perl install +liblingua-stem-perl install +liblingua-stem-snowball-perl install +liblist-moreutils-perl install +liblocale-currency-format-perl install +liblocale-gettext-perl install +liblocale-po-perl install +libmail-sendmail-perl install +libmarc-charset-perl install +libmarc-crosswalk-dublincore-perl install +libmarc-record-perl install +libmarc-xml-perl install +libmemoize-memcached-perl install +libmime-lite-perl install +libmodule-install-perl install +libnet-ldap-perl install +libnet-server-perl install +libnet-z3950-zoom-perl install +libnumber-format-perl install +libpdf-api2-perl install +libpdf-reuse-perl install +libpdf-api2-simple-perl install +libpdf-reuse-barcode-perl install +libpdf-table-perl install +libpoe-perl install +libschedule-at-perl install +libsms-send-perl install +libtemplate-perl install +libtext-charwidth-perl install +libtext-csv-encoded-perl install +libtext-csv-perl install +libtext-iconv-perl install +libtext-wrapi18n-perl install +libtimedate-perl install +libtime-duration-perl install +libtime-format-perl install +libuniversal-require-perl install +libunix-syslog-perl install +libxml-perl install +libxml-dom-perl install +libxml-dumper-perl install +libxml-libxml-perl install +libxml-libxslt-perl install +libxml-namespacesupport-perl install +libxml-parser-perl install +libxml-regexp-perl install +libxml-rss-perl install +libxml-sax-writer-perl install +libxml-simple-perl install +libxml-xslt-perl install +libyaml-perl install +libyaml-syck-perl install diff --git a/install_misc/ubuntu.12.04.packages b/install_misc/ubuntu.12.04.packages new file mode 100644 index 0000000..dff4053 --- /dev/null +++ b/install_misc/ubuntu.12.04.packages @@ -0,0 +1,142 @@ +apache2 install +at install +daemon install +gcc install +gettext install +make install + +# mysql packages + +mysql-server install +libmysqlclient18 install + +# yaz packages + +yaz install +yaz-doc install +libyaz4 install +libyaz4-dev install + +# zebra packages + +idzebra-2.0 install +idzebra-2.0-common install +idzebra-2.0-doc install +idzebra-2.0-utils install +libidzebra-2.0-0 install +libidzebra-2.0-dev install +libidzebra-2.0-mod-alvis install +libidzebra-2.0-mod-grs-marc install +libidzebra-2.0-mod-grs-regx install +libidzebra-2.0-mod-grs-xml install +libidzebra-2.0-mod-text install +libidzebra-2.0-modules install + +# crypto packages + +libgcrypt11 install +libgcrypt11-dev install + +# xml/xslt packages + +libxml2 install +libxml2-dev install +libxml2-utils install +libxslt1.1 install +libxslt1-dev install + +# perl packages + +libalgorithm-checkdigits-perl install +libauthen-cas-client-perl install +libbiblio-endnotestyle-perl install +libbusiness-isbn-perl install +libcgi-session-driver-memcached-perl install +libcgi-session-perl install +libcgi-session-serialize-yaml-perl install +libclass-accessor-perl install +libclass-factory-util-perl install +libdata-ical-perl install +libdate-calc-perl install +libdate-manip-perl install +libdatetime-perl install +libdatetime-format-dateparse-perl install +libdatetime-format-ical-perl install +libdatetime-format-mail-perl install +libdatetime-format-strptime-perl install +libdatetime-format-w3cdtf-perl install +libdatetime-locale-perl install +libdatetime-timezone-perl install +libdbd-mysql-perl install +libdbd-sqlite2-perl install +libdbi-perl install +libemail-date-perl install +libgd-barcode-perl install +libgraphics-magick-perl install +libgravatar-url-perl install +libhtml-scrubber-perl install +libhtml-template-pro-perl install +libhttp-cookies-perl install +libhttp-message-perl install +libhttp-oai-perl install +libjson-perl install +liblingua-ispell-perl install +liblingua-stem-perl install +liblingua-stem-snowball-perl install +liblist-moreutils-perl install +liblocale-currency-format-perl install +liblocale-gettext-perl install +liblocale-po-perl install +libmail-sendmail-perl install +libmarc-charset-perl install +libmarc-crosswalk-dublincore-perl install +libmarc-record-perl install +libmarc-xml-perl install +libmemoize-memcached-perl install +libmime-lite-perl install +libmodern-perl install +libmodern-perl-perl install +libmodule-install-perl install +libnet-ldap-perl install +libnet-server-perl install +libpdf-api2-simple-perl install +libreadonly-perl install +libreadonly-xs-perl install +libnet-z3950-zoom-perl install +libnumber-format-perl install +libpdf-api2-perl install +libpdf-reuse-perl install +libpdf-reuse-barcode-perl install +libpdf-table-perl install +libpoe-perl install +libschedule-at-perl install +libsms-send-perl install +libtemplate-perl install +libtext-charwidth-perl install +libtext-csv-encoded-perl install +libtext-csv-perl install +libtext-csv-xs-perl install +libtext-iconv-perl install +libtext-wrapi18n-perl install +libtimedate-perl install +libtime-duration-perl install +libtime-format-perl install +libuniversal-require-perl install +libunix-syslog-perl install +liburi-perl install +libwww-perl install +libxml-perl install +libxml-dom-perl install +libxml-dumper-perl install +libxml-libxml-perl install +libxml-libxslt-perl install +libxml-namespacesupport-perl install +libxml-parser-perl install +libxml-regexp-perl install +libxml-rss-perl install +libxml-sax-perl install +libxml-sax-writer-perl install +libxml-simple-perl install +libxml-xslt-perl install +libyaml-perl install +libyaml-syck-perl install diff --git a/install_misc/ubuntu.packages b/install_misc/ubuntu.packages index 61fbebf..dff4053 100644 --- a/install_misc/ubuntu.packages +++ b/install_misc/ubuntu.packages @@ -8,15 +8,14 @@ make install # mysql packages mysql-server install -libmysqlclient16 install -libmysqlclient16-dev install +libmysqlclient18 install # yaz packages yaz install yaz-doc install -libyaz3 install -libyaz3-dev install +libyaz4 install +libyaz4-dev install # zebra packages @@ -55,6 +54,7 @@ libbusiness-isbn-perl install libcgi-session-driver-memcached-perl install libcgi-session-perl install libcgi-session-serialize-yaml-perl install +libclass-accessor-perl install libclass-factory-util-perl install libdata-ical-perl install libdate-calc-perl install @@ -76,7 +76,10 @@ libgraphics-magick-perl install libgravatar-url-perl install libhtml-scrubber-perl install libhtml-template-pro-perl install +libhttp-cookies-perl install +libhttp-message-perl install libhttp-oai-perl install +libjson-perl install liblingua-ispell-perl install liblingua-stem-perl install liblingua-stem-snowball-perl install @@ -92,6 +95,7 @@ libmarc-xml-perl install libmemoize-memcached-perl install libmime-lite-perl install libmodern-perl install +libmodern-perl-perl install libmodule-install-perl install libnet-ldap-perl install libnet-server-perl install @@ -111,6 +115,7 @@ libtemplate-perl install libtext-charwidth-perl install libtext-csv-encoded-perl install libtext-csv-perl install +libtext-csv-xs-perl install libtext-iconv-perl install libtext-wrapi18n-perl install libtimedate-perl install @@ -118,6 +123,8 @@ libtime-duration-perl install libtime-format-perl install libuniversal-require-perl install libunix-syslog-perl install +liburi-perl install +libwww-perl install libxml-perl install libxml-dom-perl install libxml-dumper-perl install @@ -127,6 +134,7 @@ libxml-namespacesupport-perl install libxml-parser-perl install libxml-regexp-perl install libxml-rss-perl install +libxml-sax-perl install libxml-sax-writer-perl install libxml-simple-perl install libxml-xslt-perl install diff --git a/install_misc/ubuntu_maverick.packages b/install_misc/ubuntu_maverick.packages deleted file mode 100644 index 9b806bb..0000000 --- a/install_misc/ubuntu_maverick.packages +++ /dev/null @@ -1,129 +0,0 @@ - -apache2 install -at install -daemon install -gcc install -gettext install -make install - -# mysql packages - -mysql-server install -libmysqlclient16 install -libmysqlclient16-dev install - -# yaz packages - -yaz install -yaz-doc install -libyaz3 install -libyaz3-dev install - -# zebra packages - -idzebra-2.0 install -idzebra-2.0-common install -idzebra-2.0-doc install -idzebra-2.0-utils install -libidzebra-2.0-0 install -libidzebra-2.0-dev install -libidzebra-2.0-mod-alvis install -libidzebra-2.0-mod-grs-marc install -libidzebra-2.0-mod-grs-regx install -libidzebra-2.0-mod-grs-xml install -libidzebra-2.0-mod-text install -libidzebra-2.0-modules install - -# crypto packages - -libgcrypt11 install -libgcrypt11-dev install - -# xml/xslt packages - -libxml2 install -libxml2-dev install -libxml2-utils install -libxslt1.1 install -libxslt1-dev install - -# perl packages - -libalgorithm-checkdigits-perl install -libauthen-cas-client-perl install -libbiblio-endnotestyle-perl install -libbusiness-isbn-perl install -libcgi-session-perl install -libcgi-session-serialize-yaml-perl install -libclass-factory-util-perl install -libdata-ical-perl install -libdate-calc-perl install -libdate-manip-perl install -libdatetime-perl install -libdatetime-format-ical-perl install -libdatetime-format-mail-perl install -libdatetime-format-strptime-perl install -libdatetime-format-w3cdtf-perl install -libdatetime-locale-perl install -libdatetime-timezone-perl install -libdbd-mysql-perl install -libdbd-sqlite2-perl install -libdbi-perl install -libemail-date-perl install -libgd-barcode-perl install -libgraphics-magick-perl install -libhtml-scrubber-perl install -libhtml-template-pro-perl install -libhttp-oai-perl install -liblingua-ispell-perl install -liblingua-stem-perl install -liblingua-stem-snowball-perl install -liblist-moreutils-perl install -liblocale-currency-format-perl install -liblocale-gettext-perl install -liblocale-po-perl install -libmail-sendmail-perl install -libmarc-charset-perl install -libmarc-crosswalk-dublincore-perl install -libmarc-record-perl install -libmarc-xml-perl install -libmemoize-memcached-perl install -libmime-lite-perl install -libmodule-install-perl install -libnet-ldap-perl install -libnet-server-perl install -libnet-z3950-zoom-perl install -libnumber-format-perl install -libpdf-api2-perl install -libpdf-reuse-perl install -libpdf-api2-simple-perl install -libpdf-reuse-barcode-perl install -libpdf-table-perl install -libpoe-perl install -libschedule-at-perl install -libsms-send-perl install -libtemplate-perl install -libtext-charwidth-perl install -libtext-csv-encoded-perl install -libtext-csv-perl install -libtext-iconv-perl install -libtext-wrapi18n-perl install -libtimedate-perl install -libtime-duration-perl install -libtime-format-perl install -libuniversal-require-perl install -libunix-syslog-perl install -libxml-perl install -libxml-dom-perl install -libxml-dumper-perl install -libxml-libxml-perl install -libxml-libxslt-perl install -libxml-namespacesupport-perl install -libxml-parser-perl install -libxml-regexp-perl install -libxml-rss-perl install -libxml-sax-writer-perl install -libxml-simple-perl install -libxml-xslt-perl install -libyaml-perl install -libyaml-syck-perl install -- 1.7.9.5