Package Details: readsb-git 4.0.0.r36.g566804a-1

Git Clone URL: https://aur.archlinux.org/readsb-git.git (read-only, click to copy)
Package Base: readsb-git
Description: A Mode-S/ADSB/TIS decoder for RTLSDR, BladeRF, Modes-Beast and GNS5894 devices.
Upstream URL: https://github.com/Mictronics/readsb-protobuf
Licenses: GPL3
Conflicts: readsb
Provides: dump1090-fa-git, readsb
Submitter: fryfrog
Maintainer: fryfrog (tuftedocelot)
Last Packager: fryfrog
Votes: 3
Popularity: 1.01
First Submitted: 2020-02-26 17:25
Last Updated: 2020-08-16 19:40

Latest Comments

tuftedocelot commented on 2021-04-26 23:34

Anyone want to give these changes a whirl and see if they work for anyone other than me? :)

https://git.sr.ht/~tuftedocelot/readsb-git

Notable changes:

  • Remove the PROVIDES to dump1090 since piaware can't work with readsb at this time
  • Copy over readsbrrd and create a systemd file (requires some extra work with collectd. See the upstream repo for ideas/configs
  • Install the contents of webapp/src to /usr/share/readsb/html. Again, see the upstream repo for ideas/configs on working with lighttpd
  • JSON output has been replaced with protobuf. Fix the service options to account for that and also install readsb.proto to /usr/share/readsb for use with any protobuf libraries

fryfrog commented on 2021-03-30 19:38

Done, have your way with it. :)

tuftedocelot commented on 2021-03-30 19:28

Sounds good to me. I'm getting back into this space after an absence

fryfrog commented on 2021-03-21 22:44

Hey @tuftedocelot, I don't really keep up w/ this realm... how would you feel about being a co-maintainer?

tuftedocelot commented on 2021-03-21 22:33

Here's a small patch to the PKGBUILD. Changes are:

  • switch back to using dump1090-fa-git as a run depends
  • That package includes the needed faup1090 helper script which piaware depends on. Since readsb-git was providing dump1090-fa-git, piaware could never run
  • install readsbrrd
  • For now, it'll sit there being available, but a service file could be used to write out the rrd files
  • install the contents of webapp/src to /usr/share/readsb/html
  • fixes the broken service startup since JSON file output has been replaced with protocol-buffers files instead
diff --git a/PKGBUILD b/PKGBUILD
index 853ecb9..41f602a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@

 pkgname=readsb-git
 _gitname=readsb-protobuf
-pkgver=4.0.0.r36.g566804a
-pkgrel=1
+pkgver=4.0.1.r54.gec084c2
+pkgrel=3
 pkgdesc="A Mode-S/ADSB/TIS decoder for RTLSDR, BladeRF, Modes-Beast and GNS5894 devices."
 arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
 url="https://github.com/Mictronics/readsb-protobuf"
@@ -16,9 +16,9 @@ depends=(
   'protobuf-c'
   'ncurses'
   'rrdtool'
+  'dump1090-fa-git'
 )
-provides=('readsb'
-          'dump1090-fa-git')
+provides=('readsb')
 conflicts=('readsb')
 makedepends=('git')
 backup=('etc/default/readsb')
@@ -32,7 +32,7 @@ source=('git+https://github.com/Mictronics/readsb-protobuf.git'
 sha256sums=('SKIP'
             '1b6721ee262fdc04f9009a793eca96b81127145b4314e21b3ad468c504c1c9d6'
             '3da99128f5a89aef6f9748f1e09f0120940f123e80c007e7d5ac2d0571740a05'
-            'da7b799553bf6098573a9a03fce4baaf1ef20f668a7a4772d4c1bd62aaf08736'
+            '8c97b16a4cdf8a9c290736be36a76d2b3f92f4fc078c0ffa2646cca5948685a5'
             '39ed9d33054f7e7bb7f97b7ef27bd17f12f8fd01e4f341328ab735474464592b')

 pkgver() {
@@ -47,7 +47,10 @@ build() {

 package() {
   install -D -m 755 "${srcdir}/${_gitname}/readsb" "${pkgdir}/usr/bin/readsb"
+  install -D -m 755 "${srcdir}/${_gitname}/readsbrrd" "${pkgdir}/usr/bin/readsbrrd"
   install -D -m 755 "${srcdir}/${_gitname}/viewadsb" "${pkgdir}/usr/bin/viewadsb"
+  install -d -m 755 "${pkgdir}/usr/share/readsb/html"
+  cp -r "${srcdir}"/"${_gitname}"/webapp/src/* "${pkgdir}/usr/share/readsb/html"
   install -D -m 644 readsb.default "${pkgdir}/etc/default/readsb"
   install -D -m 644 readsb.sysusers "${pkgdir}/usr/lib/sysusers.d/readsb.conf"
   install -D -m 644 readsb.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/readsb.conf"
diff --git a/readsb.service b/readsb.service
index acb65be..94937fb 100644
--- a/readsb.service
+++ b/readsb.service
@@ -23,7 +23,7 @@ ExecStart=/usr/bin/readsb --gain -10 \
                           --net-sbs-port 30003 \
                           --net-bi-port 30004,30104 \
                           --net-bo-port 30005 \
-                          --json-location-accuracy 1 \
+                          --rx-location-accuracy 1 \
                           --write-json /run/readsb \
                           $USER_OPTIONS --quiet

fryfrog commented on 2020-08-16 19:46

@Cader: I've updated this package to use readsb-protobuf and since it has real releases, I made readsb. Let me know what you think. :)

Cader commented on 2020-08-16 19:01

This software is no longer under development and has moved to a new upstream https://github.com/Mictronics/readsb-protobuf

fryfrog commented on 2020-04-26 15:31

I've blindly made the suggested changes, give it a try and let me know if it doesn't do what you want. :)

tuftedocelot commented on 2020-04-26 13:56

Hey fryfrog, great work on these packages. Small note, I've found that setting a PROVIDES for dump1090-fa-git enables piaware to work with no additional configuration. The only other step is to create a symlink for /usr/bin/readsb to /usr/bin/dump1090