[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2024-03-13 Thread Sam James
commit: 06e2a745ebceeb1e828e693e2f0d79738de1cdb0
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar 13 06:46:12 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 13 21:04:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e2a745

app-arch/dump: mark as LTO-unsafe

Software is abandoned sourceforge-ware. It is also buggy and can cause
corruptions, so not incredibly worth optimizing how fast you can corrupt
your filesystem backups. Definitely not worth engaging with sourceforge
to report the bug.

Closes: https://bugs.gentoo.org/854204
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47-r3.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/app-arch/dump/dump-0.4.47-r3.ebuild 
b/app-arch/dump/dump-0.4.47-r3.ebuild
index 90ba51ef81f7..ea26f905f91f 100644
--- a/app-arch/dump/dump-0.4.47-r3.ebuild
+++ b/app-arch/dump/dump-0.4.47-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit readme.gentoo-r1
+inherit flag-o-matic readme.gentoo-r1
 
 MY_P="${PN}-$(ver_rs 2 b)"
 
@@ -53,6 +53,13 @@ PATCHES=(
 )
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/854204
+   #
+   # Abandoned upstream for 3 years. Known corruptions reported in
+   # pkg_postinst. Sourceforge software. Not bothering to report a bug...
+   filter-lto
+
local myeconfargs=(
--with-dumpdatespath=/etc/dumpdates
--with-rmtpath='$(sbindir)/rmt'



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-09-18 Thread Arthur Zamarin
commit: f09bb3947797e861e11627f1285980fe631ad710
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Sep 19 05:38:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 19 05:38:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09bb394

app-arch/dump: Stabilize 0.4.47-r3 x86, #913792

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-arch/dump/dump-0.4.47-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r3.ebuild 
b/app-arch/dump/dump-0.4.47-r3.ebuild
index a29db7166931..90ba51ef81f7 100644
--- a/app-arch/dump/dump-0.4.47-r3.ebuild
+++ b/app-arch/dump/dump-0.4.47-r3.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-09-07 Thread Sam James
commit: ac9f92c42294abd9323d8c2f761af06a00425af6
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  8 00:12:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  8 00:12:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9f92c4

app-arch/dump: Stabilize 0.4.47-r3 amd64, #913792

Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r3.ebuild 
b/app-arch/dump/dump-0.4.47-r3.ebuild
index c4d086432c12..e5a3b25953d3 100644
--- a/app-arch/dump/dump-0.4.47-r3.ebuild
+++ b/app-arch/dump/dump-0.4.47-r3.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-08-24 Thread Arthur Zamarin
commit: f571431ddbc1f1d28cf144b3a24cc5ffee50cc7c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 24 18:05:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 24 18:05:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f571431d

app-arch/dump: Stabilize 0.4.47-r2 ppc, #911014

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-arch/dump/dump-0.4.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r2.ebuild 
b/app-arch/dump/dump-0.4.47-r2.ebuild
index e5ca756238f9..2f42c5dfca0d 100644
--- a/app-arch/dump/dump-0.4.47-r2.ebuild
+++ b/app-arch/dump/dump-0.4.47-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 sparc x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-07-24 Thread Sam James
commit: d00f2109444af674751def0f84b737cd0d43eba2
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 24 22:50:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 24 22:50:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00f2109

app-arch/dump: Stabilize 0.4.47-r2 amd64, #911014

Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r2.ebuild 
b/app-arch/dump/dump-0.4.47-r2.ebuild
index 512a5b0f4e5e..e5ca756238f9 100644
--- a/app-arch/dump/dump-0.4.47-r2.ebuild
+++ b/app-arch/dump/dump-0.4.47-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 sparc x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-07-24 Thread Sam James
commit: 24efc87a74c3c23fb7e4940eb578e2cb98570a2f
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 24 18:16:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 24 18:16:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24efc87a

app-arch/dump: Stabilize 0.4.47-r2 x86, #911014

Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r2.ebuild 
b/app-arch/dump/dump-0.4.47-r2.ebuild
index d9068467ff64..512a5b0f4e5e 100644
--- a/app-arch/dump/dump-0.4.47-r2.ebuild
+++ b/app-arch/dump/dump-0.4.47-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 sparc ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-07-24 Thread Arthur Zamarin
commit: 01c94f8abfc9db42f3ffda434e2f1ff6f016f4a6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jul 24 13:36:34 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jul 24 13:36:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c94f8a

app-arch/dump: Stabilize 0.4.47-r2 sparc, #911014

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-arch/dump/dump-0.4.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r2.ebuild 
b/app-arch/dump/dump-0.4.47-r2.ebuild
index 11b1136eccae..c10d8ccf7de3 100644
--- a/app-arch/dump/dump-0.4.47-r2.ebuild
+++ b/app-arch/dump/dump-0.4.47-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-07-24 Thread Arthur Zamarin
commit: a3ad8cf454feae7aeae52d414bcb38480b0cd930
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jul 24 13:36:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jul 24 13:36:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ad8cf4

app-arch/dump: Stabilize 0.4.47-r2 ppc64, #911014

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-arch/dump/dump-0.4.47-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47-r2.ebuild 
b/app-arch/dump/dump-0.4.47-r2.ebuild
index c10d8ccf7de3..d9068467ff64 100644
--- a/app-arch/dump/dump-0.4.47-r2.ebuild
+++ b/app-arch/dump/dump-0.4.47-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/, app-arch/dump/files/

2023-07-22 Thread Sam James
commit: 1352e25c9559f76f9aacb38bb395546f7e2bba07
Author: brahmajit das  gmail  com>
AuthorDate: Mon Apr 17 07:40:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 23 01:45:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1352e25c

app-arch/dump: fix incompatible pointer to integer conversion

transformation_null was initializing one of it's elements with NULL
which is zero type casted to void. Hence, instead of initializing with
NULL, now we are initializing that element with zero.

Closes: https://bugs.gentoo.org/874675
Signed-off-by: brahmajit das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30624
Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47-r3.ebuild| 100 +
 ...ncompatible-pointer-to-integer-conversion.patch |  25 ++
 2 files changed, 125 insertions(+)

diff --git a/app-arch/dump/dump-0.4.47-r3.ebuild 
b/app-arch/dump/dump-0.4.47-r3.ebuild
new file mode 100644
index ..c4d086432c12
--- /dev/null
+++ b/app-arch/dump/dump-0.4.47-r3.ebuild
@@ -0,0 +1,100 @@
+# 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"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-fix-incompatible-pointer-to-integer-conversion.patch
+)
+
+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
+}

