notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
dcf77pi DCF77 receiver/logger/analyzer and library for the Raspberry Pi
3.7.1.1_1 comms on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.7.1.1_1Version of this port present on the latest quarterly branch.
Maintainer: rene0@freedom.nl search for ports maintained by this maintainer
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:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (20 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/dcf77pi-3.7.1.1_1/catalog.mk
  3. /usr/local/share/licenses/dcf77pi-3.7.1.1_1/LICENSE
  4. /usr/local/share/licenses/dcf77pi-3.7.1.1_1/BSD2CLAUSE
  5. bin/dcf77pi
  6. bin/dcf77pi-analyze
  7. bin/dcf77pi-readpin
  8. bin/kevent-demo
  9. @sample etc/dcf77pi/config.json.sample
  10. include/dcf77pi/bits1to14.h
  11. include/dcf77pi/calendar.h
  12. include/dcf77pi/decode_alarm.h
  13. include/dcf77pi/decode_time.h
  14. include/dcf77pi/input.h
  15. include/dcf77pi/mainloop.h
  16. include/dcf77pi/setclock.h
  17. lib/libdcf77.so
  18. @owner
  19. @group
  20. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • dcf77pi>0:comms/dcf77pi
  • 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:
Packages (timestamps in pop-ups are UTC):
dcf77pi
ABIlatestquarterly
FreeBSD:11:aarch643.7.0_13.7.1.1_1
FreeBSD:11:amd643.7.1.1_13.7.1.1_1
FreeBSD:11:armv63.5.03.7.1.1_1
FreeBSD:11:i3863.7.1.1_13.7.1.1_1
FreeBSD:11:mips--
FreeBSD:11:mips643.5.0-
FreeBSD:12:aarch643.7.0_13.7.1.1_1
FreeBSD:12:amd643.7.1.1_13.7.1.1_1
FreeBSD:12:armv63.7.0_13.7.1.1_1
FreeBSD:12:armv73.7.0_13.7.1.1_1
FreeBSD:12:i3863.7.1.1_13.7.1.1_1
FreeBSD:12:mips--
FreeBSD:12:mips643.7.0_1-
FreeBSD:12:powerpc64-3.7.1.1_1
FreeBSD:13:aarch643.7.1.1_13.7.1.1_1
FreeBSD:13:amd643.7.1.1_13.7.1.1_1
FreeBSD:13:armv63.7.1.1_13.7.1.1_1
FreeBSD:13:armv73.7.1.1_13.7.1.1_1
FreeBSD:13:i3863.7.1.1_13.7.1.1_1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.7.1.1_13.7.1.1_1
FreeBSD:14:aarch643.7.1.1_1-
FreeBSD:14:amd643.7.1.1_1-
FreeBSD:14:armv63.7.1.1_1-
FreeBSD:14:armv73.7.1.1_1-
FreeBSD:14:i3863.7.1.1_1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc643.7.1.1_1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libjson-c.so : devel/json-c
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

pkg-message:
For install:
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/rene0/dcf77pi/tar.gz/v3.7.1.1?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2013-10-28
    Affects: users of comms/dcf77pi
    Author: rene@FreeBSD.org
    Reason: 
      As of version 1.0.5 the configuration file was renamed from
      hardware.txt to config.txt and the format has been made more flexible.
    
      If you have customized any parameters, be sure to copy them to
      config.txt after which hardware.txt can be removed.
    
    

Number of commits found: 44

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
21 Apr 2021 08:01:03
 files touched by this commit commit hash:59dc0b5edf5c9694ce2815a047d5e051bf85aab8  3.7.1.1_1
Rene Ladan (rene) search for other commits by this committer
comms/dcf77pi: pet portclippy
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  3.7.1.1_1
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
05 Dec 2020 20:40:32
Original commit files touched by this commit Revision:557083  3.7.1.1_1
rene search for other commits by this committer
Move ports that I wrote to my personal email address.
22 May 2020 19:20:42
Original commit files touched by this commit Revision:536219  3.7.1.1_1
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/json-c json-c
17 Apr 2020 20:22:15
Original commit files touched by this commit Revision:531972  3.7.1.1
rene search for other commits by this committer
comms/dcf77pi: update to 3.7.1.1, clean up Makefile
09 Jul 2019 19:24:27
Original commit files touched by this commit Revision:506305  3.7.0_1
rene search for other commits by this committer
UCL-ify pkg-message of my ports.
10 Sep 2018 13:14:52
Original commit files touched by this commit Revision:479406  3.7.0_1
mat search for other commits by this committer
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
Original commit files touched by this commit Revision:479045  3.7.0_1
sunpoet search for other commits by this committer
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
Original commit files touched by this commit Revision:474198  3.7.0
rene search for other commits by this committer
comms/dcf77pi: update to version 3.7.0
19 Nov 2017 14:04:03
Original commit files touched by this commit Revision:454490  3.6.1
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:441010  3.6.0
rene search for other commits by this committer
comms/dcf77pi: update to 3.6.0

See CHANGELOG.md for changes

While here, improve pkg-message
27 Apr 2017 20:00:17
Original commit files touched by this commit Revision:439563  3.5.0
rene search for other commits by this committer
comms/dcf77pi: add a tip to make it possible to run the programs as non-root
02 May 2016 20:27:40
Original commit files touched by this commit Revision:414480  3.5.0
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:412344  3.4.2
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.

With hat:	portmgr
Sponsored by:	Absolight
10 Jan 2016 17:11:30
Original commit files touched by this commit Revision:405730  3.4.2
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:404506  3.4.1
rene search for other commits by this committer
comms/dcf77pi: update to version 3.4.1
08 Nov 2015 20:20:51
Original commit files touched by this commit Revision:401073  3.4.0
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:385521  3.3.0
mat search for other commits by this committer
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
Original commit files touched by this commit Revision:375497  3.3.0
rene search for other commits by this committer
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 View all of this commit message)
09 Oct 2014 11:35:13
Original commit files touched by this commit Revision:370516  3.2.0
rene search for other commits by this committer
Clean up pkg-plist of my ports.
18 Sep 2014 11:56:52
Original commit files touched by this commit Revision:368444  3.2.0
rene search for other commits by this committer
- 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 View all of this commit message)
20 Jul 2014 21:59:06
Original commit files touched by this commit Revision:362380  3.1.0_1
rene search for other commits by this committer
comms/dcf77pi: apply upstream patch to fix display bug when realfreq is reset
14 Jul 2014 11:23:38
Original commit files touched by this commit Revision:361774  3.1.0
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:356132  3.0.0.1
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:353681  2.1.0
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:351228  2.0.3
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:349808  2.0.2
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:346532  2.0.1
rene search for other commits by this committer
comms/dcf77pi: No need to check for and install configuration sample in
Makefile with stage support.
21 Feb 2014 12:31:53
Original commit files touched by this commit Revision:345378  2.0.1
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:344554  2.0.0
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:341907  1.1.3
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:338396  1.1.2
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:336561  1.1.1
rene search for other commits by this committer
Specify which BSD licence applies.

