Bug 8489: Revise Ubuntu install files
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. Caught apt-cache policy errors nicely.
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
(last file 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
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
dbd614c355
commit
bbbf305574
|
|
@ -1,19 +1,27 @@
|
|||
#!/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`
|
||||
|
||||
#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:"`
|
||||
UBUNTU_PKG_VERSION=`echo $UBUNTU_PKG_POLICY | awk '{print $2}'`
|
||||
echo "$F = $UBUNTU_PKG_VERSION"
|
||||
UBUNTU_PKG_POLICY=`apt-cache policy $F 2> /dev/null | grep "Installed:"`
|
||||
if [ "${#UBUNTU_PKG_POLICY}" -eq "0" ]; then
|
||||
UBUNTU_PKG_POLICY="Installed: \(none\)\*"
|
||||
fi
|
||||
UBUNTU_PKG_VERSION=`echo $UBUNTU_PKG_POLICY | awk '{print $2}'`
|
||||
echo "$F = $UBUNTU_PKG_VERSION"
|
||||
done
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue