diff options
Diffstat (limited to 'app-misc/ebusd')
-rw-r--r-- | app-misc/ebusd/Manifest | 2 | ||||
-rw-r--r-- | app-misc/ebusd/ebusd-24.1.ebuild | 97 |
2 files changed, 99 insertions, 0 deletions
diff --git a/app-misc/ebusd/Manifest b/app-misc/ebusd/Manifest index 13c69387698a..aaae2b368822 100644 --- a/app-misc/ebusd/Manifest +++ b/app-misc/ebusd/Manifest @@ -7,5 +7,7 @@ AUX ebusd.confd 193 BLAKE2B a5560507305e5afecc9b127ede67592ff7d3a1751ba27f3a3c43 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 +DIST ebusd-24.1.tar.gz 595318 BLAKE2B 40bbedf1af983c8bbb123b8774b013d02e8f49d653e729d5b6bf78cda50d70ff5b09bfe5993714cf311d5b90777bf6e6616557cef881120b0cad56fc7a5ac0e9 SHA512 a4ab5e21f345894c29b7af84f46f93ac4a3ee658d69ca7fb002d52233e8c041043df328212cbeae4f01220e7a6bf4ec8a26ad3757eb0cf6da157d237f5b6b0b6 EBUILD ebusd-23.3-r2.ebuild 1914 BLAKE2B 882eb1aa123b5f2f2456b772ef8fb3721f93c229d2cb35bb778ad1b02276c13d6570bbc5523a5433bd5371a78e329e130304a833c4757371f9a3efcfa18b06d2 SHA512 43787903a02ef021442f53957b4b9febbdca91797429287e312d0c69a7e19253bacf159e2c59469303a8a820472da32cda185c5aff113c7678a64b033d0191dd +EBUILD ebusd-24.1.ebuild 1808 BLAKE2B c11c32db6c521eefd253babed801916648bbc1f97dfd971f3da6ab8d1a6db2648911c555ebe9102e3dcf1c2f5b29580f75a267089cc76bb1043c2206f9c8837a SHA512 4b64a36ecc0a954f8576e4f06e00d4217c09f62ea22316dce6752eef4e9acbab79bbf47f1da248f47dc16802893668b847914cfb01bfb4a38dcd901c73803128 MISC metadata.xml 815 BLAKE2B d6c87cb6506a61d1b502ab233fcb9cb878e4e315d1cd2a09ecf36121de19a06d9aee77925b19d6fc24ed274ac220c22a011dec01704f61676583697647506417 SHA512 cdcbc39babc7f6dd6a5f3f1ca713a54b44e80cf0a57eb9bdb4f6989c7425fe30eee73dd8e893f7d82e681e32e03a4089e94630ebe77686c6a0bb056e6c92c7a4 diff --git a/app-misc/ebusd/ebusd-24.1.ebuild b/app-misc/ebusd/ebusd-24.1.ebuild new file mode 100644 index 000000000000..4cbc1244471c --- /dev/null +++ b/app-misc/ebusd/ebusd-24.1.ebuild @@ -0,0 +1,97 @@ +# 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-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) + $(usex doc '--with-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 +} |