1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Rene Ladan
182bd70663 comms/dcf77pi: update to 2.0.2
- Prevent a possible string overflow when reading the configuration file.
- Plug a few memory leaks.
- Refactor a lot of code.

- Replace -l parameter (specify logfile) of dcf77pi by an interactive 'L' key
  which can also be used to change or disable the log file.
- New entry in config.txt, "outlogfile", to specify the the default log file
  (default empty).

- Fix a bug where the hour would be wrongly considered off by one at the
  moment of a DST change.

- Various bug fixes in the GUI code (only affected displaying of the data).

- Handle log files with \n\r line endings used by RISC OS (which runs on the
  Raspberry Pi).
- Slightly improve output when reading from a log file.

- Update README.md
2014-03-31 22:08:17 +00:00
Rene Ladan
f6e5ca2b87 comms/dcf77pi: No need to check for and install configuration sample in
Makefile with stage support.
2014-02-28 15:51:47 +00:00
Rene Ladan
a762c4c8ec comms/dcf77pi: update to 2.0.1
- support DESTDIR and install-strip, uninstall targets in upstream Makefile
- clean up port Makefile accordingly
- bugfix: do not accept removed 'S' command line option
- bugfix: display 'no minute' at the correct position in GUI mode
- do not leak curses memory at exit
2014-02-21 12:31:53 +00:00
Rene Ladan
558ea7a848 comms/dcf77pi: update to version 2.0.0
- Provide an ncurses based interface in live mode, no changes when reading
  from a log file
- Drop the -v and -S parameters, they are now part of the GUI

- add ncurses to USES
2014-02-16 12:32:02 +00:00
Rene Ladan
4c20e3ab39 comms/dcf77pi: Update to 1.1.3
Changes:
- Add the correct number of minutes when the accumulated minute length is
  more than 60 seconds (happens when e.g. the transmitter is off).
- Disallow DST changes or leap seconds if a 0 is specified for summermonth,
  wintermonth, or leapsecmonths.
- Allow compilation on NetBSD.
2014-01-31 00:34:27 +00:00
Rene Ladan
ceb97a7397 Update to 1.1.2
Changes:
- replace hardcoded realfreq parameter with a dynamically determined value
  and update README.md
- minor updates to time decoder
2014-01-01 22:00:20 +00:00
Rene Ladan
14f13b87df Specify which BSD licence applies.
Submitted by:	make check-sanity
2013-12-15 17:41:39 +00:00
Rene Ladan
5950623eec Update to 1.1.1
Changes:

dcf77pi:
- Calculate century (modulo 400) from year, month, day of week, day of month
- New parameter -S to set the system time
- Improvements to DST handling
- Set error state if day of month is too large, not just when greater than 31

readpin:
- New parameter -t for readpin to adjust nanosleep() delay
- Determine realfreq dynamically, do not use realfreq from config.txt

general:
- Documentation updates
- Code cleanups
2013-12-15 14:19:48 +00:00
Rene Ladan
dfdd404bbd * Update to 1.1.0:
- New algorithm to receive bits from the radio signal from an idea by
    Udo Klein, with permission [1] (configuration file changed)
  - Use two independent maximum values for 0 and 1 bits (configuration
    file changed)
  - New verbose display output
  - Weaken precondition for processing leap seconds and DST changes to not
    insist on correct values for parity bits and bit 0, 20, 17, 18
  - README.md updated
  - Style and other minor fixes

* Simplify PORTDOCS installation

[1] http://blog.blinkenlight.net/experiments/dcf77/binary-clock/#comment-5916
2013-12-03 21:33:36 +00:00
Rene Ladan
c237320b4e - Update to 1.0.5
- Add a note to UPDATING about the changed and renamed configuration file.
2013-10-28 21:26:33 +00:00
Rene Ladan
6bef8ca785 Add staging support. 2013-09-28 13:24:47 +00:00
Baptiste Daroussin
2b300eeb3f Add NO_STAGE all over the place in preparation for the staging support (cat: comms) 2013-09-20 16:03:29 +00:00
Rene Ladan
4641a8dc34 Update to 1.0.4 :
- better detection for bits in the radio signal
- catch more corner cases in decoding of the time data

The configuration file (hardware.txt) needs to be updated with this update.
2013-09-10 16:23:06 +00:00
Rene Ladan
e74a981aff Update to 1.0.3.1
This release fixes installation of the configuration file.
2013-07-22 14:12:01 +00:00
Rene Ladan
4c4fe81147 Distfile was rerolled, bump PORTREVISION 2013-07-21 16:40:20 +00:00
Rene Ladan
bd7b90749a Update to 1.0.3
No need to ignore on FreeBSD < 9.0, the software will disable GPIO itself.
2013-07-21 14:42:20 +00:00
Rene Ladan
fc1f4c8dbf Update to 1.0.2 2013-06-24 09:09:20 +00:00
Rene Ladan
11fb4232d6 Yet another DCF77 decoder. This one is intended for the Raspberry Pi
platform but might work on other devices using GPIO pins too.

The received data can be logged for later playback/analysis.

WWW: https://github.com/rene0/dcf77pi
2013-06-21 22:46:12 +00:00