From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/dump/
Date: Tue, 6 Jun 2023 17:48:47 +0000 (UTC) [thread overview]
Message-ID: <1686073672.fdb4166127facc10e0213c672675c3658ac6c067.ulm@gentoo> (raw)
commit: fdb4166127facc10e0213c672675c3658ac6c067
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 08:52:30 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 17:47:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb41661
app-arch/dump: Warn about serious bugs
Change hand-crafted pkg_postinst message to readme.gentoo-r1.eclass and
DOC_CONTENTS. Update ebuild to EAPI 8. Update HOMEPAGE.
Suggested-by: Jonas Stein <jstein <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-arch/dump/dump-0.4.47-r2.ebuild | 96 +++++++++++++++++++++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/app-arch/dump/dump-0.4.47-r2.ebuild b/app-arch/dump/dump-0.4.47-r2.ebuild
new file mode 100644
index 000000000000..11b1136eccae
--- /dev/null
+++ b/app-arch/dump/dump-0.4.47-r2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1
+
+MY_P="${PN}-$(ver_rs 2 b)"
+
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="https://dump.sourceforge.io/"
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+# We keep uuid USE flag default dsiabled for this version. Don't forget
+# to default enable it for later versions as this is the upstream default.
+IUSE="bzip2 debug ermt lzo readline selinux sqlite ssl static test uuid zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+ ermt? ( ssl )
+ ssl? ( zlib )
+ test? ( sqlite? ( uuid ) )"
+
+RDEPEND="
+ >=sys-fs/e2fsprogs-1.27:=
+ sys-apps/util-linux
+ bzip2? (
+ app-arch/bzip2:=
+ static? ( app-arch/bzip2[static-libs] )
+ )
+ zlib? ( >=sys-libs/zlib-1.1.4:= )
+ lzo? (
+ dev-libs/lzo:2=
+ static? ( dev-libs/lzo:2[static-libs] )
+ )
+ sqlite? ( dev-db/sqlite:3= )
+ ermt? ( dev-libs/openssl:0= )
+ ssl? ( dev-libs/openssl:0= )
+ readline? (
+ sys-libs/readline:0=
+ sys-libs/ncurses:=
+ static? ( sys-libs/ncurses:=[static-libs] )
+ )"
+DEPEND="${RDEPEND}
+ virtual/os-headers"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local myeconfargs=(
+ --with-dumpdatespath=/etc/dumpdates
+ --with-rmtpath='$(sbindir)/rmt'
+ --enable-blkid
+ $(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 static static-progs)
+ $(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="dump has serious bugs
+ (see https://sourceforge.net/p/dump/bugs/162/ and
+ https://sourceforge.net/p/dump/bugs/174/). This tool should only
+ be used for restoring old backups, not for creating new ones.
+ \n\n${CATEGORY}/${PN} installs 'rmt' as 'dump-rmt'.
+ This is to avoid conflicts with app-arch/tar 'rmt'."
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
next reply other threads:[~2023-06-06 17:48 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 17:48 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 19:19 [gentoo-commits] repo/gentoo:master commit in: app-arch/dump/ Arthur Zamarin
2024-03-13 21:04 Sam James
2023-09-19 5:38 Arthur Zamarin
2023-09-08 0:12 Sam James
2023-08-24 18:05 Arthur Zamarin
2023-07-24 22:50 Sam James
2023-07-24 18:16 Sam James
2023-07-24 13:39 Arthur Zamarin
2023-07-24 13:39 Arthur Zamarin
2021-09-13 20:30 David Seifert
2021-04-07 22:45 Sam James
2021-04-07 9:20 Sergei Trofimovich
2021-04-06 19:53 Sam James
2021-04-06 19:53 Sam James
2021-04-06 17:21 David Seifert
2021-04-05 19:01 Thomas Deutschmann
2021-04-05 17:28 David Seifert
2021-01-06 19:21 Andreas K. Hüttel
2021-01-04 14:53 Lars Wendler
2020-09-26 14:33 Aaron Bauman
2019-10-14 2:18 Matt Turner
2019-09-09 6:02 Agostino Sarubbo
2019-09-09 6:00 Agostino Sarubbo
2019-09-09 5:50 Agostino Sarubbo
2019-09-09 5:49 Agostino Sarubbo
2019-09-08 10:42 Agostino Sarubbo
2019-09-07 21:07 Thomas Deutschmann
2019-07-15 8:36 Lars Wendler
2017-07-16 0:47 Aaron Bauman
2016-12-02 14:21 Tobias Klausmann
2016-12-01 12:53 Agostino Sarubbo
2016-12-01 12:51 Agostino Sarubbo
2016-11-29 16:02 Lars Wendler
2016-05-09 6:41 Mike Frysinger
2016-03-21 21:46 Anthony G. Basile
2015-12-15 20:32 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1686073672.fdb4166127facc10e0213c672675c3658ac6c067.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox