forked from Kudaraidee/yiimp_install_script
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
2,402 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#!/usr/bin/env bash | ||
##################################################### | ||
# Updated by afiniel for crypto use... | ||
##################################################### | ||
|
||
FUNC=/etc/functionscoin.sh | ||
if [[ ! -f "$FUNC" ]]; then | ||
source /etc/functions.sh | ||
else | ||
source /etc/functionscoin.sh | ||
fi | ||
cd $STORAGE_ROOT/daemon_builder | ||
|
||
RESULT=$(dialog --stdout --nocancel --default-item 1 --title "DamonBuilder" --menu "Choose one" -1 60 8 \ | ||
' ' "- New and existing Daemon builds and upgrade -" \ | ||
1 "Build New Coin Daemon from Source Code" \ | ||
2 "Upgrade an Existing Coin Daemon" \ | ||
' ' "- NOT WORKING YET. WORK IN PROGRESS If your last coin failed to build try this -" \ | ||
3 " WORK IN-PROGRESS! Daemon Build Failed - Help!" \ | ||
4 Exit) | ||
|
||
if [ $RESULT = ] | ||
then | ||
bash $(basename $0) && exit; | ||
fi | ||
|
||
if [ $RESULT = 1 ] | ||
then | ||
clear; | ||
cd $HOME/yiimp_install_script/daemon_builder | ||
source menu2.sh; | ||
fi | ||
|
||
if [ $RESULT = 2 ] | ||
then | ||
clear; | ||
cd $HOME/yiimp_install_script/daemon_builder | ||
source menu3.sh; | ||
fi | ||
|
||
if [ $RESULT = 3 ] | ||
then | ||
clear; | ||
echo "This is a work in progress. Please try again later. Run this script again to continue with other option!."; | ||
exit; | ||
fi | ||
|
||
if [ $RESULT = 4 ] | ||
then | ||
clear; | ||
exit; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#!/usr/bin/env bash | ||
##################################################### | ||
# Updated by Afiniel for crypto use... | ||
##################################################### | ||
source /etc/yiimpool.conf | ||
FUNC=/etc/functionscoin.sh | ||
if [[ ! -f "$FUNC" ]]; then | ||
source /etc/functions.sh | ||
else | ||
source /etc/functionscoin.sh | ||
fi | ||
cd $STORAGE_ROOT/daemon_builder | ||
|
||
RESULT=$(dialog --stdout --title "DaemonBuilder" --menu "Choose one" -1 60 7 \ | ||
1 "Install Berkeley 4.x Coin with autogen file" \ | ||
2 "Install Berkeley 5.1 Coin with autogen file" \ | ||
3 "Install Berkeley 5.3 Coin with autogen file" \ | ||
4 "Install Coin with makefile.unix file" \ | ||
5 "Install Coin with CMake file" \ | ||
6 Exit) | ||
|
||
if [ $RESULT = ] | ||
then | ||
exit; | ||
fi | ||
|
||
if [ $RESULT = 1 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=true | ||
berkeley="4.8" | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source source.sh; | ||
fi | ||
|
||
if [ $RESULT = 2 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=true | ||
berkeley="5.1" | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source source.sh; | ||
fi | ||
|
||
if [ $RESULT = 3 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=true | ||
berkeley="5.3" | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source source.sh; | ||
fi | ||
|
||
if [ $RESULT = 4 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=false | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source source.sh; | ||
fi | ||
|
||
if [ $RESULT = 5 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=false | ||
cmake=true | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source source.sh; | ||
fi | ||
|
||
if [ $RESULT = 6 ] | ||
then | ||
clear; | ||
exit; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/usr/bin/env bash | ||
##################################################### | ||
# Source code https://github.com/end222/pacmenu | ||
# Updated by afiniel for crypto use... | ||
##################################################### | ||
|
||
source /etc/functions.sh | ||
cd $STORAGE_ROOT/daemon_builder | ||
|
||
RESULT=$(dialog --stdout --title "DaemonBuilder" --menu "Choose one" -1 60 4 \ | ||
1 "Update Berkeley 4.x Coin with autogen file" \ | ||
2 "Update Berkeley 5.x Coin with autogen file" \ | ||
3 "Update Coin with makefile.unix file" \ | ||
4 Exit) | ||
|
||
if [ $RESULT = ] | ||
then | ||
exit; | ||
fi | ||
|
||
if [ $RESULT = 1 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=true | ||
berkeley="4.8" | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source upgrade.sh; | ||
fi | ||
|
||
if [ $RESULT = 2 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=true | ||
berkeley="5.3" | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source upgrade.sh; | ||
fi | ||
|
||
if [ $RESULT = 3 ] | ||
then | ||
clear; | ||
echo ' | ||
autogen=false | ||
' | sudo -E tee $STORAGE_ROOT/daemon_builder/.my.cnf >/dev/null 2>&1; | ||
source upgrade.sh; | ||
fi | ||
|
||
if [ $RESULT = 4 ] | ||
then | ||
clear; | ||
exit; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
#!/bin/bash | ||
################################################################################ | ||
# Original Author: Xavatar (https://github.com/xavatar/yiimp_install_scrypt) | ||
# Web: https://www.xavatar.com | ||
# | ||
# Program: | ||
# Install needed Package to compile crypto currency | ||
# | ||
# Currenc Author: Afiniel (https://www.github.com/afiniel) | ||
# Web: https://www.afiniel.xyz | ||
################################################################################ | ||
|
||
# Installing Package to compile crypto currency | ||
output " " | ||
output "Installing needed Package to compile crypto currency" | ||
output " " | ||
sleep 3 | ||
|
||
hide_output sudo apt -y install software-properties-common build-essential | ||
hide_output sudo apt -y install libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev zlib1g-dev libz-dev libseccomp-dev libcap-dev libminiupnpc-dev gettext | ||
hide_output sudo apt -y install libminiupnpc10 libzmq5 | ||
hide_output sudo apt -y install libcanberra-gtk-module libqrencode-dev libzmq3-dev | ||
hide_output sudo apt -y install libqt5gui5 libqt5core5a libqt5webkit5-dev libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler | ||
hide_output sudo add-apt-repository -y ppa:bitcoin/bitcoin | ||
hide_output sudo apt -y update | ||
hide_output sudo apt install -y libdb4.8-dev libdb4.8++-dev libdb5.3 libdb5.3++ |
Oops, something went wrong.