notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
dcf77pi DCF77 receiver/logger/analyzer and library for the Raspberry Pi
3.7.1.1_2 comms on this many watch lists=3 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_2Version of this port present on the latest quarterly branch.
Maintainer: rene@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-06-21 22:46:28
Last Update: 2024-02-26 20:37:47
Commit Hash: e0f0d78
People watching this port, also watch:: oss, lua54-luaexpat, monit, proggy_fonts-ttf, inotify-tools
License: BSD2CLAUSE
WWW:
https://codeberg.org/rene0/dcf77pi
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
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_2/catalog.mk
  3. /usr/local/share/licenses/dcf77pi-3.7.1.1_2/LICENSE
  4. /usr/local/share/licenses/dcf77pi-3.7.1.1_2/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:
  • dcf77pi>0: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
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: dcf77pi
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1708893918 SHA256 (dcf77pi-v3.7.1.1.tar.gz) = e7f94b697527a7d98c260ece8d5cee8915f40db3582fa4b28b4048ad076db63e SIZE (dcf77pi-v3.7.1.1.tar.gz) = 67702

Packages (timestamps in pop-ups are UTC):
dcf77pi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.7.1.1_23.7.1.1_23.7.1.1_13.7.1.1_23.7.1.1_2-3.7.1.1_1-
FreeBSD:13:quarterly3.7.1.1_23.7.1.1_23.7.1.1_13.7.1.1_23.7.1.1_23.7.1.1_13.7.1.1_13.7.1.1_1
FreeBSD:14:latest3.7.1.1_23.7.1.1_23.7.1.1_13.7.1.1_23.7.1.1_23.7.1.1_1-3.7.1.1_1
FreeBSD:14:quarterly3.7.1.1_23.7.1.1_2-3.7.1.1_23.7.1.1_23.7.1.1_13.7.1.1_13.7.1.1_1
FreeBSD:15:latest3.7.1.1_23.7.1.1_2n/a3.7.1.1_2n/a3.7.1.1_13.7.1.1_13.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:
===> The following configuration options are available for dcf77pi-3.7.1.1_2: 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeberg.org/rene0/dcf77pi/archive/v3.7.1.1.tar.gz?dummy=/
Collapse this list.

Number of commits found: 49

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.7.1.1_2
26 Feb 2024 20:37:47
commit hash: e0f0d7870dfc43dfb9ecc5194ec14c7194b0fc5fcommit hash: e0f0d7870dfc43dfb9ecc5194ec14c7194b0fc5fcommit hash: e0f0d7870dfc43dfb9ecc5194ec14c7194b0fc5fcommit hash: e0f0d7870dfc43dfb9ecc5194ec14c7194b0fc5f files touched by this commit
Rene Ladan (rene) search for other commits by this committer
comms/dcf77pi: fix build

Fixes:	19d8d6dd4ba6 "comms/dcf77pi: migrate to codeberg"
Pointyhat:	rene
3.7.1.1_2
25 Feb 2024 20:53:02
commit hash: 19d8d6dd4ba69dd5767f0957e6ef608183f700c3commit hash: 19d8d6dd4ba69dd5767f0957e6ef608183f700c3commit hash: 19d8d6dd4ba69dd5767f0957e6ef608183f700c3commit hash: 19d8d6dd4ba69dd5767f0957e6ef608183f700c3 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
comms/dcf77pi: migrate to codeberg

portfmt while here, and bump PORTREVISION
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
3.7.1.1_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
3.7.1.1_1
12 Jul 2022 18:18:37
commit hash: db3918c88e75f75cb4b92650af19055b70f80b51commit hash: db3918c88e75f75cb4b92650af19055b70f80b51commit hash: db3918c88e75f75cb4b92650af19055b70f80b51commit hash: db3918c88e75f75cb4b92650af19055b70f80b51 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: remove Created-by lines mentioning myself from my ports.

