From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-misc/vcontrold/Manifest | 4 +++ app-misc/vcontrold/files/vcontrold | 5 ++++ app-misc/vcontrold/metadata.xml | 28 +++++++++++++++++++ app-misc/vcontrold/vcontrold-0.98.5.ebuild | 43 ++++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 app-misc/vcontrold/Manifest create mode 100644 app-misc/vcontrold/files/vcontrold create mode 100644 app-misc/vcontrold/metadata.xml create mode 100644 app-misc/vcontrold/vcontrold-0.98.5.ebuild (limited to 'app-misc/vcontrold') diff --git a/app-misc/vcontrold/Manifest b/app-misc/vcontrold/Manifest new file mode 100644 index 000000000000..ced57c0e75bf --- /dev/null +++ b/app-misc/vcontrold/Manifest @@ -0,0 +1,4 @@ +AUX vcontrold 157 BLAKE2B c8d08ae44343850d95e9b99626690a2f79403bb9bafef9ea6125376623c617c4fc1523beb4be4d3cfa50d67c3a7ef84e4b3042afcaf8211ea0276d4e519cd713 SHA512 10583cff05a3099d06ec13cd35711c93dece72de1ba05a2026d85b31cb6279136cbbffa00bcc162cba841232d2f8fe2babda463bdadb6b4f3e1f39ce95562401 +DIST vcontrold-0.98.5.tar.gz 86684 BLAKE2B 07ed2c932b9f1c03410cbd6c23cfbfb7bf1aeaff027f597fb6f05a6b61c647f229a75b5a87d893a66c6b8e917595083d193c5da8585c6b9546d12c5867ca1a1b SHA512 b94dbb09ffe274e0a0a0ac4948365ed3213f221dbc00ed2b2adec2ac5a632e293686d62a07575454b3d11b1b8e4e058625a067461996dd720c2f84066d57e60e +EBUILD vcontrold-0.98.5.ebuild 906 BLAKE2B ede2a31302a852636266f97069eae207937bc630fa16db5f982ff676c453b1c2da0dfbf8d023197ebd4132f4a55ed16b8fa5bc6659d0cfe0ee7b9898416028f9 SHA512 cb627f085e3d3b9d0cce3c48a4e5e2f1e115c699414da293ff81783689fb7111e0f13d145901616cdd98526d7610a67fab72e0e9a051e07879e4b8371d77bd47 +MISC metadata.xml 910 BLAKE2B eb06d0c4ca09ba13dc5ec335afc9da950429c650c05289608c90f91e0b7d550f97f6833752a8e71101fad25d2600dd24c522f9747ddad20c958b31c790769d36 SHA512 9eeeb42e54cff821d986407940d3a8e434ba3126708eef45f3234bbd8519dc7fd564f5bd6767d249370a796e7ed13d934b52b309305b4bcc03401c63a68a3d64 diff --git a/app-misc/vcontrold/files/vcontrold b/app-misc/vcontrold/files/vcontrold new file mode 100644 index 000000000000..369dc6d8e642 --- /dev/null +++ b/app-misc/vcontrold/files/vcontrold @@ -0,0 +1,5 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/vcontrold" diff --git a/app-misc/vcontrold/metadata.xml b/app-misc/vcontrold/metadata.xml new file mode 100644 index 000000000000..b718f1673eb4 --- /dev/null +++ b/app-misc/vcontrold/metadata.xml @@ -0,0 +1,28 @@ + + + + + tobias.leupold@gmx.de + Tobias Leupold + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Vcontrold can be used for communication with Viessmann Vito heatings + through their Optolink interface using an optical communication device + (which can be built quite cheap and easily, cf. the homepage of the + "OpenV" project). + + + Build the manpages + + Build the vclient helper program to talk to vcontrold + + + Build the vsim helper program (simulates the heating's answers, for + development and debugging) + + + diff --git a/app-misc/vcontrold/vcontrold-0.98.5.ebuild b/app-misc/vcontrold/vcontrold-0.98.5.ebuild new file mode 100644 index 000000000000..e5b4f78672d4 --- /dev/null +++ b/app-misc/vcontrold/vcontrold-0.98.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Daemon for communication with Viessmann Vito heatings" +HOMEPAGE="https://github.com/openv/vcontrold/" +SRC_URI="https://github.com/openv/vcontrold/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+man +vclient vsim" + +RDEPEND="dev-libs/libxml2" +DEPEND="${RDEPEND} + man? ( dev-python/docutils )" + +src_prepare() { + sed "s/@VERSION@/${PV}/" "src/version.h.in" \ + > "src/version.h" || die "Setting version failed" + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DMANPAGES="$(usex man)" + -DVCLIENT="$(usex vclient)" + -DVSIM="$(usex vsim)" + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + doinitd "${FILESDIR}/vcontrold" + insinto /etc/vcontrold/ + doins -r xml +} -- cgit v1.2.3