pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Bump to version 23.11



Module Name:	pkgsrc-wip
Committed By:	Jason White <jdwhite%menelos.com@localhost>
Pushed By:	jdwhite
Date:		Sat Oct 26 21:04:29 2024 -0500
Changeset:	259680e71eee7a4b1635d83e35e05b328d3a5fc8

Modified Files:
	rtl_433/Makefile
	rtl_433/PLIST
	rtl_433/TODO
	rtl_433/distinfo

Log Message:
Bump to version 23.11

Changes per pkglint:
- conf files now stored in share/examples/rtl_433/conf;
  removed from PLIST
- added example files in share/examples/rtl_433
- added doc files in share/doc/rtl_433
- removed USE_CMAKE; using .include for cmake

Updated TODO:
- removed: conf files in share/examples
- removed: add explanation of why this doesn't work on NetBSD;
  added starter explanation in MESSAGE.NetBSD.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=259680e71eee7a4b1635d83e35e05b328d3a5fc8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rtl_433/Makefile |  39 ++++++++++++++-------
 rtl_433/PLIST    | 105 +++++++++++++++++++++++++++++++++++++++++--------------
 rtl_433/TODO     |   7 +---
 rtl_433/distinfo |   6 ++--
 4 files changed, 110 insertions(+), 47 deletions(-)

diffs:
diff --git a/rtl_433/Makefile b/rtl_433/Makefile
index b86364b678..555dec86cc 100644
--- a/rtl_433/Makefile
+++ b/rtl_433/Makefile
@@ -1,40 +1,55 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	rtl_433
-GITHUB_TAG=	21.05
-DISTNAME=	21.05
+GITHUB_TAG=	23.11
+DISTNAME=	23.11
 PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
-PKGREVISION=	1
 CATEGORIES=	ham
 MASTER_SITES=	${MASTER_SITE_GITHUB:=merbanan/}
 DIST_SUBDIR=	${GITHUB_PROJECT}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://triq.org/rtl_433/
-COMMENT=	Generic data receiver
+COMMENT=	Generic data receiver and decoder using software defined radio
 LICENSE=	gnu-gpl-v2
 
-WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}/build
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}
 
 USE_LANGUAGES=	c c++
-USE_TOOLS+=	pkg-config
-USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config pax
+AUTO_MKDIRS=	yes
 
-CMAKE_ARG_PATH=	..
+CMAKE_CONFIGURE_ARGS+=	-Wno-dev
 CMAKE_CONFIGURE_ARGS+=	-DCMAKE_INSTALL_MANDIR=${PREFIX}/${PKGMANDIR}
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_INSTALL_PREFIX=${PREFIX}
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_INSTALL_RPATH=${PREFIX}/lib
+CMAKE_CONFIGURE_ARGS+=	-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE
 
-PKGCONFIG_OVERRIDE+=	rtl433.pc.in
+CMAKE_ARG_PATH=		../
+CONFIGURE_DIRS=		build
 
-AUTO_MKDIRS=	yes
+PKG_SYSCONFSUBDIR=	rtl_433
+
+PKGCONFIG_OVERRIDE+=	rtl433.pc.in
 
 pre-configure:
 	${RUN} ${MKDIR} ${WRKSRC}/build
 
+pre-build:
+	${RM} ${WRKSRC}/conf/CMakeLists.txt
+
 post-install:
-	${INSTALL_MAN} ${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}/man/man1/rtl_433.1 \
+	${INSTALL_MAN} ${WRKSRC}/man/man1/rtl_433.1 \
 	        ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-	${RM} -rf ${DESTDIR}${PREFIX}/share
+	${RM} -rf ${DESTDIR}${PREFIX}/share/man
+	cd ${WRKSRC}/examples && ${PAX} -wr . ${DESTDIR}${PREFIX}/share/examples/rtl_433/
+	cd ${WRKSRC}/conf && ${PAX} -wr . ${DESTDIR}${PREFIX}/share/examples/rtl_433/conf/
+	cd ${WRKSRC}/docs && ${PAX} -wr . ${DESTDIR}${PREFIX}/share/doc/rtl_433/
+	${RM} ${DESTDIR}${PREFIX}/share/doc/rtl_433/.gitignore
 
 .include "options.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../devel/libusb1/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/rtl_433/PLIST b/rtl_433/PLIST