diff --git 
a/app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch 
b/app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch
new file mode 100644
index ..220e37bb7f57
--- /dev/null
+++ 
b/app-arch/dump/files/dump-fix-incompatible-pointer-to-integer-conversion.patch
@@ -0,0 +1,25 @@
+From: listout 
+Date: Mon, 17 Apr 2023 12:36:40 +0530
+Subject: [PATCH] Fix incompatible pointer to integer conversion
+
+transformation_null was initializing one of it's elements with NULL
+which is zero type casted to void. Hence, instead of initializing with
+NULL, now we are initializing that element with zero.
+
+Refer: https://bugs.gentoo.org/874675
+
+Signed-off-by: listout 
+--- a/common/transformation_null.c

[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2023-06-06 Thread Ulrich Müller
commit: fdb4166127facc10e0213c672675c3658ac6c067
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon May 29 08:52:30 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Jun  6 17:47:52 2023 +
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  gentoo.org>
Signed-off-by: Ulrich Müller  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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-09-13 Thread David Seifert
commit: 426e805021cb98118ca13bfa500d8fbee462ab5b
Author: David Seifert  gentoo  org>
AuthorDate: Mon Sep 13 20:30:10 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Sep 13 20:30:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426e8050

app-arch/dump: e2fsprogs-libs → e2fsprogs

Bug: https://bugs.gentoo.org/806875
Signed-off-by: David Seifert  gentoo.org>

 app-arch/dump/{dump-0.4.47.ebuild => dump-0.4.47-r1.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild 
b/app-arch/dump/dump-0.4.47-r1.ebuild
similarity index 98%
rename from app-arch/dump/dump-0.4.47.ebuild
rename to app-arch/dump/dump-0.4.47-r1.ebuild
index d4a3fd54123..e96321b3fc1 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47-r1.ebuild
@@ -24,7 +24,6 @@ REQUIRED_USE="
 
 RDEPEND="
>=sys-fs/e2fsprogs-1.27:=
-   >=sys-libs/e2fsprogs-libs-1.27:=
sys-apps/util-linux
bzip2? (
app-arch/bzip2:=



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/, app-arch/dump/files/

2021-04-08 Thread David Seifert
commit: 7efddfc2003771f4125852f77be2ab600d370bde
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr  8 09:37:20 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr  8 09:37:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7efddfc2

app-arch/dump: Remove old 0.4.46-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 app-arch/dump/Manifest  |  1 -
 app-arch/dump/dump-0.4.46-r1.ebuild | 94 -
 app-arch/dump/files/dump-0.4.46-openssl11.patch | 91 
 3 files changed, 186 deletions(-)

diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest
index be437558471..09804a91cee 100644
--- a/app-arch/dump/Manifest
+++ b/app-arch/dump/Manifest
@@ -1,2 +1 @@
-DIST dump-0.4b46.tar.gz 578200 BLAKE2B 
91102bdba06f3affdf4ebd9de525145c0a4cc1b9fb4c6ff222c411c118b3b7835f3aad666d530019d8b9ee46590e4a283a143d188d6800218100cecf67877274
 SHA512 
a30e72ab6c4d18497dffe3d25634c2e55ca90861d1cd8a6c0fd44709e735a217dbf4cdabb8c80e02053def94d9a22cf1d685ee0d0f24f5b748ee5f0de19cf17d
 DIST dump-0.4b47.tar.gz 583380 BLAKE2B 
a5a6c507fc67451e6ce5117b28b9e97e45783059358c357e1f6d4b268437c8340f13e0d77e97631112824eca8205c49d206a8a7904bc3e00b1f0d5abb31418f7
 SHA512 
e9c567fe2ffad196b9657c551d83f7607758f3704cad6cb407514bbe2bc765c16968997dc3a5bc92b9eb5900fa5bd6e7cebc92c81afff53339fca92891a5259d

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
deleted file mode 100644
index 1ebc6f99374..000
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-MY_P="${PN}-$(ver_rs 2 b)"
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Dump/restore ext2fs backup utilities"
-HOMEPAGE="http://dump.sourceforge.net/";
-SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
-
-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 libressl 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-libs/e2fsprogs-libs-1.27:=
-   sys-apps/util-linux
-   bzip2? ( >=app-arch/bzip2-1.0.2:= )
-   zlib? ( >=sys-libs/zlib-1.1.4:= )
-   lzo? ( dev-libs/lzo:2= )
-   sqlite? ( dev-db/sqlite:3= )
-   ermt? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   readline? (
-   sys-libs/readline:0=
-   sys-libs/ncurses:=
-   static? ( sys-libs/ncurses:=[static-libs] )
-   )"
-DEPEND="${RDEPEND}
-   virtual/os-headers"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-openssl11.patch
-)
-
-src_configure() {
-   append-flags -fcommon
-
-   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
-}
-
-pkg_postinst() {
-   if [[ -z ${REPLACING_VERSIONS} ]] ; then
-   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
-   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
-   fi
-}

diff --git a/app-arch/dump/files/dump-0.4.46-openssl11.patch 
b/app-arch/dump/files/dump-0.4.46-openssl11.patch
deleted file mode 100644
index db18e8190f5..000
--- a/app-arch/dump/files/dump-0.4.46-openssl11.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-Index: dump-0.4b46/common/transformation_ssl.c
-===
 dump-0.4b46.orig/common/transformation_ssl.c
-+++ dump-0.4b46/common/transformation_ssl.c
-@@ -215,7 +215,10 @@ generateIV(Transformation *xform, unsign
-   /* to 

[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-07 Thread Sam James
commit: bb0d991e59e16be155a1e8bdcab7c39105317004
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  7 22:44:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  7 22:45:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0d991e

app-arch/dump: Stabilize 0.4.47 amd64, #780411

Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index 54b2a97..d4a3fd54123 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-07 Thread Sergei Trofimovich
commit: 0987e5bd3bee4935e97752014734e3bef2985697
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Apr  7 08:14:38 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Apr  7 09:20:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0987e5bd

app-arch/dump: stable 0.4.47 for sparc, bug #780411

Package-Manager: Portage-3.0.17, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index ba337c3559e..54b2a97 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-06 Thread Sam James
commit: 02b2c489739f3cf953cd843b1ac0f54681030a8d
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  6 19:53:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  6 19:53:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b2c489

app-arch/dump: Stabilize 0.4.47 ppc, #780411

Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index 07d965288a8..ba337c3559e 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-06 Thread Sam James
commit: dc930f28b1909666546429fc0feebd7482704cf4
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  6 19:52:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  6 19:52:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc930f28

app-arch/dump: Stabilize 0.4.47 ppc64, #780411

Signed-off-by: Sam James  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index be16dcec8b8..07d965288a8 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-06 Thread David Seifert
commit: fcdd679ce0cda460c1c2d9fd35d9695d40d2ae98
Author: David Seifert  gentoo  org>
AuthorDate: Tue Apr  6 17:21:00 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Apr  6 17:21:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd679c

app-arch/dump: static-libs USEdeps on bzip2/lzo

Closes: https://bugs.gentoo.org/780630
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index 1c47077cb50..be16dcec8b8 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -26,9 +26,15 @@ RDEPEND="
>=sys-fs/e2fsprogs-1.27:=
>=sys-libs/e2fsprogs-libs-1.27:=
sys-apps/util-linux
-   bzip2? ( >=app-arch/bzip2-1.0.2:= )
+   bzip2? (
+   app-arch/bzip2:=
+   static? ( app-arch/bzip2[static-libs] )
+   )
zlib? ( >=sys-libs/zlib-1.1.4:= )
-   lzo? ( dev-libs/lzo:2= )
+   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= )



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-05 Thread Thomas Deutschmann
commit: 20ec37c2e56229f9ce5043f02340bd376af9f9a4
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Apr  5 18:58:00 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Apr  5 18:58:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ec37c2

app-arch/dump: x86 stable (bug #780411)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index 0679e7c2a77..1c47077cb50 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-04-05 Thread David Seifert
commit: af79b006097cf0020c0e0e27242aa64a464030ad
Author: David Seifert  gentoo  org>
AuthorDate: Mon Apr  5 17:28:21 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Apr  5 17:28:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af79b006

app-arch/dump: Clean up ebuild

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 app-arch/dump/dump-0.4.47.ebuild | 26 ++
 1 file changed, 10 insertions(+), 16 deletions(-)

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
index 48981e19d4d..0679e7c2a77 100644
--- a/app-arch/dump/dump-0.4.47.ebuild
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -4,39 +4,34 @@
 EAPI=7
 
 MY_P="${PN}-$(ver_rs 2 b)"
-S=${WORKDIR}/${MY_P}
+
 DESCRIPTION="Dump/restore ext2fs backup utilities"
 HOMEPAGE="http://dump.sourceforge.net/";
 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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"
+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 ) )
-"
+   test? ( sqlite? ( uuid ) )"
 
-RDEPEND=">=sys-fs/e2fsprogs-1.27:=
+RDEPEND="
+   >=sys-fs/e2fsprogs-1.27:=
>=sys-libs/e2fsprogs-libs-1.27:=
sys-apps/util-linux
bzip2? ( >=app-arch/bzip2-1.0.2:= )
zlib? ( >=sys-libs/zlib-1.1.4:= )
lzo? ( dev-libs/lzo:2= )
sqlite? ( dev-db/sqlite:3= )
-   ermt? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
+   ermt? ( dev-libs/openssl:0= )
+   ssl? ( dev-libs/openssl:0= )
readline? (
sys-libs/readline:0=
sys-libs/ncurses:=
@@ -44,9 +39,7 @@ RDEPEND=">=sys-fs/e2fsprogs-1.27:=
)"
 DEPEND="${RDEPEND}
virtual/os-headers"
-BDEPEND="
-   virtual/pkgconfig
-"
+BDEPEND="virtual/pkgconfig"
 
 src_configure() {
local myeconfargs=(
@@ -70,6 +63,7 @@ src_configure() {
 
 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



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-01-06 Thread Andreas K. Hüttel
commit: 8e061364b8c461419cbf03aaa7a98b691cbe580b
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan  6 19:18:47 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Jan  6 19:18:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e061364

app-arch/dump: Apply gcc-10 workaround

Quoting upstream:
> Mike Frysinger - 5 days ago
> the codebase is a mess and not worth my time to untangle, so i just
> added -fcommon to the configure script's CFLAGS

Closes: https://bugs.gentoo.org/707234
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas K. Huettel  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index c768fa8534d..1ebc6f99374 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 MY_P="${PN}-$(ver_rs 2 b)"
 S=${WORKDIR}/${MY_P}
 DESCRIPTION="Dump/restore ext2fs backup utilities"
@@ -53,6 +55,8 @@ PATCHES=(
 )
 
 src_configure() {
+   append-flags -fcommon
+
local myeconfargs=(
--with-dumpdatespath=/etc/dumpdates
--with-rmtpath='$(sbindir)/rmt'



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2021-01-04 Thread Lars Wendler
commit: 9e24b09d3558ecb5e892d3c2a08a3d26f85fb174
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  4 14:52:55 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  4 14:53:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e24b09d

app-arch/dump: Bump to version 0.4.47

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 app-arch/dump/Manifest   |  1 +
 app-arch/dump/dump-0.4.47.ebuild | 90 
 2 files changed, 91 insertions(+)

diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest
index 02c875b0def..be437558471 100644
--- a/app-arch/dump/Manifest
+++ b/app-arch/dump/Manifest
@@ -1 +1,2 @@
 DIST dump-0.4b46.tar.gz 578200 BLAKE2B 
91102bdba06f3affdf4ebd9de525145c0a4cc1b9fb4c6ff222c411c118b3b7835f3aad666d530019d8b9ee46590e4a283a143d188d6800218100cecf67877274
 SHA512 
a30e72ab6c4d18497dffe3d25634c2e55ca90861d1cd8a6c0fd44709e735a217dbf4cdabb8c80e02053def94d9a22cf1d685ee0d0f24f5b748ee5f0de19cf17d
+DIST dump-0.4b47.tar.gz 583380 BLAKE2B 
a5a6c507fc67451e6ce5117b28b9e97e45783059358c357e1f6d4b268437c8340f13e0d77e97631112824eca8205c49d206a8a7904bc3e00b1f0d5abb31418f7
 SHA512 
e9c567fe2ffad196b9657c551d83f7607758f3704cad6cb407514bbe2bc765c16968997dc3a5bc92b9eb5900fa5bd6e7cebc92c81afff53339fca92891a5259d

diff --git a/app-arch/dump/dump-0.4.47.ebuild b/app-arch/dump/dump-0.4.47.ebuild
new file mode 100644
index 000..48981e19d4d
--- /dev/null
+++ b/app-arch/dump/dump-0.4.47.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${PN}-$(ver_rs 2 b)"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="http://dump.sourceforge.net/";
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+
+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 libressl 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-libs/e2fsprogs-libs-1.27:=
+   sys-apps/util-linux
+   bzip2? ( >=app-arch/bzip2-1.0.2:= )
+   zlib? ( >=sys-libs/zlib-1.1.4:= )
+   lzo? ( dev-libs/lzo:2= )
+   sqlite? ( dev-db/sqlite:3= )
+   ermt? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl: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
+}
+
+pkg_postinst() {
+   if [[ -z ${REPLACING_VERSIONS} ]] ; then
+   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
+   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2020-09-26 Thread Aaron Bauman
commit: 4bc595374478019b1b07bb19552fd08208c97937
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Sep 26 13:30:40 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Sep 26 14:33:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc59537

app-arch/dump: drop old EAPI=5

Signed-off-by: Aaron Bauman  gentoo.org>

 app-arch/dump/dump-0.4.46.ebuild | 86 
 1 file changed, 86 deletions(-)

diff --git a/app-arch/dump/dump-0.4.46.ebuild b/app-arch/dump/dump-0.4.46.ebuild
deleted file mode 100644
index f7ff465b84e..000
--- a/app-arch/dump/dump-0.4.46.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit versionator
-
-MY_P="${PN}-$(replace_version_separator 2 b)"
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Dump/restore ext2fs backup utilities"
-HOMEPAGE="http://dump.sourceforge.net/";
-SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
-
-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 libressl 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-libs/e2fsprogs-libs-1.27:=
-   sys-apps/util-linux
-   bzip2? ( >=app-arch/bzip2-1.0.2:= )
-   zlib? ( >=sys-libs/zlib-1.1.4:= )
-   lzo? ( dev-libs/lzo:2= )
-   sqlite? ( dev-db/sqlite:3= )
-   ermt? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
-   )
-   readline? (
-   sys-libs/readline:0=
-   sys-libs/ncurses:=
-   static? ( sys-libs/ncurses:=[static-libs] )
-   )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   virtual/os-headers"
-
-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
-}
-
-pkg_postinst() {
-   if [[ -z ${REPLACING_VERSIONS} ]] ; then
-   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
-   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-10-13 Thread Matt Turner
commit: 9bab55f62e138b7a27097b539d8924d2e274ea8a
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Oct 14 01:33:51 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Oct 14 01:33:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bab55f6

app-arch/dump-0.4.46-r1: alpha stable, bug 689874

Signed-off-by: Matt Turner  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index 7040189b506..3f2ac26507a 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ppc ppc64 sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-09-08 Thread Agostino Sarubbo
commit: 196468ec2c26e472a3aec1c4b30ebc508be86fde
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 06:01:56 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 06:01:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196468ec

app-arch/dump: sparc stable wrt bug #689874

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index 6d77e272571..7040189b506 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ia64 ppc ppc64 ~sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-09-08 Thread Agostino Sarubbo
commit: f1e62619e043540f7dd4cbd77132ef8a5f281040
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 06:00:34 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 06:00:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e62619

app-arch/dump: ia64 stable wrt bug #689874

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index acf89163d07..6d77e272571 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-09-08 Thread Agostino Sarubbo
commit: a78f218ad7b05b61dab4876f39b78ef08ec967a3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 05:50:32 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 05:50:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78f218a

app-arch/dump: ppc64 stable wrt bug #689874

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index 57c41977a92..acf89163d07 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-09-08 Thread Agostino Sarubbo
commit: 6a3c004b06de52242165479f7bef1e210ba4213d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 05:48:55 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 05:48:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3c004b

app-arch/dump: ppc stable wrt bug #689874

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index 4066e4e7bc7..57c41977a92 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-09-08 Thread Agostino Sarubbo
commit: e1d7d858cfce480188d2b4e5e5f6fd8147ae2fba
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep  8 10:41:53 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep  8 10:41:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d7d858

app-arch/dump: amd64 stable wrt bug #689874

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index 1734d2b375d..4066e4e7bc7 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-09-07 Thread Thomas Deutschmann
commit: 780a0ab2c49cb2477bf06e2ae94c6a49268787a0
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Sep  7 18:12:51 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Sep  7 21:05:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=780a0ab2

app-arch/dump: x86 stable (bug #689874)

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index c3529b8a5bd..1734d2b375d 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2019-07-15 Thread Lars Wendler
commit: 87753a33cb92dc169481ed243dcc578b3affc29a
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jul 15 08:36:34 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jul 15 08:36:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87753a33

app-arch/dump: Bump to EAPI-7

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler  gentoo.org>

 app-arch/dump/dump-0.4.46-r1.ebuild | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
index f984ca0ef78..c3529b8a5bd 100644
--- a/app-arch/dump/dump-0.4.46-r1.ebuild
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -1,11 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit versionator
-
-MY_P="${PN}-$(replace_version_separator 2 b)"
+MY_P="${PN}-$(ver_rs 2 b)"
 S=${WORKDIR}/${MY_P}
 DESCRIPTION="Dump/restore ext2fs backup utilities"
 HOMEPAGE="http://dump.sourceforge.net/";
@@ -44,10 +42,14 @@ RDEPEND=">=sys-fs/e2fsprogs-1.27:=
static? ( sys-libs/ncurses:=[static-libs] )
)"
 DEPEND="${RDEPEND}
-   virtual/pkgconfig
virtual/os-headers"
+BDEPEND="
+   virtual/pkgconfig
+"
 
-PATCHES=( "${FILESDIR}"/${P}-openssl11.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-openssl11.patch
+)
 
 src_configure() {
local myeconfargs=(



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/files/, app-arch/dump/

2019-07-14 Thread Hans de Graaff
commit: e0f33c45b62847837b0fedd9e905c2e2ca6f36cd
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul 14 07:33:19 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul 14 07:33:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f33c45

app-arch/dump: fix openssl 1.1 compatibility

Fixes: https://bugs.gentoo.org/674318
Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 app-arch/dump/dump-0.4.46-r1.ebuild | 87 +++
 app-arch/dump/files/dump-0.4.46-openssl11.patch | 91 +
 2 files changed, 178 insertions(+)

diff --git a/app-arch/dump/dump-0.4.46-r1.ebuild 
b/app-arch/dump/dump-0.4.46-r1.ebuild
new file mode 100644
index 000..f984ca0ef78
--- /dev/null
+++ b/app-arch/dump/dump-0.4.46-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+MY_P="${PN}-$(replace_version_separator 2 b)"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="http://dump.sourceforge.net/";
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"
+REQUIRED_USE="
+   ermt? ( ssl )
+   ssl? ( zlib )
+   test? ( sqlite? ( uuid ) )
+"
+
+RDEPEND=">=sys-fs/e2fsprogs-1.27:=
+   >=sys-libs/e2fsprogs-libs-1.27:=
+   sys-apps/util-linux
+   bzip2? ( >=app-arch/bzip2-1.0.2:= )
+   zlib? ( >=sys-libs/zlib-1.1.4:= )
+   lzo? ( dev-libs/lzo:2= )
+   sqlite? ( dev-db/sqlite:3= )
+   ermt? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   readline? (
+   sys-libs/readline:0=
+   sys-libs/ncurses:=
+   static? ( sys-libs/ncurses:=[static-libs] )
+   )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   virtual/os-headers"
+
+PATCHES=( "${FILESDIR}"/${P}-openssl11.patch )
+
+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
+}
+
+pkg_postinst() {
+   if [[ -z ${REPLACING_VERSIONS} ]] ; then
+   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
+   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
+   fi
+}

diff --git a/app-arch/dump/files/dump-0.4.46-openssl11.patch 
b/app-arch/dump/files/dump-0.4.46-openssl11.patch
new file mode 100644
index 000..db18e8190f5
--- /dev/null
+++ b/app-arch/dump/files/dump-0.4.46-openssl11.patch
@@ -0,0 +1,91 @@
+Index: dump-0.4b46/common/transformation_ssl.c
+===
+--- dump-0.4b46.orig/common/transformation_ssl.c
 dump-0.4b46/common/transformation_ssl.c
+@@ -215,7 +215,10 @@ generateIV(Transformation *xform, unsign
+   /* to be exposed to any attacker anyway. */
+   *saltlen = 16;
+   if (xform->enc == 1) {
+-  RAND_pseudo_bytes(salt, *saltlen);
++  if (!RAND_bytes(salt, *saltlen) != 1) {
++  /* PRNG not sufficiently seeded */
++  return -1;
++  }
+   }
+   memcpy(ivbuffer, salt, 16);
+ 
+@@ -274,7 +277,7 @@ ssl_compress(Transformation *xform, stru
+   digestlen = sizeof(digest);
+ 
+   /* generate salt, put it in header */
+-  generateIV(xform, salt, &saltlen, iv, &ivlen);
++  generateIV(xform, salt, &saltlen, iv, &ivlen); /* TODO: check return 
value */
+   memcpy(tpbin->buf, salt, saltlen);
+ 
+   /* compress the buffer first - increase the entropy */
+@@ -351,7 +354,7 @@ ssl_decompress(Transformation *xform, st
+ 
+   // how to know salt length?
+ 

[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/files/

2017-08-13 Thread David Seifert
commit: 41a0df79170417915d31e78bbf1db02c5f2c1653
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Tue Aug  8 08:30:09 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 13 11:23:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a0df79

app-arch/dump: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/5350

 .../files/dump-0.4.44-fix-pointers-aliasing.patch  | 126 -
 ...mp-0.4.44-rl_completion_matches-detection.patch |  24 
 app-arch/dump/files/dump-0.4.44-sysmacros.patch|  12 --
 app-arch/dump/files/dump-0.4.44-underlinking.patch |  31 -
 4 files changed, 193 deletions(-)

diff --git a/app-arch/dump/files/dump-0.4.44-fix-pointers-aliasing.patch 
b/app-arch/dump/files/dump-0.4.44-fix-pointers-aliasing.patch
deleted file mode 100644
index 6e329008547..000
--- a/app-arch/dump/files/dump-0.4.44-fix-pointers-aliasing.patch
+++ /dev/null
@@ -1,126 +0,0 @@
-https://sourceforge.net/tracker/?func=detail&aid=3322910&group_id=1306&atid=301306
-
-=== modified file 'dump/tape.c'
 dump/tape.c2011-06-20 07:22:40 +
-+++ dump/tape.c2011-06-20 07:57:11 +
-@@ -1281,9 +1281,9 @@
-   compresult = 1;
- #ifdef HAVE_ZLIB
-   if (zipflag == COMPRESS_ZLIB) {
--  compresult = compress2(comp_buf->buf, 
-+  compresult = compress2((Bytef *)comp_buf->buf, 
-  &worklen,
-- (char *)slp->tblock[0],
-+ (Bytef *)slp->tblock[0],
-  writesize, 
-  compressed);
-   if (compresult == Z_OK)
-@@ -1313,8 +1313,9 @@
- #ifdef HAVE_LZO
-   if (zipflag == COMPRESS_LZO) {
-   lzo_uint worklen2 = worklen;
--  compresult = lzo1x_1_compress((char 
*)slp->tblock[0],writesize,
--  comp_buf->buf,
-+  compresult = 
lzo1x_1_compress((lzo_bytep)slp->tblock[0],
-+  writesize,
-+  
(lzo_bytep)comp_buf->buf,
- &worklen2,
-   LZO_WorkMem);
-   worklen = worklen2;
-
-=== modified file 'dump/traverse.c'
 dump/traverse.c2011-06-20 07:22:40 +
-+++ dump/traverse.c2011-06-20 07:57:11 +
-@@ -782,13 +782,13 @@
-   for (i = p->next_block; i < blockcnt; i++) {
-   p->buf[p->cnt++] = 0;
-   if (p->cnt == p->max) {
--  blksout (p->buf, p->cnt, p->ino);
-+  blksout ((blk_t *)p->buf, p->cnt, p->ino);
-   p->cnt = 0;
-   }
-   }
-   p->buf[p->cnt++] = *blocknr;
-   if (p->cnt == p->max) {
--  blksout (p->buf, p->cnt, p->ino);
-+  blksout ((blk_t *)p->buf, p->cnt, p->ino);
-   p->cnt = 0;
-   }
-   p->next_block = blockcnt + 1;
-@@ -868,14 +868,15 @@
- void
- dumpino(struct dinode *dp, dump_ino_t ino, int metaonly)
- {
-+  fsizeT remaining;
-+  char buf[TP_BSIZE];
-+  struct new_bsd_inode nbi;
-+  int i;
-+#ifdef__linux__
-+  struct block_context bc;
-+#else
-   unsigned long cnt;
--  fsizeT size, remaining;
--  char buf[TP_BSIZE];
--  struct new_bsd_inode nbi;
--  int i;
--#ifdef__linux__
--  struct block_context bc;
--#else
-+  fsizeT size;
-   int ind_level;
- #endif
-   u_quad_t i_size;
-@@ -1001,13 +1002,13 @@
-   for (i = 0; i < (int)howmany(remaining, sblock->fs_fsize); i++) 
{
-   bc.buf[bc.cnt++] = 0;
-   if (bc.cnt == bc.max) {
--  blksout (bc.buf, bc.cnt, bc.ino);
-+  blksout ((blk_t *)bc.buf, bc.cnt, bc.ino);
-   bc.cnt = 0;
-   }
-   }
-   }
-   if (bc.cnt > 0) {
--  blksout (bc.buf, bc.cnt, bc.ino);
-+  blksout ((blk_t *)bc.buf, bc.cnt, bc.ino);
-   }
-   free(bc.buf);
-   dump_xattr(ino, dp);
-@@ -1016,7 +1017,7 @@
-   cnt = NDADDR * sblock->fs_frag;
-   else
-   cnt = howmany(i_size, sblock->fs_fsize);
--  blksout(&dp->di_db[0], cnt, ino);
-+  blksout((blk_t *)&dp->di_db[0], cnt, ino);
-   if ((quad_t) (size = i_size - NDADDR * sblock->fs_bsize) <= 0) {
-   dump_xattr(ino, dp);
-   return;
-

[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2017-07-15 Thread Aaron Bauman
commit: 769dc13e9c6032697ffb26fc90be36e79b9b90f4
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Jul 15 23:40:48 2017 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Jul 16 00:46:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=769dc13e

app-arch/dump: remove old wrt sec bug #515274

Closes: https://github.com/gentoo/gentoo/pull/5113

 app-arch/dump/Manifest  |  2 -
 app-arch/dump/dump-0.4.44-r1.ebuild | 63 --
 app-arch/dump/dump-0.4.44-r2.ebuild | 69 
 app-arch/dump/dump-0.4.45.ebuild| 78 -
 4 files changed, 212 deletions(-)

diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest
index 5420477d918..509e5d955ec 100644
--- a/app-arch/dump/Manifest
+++ b/app-arch/dump/Manifest
@@ -1,3 +1 @@
-DIST dump-0.4b44.tar.gz 296691 SHA256 
78cb75632ac5e99dca38af3a2574303eee3c5a7af464011d279421d8b0e64f96 SHA512 
3db828bac026d872913f0e010378366919fbb523d22f1863c06017581e4f4a1c5a239199794ca1158b04e7e3ecbb596d77b131b3278bed29fcfcd3835a3351d4
 WHIRLPOOL 
43dfc8fb996b443b9d9a9d9ecbf7d01f3db6eaba7acc92ab35ee0930ebdc7666855fc6b78b25450ae3790c6f10093036e0fc733385d7e8dc808bb614b681135a
-DIST dump-0.4b45.tar.gz 579802 SHA256 
f2feef14e9b764f8763879f044957564926f493a5ecd69cefa79a258c1e66c8a SHA512 
8bb961cfbec7b06a0a796c15e35342b694a0a5e4214be6b0093a3b016340bce8d76b86cad64ca80301a3cbaebb7ec23b32c5145069f793266f4f8c60d98933cf
 WHIRLPOOL 
0b8beb09bf0c9ddd9399f25a989117759ef6ec578a148897de14904292885cf9a30e0a8d1f0cd2bdab852fac3653f43d26393236260568f11c16813d4f27b5ce
 DIST dump-0.4b46.tar.gz 578200 SHA256 
8061d927dd1ae98e0a1bd70406cde5ecbced154507460629be174c55822f2f97 SHA512 
a30e72ab6c4d18497dffe3d25634c2e55ca90861d1cd8a6c0fd44709e735a217dbf4cdabb8c80e02053def94d9a22cf1d685ee0d0f24f5b748ee5f0de19cf17d
 WHIRLPOOL 
fb0b083e1f6f0904b1f5d433c47f0d25078637719a11542efd7d0d166609e64a62afaf94056dbec5cd93fa61f690ca3fdd5ffe16c9687263d08a3677b4617e31

diff --git a/app-arch/dump/dump-0.4.44-r1.ebuild 
b/app-arch/dump/dump-0.4.44-r1.ebuild
deleted file mode 100644
index 384b6611774..000
--- a/app-arch/dump/dump-0.4.44-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-inherit eutils autotools
-
-MY_P=${P/4./4b}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Dump/restore ext2fs backup utilities"
-HOMEPAGE="http://dump.sourceforge.net/";
-SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86"
-IUSE="debug ermt readline selinux static"
-
-RDEPEND=">=sys-fs/e2fsprogs-1.27
-   >=app-arch/bzip2-1.0.2
-   >=sys-libs/zlib-1.1.4
-   ermt? ( dev-libs/openssl )
-   readline? ( sys-libs/readline
-   sys-libs/ncurses
-   static? ( sys-libs/ncurses[static-libs] ) )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   virtual/os-headers"
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}-underlinking.patch"
-   epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
-   epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --with-dumpdatespath=/etc/dumpdates \
-   --with-{bin,man}owner=root \
-   --with-{bin,man}grp=root \
-   --enable-largefile \
-   $(use_enable selinux transselinux) \
-   $(use_enable ermt) \
-   $(use_enable static) \
-   $(use_enable readline) \
-   $(use_enable debug)
-}
-
-src_install() {
-   # built on old autotools, no DESTDIR support
-   einstall MANDIR="${D}"/usr/share/man/man8
-   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 CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
-   dodoc -r examples/*
-}
-
-pkg_postinst() {
-   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
-   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
-}

diff --git a/app-arch/dump/dump-0.4.44-r2.ebuild 
b/app-arch/dump/dump-0.4.44-r2.ebuild
deleted file mode 100644
index 5a22b23b8ff..000
--- a/app-arch/dump/dump-0.4.44-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-inherit eutils autotools
-
-MY_P=${P/4./4b}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Dump/restore ext2fs backup utilities"
-HOMEPAGE="http://dump.sourceforge.net/";
-SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug ermt libressl readline selinux static"
-
-RDEPEND=">=sys-fs/e2fsprogs-1.27
-   >=app-arch/bzip2-1.0.2
-   >=sys-

[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2016-12-02 Thread Tobias Klausmann
commit: 44a3a97d7e6107bf218d45b1c33c6524aa42e0f8
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Dec  2 14:20:50 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Dec  2 14:20:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a3a97d

app-arch/dump-0.4.46-r0: stable on alpha

Gentoo-Bug: 515274

 app-arch/dump/dump-0.4.46.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46.ebuild b/app-arch/dump/dump-0.4.46.ebuild
index b14421a..0b7755b 100644
--- a/app-arch/dump/dump-0.4.46.ebuild
+++ b/app-arch/dump/dump-0.4.46.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2016-12-01 Thread Agostino Sarubbo
commit: 22a4ac99eb0ef7cad8ef35b52727ef9403ff267c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  1 12:53:34 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  1 12:53:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a4ac99

app-arch/dump: x86 stable wrt bug #515274

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46.ebuild b/app-arch/dump/dump-0.4.46.ebuild
index d482b01..b14421a 100644
--- a/app-arch/dump/dump-0.4.46.ebuild
+++ b/app-arch/dump/dump-0.4.46.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2016-12-01 Thread Agostino Sarubbo
commit: 032ff2a63365eae95e14955933f54e3b0ede2ba7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  1 12:50:47 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  1 12:50:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032ff2a6

app-arch/dump: amd64 stable wrt bug #515274

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-arch/dump/dump-0.4.46.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-arch/dump/dump-0.4.46.ebuild b/app-arch/dump/dump-0.4.46.ebuild
index 044e1c1..d482b01 100644
--- a/app-arch/dump/dump-0.4.46.ebuild
+++ b/app-arch/dump/dump-0.4.46.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2016-11-29 Thread Lars Wendler
commit: 9035a7517b0bdffbe38e2de81b54166d1c94b8ab
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 29 16:02:28 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 29 16:02:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9035a751

app-arch/dump: Bump to version 0.4.46

Package-Manager: portage-2.3.2

 app-arch/dump/Manifest   |  1 +
 app-arch/dump/dump-0.4.46.ebuild | 85 
 app-arch/dump/metadata.xml   |  1 +
 3 files changed, 87 insertions(+)

diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest
index a1e1056..5420477 100644
--- a/app-arch/dump/Manifest
+++ b/app-arch/dump/Manifest
@@ -1,2 +1,3 @@
 DIST dump-0.4b44.tar.gz 296691 SHA256 
78cb75632ac5e99dca38af3a2574303eee3c5a7af464011d279421d8b0e64f96 SHA512 
3db828bac026d872913f0e010378366919fbb523d22f1863c06017581e4f4a1c5a239199794ca1158b04e7e3ecbb596d77b131b3278bed29fcfcd3835a3351d4
 WHIRLPOOL 
43dfc8fb996b443b9d9a9d9ecbf7d01f3db6eaba7acc92ab35ee0930ebdc7666855fc6b78b25450ae3790c6f10093036e0fc733385d7e8dc808bb614b681135a
 DIST dump-0.4b45.tar.gz 579802 SHA256 
f2feef14e9b764f8763879f044957564926f493a5ecd69cefa79a258c1e66c8a SHA512 
8bb961cfbec7b06a0a796c15e35342b694a0a5e4214be6b0093a3b016340bce8d76b86cad64ca80301a3cbaebb7ec23b32c5145069f793266f4f8c60d98933cf
 WHIRLPOOL 
0b8beb09bf0c9ddd9399f25a989117759ef6ec578a148897de14904292885cf9a30e0a8d1f0cd2bdab852fac3653f43d26393236260568f11c16813d4f27b5ce
+DIST dump-0.4b46.tar.gz 578200 SHA256 
8061d927dd1ae98e0a1bd70406cde5ecbced154507460629be174c55822f2f97 SHA512 
a30e72ab6c4d18497dffe3d25634c2e55ca90861d1cd8a6c0fd44709e735a217dbf4cdabb8c80e02053def94d9a22cf1d685ee0d0f24f5b748ee5f0de19cf17d
 WHIRLPOOL 
fb0b083e1f6f0904b1f5d433c47f0d25078637719a11542efd7d0d166609e64a62afaf94056dbec5cd93fa61f690ca3fdd5ffe16c9687263d08a3677b4617e31

diff --git a/app-arch/dump/dump-0.4.46.ebuild b/app-arch/dump/dump-0.4.46.ebuild
new file mode 100644
index ..044e1c1
--- /dev/null
+++ b/app-arch/dump/dump-0.4.46.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit versionator
+
+MY_P="${PN}-$(replace_version_separator 2 b)"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="http://dump.sourceforge.net/";
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+
+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 libressl lzo readline selinux sqlite ssl static test 
uuid zlib"
+REQUIRED_USE="
+   ermt? ( ssl )
+   ssl? ( zlib )
+   test? ( sqlite? ( uuid ) )
+"
+
+RDEPEND=">=sys-fs/e2fsprogs-1.27:=
+   >=sys-libs/e2fsprogs-libs-1.27:=
+   sys-apps/util-linux
+   bzip2? ( >=app-arch/bzip2-1.0.2:= )
+   zlib? ( >=sys-libs/zlib-1.1.4:= )
+   lzo? ( dev-libs/lzo:2= )
+   sqlite? ( dev-db/sqlite:3= )
+   ermt? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   readline? (
+   sys-libs/readline:0=
+   sys-libs/ncurses:=
+   static? ( sys-libs/ncurses:=[static-libs] )
+   )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   virtual/os-headers"
+
+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
+}
+
+pkg_postinst() {
+   if [[ -z ${REPLACING_VERSIONS} ]] ; then
+   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
+   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
+   fi
+}

diff --git a/app-arch/dump/metadata.xml b/app-arch/dump/metadata.xml
index 6cacb8a..4fdf0bb 100644
--- a/app-arch/dump/metadata.xml
+++ b/app-arch/dump/metadata.xml
@@ -10,6 +10,7 @@


encrypted rmt support
+

[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2016-05-08 Thread Mike Frysinger
commit: 323e36c233ce121f2deff9a5c4169e9cf2a2d799
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon May  9 06:40:47 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon May  9 06:40:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=323e36c2

app-arch/dump: version bump to 0.4.45

 app-arch/dump/Manifest   |  1 +
 app-arch/dump/dump-0.4.45.ebuild | 78 
 2 files changed, 79 insertions(+)

diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest
index 8c184d0..a1e1056 100644
--- a/app-arch/dump/Manifest
+++ b/app-arch/dump/Manifest
@@ -1 +1,2 @@
 DIST dump-0.4b44.tar.gz 296691 SHA256 
78cb75632ac5e99dca38af3a2574303eee3c5a7af464011d279421d8b0e64f96 SHA512 
3db828bac026d872913f0e010378366919fbb523d22f1863c06017581e4f4a1c5a239199794ca1158b04e7e3ecbb596d77b131b3278bed29fcfcd3835a3351d4
 WHIRLPOOL 
43dfc8fb996b443b9d9a9d9ecbf7d01f3db6eaba7acc92ab35ee0930ebdc7666855fc6b78b25450ae3790c6f10093036e0fc733385d7e8dc808bb614b681135a
+DIST dump-0.4b45.tar.gz 579802 SHA256 
f2feef14e9b764f8763879f044957564926f493a5ecd69cefa79a258c1e66c8a SHA512 
8bb961cfbec7b06a0a796c15e35342b694a0a5e4214be6b0093a3b016340bce8d76b86cad64ca80301a3cbaebb7ec23b32c5145069f793266f4f8c60d98933cf
 WHIRLPOOL 
0b8beb09bf0c9ddd9399f25a989117759ef6ec578a148897de14904292885cf9a30e0a8d1f0cd2bdab852fac3653f43d26393236260568f11c16813d4f27b5ce

diff --git a/app-arch/dump/dump-0.4.45.ebuild b/app-arch/dump/dump-0.4.45.ebuild
new file mode 100644
index 000..c8b7cec
--- /dev/null
+++ b/app-arch/dump/dump-0.4.45.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+MY_P=${P/4./4b}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="http://dump.sourceforge.net/";
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="bzip2 debug ermt libressl lzo readline selinux sqlite ssl static zlib"
+REQUIRED_USE="
+   ermt? ( ssl )
+   ssl? ( zlib )
+"
+
+RDEPEND=">=sys-fs/e2fsprogs-1.27:=
+   >=sys-libs/e2fsprogs-libs-1.27:=
+   sys-apps/util-linux
+   bzip2? ( >=app-arch/bzip2-1.0.2:= )
+   zlib? ( >=sys-libs/zlib-1.1.4:= )
+   lzo? ( dev-libs/lzo:2= )
+   sqlite? ( dev-db/sqlite:3= )
+   ermt? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   readline? (
+   sys-libs/readline:0=
+   sys-libs/ncurses:=
+   static? ( sys-libs/ncurses:=[static-libs] )
+   )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   virtual/os-headers"
+
+src_configure() {
+   econf \
+   --with-dumpdatespath=/etc/dumpdates \
+   --with-rmtpath='$(sbindir)/rmt' \
+   --enable-blkid \
+   --disable-uuid \
+   $(use_enable selinux) \
+   $(use_enable ermt) \
+   $(use_enable static static-progs) \
+   $(use_enable readline) \
+   $(use_enable debug) \
+   $(use_enable sqlite) \
+   $(use_enable bzip2) \
+   $(use_enable zlib) \
+   $(use_enable lzo) \
+   $(use_enable ssl)
+}
+
+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
+}
+
+pkg_postinst() {
+   if [[ -z ${REPLACING_VERSIONS} ]] ; then
+   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
+   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/files/, app-arch/dump/

2016-04-19 Thread Mike Frysinger
commit: c397c146f5089ce7f3e636381cc444b40293a48a
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Apr 19 22:17:34 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Apr 19 22:18:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c397c146

app-arch/dump: fix build w/newer glibc #580204

 app-arch/dump/dump-0.4.44-r2.ebuild |  1 +
 app-arch/dump/files/dump-0.4.44-sysmacros.patch | 12 
 2 files changed, 13 insertions(+)

diff --git a/app-arch/dump/dump-0.4.44-r2.ebuild 
b/app-arch/dump/dump-0.4.44-r2.ebuild
index e1f140e..8bcca18 100644
--- a/app-arch/dump/dump-0.4.44-r2.ebuild
+++ b/app-arch/dump/dump-0.4.44-r2.ebuild
@@ -36,6 +36,7 @@ src_prepare() {
epatch "${FILESDIR}/${P}-underlinking.patch"
epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
+   epatch "${FILESDIR}/${P}-sysmacros.patch" #580204
eautoreconf
 }
 

diff --git a/app-arch/dump/files/dump-0.4.44-sysmacros.patch 
b/app-arch/dump/files/dump-0.4.44-sysmacros.patch
new file mode 100644
index 000..bda233f
--- /dev/null
+++ b/app-arch/dump/files/dump-0.4.44-sysmacros.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/580204
+
+--- a/restore/tape.c
 b/restore/tape.c
+@@ -65,6 +65,7 @@
+ #include 
+ 
+ #ifdef__linux__
++#include 
+ #include 
+ #include 
+ #ifdef HAVE_EXT2FS_EXT2_FS_H



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2016-03-21 Thread Anthony G. Basile
commit: 9276ab9875faddbc3419364313c791208a47010f
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Mar 21 21:46:40 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 21 21:46:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9276ab98

app-arch/dump: fix openssl and libressl slots

Package-Manager: portage-2.2.26

 app-arch/dump/dump-0.4.44-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-arch/dump/dump-0.4.44-r2.ebuild 
b/app-arch/dump/dump-0.4.44-r2.ebuild
index 94b0c0b..e1f140e 100644
--- a/app-arch/dump/dump-0.4.44-r2.ebuild
+++ b/app-arch/dump/dump-0.4.44-r2.ebuild
@@ -20,8 +20,8 @@ RDEPEND=">=sys-fs/e2fsprogs-1.27
>=app-arch/bzip2-1.0.2
>=sys-libs/zlib-1.1.4
ermt? (
-   !libressl? ( dev-libs/openssl:0 )
-   libressl? ( dev-libs/libressl )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
)
readline? (
sys-libs/readline:0=



[gentoo-commits] repo/gentoo:master commit in: app-arch/dump/

2015-12-15 Thread Anthony G. Basile
commit: 8e2101ca00392b435358d7827a2c320ef902ce4c
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Dec 15 20:27:11 2015 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Dec 15 20:38:49 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e2101ca

app-arch/dump: (sub)slot cleanups and add libressl support

Package-Manager: portage-2.2.24

 app-arch/dump/dump-0.4.44-r2.ebuild | 69 +
 1 file changed, 69 insertions(+)

diff --git a/app-arch/dump/dump-0.4.44-r2.ebuild 
b/app-arch/dump/dump-0.4.44-r2.ebuild
new file mode 100644
index 000..94b0c0b
--- /dev/null
+++ b/app-arch/dump/dump-0.4.44-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit eutils autotools
+
+MY_P=${P/4./4b}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Dump/restore ext2fs backup utilities"
+HOMEPAGE="http://dump.sourceforge.net/";
+SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug ermt libressl readline selinux static"
+
+RDEPEND=">=sys-fs/e2fsprogs-1.27
+   >=app-arch/bzip2-1.0.2
+   >=sys-libs/zlib-1.1.4
+   ermt? (
+   !libressl? ( dev-libs/openssl:0 )
+   libressl? ( dev-libs/libressl )
+   )
+   readline? (
+   sys-libs/readline:0=
+   sys-libs/ncurses:=
+   static? ( sys-libs/ncurses:=[static-libs] )
+   )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   virtual/os-headers"
+
+src_prepare() {
+   epatch "${FILESDIR}/${P}-underlinking.patch"
+   epatch "${FILESDIR}/${P}-rl_completion_matches-detection.patch"
+   epatch "${FILESDIR}/${P}-fix-pointers-aliasing.patch"
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-dumpdatespath=/etc/dumpdates \
+   --with-{bin,man}owner=root \
+   --with-{bin,man}grp=root \
+   --enable-largefile \
+   $(use_enable selinux transselinux) \
+   $(use_enable ermt) \
+   $(use_enable static) \
+   $(use_enable readline) \
+   $(use_enable debug)
+}
+
+src_install() {
+   # built on old autotools, no DESTDIR support
+   einstall MANDIR="${D}"/usr/share/man/man8
+   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 CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
+   dodoc -r examples/*
+}
+
+pkg_postinst() {
+   ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'."
+   ewarn "This is to avoid conflicts with app-arch/tar 'rmt'."
+}