svn commit: r368444 - in head/comms/dcf77pi: . files
Rene Ladan
rene at FreeBSD.org
Thu Sep 18 11:56:53 UTC 2014
Author: rene
Date: Thu Sep 18 11:56:52 2014
New Revision: 368444
URL: http://svnweb.freebsd.org/changeset/ports/368444
QAT: https://qat.redports.org/buildarchive/r368444/
Log:
- 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
- New functions get_acc_minlen(), add_acc_minlen(), reset_acc_minlen() in
decode_time.h. The accumulated minute length is now a first-class entity.
When decoding the live signal, increment it more precisely than just 1000 ms/s
to prevent drift during bad radio reception.
- New functions dcftime() and isotime() in decode_time.h. Use the latter in
setclock.c
- Check input values of etc/config.txt:
- hw.active_high must be 0 or 1
- hw.freq must be even between 10 and 666666
- Reset the values of bit0 and bit20 if the latter becomes smaller than the
former, show this in the log file using a '!'
- Compact the signal buffer, it now stores 8 pulses per byte instead of just 1.
Client changes:
- Make dcf77pi and dcf77pi-analyze more agnostic of the contents of the
third-party contents
- Update display code of dcf77pi and readpin for the updates to the live signal
decoding
- Show in dcf77pi when the value of bit20 underflows
- Update the code to display the signal buffer in readpin
- Fix readpin to properly clean up when receiving a SIGINT
Deleted:
head/comms/dcf77pi/files/
Modified:
head/comms/dcf77pi/Makefile
head/comms/dcf77pi/distinfo
head/comms/dcf77pi/pkg-plist
Modified: head/comms/dcf77pi/Makefile
==============================================================================
--- head/comms/dcf77pi/Makefile Thu Sep 18 10:52:19 2014 (r368443)
+++ head/comms/dcf77pi/Makefile Thu Sep 18 11:56:52 2014 (r368444)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= dcf77pi
-PORTVERSION= 3.1.0
-PORTREVISION= 1
+PORTVERSION= 3.2.0
CATEGORIES= comms
MAINTAINER= rene at FreeBSD.org
@@ -13,9 +12,10 @@ LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= rene0
-GH_COMMIT= d441662
+GH_COMMIT= 671961e
USES= ncurses
+USE_LDCONFIG= yes
PATCH_STRIP= -p1
PORTDOCS= README.md
Modified: head/comms/dcf77pi/distinfo
==============================================================================
--- head/comms/dcf77pi/distinfo Thu Sep 18 10:52:19 2014 (r368443)
+++ head/comms/dcf77pi/distinfo Thu Sep 18 11:56:52 2014 (r368444)
@@ -1,2 +1,2 @@
-SHA256 (dcf77pi-3.1.0.tar.gz) = e47f31c2c1e9fee5185e71f0c4229a8be870caeae1e0f046b5259d0d4382a001
-SIZE (dcf77pi-3.1.0.tar.gz) = 20560
+SHA256 (dcf77pi-3.2.0.tar.gz) = 9d6754dd19e678e05c72d48fc2ee27fc7d84c7ec5c2fd7d1141638a00f2ee87c
+SIZE (dcf77pi-3.2.0.tar.gz) = 22307
Modified: head/comms/dcf77pi/pkg-plist
==============================================================================
--- head/comms/dcf77pi/pkg-plist Thu Sep 18 10:52:19 2014 (r368443)
+++ head/comms/dcf77pi/pkg-plist Thu Sep 18 11:56:52 2014 (r368444)
@@ -2,6 +2,7 @@ bin/dcf77pi
bin/dcf77pi-analyze
bin/readpin
@sample %%ETCDIR%%/config.txt.sample
+include/dcf77pi/bits1to14.h
include/dcf77pi/config.h
include/dcf77pi/decode_alarm.h
include/dcf77pi/decode_time.h
More information about the svn-ports-all
mailing list