commit:     62ab4bc04ad56fa1a80d8057e1bd6d75f50f63dc
Author:     Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Wed Aug 16 18:59:37 2023 +0000
Commit:     Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
CommitDate: Wed Aug 16 18:59:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62ab4bc0

dev-embedded/rauc: drop 1.10

Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>

 dev-embedded/rauc/Manifest                    |  1 -
 dev-embedded/rauc/files/rauc-1.10-tests.patch | 69 ---------------------------
 dev-embedded/rauc/rauc-1.10.ebuild            | 65 -------------------------
 3 files changed, 135 deletions(-)

diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest
index bbaac7d6cf..71ea35cd2e 100644
--- a/dev-embedded/rauc/Manifest
+++ b/dev-embedded/rauc/Manifest
@@ -1,2 +1 @@
 DIST rauc-1.10.1.tar.xz 912140 BLAKE2B 
3cdaa88886e0d4f97623939af06a0a90de1a166535ff1cdaf523938a1778bfdd24049387886732d1a13c0d94a43d66f73d9328cc005beb3a73f33b3afda49b22
 SHA512 
794a1a517c9a9eacf7466710054f88fc48bf57e34cb460f202f62ca976777054c0faf74dd045164ea29977aa8f5d9d268f5154621b51642898ffafc831c75bbb
-DIST rauc-1.10.tar.xz 911872 BLAKE2B 
389f29b3786c20ca26d28c39642e72895bfd5b5f88958facfe2b65796ecb4d18645361dd7d490df23b0561878f020fdf8ffbcb41efd4fa9226190a79bc9e01db
 SHA512 
b87e3fef41a4e5c44513bae4366502f0285d0b0136c80fcdede36171710735a26dacecf324a8638feb23c1b60929fc25a53a58213294a93e488827aed3cba926

diff --git a/dev-embedded/rauc/files/rauc-1.10-tests.patch 
b/dev-embedded/rauc/files/rauc-1.10-tests.patch
deleted file mode 100644
index 710f6e02c6..0000000000
--- a/dev-embedded/rauc/files/rauc-1.10-tests.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From cfeab43e8c1ebbe952bca9b71fb8400a9947d229 Mon Sep 17 00:00:00 2001
-From: Kurt Kanzenbach <k...@kmk-computers.de>
-Date: Sat, 15 Aug 2020 08:45:21 +0200
-Subject: [PATCH] tests: Disable failed tests
-
-The network and squashfs tests won't work within portage. Disable them.
-
-Signed-off-by: Kurt Kanzenbach <k...@kmk-computers.de>
----
- Makefile.am |    7 -------
- test/rauc.t |   24 ++++++++++++------------
- 2 files changed, 12 insertions(+), 19 deletions(-)
-
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -171,10 +171,6 @@ check_PROGRAMS = \
-       test/slot.test \
-       test/stats.test
- 
--if WANT_NETWORK
--check_PROGRAMS += test/network.test
--endif
--
- if ENABLE_STREAMING
- check_PROGRAMS += test/nbd.test
- endif
-@@ -282,9 +278,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
- 
---- a/test/rauc.t
-+++ b/test/rauc.t
-@@ -371,18 +371,18 @@ test_expect_success "rauc bundle (test c
-   test -f ${TEST_TMPDIR}/out.raucb
- "
- 
--test_expect_success "rauc bundle mksquashfs extra args" "
--  test_when_finished rm -rf ${TEST_TMPDIR}/install-content &&
--  test_when_finished rm -f ${TEST_TMPDIR}/out.raucb &&
--  cp -rL ${SHARNESS_TEST_DIRECTORY}/install-content ${TEST_TMPDIR}/ &&
--  rauc \
--    --cert $SHARNESS_TEST_DIRECTORY/openssl-ca/dev/autobuilder-1.cert.pem \
--    --key $SHARNESS_TEST_DIRECTORY/openssl-ca/dev/private/autobuilder-1.pem \
--    bundle \
--    --mksquashfs-args=\"-comp xz -info -progress\" \
--    ${TEST_TMPDIR}/install-content ${TEST_TMPDIR}/out.raucb &&
--  rauc -c $SHARNESS_TEST_DIRECTORY/test.conf info ${TEST_TMPDIR}/out.raucb
--"
-+# test_expect_success "rauc bundle mksquashfs extra args" "
-+#   test_when_finished rm -rf ${TEST_TMPDIR}/install-content &&
-+#   test_when_finished rm -f ${TEST_TMPDIR}/out.raucb &&
-+#   cp -rL ${SHARNESS_TEST_DIRECTORY}/install-content ${TEST_TMPDIR}/ &&
-+#   rauc \
-+#     --cert $SHARNESS_TEST_DIRECTORY/openssl-ca/dev/autobuilder-1.cert.pem \
-+#     --key $SHARNESS_TEST_DIRECTORY/openssl-ca/dev/private/autobuilder-1.pem 
\
-+#     bundle \
-+#     --mksquashfs-args=\"-comp xz -info -progress\" \
-+#     ${TEST_TMPDIR}/install-content ${TEST_TMPDIR}/out.raucb &&
-+#   rauc -c $SHARNESS_TEST_DIRECTORY/test.conf info ${TEST_TMPDIR}/out.raucb
-+# "
- 
- test_expect_success PKCS11 "rauc bundle with PKCS11 (key 1)" "
-   test_when_finished rm -rf ${TEST_TMPDIR}/install-content &&

diff --git a/dev-embedded/rauc/rauc-1.10.ebuild 
b/dev-embedded/rauc/rauc-1.10.ebuild
deleted file mode 100644
index a3aadea337..0000000000
--- a/dev-embedded/rauc/rauc-1.10.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DOCS_BUILDER="sphinx"
-DOCS_DIR="${S}/docs"
-
-inherit autotools python-any-r1 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"
-IUSE="gpt json network service test"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-       dev-util/gdbus-codegen
-       virtual/pkgconfig
-       test? (
-               dev-libs/opensc
-               net-misc/casync
-               sys-fs/mtd-utils
-               sys-fs/squashfs-tools
-               sys-libs/libfaketime
-       )
-"
-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 gpt)
-               $(use_enable json)
-               $(use_enable network)
-               $(use_enable service)
-       )
-       econf "${myconf[@]}"
-}
-
-src_compile() {
-       default
-       docs_compile
-}

Reply via email to