mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-09-29 00:01:20 +02:00
Changed Boost build path to mirror and disabled build failure for CentOS 6 due to lack of GoBGP
This commit is contained in:
parent
d8c50fa1cc
commit
530f60f356
@ -1555,7 +1555,8 @@ sub install_boost {
|
||||
print "Install Boost dependencies\n";
|
||||
|
||||
print "Download Boost source code\n";
|
||||
my $boost_download_result = download_file("https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2", $archive_file_name, '88866e4075e12255e7a7189d0b8a686e0b1ee9c1');
|
||||
# Official site: https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2 but it's dead now
|
||||
my $boost_download_result = download_file("http://mirror.nienbo.com/boost/1.72.0/boost_1_72_0.tar.bz2", $archive_file_name, '88866e4075e12255e7a7189d0b8a686e0b1ee9c1');
|
||||
|
||||
unless ($boost_download_result) {
|
||||
fast_die("Can't download Boost source code\n");
|
||||
|
@ -119,6 +119,11 @@ my $gobgp_folder_name = "gobgp_2_16_0";
|
||||
mkdir "$target_path/$gobgp_folder_name";
|
||||
|
||||
for my $gobgp_binary ('gobgp', 'gobgpd') {
|
||||
unless (-e "$global_path/$gobgp_folder_name/$gobgp_binary") {
|
||||
warn "GoBGP binary $gobgp_binary does not exist\n";
|
||||
next;
|
||||
}
|
||||
|
||||
my $gobgp_copy_result = copy("$global_path/$gobgp_folder_name/$gobgp_binary",
|
||||
"$target_path/$gobgp_folder_name/$gobgp_binary");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user