commit:     cca0d1f568403e6e0df18f151cafaca60bf15f7c
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 16 19:48:50 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 16 19:53:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca0d1f5

app-misc/ebusd: add 25.1

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-misc/ebusd/Manifest          |  1 +
 app-misc/ebusd/ebusd-25.1.ebuild | 97 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

diff --git a/app-misc/ebusd/Manifest b/app-misc/ebusd/Manifest
index f27159052bd5..5209e9685858 100644
--- a/app-misc/ebusd/Manifest
+++ b/app-misc/ebusd/Manifest
@@ -1 +1,2 @@
 DIST ebusd-24.1.tar.gz 595318 BLAKE2B 
40bbedf1af983c8bbb123b8774b013d02e8f49d653e729d5b6bf78cda50d70ff5b09bfe5993714cf311d5b90777bf6e6616557cef881120b0cad56fc7a5ac0e9
 SHA512 
a4ab5e21f345894c29b7af84f46f93ac4a3ee658d69ca7fb002d52233e8c041043df328212cbeae4f01220e7a6bf4ec8a26ad3757eb0cf6da157d237f5b6b0b6
+DIST ebusd-25.1.tar.gz 599008 BLAKE2B 
a4e0ed1202a460a34cdc33ae852ea5255abd2df6135cb430a7d3b57dca4c41628c500adf0a50dc814b26ed9ae037a1c54d842ca1c7ff49179b8f458ce64e19c7
 SHA512 
ff69ee0b36b0e2ad9e44d090ba9507f51430ebb66e79948a44f8c719dbaf00e03a47c791e8f9e305b7dcb8e4fe87a7f00fb8f05c8a7c89e9a1b524e257576d7c

diff --git a/app-misc/ebusd/ebusd-25.1.ebuild b/app-misc/ebusd/ebusd-25.1.ebuild
new file mode 100644
index 000000000000..44dfb4c77df7
--- /dev/null
+++ b/app-misc/ebusd/ebusd-25.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2025 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
+}

Reply via email to