Submitted by:	make check-sanity
15 Dec 2013 14:19:48
Original commit files touched by this commit Revision:336539  1.1.1
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:335593  1.1.0
rene search for other commits by this committer
* 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
Original commit files touched by this commit Revision:331897  1.0.5
rene search for other commits by this committer
- Update to 1.0.5
- Add a note to UPDATING about the changed and renamed configuration file.
28 Sep 2013 13:24:48
Original commit files touched by this commit Revision:328566  1.0.4
rene search for other commits by this committer
Add staging support.
20 Sep 2013 16:03:29
Original commit files touched by this commit Revision:327714  1.0.4
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
comms)
10 Sep 2013 16:23:06
Original commit files touched by this commit Revision:326916  1.0.4
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:323450  1.0.3.1
rene search for other commits by this committer
Update to 1.0.3.1

This release fixes installation of the configuration file.
21 Jul 2013 16:40:20
Original commit files touched by this commit Revision:323403  1.0.3_1
rene search for other commits by this committer
Distfile was rerolled, bump PORTREVISION
21 Jul 2013 14:42:20
Original commit files touched by this commit Revision:323396  1.0.3
rene search for other commits by this committer
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
Original commit files touched by this commit Revision:321672  1.0.2
rene search for other commits by this committer
Update to 1.0.2
21 Jun 2013 22:46:12
Original commit files touched by this commit Revision:321506  1.0.1
rene search for other commits by this committer
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

Number of commits found: 44