-
Notifications
You must be signed in to change notification settings - Fork 0
/
bugzilla_config.sh
46 lines (41 loc) · 978 Bytes
/
bugzilla_config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
BUGZILLA_HOME="/home/$BUGZILLA_USER/devel/htdocs/bmo"
CPANM="cpanm --quiet --notest --skip-installed"
# Clone the code repo
git clone $BUGZILLA_REPO -b $BUGZILLA_BRANCH $BUGZILLA_HOME
# Install dependencies
cd $BUGZILLA_HOME
# Custom dependencies
$CPANM autodie
$CPANM IPC::System::Simple
$CPANM App::Cmd
$CPAMN Moo
$CPANM File::Copy::Recursive
$CPANM Config::General
$CPANM ElasticSearch
$CPANM Net::RabbitMQ
$CPANM Net::SFTP
$CPANM XML::Simple
$CPANM Tie::IxHash
$CPANM Sys::Syslog
$CPANM Regexp::Common
$CPANM Crypt::CBC
$CPANM Crypt::DES
$CPANM Crypt::DES_EDE3
$CPANM Crypt::OpenPGP
$CPANM Crypt::SMIME
$CPANM Image::[email protected]
$CPANM GraphViz
$CPANM Net::FTP
$CPANM Net::SFTP
$CPANM Email::MIME::Attachment::Stripper
$CPANM Pod::Checker
$CPANM REST::Client
$CPANM Test::WWW::Selenium
$CPANM JSON::RPC::Client
$CPANM Perl::Tidy
# Configure bugs database
/usr/bin/mysqld_safe &
sleep 5
perl checksetup.pl /checksetup_answers.txt
mysqladmin -u root shutdown