#!/bin/bash -e # $Id: //depot/ops/corp/grhat/updates/00200_AptBatch#22 $ . /var/lib/grhat/funcs # Very important: this script could be run multiple times, you need to take this # into account so that it doesn't do stupid things if called more than once log "Starting $1" echo "Refreshing apt database" apt-get update echo "Installing additional PERL modules" apt-get install perl-Crypt-DES perl-IO-Tty perl-Proc-Queue perl-Expect apt-get install perl-Convert-ASN1 perl-NetAddr-IP perl-Net-LDAP perl-Net-SNMP apt-get install perl-XML-NamespaceSupport perl-XML-SAX perl-Tk perl-Tk-demos apt-get install perl-GeoIP GeoIP perl-Curses perl-Carp-Assert perl-Class-Loader apt-get install perl-Convert-ASCII-Armour perl-Convert-PEM perl-Crypt-Blowfish apt-get install perl-IO-Socket-SSL perl-Net-SSLeay perl-XML-Simple # Those all depend on one another... apt-get install perl-Crypt-Primes perl-Crypt-RSA perl-Crypt-Random perl-Math-GMP perl-Math-Pari perl-Sort-Versions perl-Crypt-CBC perl-Crypt-DH perl-Crypt-DSA perl-Crypt-IDEA perl-Data-Buffer perl-Digest-BubbleBabble perl-Digest-MD2 perl-Tie-EncryptedHash perl-Net-SSH-Perl perl-String-CRC32 echo "Installing additional python modules" apt-get install mx MySQL-python MySQLmodule pysnmp gdmodule PIL echo "Installing Ian's ruby" apt-get install irb eruby eruby-devel eruby-libs irb ri ruby ruby-dbi ruby-devel ruby-devel-logger ruby-dict ruby-docs ruby-tcltk apt-get install ruby-SOAP4R ruby-google ruby-gtk ruby-http-access2 ruby-ldap apt-get install ruby-mode ruby-password ruby-termios ruby-pcre ruby-P4Ruby apt-get install ruby-mysql ruby-uconv ruby-AspectR ruby-AspectR-RbProf apt-get install ruby-FormatR ruby-text-format ruby-forwardable ruby-racc apt-get install ruby-bdb rdtool ruby-term-ansicolor ruby-openssl ruby-fam apt-get install ruby-inline acoc ruby-tpty ruby-CorporateTime # This conflicts with older apache that people downgrade to (apache-google) #apt-get install mod_ruby installfile usr/lib/ruby/site_ruby config.rb log "Finished $1" # Return success exit 0