commit: d093be0c4c2351f10ff1fc22a9601ebe3be50663 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sat Dec 13 17:36:45 2025 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sat Dec 13 17:37:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d093be0c
app-backup/dar: add 2.8.2 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> app-backup/dar/Manifest | 1 + app-backup/dar/dar-2.8.2.ebuild | 100 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest index b16a13133806..e1694ec81e0e 100644 --- a/app-backup/dar/Manifest +++ b/app-backup/dar/Manifest @@ -1 +1,2 @@ DIST dar-2.8.1.tar.gz 2378700 BLAKE2B f8b4b85bc49c4eaedc58eeb8171bfb65a8f77f3b5ac35e407edbdff25b8feb3698d99b9585ee3a9219b87cee53e970cb0c14ba88b083d4b998b18f0d6c7e2ec9 SHA512 7a0d59bfe41442f4d5c5704c76c28845357458f912f0b97c8556bccfad7c20fa6248783889b7cc08ae800a334ce06854488a460137bfa022eb3a7274a0ebe74e +DIST dar-2.8.2.tar.gz 2379524 BLAKE2B 6b6a2321ee15e3d63692544135fea45368ff52016cc832f414d2bb6cdf9fc4d4c9b14bf5f3459a3a864172c640931ec216f863cbdd8d68991328f4cfff43d2bc SHA512 f2c645ad3eff25054667a06b7095ab3616df1a1d4e7db26127301bb2e3b2d17e1eaba4ed9048fddf8436cc82a61cc5d5c3c0535c890a325724e199b4bd9f776a diff --git a/app-backup/dar/dar-2.8.2.ebuild b/app-backup/dar/dar-2.8.2.ebuild new file mode 100644 index 000000000000..0c60ab0a1cce --- /dev/null +++ b/app-backup/dar/dar-2.8.2.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 + >=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 +}
