commit: 12f36934abb1cf48fa58118cd7c4dc486c3310fd Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Mon Jan 26 20:14:11 2026 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Mon Jan 26 20:14:35 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f36934
app-backup/dar: add 2.8.3 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> app-backup/dar/Manifest | 1 + app-backup/dar/dar-2.8.3.ebuild | 100 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest index ed83e6df9aa4..06b276375ef3 100644 --- a/app-backup/dar/Manifest +++ b/app-backup/dar/Manifest @@ -1 +1,2 @@ DIST dar-2.8.2.tar.gz 2379524 BLAKE2B 6b6a2321ee15e3d63692544135fea45368ff52016cc832f414d2bb6cdf9fc4d4c9b14bf5f3459a3a864172c640931ec216f863cbdd8d68991328f4cfff43d2bc SHA512 f2c645ad3eff25054667a06b7095ab3616df1a1d4e7db26127301bb2e3b2d17e1eaba4ed9048fddf8436cc82a61cc5d5c3c0535c890a325724e199b4bd9f776a +DIST dar-2.8.3.tar.gz 2381468 BLAKE2B 7d97accb7328479c63ff9571ff3eebf6164e7efe1387805bc7e6326fcdafe4e46174408934a9e95978e7aee8c50f65cacb41c319ed7568be851b7af80aeac1d1 SHA512 3432cc622234e2f9e7573c78fe6cf34a7a925f6ab0066baf91bc190ea6cb24c5452129c4bbcd995dfe3d0f1190c2427e95bc6369f7a478ed17fa650a71d668e0 diff --git a/app-backup/dar/dar-2.8.3.ebuild b/app-backup/dar/dar-2.8.3.ebuild new file mode 100644 index 000000000000..407dfb84dc40 --- /dev/null +++ b/app-backup/dar/dar-2.8.3.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2026 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" +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 + >=virtual/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:=[sftp] ) + 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 +}
