diff options
author | Rene Ladan <rene@FreeBSD.org> | 2025-06-09 21:57:37 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2025-06-09 21:58:39 +0000 |
commit | 96729aa2e09c0ddf048ca61064ef67d016fd904d (patch) | |
tree | 812fddda4368f1624942405a88862149839f3750 | |
parent | bc881524b4ab5e014eeb3ea99789eb18c8b95d1a (diff) |
misc/radio_datetime_analyzer: add new port
Analyzer for log files of time stations.
The program takes two parameters:
- the station name of the file to analyze (as argument to the -s option)
- the name of the file to analyze (as argument to the -f option)
Currently supported stations are DCF77 and MSF.
See the enclosed README.md for more information.
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/radio_datetime_analyzer/Makefile | 33 | ||||
-rw-r--r-- | misc/radio_datetime_analyzer/Makefile.crates | 4 | ||||
-rw-r--r-- | misc/radio_datetime_analyzer/distinfo | 11 | ||||
-rw-r--r-- | misc/radio_datetime_analyzer/pkg-descr | 9 |
5 files changed, 58 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 7ef83f6b4e1c..8cd3209a3620 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -560,6 +560,7 @@ SUBDIR += qt6ct SUBDIR += quantum++ SUBDIR += quary + SUBDIR += radio_datetime_analyzer SUBDIR += randomx SUBDIR += rash SUBDIR += raspberrypi-gpioshutdown diff --git a/misc/radio_datetime_analyzer/Makefile b/misc/radio_datetime_analyzer/Makefile new file mode 100644 index 000000000000..5d28eb5a2ff5 --- /dev/null +++ b/misc/radio_datetime_analyzer/Makefile @@ -0,0 +1,33 @@ +PORTNAME= radio_datetime_analyzer +DISTVERSION= 1.1.0 +CATEGORIES= misc +MASTER_SITES= https://codeberg.org/rene0/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # prevent USES=cargo from overriding default DISTFILES + +MAINTAINER= rene@FreeBSD.org +COMMENT= Analyzer for DCF77 and MSF log files +WWW= https://codeberg.org/rene0/${PORTNAME} + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual + +USES= cargo +WRKSRC= ${WRKDIR}/${PORTNAME} + +OPTIONS_DEFINE= DOCS EXAMPLES + +PLIST_FILES= bin/radio_datetime_analyzer +PORTDOCS= README.md +PORTEXAMPLES= sample_dcf77.log sample_msf.log + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} +.for f in sample_dcf77.log sample_msf.log + ${INSTALL_DATA} ${WRKSRC}/src/transmitters/test/${f} ${STAGEDIR}${EXAMPLESDIR} +.endfor + +.include <bsd.port.mk> diff --git a/misc/radio_datetime_analyzer/Makefile.crates b/misc/radio_datetime_analyzer/Makefile.crates new file mode 100644 index 000000000000..e534c2bdf0d3 --- /dev/null +++ b/misc/radio_datetime_analyzer/Makefile.crates @@ -0,0 +1,4 @@ +CARGO_CRATES= dcf77_utils-1.1.0 \ + getopt-1.1.7 \ + msf60_utils-1.1.0 \ + radio_datetime_utils-1.1.0 diff --git a/misc/radio_datetime_analyzer/distinfo b/misc/radio_datetime_analyzer/distinfo new file mode 100644 index 000000000000..86df18ab4467 --- /dev/null +++ b/misc/radio_datetime_analyzer/distinfo @@ -0,0 +1,11 @@ +TIMESTAMP = 1749073004 +SHA256 (radio_datetime_analyzer-1.1.0.tar.gz) = 590f6df204232c37cfde943f1e4718b076e913ec45c6192083adb5e22d93b00f +SIZE (radio_datetime_analyzer-1.1.0.tar.gz) = 10947 +SHA256 (rust/crates/dcf77_utils-1.1.0.crate) = f5b1ae3c5f0fbb87a9187ca0f1cb665f7444f481f77940131c4737c17bc845e8 +SIZE (rust/crates/dcf77_utils-1.1.0.crate) = 11723 +SHA256 (rust/crates/getopt-1.1.7.crate) = 2a9e40b04867f241a94b98f4649825925553807ae34f07b953a590270f45d9d4 +SIZE (rust/crates/getopt-1.1.7.crate) = 8037 +SHA256 (rust/crates/msf60_utils-1.1.0.crate) = 8aa32aa811b514329ceb1af4ff3d744bb96a5e18af8e188215deefcc1f13c6d6 +SIZE (rust/crates/msf60_utils-1.1.0.crate) = 14545 +SHA256 (rust/crates/radio_datetime_utils-1.1.0.crate) = bbc9a0dfa3cff91f691dbb878c8856d3096686786662858225f8102809a32701 +SIZE (rust/crates/radio_datetime_utils-1.1.0.crate) = 17044 diff --git a/misc/radio_datetime_analyzer/pkg-descr b/misc/radio_datetime_analyzer/pkg-descr new file mode 100644 index 000000000000..20ad76ac1ed8 --- /dev/null +++ b/misc/radio_datetime_analyzer/pkg-descr @@ -0,0 +1,9 @@ +Analyzer for log files of time stations. + +The program takes two parameters: +- the station name of the file to analyze (as argument to the -s option) +- the name of the file to analyze (as argument to the -f option) + +Currently supported stations are DCF77 and MSF. + +See the enclosed README.md for more information. |