Oliver Jowett
2a2306ff57
Probably time for another release - release changelog.
2014-12-10 01:07:26 +00:00
Oliver Jowett
0305eb25e5
Update Build-Depends based on glitches found building under pbuilder.
2014-12-09 21:41:14 +00:00
Oliver Jowett
02c0f618e6
Re-enable sedscript cleanup now that I'm done testing it.
2014-12-09 20:45:00 +00:00
Oliver Jowett
47e70a96fe
Changelog update.
2014-12-09 20:37:52 +00:00
Oliver Jowett
125158b30a
Big rearrangement to add debconf support.
...
/etc/default/dump1090-mutability is now generated in postinst,
if it doesn't exist, from a template in /usr/share/dump1090-mutability.
Subsequently, the config file is updated in place if debconf-driven
changes are made.
Static HTML/javascript have moved to a "html" subdir to avoid exposing
the template via the webserver.
2014-12-09 20:36:24 +00:00
Oliver Jowett
c712543ee5
Only completeWrite() if we didn't run off the end of the buffer.
...
If we did run off the end, complain about it.
2014-12-08 20:17:48 +00:00
Oliver Jowett
39d905324f
Be more paranoid about not overrunning our fatsv output buffer.
...
Request a buffer of a more reasonable size.
2014-12-08 20:14:53 +00:00
Oliver Jowett
2dcc8e3524
Add direct support for FATSV-format output.
...
This is adapted from the FlightAware fork, with some cleanup and
modifications needed to work with the net-cleanup changes.
Inclusion of "verbatim" TSV data read from an AVR-format input
connection is not supported.
2014-12-08 19:56:45 +00:00
Oliver Jowett
66849e1096
Changelog update.
2014-12-07 14:14:51 +00:00
Oliver Jowett
af957da81c
Merge branch 'realpath-memory-leak'
2014-12-07 14:10:17 +00:00
Oliver Jowett
d09eefb827
Fix a memory leak from use of realpath() in HTTP request processing.
...
realpath() returns a heap-allocated buffer if given NULL for the destination buffer.
This must be freed by the caller; dump1090 does not do this.
Instead of worrying about freeing it, take the simpler approach of just providing a
stack-allocated destination buffer.
2014-12-07 14:05:24 +00:00
Oliver Jowett
2c374503f0
Release changelog.
2014-12-06 23:07:16 +00:00
Oliver Jowett
fcf31a164a
More sensible NET_OUTPUT_SIZE / NET_BUFFER defaults.
2014-12-06 22:54:40 +00:00
Oliver Jowett
129655625c
Fix typo in oversampling config check.
2014-12-06 22:50:55 +00:00
Oliver Jowett
127bf0cbc2
Lock down the default config - no remote connections, no HTTP server.
...
The user can reconfigure if they want a more open setup.
Add Suggests: lighttpd and recommend that as the way to run the map interface.
2014-12-06 22:23:13 +00:00
Oliver Jowett
e5931cbd50
Various packaging bugfixes found while testing the package.
2014-12-06 22:22:02 +00:00
Oliver Jowett
034fcee8fa
Remove a spurious dependency on net-tools.
2014-12-06 22:20:50 +00:00
Oliver Jowett
796ca80db8
Increase the priority of the lighttpd config file to work around an
...
odd ordering problem with the default debian-doc configuration which
would mangle the alias list when accessing from localhost.
2014-12-06 22:19:24 +00:00
Oliver Jowett
aa4aadbccc
Can't make up my mind about versions!
2014-12-06 21:51:08 +00:00
Oliver Jowett
b4b1c0b920
Update packaging to build a -mutability package.
2014-12-06 21:47:46 +00:00
Oliver Jowett
b7562c302a
Merge branch 'mr-pi-package'
...
Conflicts:
Makefile
2014-12-06 19:39:48 +00:00
Oliver Jowett
d88c9d6ab3
Release changelog.
2014-12-06 18:37:36 +00:00
Oliver Jowett
786dd622ee
Update changelog for recent changes.
2014-12-06 16:08:42 +00:00
Oliver Jowett
3242fcaf29
Add support for configuring --stats-every (defaults to hourly)
2014-12-06 16:08:17 +00:00
Oliver Jowett
977fc07c39
Pass --name and --user during daemon start so that existing processes can be correctly identified.
2014-12-06 16:07:44 +00:00
Oliver Jowett
2e189633da
Add a logrotate configuration.
2014-12-06 16:07:02 +00:00
Oliver Jowett
7a3a9f500f
Add logging support.
2014-12-06 16:06:39 +00:00
Oliver Jowett
b7ee4009e4
Release changelog.
2014-12-05 22:56:14 +00:00
Oliver Jowett
b1e1878054
Fix some stray colons. Report failure if daemon isn't configured to start.
2014-12-05 22:55:04 +00:00
Oliver Jowett
373ac8ef0c
Add init script, defaults from /etc/default/, postinst to create a user to run as.
2014-12-05 22:37:33 +00:00
Oliver Jowett
77912fb087
Install binaries with -mr suffix.
2014-12-05 21:36:51 +00:00
Oliver Jowett
35a382e3ce
Set HTMLPATH correctly when compiling.
...
Put static files in /usr/share/dump1090-mr not /usr/share/dump1090
2014-12-05 21:36:02 +00:00
Oliver Jowett
0ae1d72e83
Initial work on raspbian packaging.
2014-12-05 20:18:57 +00:00
Oliver Jowett
83c80b6d67
Don't link view1090 with librtlsdr, it doesn't need it.
2014-12-05 19:34:40 +00:00
Oliver Jowett
19eed4cf18
Allow external specification of CFLAGS / CPPFLAGS.
2014-12-05 19:33:46 +00:00
Oliver Jowett
9e72eb64be
Merge branch 'write-json-files' into oversampling
2014-11-23 17:22:58 +00:00
Oliver Jowett
2abc386895
Off-by-one error in the json interval calculation.
2014-11-23 17:22:34 +00:00
Oliver Jowett
e0bc89e542
Merge branch 'write-json-files' into oversampling
2014-11-23 16:34:18 +00:00
Oliver Jowett
ebab2c0e11
Create json files with mode 0644 - umask.
...
mkstemp defaults to 0600 which is not so useful for serving the file.
2014-11-23 16:32:45 +00:00
Oliver Jowett
d0174994cb
Fix path buffer size
2014-11-23 16:32:22 +00:00
Oliver Jowett
7bd2ee5510
Merge branch 'write-json-files' into oversampling
...
Conflicts:
dump1090.c
dump1090.h
2014-11-23 16:03:35 +00:00
Oliver Jowett
6910a4bf4d
Experimental json changes
2014-11-23 16:02:11 +00:00
Oliver Jowett
8246df8b2d
Merge branch 'master' into oversampling
2014-10-31 19:42:15 +00:00
Oliver Jowett
bbd5a13030
Merge branch 'net-cleanups'
2014-10-31 19:38:06 +00:00
Oliver Jowett
29d1e53f9f
Merge remote-tracking branch 'upstream/master' into net-cleanups
2014-10-31 17:58:03 +00:00
MalcolmRobb
bff92c4ad7
Merge pull request #36 from mutability/improve-phase-enhancement
...
Rearrange phase enhancement so that it handles phase errors in both directions
2014-10-31 13:01:59 +00:00
Malcolm Robb
960ebfccea
Publish version 1.10.3010.14
2014-10-30 17:50:56 +00:00
MalcolmRobb
b8ea7540c7
Merge pull request #13 from bovine/faurl
...
link to FlightAware for flight details
2014-10-30 12:11:28 +00:00
Malcolm Robb
a9cd75ded1
More Updates to Pull #54
...
Pull #54 breaks the Windows version of dump1090 due to a bug in the
inet_aton() windows function.
1) Fix the bug in the windows inet_aton()
2) Modify the command line code to strdup() the command line string.
3) Leave the Modes.net_bind_address pointer NULL if no command line
specified
2014-10-30 12:06:03 +00:00
Jeff Lawson
cd09210cb9
Merge branch 'master' into faurl
2014-10-29 23:00:38 -05:00