commit:     3a4c8afb6d0a4b8313256966b5cd1b8a842d9ef1
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 25 05:33:16 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 07:01:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a4c8afb

app-backup/dar: add 2.8.1

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 app-backup/dar/Manifest         |   1 +
 app-backup/dar/dar-2.8.1.ebuild | 100 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest
index a36c5b3dcbb1..856ca9c1a7d9 100644
--- a/app-backup/dar/Manifest
+++ b/app-backup/dar/Manifest
@@ -1 +1,2 @@
 DIST dar-2.8.0.tar.gz 2375068 BLAKE2B 
e4e85911e17145362c0e68e44038f625a341dbf1f6ebff18b978fb7dd48da7c7a73c7adf0dadf7652993545ea463157ae75e537b9ac735d79296ca6f5317c86f
 SHA512 
61880de88ac46f825157b10d7597f7e146094780837fcaf0dd654fac8b7ab9202014625c4eb4a85e77d49445c6c30bc66f59f235d290d07bd98fd4be8d0b5f9d
+DIST dar-2.8.1.tar.gz 2378700 BLAKE2B 
f8b4b85bc49c4eaedc58eeb8171bfb65a8f77f3b5ac35e407edbdff25b8feb3698d99b9585ee3a9219b87cee53e970cb0c14ba88b083d4b998b18f0d6c7e2ec9
 SHA512 
7a0d59bfe41442f4d5c5704c76c28845357458f912f0b97c8556bccfad7c20fa6248783889b7cc08ae800a334ce06854488a460137bfa022eb3a7274a0ebe74e

diff --git a/app-backup/dar/dar-2.8.1.ebuild b/app-backup/dar/dar-2.8.1.ebuild
new file mode 100644
index 000000000000..16641ae449ff
--- /dev/null
+++ b/app-backup/dar/dar-2.8.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="A full featured backup tool, aimed for disks"
+HOMEPAGE="http://dar.linux.free.fr/";
+SRC_URI="https://downloads.sourceforge.net/project/dar/dar/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
+IUSE="argon2 curl dar32 dar64 doc gcrypt gpg lz4 lzo nls rsync sftp whirlpool 
xattr"
+
+REQUIRED_USE="
+       ?? ( dar32 dar64 )
+       gpg? ( gcrypt )
+"
+
+RESTRICT="test" # need to be run as root
+
+RDEPEND="
+       app-arch/bzip2:=
+       app-arch/xz-utils
+       app-arch/zstd:=
+       >=dev-libs/libthreadar-1.5.0
+       sys-libs/libcap
+       >=sys-libs/zlib-1.2.3:=
+       argon2? ( app-crypt/argon2:= )
+       curl? ( net-misc/curl )
+       gcrypt? (
+               dev-libs/libgcrypt:0=
+               dev-libs/libgpg-error
+       )
+       gpg? (
+               app-crypt/gpgme:=
+               dev-libs/libassuan:=
+       )
+       lz4? ( app-arch/lz4:= )
+       lzo? ( dev-libs/lzo:2 )
+       nls? ( virtual/libintl )
+       rsync? ( net-libs/librsync:= )
+       sftp? ( net-libs/libssh:= )
+       whirlpool? ( app-crypt/rhash:= )
+       xattr? ( sys-apps/attr )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+       doc? ( app-text/doxygen )
+       nls? ( sys-devel/gettext )
+"
+# Bug #862025 - upstream has a different numbering scheme for libdar
+QA_PKGCONFIG_VERSION=""
+
+src_configure() {
+       # configure.ac is totally funked up regarding the AC_ARG_ENABLE logic.
+       # For example "--enable-dar-static" causes configure to DISABLE static
+       # builds of dar.
+       # Do _not_ use $(use_enable) until you have verified that the logic has
+       # been fixed by upstream.
+       local myconf=(
+               --disable-dar-static
+               --disable-python-binding
+               --disable-upx
+               $(usev !argon2 --disable-libargon2-linking)
+               $(usev !curl --disable-libcurl-linking)
+               $(usev dar32 --enable-mode=32)
+               $(usev dar64 --enable-mode=64)
+               $(usev !doc --disable-build-html)
+               $(usev !gcrypt --disable-libgcrypt-linking)
+               $(usev !gpg --disable-gpgme-linking)
+               $(usev !lz4 --disable-liblz4-linking)
+               $(usev !lzo --disable-liblzo2-linking)
+               $(usev !nls --disable-nls)
+               $(usev !rsync --disable-librsync-linking)
+               $(usev !sftp --disable-libssh-linking)
+               $(usev !whirlpool --disable-librhash-linking)
+               $(usev !xattr --disable-ea-support)
+       )
+
+       # Bug 103741
+       filter-flags -fomit-frame-pointer
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html 
install
+
+       einstalldocs
+
+       find "${ED}" -name "*.la" -delete || die
+
+       # Bug 729150
+       rm "${ED}/usr/share/doc/${PF}/html/samples/MyBackup.sh.tar.gz" || die
+}

Reply via email to