index c011a82d40..1297247490 100644
--- a/rtl_433/PLIST
+++ b/rtl_433/PLIST
@@ -1,31 +1,84 @@
 @comment $NetBSD$
 bin/rtl_433
-etc/rtl_433/CAME-TOP432.conf
-etc/rtl_433/EV1527-4Button-Universal-Remote.conf
-etc/rtl_433/EV1527-PIR-Sgooway.conf
-etc/rtl_433/FAN-53T.conf
-etc/rtl_433/HeatmiserPRT-W.conf
-etc/rtl_433/MightyMule-FM231.conf
-etc/rtl_433/SMC5326-Remote.conf
-etc/rtl_433/SalusRT300RF.conf
-etc/rtl_433/Skylink_HA-434TL.conf
-etc/rtl_433/adlm_fprf.conf
-etc/rtl_433/atc-technology_lmt-430.conf
-etc/rtl_433/car_fob.conf
-etc/rtl_433/chungear_bcf-0019x2.conf
-etc/rtl_433/dooya_curtain.conf
-etc/rtl_433/energy_count_3000.conf
-etc/rtl_433/fan-11t.conf
-etc/rtl_433/friedlandevo.conf
-etc/rtl_433/led-light-remote.conf
-etc/rtl_433/pir-ef4.conf
-etc/rtl_433/rtl_433.example.conf
-etc/rtl_433/silverline_doorbell.conf
-etc/rtl_433/sonoff_rm433.conf
-etc/rtl_433/steffen_switch.conf
-etc/rtl_433/tesla_charge-port-opener.conf
-etc/rtl_433/valeo_car_key.conf
-etc/rtl_433/verisure_alarm.conf
 include/rtl_433.h
 include/rtl_433_devices.h
 man/man1/rtl_433.1
