commit:     023d701f21988fe508236fd97df9b730a1b424d7
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Fri Feb 13 17:40:39 2026 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Mar  1 14:29:44 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023d701f

app-arch/dump: add 0.4.54

Drops USE=static - builds with this enabled fail to find
static libraries and do not configure.
Disables `-Werror` on release build, because that breaks with
new compiler versions.
Enables actual test program in tests and fixes dependencies for tests.

Closes: https://github.com/gentoo/gentoo/pull/45799
Closes: https://bugs.gentoo.org/939422
Closes: https://bugs.gentoo.org/712390
Closes: https://bugs.gentoo.org/948341
Closes: https://bugs.gentoo.org/911596
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-arch/dump/Manifest           |  1 +
 app-arch/dump/dump-0.4.54.ebuild | 94 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest
index 09804a91cee3..6b5222f77b8b 100644
--- a/app-arch/dump/Manifest
+++ b/app-arch/dump/Manifest
@@ -1 +1,2 @@
 DIST dump-0.4b47.tar.gz 583380 BLAKE2B 
a5a6c507fc67451e6ce5117b28b9e97e45783059358c357e1f6d4b268437c8340f13e0d77e97631112824eca8205c49d206a8a7904bc3e00b1f0d5abb31418f7
 SHA512 
e9c567fe2ffad196b9657c551d83f7607758f3704cad6cb407514bbe2bc765c16968997dc3a5bc92b9eb5900fa5bd6e7cebc92c81afff53339fca92891a5259d
+DIST dump-0.4b54.tar.gz 689027 BLAKE2B 
a90f501c5aadc2038fe12aa4b1f0bcb268ecfa3c780ab9ed7345d687af7d1e970b97fac944be86e6e86cb67f85218e17ff1f51fd86c691d9a94e0bb722f6dfd5
 SHA512 
89bc99f6f1589348065a0923f5e1e3d904ec06d04d54a557bdd3285e27fa3f470fbf1835d0b499e954b3e2dc1e85eb2576617b9d2fdd886d234adadad335f1ac

diff --git a/app-arch/dump/dump-0.4.54.ebuild b/app-arch/dump/dump-0.4.54.ebuild
new file mode 100644
index 000000000000..3dc8855c8cd9
--- /dev/null
+++ b/app-arch/dump/dump-0.4.54.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo readme.gentoo-r1
+
+MY_P="${PN}-$(ver_rs 2 b)"
+
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="https://dump.sourceforge.io/";
+SRC_URI="https://downloads.sourceforge.net/dump/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="bzip2 debug ermt lzo readline selinux sqlite ssl test +uuid zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+       ermt? ( ssl )
+       ssl? ( zlib )
+       test? (
+               lzo
+               sqlite? ( uuid )
+       )"
+
+RDEPEND="
+       >=sys-fs/e2fsprogs-1.27:=
+       sys-apps/util-linux
+       bzip2? ( app-arch/bzip2:= )
+       zlib? ( >=virtual/zlib-1.1.4:= )
+       lzo? ( dev-libs/lzo:2= )
+       sqlite? ( dev-db/sqlite:3= )
+       ermt? ( dev-libs/openssl:0= )
+       ssl? ( dev-libs/openssl:0= )
+       readline? (
+               sys-libs/readline:0=
+               sys-libs/ncurses:=
+       )
+       test? ( dev-cpp/catch:= )"
+
+DEPEND="${RDEPEND}
+       virtual/os-headers"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+       local myeconfargs=(
+               --with-dumpdatespath=/etc/dumpdates
+               --with-rmtpath='$(sbindir)/rmt'
+               --enable-blkid
+               --disable-werror
+               $(use_enable !elibc_musl rcmd) #musl doesn't provide rcmd.
+               $(use_enable bzip2)
+               $(use_enable debug)
+               $(use_enable ermt)
+               $(use_enable lzo)
+               $(use_enable readline)
+               $(use_enable selinux)
+               $(use_enable sqlite)
+               $(use_enable ssl)
+               $(use_enable uuid)
+               $(use_enable zlib)
+       )
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+
+       mv "${ED}"/usr/sbin/{,dump-}rmt || die
+       mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die
+       use ermt && newsbin rmt/ermt dump-ermt
+
+       dodoc KNOWNBUGS MAINTAINERS REPORTING-BUGS
+       dodoc -r examples
+
+       # Don't install pre-compressed files
+       gunzip 
"${ED}"/usr/share/doc/${PF}/examples/cron_dump_to_disk/backupskel.tar.gz \
+               || die
+
+       local DOC_CONTENTS="\n\n${CATEGORY}/${PN} installs 'rmt' as 'dump-rmt'.
+       This is to avoid conflicts with app-arch/tar 'rmt'."
+       readme.gentoo_create_doc
+}
+
+src_test() {
+       default
+       edo faketape/faketape_test
+}
+
+pkg_postinst() {
+       readme.gentoo_print_elog
+}

Reply via email to