While here use my FreeBSD address again for all my ports.
3.7.1.1_1
21 Apr 2021 08:01:03
commit hash: 59dc0b5edf5c9694ce2815a047d5e051bf85aab8commit hash: 59dc0b5edf5c9694ce2815a047d5e051bf85aab8commit hash: 59dc0b5edf5c9694ce2815a047d5e051bf85aab8commit hash: 59dc0b5edf5c9694ce2815a047d5e051bf85aab8 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
comms/dcf77pi: pet portclippy
3.7.1.1_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.7.1.1_1
05 Dec 2020 20:40:32
Revision:557083Original commit files touched by this commit
rene search for other commits by this committer
Move ports that I wrote to my personal email address.
3.7.1.1_1
22 May 2020 19:20:42
Revision:536219Original commit files touched by this commit
sunpoet search for other commits by this committer
Bump PORTREVISION for devel/json-c json-c
3.7.1.1
17 Apr 2020 20:22:15
Revision:531972Original commit files touched by this commit
rene search for other commits by this committer
comms/dcf77pi: update to 3.7.1.1, clean up Makefile
3.7.0_1
09 Jul 2019 19:24:27
Revision:506305Original commit files touched by this commit
rene search for other commits by this committer
UCL-ify pkg-message of my ports.
3.7.0_1
10 Sep 2018 13:14:52
Revision:479406Original commit files touched by this commit
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
3.7.0_1
05 Sep 2018 22:01:55
Revision:479045Original commit files touched by this commit
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
3.7.0
08 Jul 2018 20:47:58
Revision:474198Original commit files touched by this commit
rene search for other commits by this committer
comms/dcf77pi: update to version 3.7.0
3.6.1
19 Nov 2017 14:04:03
Revision:454490Original commit files touched by this commit
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
3.6.0
16 May 2017 16:58:01
Revision:441010Original commit files touched by this commit
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
3.5.0
27 Apr 2017 20:00:17
Revision:439563Original commit files touched by this commit
rene search for other commits by this committer
comms/dcf77pi: add a tip to make it possible to run the programs as non-root
3.5.0
02 May 2016 20:27:40
Revision:414480Original commit files touched by this commit
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
3.4.2
01 Apr 2016 13:29:17
Revision:412344Original commit files touched by this commit
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
3.4.2
10 Jan 2016 17:11:30
Revision:405730Original commit files touched by this commit
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
3.4.1
26 Dec 2015 12:13:44
Revision:404506Original commit files touched by this commit
rene search for other commits by this committer
comms/dcf77pi: update to version 3.4.1
3.4.0
08 Nov 2015 20:20:51
Revision:401073Original commit files touched by this commit
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
3.3.0
06 May 2015 15:16:54
Revision:385521Original commit files touched by this commit
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
3.3.0
24 Dec 2014 23:43:49
Revision:375497Original commit files touched by this commit
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)
3.2.0
09 Oct 2014 11:35:13
Revision:370516Original commit files touched by this commit
rene search for other commits by this committer
Clean up pkg-plist of my ports.
3.2.0
18 Sep 2014 11:56:52
Revision:368444Original commit files touched by this commit
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)
3.1.0_1
20 Jul 2014 21:59:06
Revision:362380Original commit files touched by this commit
rene search for other commits by this committer
comms/dcf77pi: apply upstream patch to fix display bug when realfreq is reset
3.1.0
14 Jul 2014 11:23:38
Revision:361774Original commit files touched by this commit
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
3.0.0.1
01 Jun 2014 15:00:37
Revision:356132Original commit files touched by this commit
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.
2.1.0
11 May 2014 12:37:55
Revision:353681Original commit files touched by this commit
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)
2.0.3
13 Apr 2014 16:37:01
Revision:351228Original commit files touched by this commit
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
2.0.2
31 Mar 2014 22:08:18
Revision:349808Original commit files touched by this commit
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
2.0.1
28 Feb 2014 15:51:47
Revision:346532Original commit files touched by this commit
rene search for other commits by this committer
comms/dcf77pi: No need to check for and install configuration sample in
Makefile with stage support.
2.0.1
21 Feb 2014 12:31:53
Revision:345378Original commit files touched by this commit
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
2.0.0
16 Feb 2014 12:32:02
Revision:344554Original commit files touched by this commit
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
1.1.3
31 Jan 2014 00:34:27
Revision:341907Original commit files touched by this commit
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.
1.1.2
01 Jan 2014 22:00:20
Revision:338396Original commit files touched by this commit
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
1.1.1
15 Dec 2013 17:41:39
Revision:336561Original commit files touched by this commit
rene search for other commits by this committer
Specify which BSD licence applies.

Submitted by:	make check-sanity
1.1.1
15 Dec 2013 14:19:48
Revision:336539Original commit files touched by this commit
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
1.1.0
03 Dec 2013 21:33:36
Revision:335593Original commit files touched by this commit
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
1.0.5
28 Oct 2013 21:26:33
Revision:331897Original commit files touched by this commit
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.
1.0.4
28 Sep 2013 13:24:48
Revision:328566Original commit files touched by this commit
rene search for other commits by this committer
Add staging support.
1.0.4
20 Sep 2013 16:03:29
Revision:327714Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
comms)
1.0.4
10 Sep 2013 16:23:06
Revision:326916Original commit files touched by this commit
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.
1.0.3.1
22 Jul 2013 14:12:01
Revision:323450Original commit files touched by this commit
rene search for other commits by this committer
Update to 1.0.3.1

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