+share/doc/rtl_433/.vuepress/config.js
+share/doc/rtl_433/.vuepress/styles/index.scss
+share/doc/rtl_433/ANALYZE.md
+share/doc/rtl_433/BUILDING.md
+share/doc/rtl_433/CONTRIBUTING.md
+share/doc/rtl_433/DATA_FORMAT.md
+share/doc/rtl_433/HARDWARE.md
+share/doc/rtl_433/INTEGRATION.md
+share/doc/rtl_433/IQ_FORMATS.md
+share/doc/rtl_433/LINKS.md
+share/doc/rtl_433/OPERATION.md
+share/doc/rtl_433/PRIMER.md
+share/doc/rtl_433/STARTING.md
+share/doc/rtl_433/build-docs.sh
+share/doc/rtl_433/package.json
+share/doc/rtl_433/screenshot.png
+share/examples/rtl_433/README.md
+share/examples/rtl_433/conf/CAME-TOP432.conf
+share/examples/rtl_433/conf/ContinentalRemote.conf
+share/examples/rtl_433/conf/DrivewayAlarm_I8-W1901.conf
+share/examples/rtl_433/conf/DrivewayAlert.conf
+share/examples/rtl_433/conf/EV1527-4Button-Universal-Remote.conf
+share/examples/rtl_433/conf/EV1527-DDS-Sgooway.conf
+share/examples/rtl_433/conf/EV1527-PIR-Sgooway.conf
+share/examples/rtl_433/conf/FAN-53T.conf
+share/examples/rtl_433/conf/GhostControls.conf
+share/examples/rtl_433/conf/HeatmiserPRT-W.conf
+share/examples/rtl_433/conf/LeakDetector.conf
+share/examples/rtl_433/conf/MightyMule-FM231.conf
+share/examples/rtl_433/conf/MondeoRemote.conf
+share/examples/rtl_433/conf/PHOX.conf
+share/examples/rtl_433/conf/Reolink-doorbell.conf
+share/examples/rtl_433/conf/SMC5326-Remote.conf
+share/examples/rtl_433/conf/SWETUP-garage-opener.conf
+share/examples/rtl_433/conf/SalusRT300RF.conf
+share/examples/rtl_433/conf/Skylink_HA-434TL.conf
+share/examples/rtl_433/conf/adlm_fprf.conf
+share/examples/rtl_433/conf/atc-technology_lmt-430.conf
+share/examples/rtl_433/conf/car_fob.conf
+share/examples/rtl_433/conf/chungear_bcf-0019x2.conf
+share/examples/rtl_433/conf/dooya_curtain.conf
+share/examples/rtl_433/conf/elro_ab440r.conf
+share/examples/rtl_433/conf/energy_count_3000.conf
+share/examples/rtl_433/conf/fan-11t.conf
+share/examples/rtl_433/conf/friedlandevo.conf
+share/examples/rtl_433/conf/ge_smartremote_plus.conf
+share/examples/rtl_433/conf/heatilator.conf
+share/examples/rtl_433/conf/honeywell-fan.conf
+share/examples/rtl_433/conf/led-light-remote.conf
+share/examples/rtl_433/conf/pir-ef4.conf
+share/examples/rtl_433/conf/rtl_433.example.conf
+share/examples/rtl_433/conf/silverline_doorbell.conf
+share/examples/rtl_433/conf/sonoff_rm433.conf
+share/examples/rtl_433/conf/steffen_switch.conf
+share/examples/rtl_433/conf/tesla_charge-port-opener.conf
+share/examples/rtl_433/conf/tyreguard400.conf
+share/examples/rtl_433/conf/valeo_car_key.conf
+share/examples/rtl_433/conf/verisure_alarm.conf
+share/examples/rtl_433/conf/xmas-tree-remote-2APJZ-CW002.conf
+share/examples/rtl_433/mqtt_rtl_433_test_client.py
+share/examples/rtl_433/rtl_433_collectd_pipe.py
+share/examples/rtl_433/rtl_433_custom.php
+share/examples/rtl_433/rtl_433_custom.py
+share/examples/rtl_433/rtl_433_gps.py
+share/examples/rtl_433/rtl_433_graphite_relay.py
+share/examples/rtl_433/rtl_433_http_events.py
+share/examples/rtl_433/rtl_433_http_stream.php
+share/examples/rtl_433/rtl_433_http_stream.py
+share/examples/rtl_433/rtl_433_http_ws.py
+share/examples/rtl_433/rtl_433_influxdb_relay.py
+share/examples/rtl_433/rtl_433_json_to_rtlwmbus.py
+share/examples/rtl_433/rtl_433_mqtt_hass.py
+share/examples/rtl_433/rtl_433_mqtt_relay.py
+share/examples/rtl_433/rtl_433_prometheus_relay.py
+share/examples/rtl_433/rtl_433_rrd_relay.py
+share/examples/rtl_433/rtl_433_statsd_pipe.py
+share/examples/rtl_433/rtl_433_statsd_relay.py
+share/examples/rtl_433/sigrok-conv.sh
+share/examples/rtl_433/sigrok-open.sh
diff --git a/rtl_433/TODO b/rtl_433/TODO
index a9f8a56546..e14e821114 100644
--- a/rtl_433/TODO
+++ b/rtl_433/TODO
@@ -1,6 +1 @@
-Don't install examples into etc; put them in share/examples/rtl-433
-
-Somehow figure out/document how to use this on NetBSD, or explain why
-it can't, perhaps just in a amkefile comment.
-
-(gdt can import this once converged; I actually use rtl_433.)
+(gdt can import this once converged; gdt actually uses rtl_433.)
diff --git a/rtl_433/distinfo b/rtl_433/distinfo
index 8a62713bbe..8fbc63f174 100644
--- a/rtl_433/distinfo
+++ b/rtl_433/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (rtl_433/21.05.tar.gz) = d05641c2b3760144cc14f7508f0ee677e12b30af
-SHA512 (rtl_433/21.05.tar.gz) = 8b81969de098f417b3f6695dc98c67ce7a4e7eb030b946b4ca6eb787fc935c9970e7247a8a99cd2a6f0ba53ecc7edbfa1da1a39e64c30c7fad7d558e76c94ae6
-Size (rtl_433/21.05.tar.gz) = 915608 bytes
+BLAKE2s (rtl_433/23.11.tar.gz) = d5de3ecbff603a98b46a7ff7d74e80daf03d81d60156831c7b0697b2d41d8dde
+SHA512 (rtl_433/23.11.tar.gz) = a34822c8b20d58c81b331b3eec084dcaeb515f25461f12dc03168743ec6fe4afa0fc5dd60f25937a896772ce3c29e61d598e70e349de056ef9bc99de6c500ee4
+Size (rtl_433/23.11.tar.gz) = 1060640 bytes


Home | Main Index | Thread Index | Old Index