Port details |
- dcf77pi DCF77 receiver/logger/analyzer and library for the Raspberry Pi
- 3.7.1.1_1 comms
=1 3.7.1.1_1Version of this port present on the latest quarterly branch. - Maintainer: rene0@freedom.nl
 - Port Added: 2013-06-21 22:46:28
- Last Update: 2021-04-21 08:01:03
- Commit Hash: 59dc0b5
- People watching this port, also watch:: python, unoconv, py38-pycparser, sysinfo
- License: BSD2CLAUSE
- Description:
- 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.
The software is written as a library for easy reuse into other software.
WWW: https://github.com/rene0/dcf77pi
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- For LIB depends:
- libdcf77.so:comms/dcf77pi
- To install the port:
- cd /usr/ports/comms/dcf77pi/ && make install clean
- To add the package, run one of these commands:
- pkg install comms/dcf77pi
- pkg install dcf77pi
- PKGNAME: dcf77pi
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1587152412
SHA256 (rene0-dcf77pi-v3.7.1.1_GH0.tar.gz) = 63e87f05130e5bd6e5c97bb4b900f770f904d5884233e13059c8cb64f6954d97
SIZE (rene0-dcf77pi-v3.7.1.1_GH0.tar.gz) = 67719
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libjson-c.so : devel/json-c
- There are no ports dependent upon this port
- Configuration Options:
- ===> The following configuration options are available for dcf77pi-3.7.1.1_1:
DOCS=on: Build and/or install documentation
DOXYGEN=off: Build documentation with Doxygen
===> Use 'make config' to modify these settings
- Options name:
- comms_dcf77pi
- USES:
- ncurses pkgconfig
- pkg-message:
- For install:
- Normally, dcf77pi and readpin need to be run as root due to the permissions of
/dev/gpioc* , but they can be run as a regular user by changing the permissions
of the device node:
# chmod 0660 /dev/gpioc*
And to make the change persistent across reboots:
# echo "perm gpioc* 0660" >> /etc/devfs.conf
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
21 Apr 2021 08:01:03 3.7.1.1_1
|
Rene Ladan (rene)  |
comms/dcf77pi: pet portclippy |
06 Apr 2021 14:31:07 3.7.1.1_1
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
05 Dec 2020 20:40:32
3.7.1.1_1
|
rene  |
Move ports that I wrote to my personal email address. |
22 May 2020 19:20:42
3.7.1.1_1
|
sunpoet  |
Bump PORTREVISION for devel/json-c json-c |
17 Apr 2020 20:22:15
3.7.1.1
|
rene  |
comms/dcf77pi: update to 3.7.1.1, clean up Makefile |
09 Jul 2019 19:24:27
3.7.0_1
|
rene  |
UCL-ify pkg-message of my ports. |
10 Sep 2018 13:14:52
3.7.0_1
|
mat  |
Add DOCS options to ports that should have one.
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine |
05 Sep 2018 22:01:55
3.7.0_1
|
sunpoet  |
Update devel/json-c to 0.13.1
- Add my LOCAL to MASTER_SITES
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/json-c/json-c/blob/master/ChangeLog
PR: 231007
Exp-run by: antoine |
08 Jul 2018 20:47:58
3.7.0
|
rene  |
comms/dcf77pi: update to version 3.7.0 |
19 Nov 2017 14:04:03
3.6.1
|
rene  |
comms/dcf77pi: update to 3.6.1
Changelog: https://github.com/rene0/dcf77pi/releases/tag/3.6.1
MFH: 2017Q4 |
16 May 2017 16:58:01
3.6.0
|
rene  |
comms/dcf77pi: update to 3.6.0
See CHANGELOG.md for changes
While here, improve pkg-message |
27 Apr 2017 20:00:17
3.5.0
|
rene  |
comms/dcf77pi: add a tip to make it possible to run the programs as non-root |
02 May 2016 20:27:40
3.5.0
|
rene  |
comms/dcf77pi: update to version 3.5.0
- pin numbers are now 16 bits
- rename some functions to not confuse Doxygen
- make some functions public |
01 Apr 2016 13:29:17
3.4.2
|
mat  |
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight |
10 Jan 2016 17:11:30
3.4.2
|
rene  |
comms/dcf77pi: update to version 3.4.2
This update fixes a bug in the century calculation which could result in
wrongly calculated dates.
MFH: 2016Q1 |
26 Dec 2015 12:13:44
3.4.1
|
rene  |
comms/dcf77pi: update to version 3.4.1 |
08 Nov 2015 20:20:51
3.4.0
|
rene  |
comms/dcf77pi: update to 3.4.0
Add option to create Doxygen HTML
Changelog: https://github.com/rene0/dcf77pi/releases/tag/3.4.0 |
06 May 2015 15:16:54
3.3.0
|
mat  |
Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.
With hat: portmgr
Sponsored by: Absolight |
24 Dec 2014 23:43:49
3.3.0
|
rene  |
comms/dcf77pi: update to 3.3.0
Changes:
* improve support for decoding the alarm messages by showing the main German
regions which are affected. Note that this was an experimental and now
unused system. With permission from Mr. Wenzelewski from DIN
* Doxygen support, provide a Doxyfile (not supported by the port yet)
* Small fixes to the FidoCADJ schematics
* library:
- assign date/time fields more independently so that errors are corrected
faster
- record the accumulated minute length at the end of each line in the log (Only the first 15 lines of the commit message are shown above ) |
09 Oct 2014 11:35:13
3.2.0
|
rene  |
Clean up pkg-plist of my ports. |
18 Sep 2014 11:56:52
3.2.0
|
rene  |
- Update comms/dcf77pi to version 3.2.0
- Use USE_LDCONFIG
Overall changes:
- Compile with -fpic instead of -fPIC (potentially smaller code size)
- Add a schematics file for the hardware receiver in FidoCadJ format
- Language and typographical updates to README.md
- Several signed/unsigned/size fixes
Library changes:
- Extract generic third-party code for bits 1..14 from decode_alarm.h into a
new file bits1to14.h
- Convert almost all calculations for decoding the live signal into integer
operations, drop fields 'a', 'frac', and 'maxone' from struct bitinfo.
- New function setclock_ok() in setclock.h (Only the first 15 lines of the commit message are shown above ) |
20 Jul 2014 21:59:06
3.1.0_1
|
rene  |
comms/dcf77pi: apply upstream patch to fix display bug when realfreq is reset |
14 Jul 2014 11:23:38
3.1.0
|
rene  |
comms/dcf77pi: update to 3.1.0, improve pkg-descr
General:
- add partial support for OSX and Cygwin
- add bitinfo.last0 field which represents the last pulse where the radio signal
was 0
- store radio signal into a new field bitinfo.signal
- more robust handling of radio signal glitches
- improve realfreq by approximately 7% on a non-optimized standard build
- simplify code for handling DST changes and leap seconds
- defer assigning the decoded time until the minute length has been checked
to match the exact expected value (i.e. 59 unless a leap second occurs)
- code cleanups
README:
- mention supported platforms
dcf77pi:
- display updates, show last0
readpin:
- overhaul to make more use of libdcf77
- drop -t parameter |
01 Jun 2014 15:00:37
3.0.0.1
|
rene  |
comms/dcf77pi: Update 3.0.0.1
The code to decode the radio signal, date/time, and civil warnings is now
provided in a library libdcf77.so together with the relevant header files.
dcf77pi is now split up into dcf77pi (the live client) and dcf77pi-analyze
(the client to analyze log files). The -f parameter of dcf77pi is dropped.
Apply minor lint(1) fixes. |
11 May 2014 12:37:55
2.1.0
|
rene  |
comms/dcf77pi: update to 2.1.0
General:
- the maxzero and maxone parameters are now determined dynamically, remove
them from config.txt and README.md
- Do not consider time offset jumps if bit 17 and 18 are equal
readpin:
- add a -q parameter to suppress displaying of the raw signal (default off)
- display updates
dcf77pi:
- display updates/fixes, show radio state
(OK if no receive/transmit/random errors) |
13 Apr 2014 16:37:01
2.0.3
|
rene  |
comms/dcf77pi: update to 2.0.3, use the new @sample keyword
- Mention the "backspace" key in README.md
- Reset DST and leap second announcements at the next hour
- Detect sudden jumps to non-DST
- Relax conditions for processing a DST change |
31 Mar 2014 22:08:18
2.0.2
|
rene  |
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 |
28 Feb 2014 15:51:47
2.0.1
|
rene  |
comms/dcf77pi: No need to check for and install configuration sample in
Makefile with stage support. |
21 Feb 2014 12:31:53
2.0.1
|
rene  |
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 |
16 Feb 2014 12:32:02
2.0.0
|
rene  |
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 |
31 Jan 2014 00:34:27
1.1.3
|
rene  |
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. |
01 Jan 2014 22:00:20
1.1.2
|
rene  |
Update to 1.1.2
Changes:
- replace hardcoded realfreq parameter with a dynamically determined value
and update README.md
- minor updates to time decoder |
15 Dec 2013 17:41:39
1.1.1
|
rene  |
Specify which BSD licence applies.
Submitted by: make check-sanity |
15 Dec 2013 14:19:48
1.1.1
|
rene  |
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 |
03 Dec 2013 21:33:36
1.1.0
|
rene  |
* 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 |
28 Oct 2013 21:26:33
1.0.5
|
rene  |
- Update to 1.0.5
- Add a note to UPDATING about the changed and renamed configuration file. |
28 Sep 2013 13:24:48
1.0.4
|
rene  |
Add staging support. |
20 Sep 2013 16:03:29
1.0.4
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
comms) |
10 Sep 2013 16:23:06
1.0.4
|
rene  |
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. |
22 Jul 2013 14:12:01
1.0.3.1
|
rene  |
Update to 1.0.3.1
This release fixes installation of the configuration file. |
21 Jul 2013 16:40:20
1.0.3_1
|
rene  |
Distfile was rerolled, bump PORTREVISION |
21 Jul 2013 14:42:20
1.0.3
|
rene  |
Update to 1.0.3
No need to ignore on FreeBSD < 9.0, the software will disable GPIO itself. |
24 Jun 2013 09:09:20
1.0.2
|
rene  |
Update to 1.0.2 |
21 Jun 2013 22:46:12
1.0.1
|
rene  |
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 |