include $(TOPDIR)/rules.mk
PKG_NAME:=dump1090
-PKG_VERSION:=2016-11-26
+PKG_VERSION:=2017-06-01
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/mutability/dump1090.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=fb63bdc2a61f0169b3c21b33bcdc99f202685b78
+PKG_SOURCE_VERSION:=b155fdb458c3241ab375d1f2b12fbb6a9f8a8a3a
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
-PKG_MIRROR_HASH:=efb2580509cf13a769cffd1982433d29acd64a5c115793417fd36d9d5f73c9e8
+PKG_MIRROR_HASH:=ff1bc142107d367c6c58ccc5dbcec822c251a683e43e3b771ab4a33a9012f602
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING LICENSE
-PKG_BUILD_DEPENDS:=librtlsdr
+PKG_BUILD_DEPENDS:=librtlsdr libusb-1.0
include $(INCLUDE_DIR)/package.mk
#!/bin/sh
uci batch <<-EOF
- set uhttpd.xupnpd=uhttpd
- set uhttpd.xupnpd.listen_http='0.0.0.0:8080 [::]:8080'
- set uhttpd.xupnpd.home=/usr/share/dump1090
- set uhttpd.xupnpd.rfc1918_filter=1
- set uhttpd.xupnpd.max_requests=3
- set uhttpd.xupnpd.max_connections=100
- set uhttpd.xupnpd.script_timeout=60
- set uhttpd.xupnpd.network_timeout=30
- set uhttpd.xupnpd.http_keepalive=20
- set uhttpd.xupnpd.tcp_keepalive=1
- set uhttpd.xupnpd.index_page='index.html index.htm gmap.html'
+ set uhttpd.dump1090=uhttpd
+ set uhttpd.dump1090.listen_http='0.0.0.0:8080 [::]:8080'
+ set uhttpd.dump1090.home=/usr/share/dump1090
+ set uhttpd.dump1090.rfc1918_filter=1
+ set uhttpd.dump1090.max_requests=3
+ set uhttpd.dump1090.max_connections=100
+ set uhttpd.dump1090.script_timeout=60
+ set uhttpd.dump1090.network_timeout=30
+ set uhttpd.dump1090.http_keepalive=20
+ set uhttpd.dump1090.tcp_keepalive=1
+ set uhttpd.dump1090.index_page='index.html index.htm gmap.html'
commit uhttpd
EOF
exit 0