Index: Makefile =================================================================== RCS file: /cvs/ports/comms/dump1090/Makefile,v diff -u -r1.3 Makefile --- Makefile 11 Feb 2026 15:12:24 -0000 1.3 +++ Makefile 2 Jun 2026 18:18:50 -0000 @@ -1,17 +1,18 @@ COMMENT = simple ADS-B Mode-S decoder for RTLSDR devices -DISTNAME = ${GH_PROJECT}-0.0.0.20200203 +DISTNAME = ${GH_PROJECT}-0.0.0.20260215 CATEGORIES = comms -REVISION = 0 # No releases... GH_ACCOUNT = antirez GH_PROJECT = dump1090 -GH_COMMIT = de61bd564f1aa929bae414a70e421acd0b81789a +GH_COMMIT = efe64db3c6ba1520291331628a33c1e208e851a6 + +MAINTAINER = Sebastian Reitenbach # BSD PERMIT_PACKAGE = Yes -WANTLIB += c m pthread rtlsdr usb-1.0 +WANTLIB += c m pthread rtlsdr LIB_DEPENDS = comms/rtl-sdr Index: distinfo =================================================================== RCS file: /cvs/ports/comms/dump1090/distinfo,v diff -u -r1.1.1.1 distinfo --- distinfo 27 Jul 2020 16:45:31 -0000 1.1.1.1 +++ distinfo 2 Jun 2026 18:18:50 -0000 @@ -1,2 +1,2 @@ -SHA256 (dump1090-0.0.0.20200203-de61bd56.tar.gz) = erOIhtyQF5nHpR5M+s1BPrJ8c5l5+quZ4AfHbmMWMck= -SIZE (dump1090-0.0.0.20200203-de61bd56.tar.gz) = 485482 +SHA256 (dump1090-0.0.0.20260215-efe64db3.tar.gz) = 3bq4MzMibL/K5b1RJKQeZFV6fEU5KaOunQUZ9Ir0rf4= +SIZE (dump1090-0.0.0.20260215-efe64db3.tar.gz) = 492427 Index: patches/patch-dump1090_c =================================================================== RCS file: /cvs/ports/comms/dump1090/patches/patch-dump1090_c,v diff -u -r1.2 patch-dump1090_c --- patches/patch-dump1090_c 11 Mar 2022 18:26:25 -0000 1.2 +++ patches/patch-dump1090_c 2 Jun 2026 18:18:50 -0000 @@ -1,10 +1,11 @@ Clang says this abs should be llabs. Cherry pick quiet mode from PR #17. +update error message to mention permissions Index: dump1090.c --- dump1090.c.orig +++ dump1090.c -@@ -162,6 +162,7 @@ struct { +@@ -170,6 +170,7 @@ struct { int debug; /* Debugging mode. */ int net; /* Enable networking. */ int net_only; /* Enable just networking. */ @@ -12,7 +13,7 @@ int interactive; /* Interactive mode */ int interactive_rows; /* Interactive mode: max number of rows. */ int interactive_ttl; /* Interactive mode: TTL before deletion. */ -@@ -273,6 +274,7 @@ void modesInitConfig(void) { +@@ -312,6 +313,7 @@ void modesInitConfig(void) { Modes.interactive = 0; Modes.interactive_rows = MODES_INTERACTIVE_ROWS; Modes.interactive_ttl = MODES_INTERACTIVE_TTL; @@ -20,7 +21,16 @@ Modes.aggressive = 0; Modes.interactive_rows = getTermRows(); Modes.loop = 0; -@@ -1568,7 +1570,7 @@ void useModesMessage(struct modesMessage *mm) { +@@ -389,7 +391,7 @@ void modesInitRTLSDR(void) { + + device_count = rtlsdr_get_device_count(); + if (!device_count) { +- fprintf(stderr, "No supported RTLSDR devices found.\n"); ++ fprintf(stderr, "No supported RTLSDR devices found or missing permissions on device nodes.\n"); + exit(1); + } + +@@ -1808,7 +1810,7 @@ void useModesMessage(struct modesMessage *mm) { if (a && Modes.stat_sbs_connections > 0) modesSendSBSOutput(mm, a); /* Feed SBS output clients. */ } /* In non-interactive way, display messages on standard output. */ @@ -29,16 +39,7 @@ displayModesMessage(mm); if (!Modes.raw && !Modes.onlyaddr) printf("\n"); } -@@ -1801,7 +1803,7 @@ struct aircraft *interactiveReceiveData(struct modesMe - } - /* If the two data is less than 10 seconds apart, compute - * the position. */ -- if (abs(a->even_cprtime - a->odd_cprtime) <= 10000) { -+ if (llabs(a->even_cprtime - a->odd_cprtime) <= 10000) { - decodeCPR(a); - } - } else if (mm->metype == 19) { -@@ -2462,6 +2464,7 @@ void showHelp(void) { +@@ -2813,6 +2815,7 @@ void showHelp(void) { "--metric Use metric units (meters, km/h, ...).\n" "--snip Strip IQ file removing samples < level.\n" "--debug Debug mode (verbose), see README for details.\n" @@ -46,7 +47,7 @@ "--help Show this help.\n" "\n" "Debug mode flags: d = Log frames decoded with errors\n" -@@ -2568,6 +2571,8 @@ int main(int argc, char **argv) { +@@ -2921,6 +2924,8 @@ int main(int argc, char **argv) { } } else if (!strcmp(argv[j],"--stats")) { Modes.stats = 1; Index: pkg/MESSAGE =================================================================== RCS file: pkg/MESSAGE diff -N pkg/MESSAGE --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg/MESSAGE 2 Jun 2026 18:18:50 -0000 @@ -0,0 +1,5 @@ +By default, dump1090 requires root privileges to access USB hardware. +To run it as a regular user, you must adjust the owner or group +permissions of the corresponding /dev/usb* and /dev/ugen* devices. + +You can automate this upon device insertion by using hotplugd(8).