From d3419aa304ff2564036398be5e8ed4bdeaeaa007 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 Jan 2024 20:08:51 +0000 Subject: gentoo auto-resync : 20:01:2024 - 20:08:51 --- app-misc/ebusd/Manifest | 4 +- app-misc/ebusd/ebusd-23.3-r1.ebuild | 100 ------------------------------------ app-misc/ebusd/ebusd-23.3-r2.ebuild | 100 ++++++++++++++++++++++++++++++++++++ app-misc/ebusd/files/ebusd.initd | 20 -------- app-misc/ebusd/files/ebusd.initd-r1 | 20 ++++++++ 5 files changed, 122 insertions(+), 122 deletions(-) delete mode 100644 app-misc/ebusd/ebusd-23.3-r1.ebuild create mode 100644 app-misc/ebusd/ebusd-23.3-r2.ebuild delete mode 100644 app-misc/ebusd/files/ebusd.initd create mode 100644 app-misc/ebusd/files/ebusd.initd-r1 (limited to 'app-misc/ebusd') diff --git a/app-misc/ebusd/Manifest b/app-misc/ebusd/Manifest index a9dd4eb69a4a..065ba85c44ed 100644 --- a/app-misc/ebusd/Manifest +++ b/app-misc/ebusd/Manifest @@ -4,8 +4,8 @@ AUX ebusd-23.3-gcc13.patch 1678 BLAKE2B 6eaff01ff919c9b8db4f522fcc9ad226648cf18f AUX ebusd-23.3-gentoo.patch 1048 BLAKE2B eb46d46aa473fc36b3e7e7ec7b61131659f1c99f53fc5511a15baf91a4a7ac4f1686c4a1e88abaa832c4ab8bffd029457284d4fdf64a843f08b19a8f065a9636 SHA512 f242ddbbe06e14ae88072331a17776a78110d0b74bb21b74e1b21c51ec5c6325687d86cba8e1e7e7dc2961b08fbc98dc8f640bb84a77020ebe48506d93616c0b AUX ebusd-23.3-htmlpath.patch 1006 BLAKE2B fdbc318454ee743eb2343caa0f16cf21f868ac60a634c2e8acc5dd4a3a4aa9eae0c04d11b803cca6987306412f2807f31a3032cc5db45fe3e6de0b4f89d92a39 SHA512 eaf5f423ee04e3d58f6d927c7b7d6316ac93594b0ff2dbb7ab17406a1c10d1b8ac07e582692c983fe4c360c65d57bf67d5f095d3e8f32df7ae1a764b3dff1086 AUX ebusd.confd 193 BLAKE2B a5560507305e5afecc9b127ede67592ff7d3a1751ba27f3a3c43664fe30f2e7946b0bfa059b918865ee4244d2a89f3d7c5e0227f177a48dca98bff1666bd9c6d SHA512 ed2d38d4b3ff39fd5954dc7ac4d5e724c80b26f6c85a48b6a2ddbdea029f01b5e6b19909c7925e5ec879453204e28e40917c15b07e798bbc60950467314cd8f3 -AUX ebusd.initd 552 BLAKE2B b5e4c7ad3e76a9269949b01b7084f58dd4bfbaac56e485f3b7d5c423922abfe9b42480f9111035ed2b783cc151a5c6bca19d2c1f32b20c7ae041096f1e39c0e1 SHA512 0bbd80708dd7b28146e8db07a96bef8c8a2914befcf4f80ca4d60a3c315b26de582ddda6748b355e36d56d0dddd5fb8468cdb2c7ffa50370206d96762276802f +AUX ebusd.initd-r1 552 BLAKE2B 8f40a1d684ddd054153a6b0562d06896253a407eb9497c6080f0e51c6fc5e01a3fe1529cf5568085107191893ad539a2dc21da7a71bbe6fd2e319b62da6af656 SHA512 4b29fca333c5f3bcc676c6a0e9b9a7c0c309b81bbed55b4d863a86b11ef59e051679919393efb8c396b3f2124e772aae9005f7f12642037301e1907f118eee1a AUX ebusd.service-r1 175 BLAKE2B b6b1ba670dc27a525fbbb4ce8d74c10cfd9e093da2602ca41afbc54f8a89ff8ff8c2c0cf6671edc2a0fed9a3b2cccebfee74209b415f75792bd02c29d0815315 SHA512 9ccbadf5b15c4b85921db7780e0b99e352c1020d5bc457f6290d7c6d6fb1371bd92ffbbbdef3c32fad89b751a4d4baae5f8582dd3405f4deb74fc716b6a3351a DIST ebusd-23.3.tar.gz 583788 BLAKE2B c61bf76e0c451672432689aeaf10b317adb52729ea0872cb01dca22e1f7ac12091d287dd082b87361ce37846b1d74c869588964f3dc71e82ffd00c4555e27150 SHA512 acf155d36e99db1c9c2ff04eabbfddba8493f2566b6691f609c86af0e42e3cb0594618fd51e874e475cfc7b9c742d1e010099f38e19c21f52c953ebcfb0f2ea2 -EBUILD ebusd-23.3-r1.ebuild 1913 BLAKE2B 95bfa4c95603efe5d2437909a4356bcb4b3d24ba6e0cc9871de0c7abf5c347a1d014f0d4cdc689cd5fc8dfcab7b3e3d56ce9ae8ac1b8e8e329c5762588fc9120 SHA512 558eec656f1db5111cda9d68a960c6a7b0bfc31caf32a41a40c989df458e99db97d0ea023caf5174b9315205114484c64f95746437c7c1bda081d2c0a15f1326 +EBUILD ebusd-23.3-r2.ebuild 1916 BLAKE2B 48246047bd01809771623f65f39b240eaab560a439edd0fdf5066774264f27416d69bfd1e3e9cd928d5a95d33a9bab04dcb034bb04d22d5744ecbfee04880ea1 SHA512 1c4c1e6932276077e1e1db5f3a9b6c18b998af0e96a14b35a392e2e56fa328f84c32a63d86ad06b056bc43263185294d22eceb1c581aee345c0cda8517549826 MISC metadata.xml 815 BLAKE2B d6c87cb6506a61d1b502ab233fcb9cb878e4e315d1cd2a09ecf36121de19a06d9aee77925b19d6fc24ed274ac220c22a011dec01704f61676583697647506417 SHA512 cdcbc39babc7f6dd6a5f3f1ca713a54b44e80cf0a57eb9bdb4f6989c7425fe30eee73dd8e893f7d82e681e32e03a4089e94630ebe77686c6a0bb056e6c92c7a4 diff --git a/app-misc/ebusd/ebusd-23.3-r1.ebuild b/app-misc/ebusd/ebusd-23.3-r1.ebuild deleted file mode 100644 index 73da1aaa3d9c..000000000000 --- a/app-misc/ebusd/ebusd-23.3-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools systemd - -DESCRIPTION="Daemon for communication with eBUS heating systems" -HOMEPAGE=" - https://ebusd.de - https://github.com/john30/ebusd -" -SRC_URI="https://github.com/john30/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+contrib doc knx mqtt +ssl test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/openssl:0= - mqtt? ( app-misc/mosquitto ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - doc? ( - app-text/doxygen - media-gfx/graphviz - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-23.3-cxxflags.patch" - "${FILESDIR}/${PN}-23.3-docs.patch" - "${FILESDIR}/${PN}-23.3-gcc13.patch" - "${FILESDIR}/${PN}-23.3-gentoo.patch" - "${FILESDIR}/${PN}-23.3-htmlpath.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # KNXd is currently not packaged in Gentoo - local myeconfargs=( - $(use_with contrib) - $(use_with doc docs) - $(use_with knx) - $(use_with mqtt) - $(use_with ssl) - - --localstatedir="${EPREFIX}/var" - --without-knxd - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - if use test; then - pushd src/lib/ebus/test || die - emake - popd || die - - if use contrib; then - pushd src/lib/ebus/contrib/test || die - emake - popd || die - fi - fi -} - -src_test() { - pushd src/lib/ebus/test || die - ./test_filereader >/dev/null && \ - ./test_data >/dev/null && \ - ./test_message >/dev/null && \ - ./test_symbol >/dev/null && \ - einfo "standard: OK!" || die - popd || die - - if use contrib; then - pushd src/lib/ebus/contrib/test || die - ./test_contrib >/dev/null && einfo "contrib: OK!" || die - popd || die - fi -} - -src_install() { - default - use doc && dodoc -r docs/html - newinitd "${FILESDIR}"/ebusd.initd ebusd - newconfd "${FILESDIR}"/ebusd.confd ebusd - systemd_newunit "${FILESDIR}"/ebusd.service-r1 ebusd.service -} diff --git a/app-misc/ebusd/ebusd-23.3-r2.ebuild b/app-misc/ebusd/ebusd-23.3-r2.ebuild new file mode 100644 index 000000000000..11e0b4122ec6 --- /dev/null +++ b/app-misc/ebusd/ebusd-23.3-r2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools systemd + +DESCRIPTION="Daemon for communication with eBUS heating systems" +HOMEPAGE=" + https://ebusd.de + https://github.com/john30/ebusd +" +SRC_URI="https://github.com/john30/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+contrib doc knx mqtt +ssl test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/openssl:0= + mqtt? ( app-misc/mosquitto ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/doxygen + media-gfx/graphviz + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-23.3-cxxflags.patch" + "${FILESDIR}/${PN}-23.3-docs.patch" + "${FILESDIR}/${PN}-23.3-gcc13.patch" + "${FILESDIR}/${PN}-23.3-gentoo.patch" + "${FILESDIR}/${PN}-23.3-htmlpath.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # KNXd is currently not packaged in Gentoo + local myeconfargs=( + $(use_with contrib) + $(use_with doc docs) + $(use_with knx) + $(use_with mqtt) + $(use_with ssl) + + --localstatedir="${EPREFIX}/var" + --without-knxd + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + if use test; then + pushd src/lib/ebus/test || die + emake + popd || die + + if use contrib; then + pushd src/lib/ebus/contrib/test || die + emake + popd || die + fi + fi +} + +src_test() { + pushd src/lib/ebus/test || die + ./test_filereader >/dev/null && \ + ./test_data >/dev/null && \ + ./test_message >/dev/null && \ + ./test_symbol >/dev/null && \ + einfo "standard: OK!" || die + popd || die + + if use contrib; then + pushd src/lib/ebus/contrib/test || die + ./test_contrib >/dev/null && einfo "contrib: OK!" || die + popd || die + fi +} + +src_install() { + default + use doc && dodoc -r docs/html + newinitd "${FILESDIR}"/ebusd.initd-r1 ebusd + newconfd "${FILESDIR}"/ebusd.confd ebusd + systemd_newunit "${FILESDIR}"/ebusd.service-r1 ebusd.service +} diff --git a/app-misc/ebusd/files/ebusd.initd b/app-misc/ebusd/files/ebusd.initd deleted file mode 100644 index e0ef5fca9623..000000000000 --- a/app-misc/ebusd/files/ebusd.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2024 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/bin/ebusd" -command_args="${EBUSD_OPTS}" -ebusd_path="/var/lib/ebusd" -html_path="${ebusd_path}/html" -logfile_path="/var/log/ebusd" -logfile="${pidfile_path}/ebusd.log" -name="eBUS daemon" -pidfile_path="/run/ebusd" -pidfile="${pidfile_path}/ebusd.pid" - -start_pre() { - checkpath -d -q "${ebusd_path}" "${html_path}" - checkpath -d -q "${logfile_path}" - checkpath -d -q "${pidfile_path}" - checkpath -f -q "${logfile}" -} diff --git a/app-misc/ebusd/files/ebusd.initd-r1 b/app-misc/ebusd/files/ebusd.initd-r1 new file mode 100644 index 000000000000..38bdb22d034e --- /dev/null +++ b/app-misc/ebusd/files/ebusd.initd-r1 @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/ebusd" +command_args="${EBUSD_OPTS}" +ebusd_path="/var/lib/ebusd" +html_path="${ebusd_path}/html" +logfile_path="/var/log/ebusd" +logfile="${logfile_path}/ebusd.log" +name="eBUS daemon" +pidfile_path="/run/ebusd" +pidfile="${pidfile_path}/ebusd.pid" + +start_pre() { + checkpath -d -q "${ebusd_path}" "${html_path}" + checkpath -d -q "${logfile_path}" + checkpath -d -q "${pidfile_path}" + checkpath -f -q "${logfile}" +} -- cgit v1.2.3