mirror of
https://github.com/smittix/intercept.git
synced 2026-07-23 16:38:11 -07:00
Switch gr-gsm source from ptrkrysik to bkerler fork
The ptrkrysik/gr-gsm repo uses SWIG which is incompatible with GNU Radio 3.10+. The bkerler fork supports modern GNU Radio and builds successfully on current Ubuntu/Debian systems. Updated all references in Dockerfile, setup.sh, dependencies.py, and error messages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ RUN apt-get update \
|
|||||||
doxygen liblog4cpp5-dev python3-scipy python3-numpy \
|
doxygen liblog4cpp5-dev python3-scipy python3-numpy \
|
||||||
libvolk-dev libfftw3-dev build-essential \
|
libvolk-dev libfftw3-dev build-essential \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
&& git clone --depth 1 https://github.com/ptrkrysik/gr-gsm.git \
|
&& git clone --depth 1 https://github.com/bkerler/gr-gsm.git \
|
||||||
&& cd gr-gsm \
|
&& cd gr-gsm \
|
||||||
&& mkdir build && cd build \
|
&& mkdir build && cd build \
|
||||||
&& cmake .. \
|
&& cmake .. \
|
||||||
|
|||||||
+1
-1
@@ -1379,7 +1379,7 @@ def scanner_thread(cmd, device_index):
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
logger.error(
|
logger.error(
|
||||||
"grgsm_scanner not found. Please install gr-gsm: "
|
"grgsm_scanner not found. Please install gr-gsm: "
|
||||||
"https://github.com/ptrkrysik/gr-gsm"
|
"https://github.com/bkerler/gr-gsm"
|
||||||
)
|
)
|
||||||
# Send error to SSE stream so the UI knows
|
# Send error to SSE stream so the UI knows
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -724,7 +724,7 @@ install_macos_packages() {
|
|||||||
trap 'rm -rf "$tmp_dir"' EXIT
|
trap 'rm -rf "$tmp_dir"' EXIT
|
||||||
|
|
||||||
info "Cloning gr-gsm repository..."
|
info "Cloning gr-gsm repository..."
|
||||||
git clone --depth 1 https://github.com/ptrkrysik/gr-gsm.git "$tmp_dir/gr-gsm" >/dev/null 2>&1 \
|
git clone --depth 1 https://github.com/bkerler/gr-gsm.git "$tmp_dir/gr-gsm" >/dev/null 2>&1 \
|
||||||
|| { warn "Failed to clone gr-gsm. GSM Spy feature will not work."; exit 1; }
|
|| { warn "Failed to clone gr-gsm. GSM Spy feature will not work."; exit 1; }
|
||||||
|
|
||||||
cd "$tmp_dir/gr-gsm"
|
cd "$tmp_dir/gr-gsm"
|
||||||
@@ -1182,7 +1182,7 @@ install_debian_packages() {
|
|||||||
rm -rf /tmp/gr-gsm
|
rm -rf /tmp/gr-gsm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone https://github.com/ptrkrysik/gr-gsm.git /tmp/gr-gsm || {
|
git clone https://github.com/bkerler/gr-gsm.git /tmp/gr-gsm || {
|
||||||
warn "Failed to clone gr-gsm repository. GSM Spy will not be available."
|
warn "Failed to clone gr-gsm repository. GSM Spy will not be available."
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -451,9 +451,9 @@ TOOL_DEPENDENCIES = {
|
|||||||
'required': True,
|
'required': True,
|
||||||
'description': 'gr-gsm scanner for finding GSM towers',
|
'description': 'gr-gsm scanner for finding GSM towers',
|
||||||
'install': {
|
'install': {
|
||||||
'apt': 'Build gr-gsm from source: https://github.com/ptrkrysik/gr-gsm',
|
'apt': 'Build gr-gsm from source: https://github.com/bkerler/gr-gsm',
|
||||||
'brew': 'brew install gr-gsm (may require manual build)',
|
'brew': 'brew install gr-gsm (may require manual build)',
|
||||||
'manual': 'https://github.com/ptrkrysik/gr-gsm'
|
'manual': 'https://github.com/bkerler/gr-gsm'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'grgsm_livemon': {
|
'grgsm_livemon': {
|
||||||
|
|||||||
Reference in New Issue
Block a user