added old versions of flmsg flamp

This commit is contained in:
tangobravo14
2024-10-09 13:38:57 -05:00
parent 57aa981a8c
commit 4ee31c2af8
2 changed files with 69 additions and 0 deletions
+67
View File
@@ -833,6 +833,35 @@ install ||
fi
}
function flmsg_install_19() {
if [[ ${FLMSG} == 4.0.19 ]]; then
echo "FLMSG is already at 4.0.19"
else
echo "Installing / Updating FLMSG to version 4.0.19"
cd $USERDIR && wget -N http://www.w1hkj.com/files/archives/Source/flmsg-4.0.19.tar.gz ||
{ ERRCODE="Failed to download FLMSG"; errors; return; }
tar xzvf flmsg-4.0.19.tar.gz && rm flmsg-4.0.19.tar.gz\
&& cd flmsg-4.0.19 ||
{ ERRCODE="Failed to extract FLMSG"; errors; return; }
if [[ $(uname -m) = x86_64 ]]; then
./configure --enable-optimizations=native && make && sudo make install ||
{ ERRCODE="Failed to compile FLMSG"; errors; return; }
else
./configure && make && sudo make \
install ||
{ ERRCODE="Failed to compile FLMSG"; errors; return; }
fi
#Cleanup space from compiling
#if hash flmsg 2>/dev/null; then
# sudo rm -r $USERDIR/flmsg-${NEWFLMSG}
#fi
fi
}
function flamp_install() {
if [[ $NEWFLAMP == "SERVER DOWN" ]]; then
@@ -866,6 +895,36 @@ install ||
# sudo rm -r $USERDIR/flamp-${NEWFLAMP}
#fi
fi
}
function flamp_install_14() {
if [[ ${FLAMP} == 2.2.14 ]]; then
echo "FLAMP is already at the most current version"
else
echo "Installing / Updating FLAMP to version 2.2.14"
sleep 2
cd $USERDIR && wget -N http://www.w1hkj.com/files/flamp/flamp-2.2.14.tar.gz ||
{ ERRCODE="Failed to download FLAMP 2.2.14"; errors; return; }
tar xzvf fflamp-2.2.14.tar.gz && \
rm flamp-2.2.14.tar.gz && cd flamp-2.2.14 ||
{ ERRCODE="Failed to extract FLAMP"; errors; return; }
if [[ $(uname -m) = x86_64 ]]; then
./configure --enable-optimizations=native && make && sudo make install ||
{ ERRCODE="Failed to compile FLAMP"; errors; return; }
else
./configure && make && sudo make \
install ||
{ ERRCODE="Failed to compile FLAMP"; errors; return; }
fi
#Cleanup space from compiling
#if hash flamp 2>/dev/null; then
# sudo rm -r $USERDIR/flamp-${NEWFLAMP}
#fi
fi
}
@@ -3339,7 +3398,9 @@ yad --image=$DIR/images/corps-icon.png --center --checklist --print-column=2 --s
"${HAMLIB}" "${NEWHAMLIB}" \
false "FLDIGI" "FLDIGI Radio Program" "${FLDIGI}" "${NEWFLDIGI}" \
false "FLMSG" "FLMSG Radio Program" "${FLMSG}" "${NEWFLMSG}" \
false "FLMSG_4.0.19" "FLMSG Radio Program" "${FLMSG}" "4.0.19" \
false "FLAMP" "FLAMP Radio Program" "${FLAMP}" "${NEWFLAMP}" \
false "FLAMP_2.2.14" "FLAMP Radio Program" "${FLAMP}" "2.2.14" \
false "FLRIG" "FLRIG Radio Control Program" "${FLRIG}" "${NEWFLRIG}" \
false "FLWRAP" "FLWRAP Radio Control Program" "${FLWRAP}" "${NEWFLWRAP}" \
false "ARDOP" "Downloads the newest ARDOP v1 TNC" "Unknown" "${NEWARDOP}" \
@@ -4003,9 +4064,15 @@ cat /tmp/results | yad --text-info --center \
FLMSG) echo "Updating FLMSG"
flmsg_install
;;
FLMSG_4.0.19) echo "Updating FLMSG"
flmsg_install_19
;;
FLAMP) echo "Updating FLAMP"
flamp_install
;;
FLAMP_2.2.14) echo "Updating FLAMP"
flamp_install_14
;;
FLWRAP) echo "Updating FLWRAP"
flwrap_install
;;
+2
View File
@@ -1,3 +1,5 @@
# Version 0.8.3
- added options for install of FLMSG 4.0.19 and FLAMP 2.2.14 for stability testing.
# Version 0.8.2
- added Virginia to Comstat support
# Version 0.8.1