aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2020-08-15 08:48:35 +0200
committerKurt Kanzenbach <kurt@kmk-computers.de>2020-08-15 08:48:35 +0200
commit59bc932e4b3011d0ddc09ea71b581dbd1aac6133 (patch)
treee8e8c423818d95b3d767caf93276eae3340fac4e /dev-embedded
parentapp-admin/customrescuecd-x86: initial ebuild (diff)
downloadguru-59bc932e4b3011d0ddc09ea71b581dbd1aac6133.tar.gz
guru-59bc932e4b3011d0ddc09ea71b581dbd1aac6133.tar.bz2
guru-59bc932e4b3011d0ddc09ea71b581dbd1aac6133.zip
dev-embedded/rauc: Bump version
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/rauc/Manifest1
-rw-r--r--dev-embedded/rauc/files/rauc-1.4-tests.patch40
-rw-r--r--dev-embedded/rauc/rauc-1.4.ebuild57
3 files changed, 98 insertions, 0 deletions
diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest
index 502637aa6..2bd0fb6f2 100644
--- a/dev-embedded/rauc/Manifest
+++ b/dev-embedded/rauc/Manifest
@@ -1 +1,2 @@
DIST rauc-1.3.tar.xz 1336420 BLAKE2B 79d8cc081b7871a7c4cf7eee47c042cb57723c60dad0cfefcb194048fe1c9a52261e1ef037f397ec80e7c1f1690fd34e4ce44a2d7cb427a5a48632760215e48b SHA512 044f679f81c0af58d5620a16c3a0fd7bc8ae50dccc403dd26f201735e0d7488e485b84ac38329b5f091648ae1173088a4e14976f6d28ef185a07daed82cc5b65
+DIST rauc-1.4.tar.xz 807676 BLAKE2B e8dc46daf861c4ff5e80ac5af08eb03afb071b313dce38cbc127205f24c2f25793f51812c95ae4a0d914ea4cfec257ee06e3776b78b20488a6a33edd9b08e5c0 SHA512 6ac572d396cae609060ff4a7d2a26f5b8ed839504e76628f47388b1dac93ad1794114a9c105c5a9eb070478f9bd1b6f2cd6aeb5e84c64fdce4d7cbe30bb9ea31
diff --git a/dev-embedded/rauc/files/rauc-1.4-tests.patch b/dev-embedded/rauc/files/rauc-1.4-tests.patch
new file mode 100644
index 000000000..fda7fc8b8
--- /dev/null
+++ b/dev-embedded/rauc/files/rauc-1.4-tests.patch
@@ -0,0 +1,40 @@
+From 0b0cbdd4e376b60a2974c502c100395a381249e8 Mon Sep 17 00:00:00 2001
+From: Kurt Kanzenbach <kurt@kmk-computers.de>
+Date: Sat, 15 Aug 2020 08:45:21 +0200
+Subject: [PATCH] tests: Disable network tests
+
+The network tests won't work within portage. Disable them.
+
+Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
+---
+ Makefile.am | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index efe55792fabb..2c6d8080e992 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -150,10 +150,6 @@ check_PROGRAMS = \
+ test/progress.test \
+ test/slot.test
+
+-if WANT_NETWORK
+-check_PROGRAMS += test/network.test
+-endif
+-
+ if WANT_JSON
+ check_PROGRAMS += test/boot_switch.test
+ endif
+@@ -233,9 +229,6 @@ test_utils_test_LDADD = librauctest.la
+ test_install_test_SOURCES = test/install.c
+ test_install_test_LDADD = librauctest.la
+
+-test_network_test_SOURCES = test/network.c
+-test_network_test_LDADD = librauctest.la
+-
+ test_progress_test_SOURCES = test/progress.c
+ test_progress_test_LDADD = librauctest.la
+
+--
+2.26.2
+
diff --git a/dev-embedded/rauc/rauc-1.4.ebuild b/dev-embedded/rauc/rauc-1.4.ebuild
new file mode 100644
index 000000000..817248224
--- /dev/null
+++ b/dev-embedded/rauc/rauc-1.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DOCBUILDER="sphinx"
+DOCDIR="${S}/docs"
+
+inherit autotools docs
+
+DESCRIPTION="Lightweight update client that runs on your Embedded Linux device"
+HOMEPAGE="https://rauc.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="json network service test"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ dev-util/gdbus-codegen
+ virtual/pkgconfig
+ test? ( sys-fs/squashfs-tools )
+"
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/openssl:0=
+ json? ( dev-libs/json-glib )
+ network? ( net-misc/curl )
+ service? ( sys-apps/dbus )
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${P}-tests.patch" )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ $(use_enable json)
+ $(use_enable network)
+ $(use_enable service)
+ )
+ econf "${myconf[@]}"
+}
+
+src_compile() {
+ default
+ docs_compile
+}