mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Dump 1090 is a Mode S decoder specifically designed for RTLSDR devices.
The main features are: * Robust decoding of weak messages. * Network support: TCP30003 stream (MSG5...), Raw packets, HTTP. * Embedded HTTP server that displays the currently detected aircrafts on Google Map. * Single bit errors correction using the 24 bit CRC. * Ability to decode DF11, DF17 messages. * Ability to decode DF formats like DF0, DF4, DF5, DF16, DF20 and DF21 where the checksum is xored with the ICAO address by brute forcing the checksum field using recently seen ICAO addresses. * Decode raw IQ samples from file (using --ifile command line switch). * Interactive command-line-interfae mode where aircrafts currently detected are shown as a list refreshing as more data arrives. * CPR coordinates decoding and track calculation from velocity. * TCP server streaming and receiving raw data to/from connected clients. WWW: https://github.com/antirez/dump1090
This commit is contained in:
parent
efa8f99738
commit
ba3ec984e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380470
@ -32,6 +32,7 @@
|
||||
SUBDIR += deforaos-phone
|
||||
SUBDIR += dfu-programmer
|
||||
SUBDIR += dfu-util
|
||||
SUBDIR += dump1090
|
||||
SUBDIR += ebook2cw
|
||||
SUBDIR += ebook2cwgui
|
||||
SUBDIR += echolinux
|
||||
|
36
comms/dump1090/Makefile
Normal file
36
comms/dump1090/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= dump1090
|
||||
PORTVERSION= 20150225
|
||||
CATEGORIES= comms
|
||||
|
||||
MAINTAINER= skreuzer@FreeBSD.org
|
||||
COMMENT= Simple Mode S decoder for RTLSDR devices
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= antirez
|
||||
GH_COMMIT= 4c53e25
|
||||
GH_TAGNAME= 4c53e251439f42135fc80fe000174f7accdb048c
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
LIB_DEPENDS= librtlsdr.so:${PORTSDIR}/comms/rtl-sdr
|
||||
|
||||
USES= gmake
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lrtlsdr -lusb -lpthread -lm
|
||||
|
||||
PLIST_FILES= bin/dump1090 \
|
||||
${DATADIR}/gmap.html
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|gmap.html|${DATADIR}/gmap.html|" ${WRKSRC}/dump1090.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/gmap.html ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
comms/dump1090/distinfo
Normal file
2
comms/dump1090/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (dump1090-20150225.tar.gz) = a9d7b9eaf439815f22f62e770a315114afdbb1301ca70cb59de11e06dbdd6e07
|
||||
SIZE (dump1090-20150225.tar.gz) = 484418
|
21
comms/dump1090/files/patch-Makefile
Normal file
21
comms/dump1090/files/patch-Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
--- Makefile.orig 2015-03-03 21:04:48 UTC
|
||||
+++ Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
-CFLAGS=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
|
||||
-LIBS=`pkg-config --libs librtlsdr` -lpthread -lm
|
||||
-CC=gcc
|
||||
+CFLAGS?=-O2 -g -Wall -W `pkg-config --cflags librtlsdr`
|
||||
+LDFLAGS?=`pkg-config --libs librtlsdr` -lpthread -lm
|
||||
+CC?=gcc
|
||||
PROGNAME=dump1090
|
||||
|
||||
all: dump1090
|
||||
@@ -9,7 +9,7 @@ all: dump1090
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
dump1090: dump1090.o anet.o
|
||||
- $(CC) -g -o dump1090 dump1090.o anet.o $(LIBS)
|
||||
+ $(CC) -g -o dump1090 dump1090.o anet.o $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o dump1090
|
20
comms/dump1090/pkg-descr
Normal file
20
comms/dump1090/pkg-descr
Normal file
@ -0,0 +1,20 @@
|
||||
Dump 1090 is a Mode S decoder specifically designed for RTLSDR devices.
|
||||
|
||||
The main features are:
|
||||
|
||||
* Robust decoding of weak messages.
|
||||
* Network support: TCP30003 stream (MSG5...), Raw packets, HTTP.
|
||||
* Embedded HTTP server that displays the currently detected aircrafts on
|
||||
Google Map.
|
||||
* Single bit errors correction using the 24 bit CRC.
|
||||
* Ability to decode DF11, DF17 messages.
|
||||
* Ability to decode DF formats like DF0, DF4, DF5, DF16, DF20 and DF21 where the
|
||||
checksum is xored with the ICAO address by brute forcing the checksum field
|
||||
using recently seen ICAO addresses.
|
||||
* Decode raw IQ samples from file (using --ifile command line switch).
|
||||
* Interactive command-line-interfae mode where aircrafts currently detected are
|
||||
shown as a list refreshing as more data arrives.
|
||||
* CPR coordinates decoding and track calculation from velocity.
|
||||
* TCP server streaming and receiving raw data to/from connected clients.
|
||||
|
||||
WWW: https://github.com/antirez/dump1090
|
Loading…
Reference in New Issue
Block a user