summaryrefslogtreecommitdiff
path: root/app-backup/dar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /app-backup/dar
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'app-backup/dar')
-rw-r--r--app-backup/dar/Manifest4
-rw-r--r--app-backup/dar/dar-2.6.10.ebuild4
-rw-r--r--app-backup/dar/dar-2.6.13.ebuild102
3 files changed, 107 insertions, 3 deletions
diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest
index f953d51401e8..776669267c9a 100644
--- a/app-backup/dar/Manifest
+++ b/app-backup/dar/Manifest
@@ -1,5 +1,7 @@
DIST dar-2.5.11.tar.gz 1891928 BLAKE2B 536cccca2533f7ddbc8b95972fe00e9c87a404481e6afbd7aa3634c00598403c18950eb876aefe71a818c3bf4df75bff5f3904dc69bd1d75880f6c8a349911a5 SHA512 36b90218a34ac7f41ce9ca0a2167cfb2fd243b23b8e84350153e8804f0faabf87291b4e4b061533bcb0ca079f087c074eeaa12a54ee8084dd386a072ac503847
DIST dar-2.6.10.tar.gz 2140424 BLAKE2B 840a7a3d33825658be541157468a15bc3a3082083a35c426ecbab1cd2e8026e0a4d15671a33472068e1256878d1f60d414c2c069a3223ab5050756b13c887b69 SHA512 2fceafba6c6851c5dd11c0d1a3fda8aeddac16f39cf0051027b178703a5e821fb769c42624063d8722d80ea62bb735f3b0c6c39538c1c939234df49d6b757428
+DIST dar-2.6.13.tar.gz 2148732 BLAKE2B 51de01793dead832209671569f8054b1de3b5fa810c786ae675207b6dc3e639a5c036896e1688e017b222fbaa6c011494a9d43b3bb2b16570a38e291f893b73f SHA512 f0f853db6e15f5abfabf87be06a1c374662c7fa7e1140eaaeef3e8c8c4d0049a00a8e74409d6805ea3ae5b2f3171f2eba27459e8acb4438c467c4f0bd0825c0c
EBUILD dar-2.5.11.ebuild 2240 BLAKE2B 676849c6b7e0be4af55d7a4dd67159ef3d0eeea289de1cbd18c5920e9bdf793c0dac7a7f78d76eb1b42c712cd8de2b4545f9e6e911a5532916f17f9076fe9b49 SHA512 635cfb86497ccd0bece7145538130ac301345ee37f71c28c620c10236ffb02d5d184b1eebe0a09fdeb3b56ef644fe497d3fa49d319aa526529a7317f4be79f7e
-EBUILD dar-2.6.10.ebuild 2432 BLAKE2B 2343f1f409576df7943eebdf278d5ebbe15a626ea23e068843e5fbdd2a2718482ac280feea6478b6b205e0e767e8fe1a4369a397d7e1e112d8e4588473c92879 SHA512 277ee01afbc5ad93fced755a6e606c69dd1d02b422f3a0055ea87e002c56df144dea6da783aa4520bdfa9f681a4f47abb99146d9353486e6b45403ee3ddb105a
+EBUILD dar-2.6.10.ebuild 2429 BLAKE2B 066bc84262d49df1b32154879b7941b7f70a9e367ea9c6e5ceb4759d229421f42e55d2fa71df7eeffdb745103a2c9e0cda1a8f8eb99dbd2f1375bfd373ad9334 SHA512 a06d72b3c4d8fb4a9af5705be061c2cff6231fae2dfe12479af6ff148faca56d0c6c28543ba3648598f3bc06d997bcd66897fc82906dcdea860af90ab8d344d2
+EBUILD dar-2.6.13.ebuild 2425 BLAKE2B 4c8e3cdf8fada15050eb7ade152f270e52333c1d4a9cde791524e48a84f5048fb692765a3f83f433c0badaed1e1890efef1361357b0bc696277b524c4557b4ac SHA512 9ae119eb61f6a77043593defc8a790a4dd52339ac9ec26abbf3902840df84a74674926b1e2653423fafdaae9f1bcc5b457074ee3bfe5071c24c50044cf0d23ff
MISC metadata.xml 839 BLAKE2B 9a7022a2e4a20a5519d5242e1d67d30918c5f723f970e6725c7dfb39a16d8130d117fd1cea49a76c209921ed960b6ac9b94ed37aa54e5e41afd39c3e68f23a0c SHA512 e877836606715f1624a67d8b32fb0d586d646b05e5ea6c589adf3c4c8ca4950c251edd212da7b07a0cf763d94e0e0f1c5f8f89c3019e4bfd8c1e3bd89aacd393
diff --git a/app-backup/dar/dar-2.6.10.ebuild b/app-backup/dar/dar-2.6.10.ebuild
index c4bbb94762a5..8cce3a914ff9 100644
--- a/app-backup/dar/dar-2.6.10.ebuild
+++ b/app-backup/dar/dar-2.6.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~ppc sparc x86 ~amd64-linux"
IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
RESTRICT="test" # need to be run as root
diff --git a/app-backup/dar/dar-2.6.13.ebuild b/app-backup/dar/dar-2.6.13.ebuild
new file mode 100644
index 000000000000..4924de9b8a32
--- /dev/null
+++ b/app-backup/dar/dar-2.6.13.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="A full featured backup tool, aimed for disks"
+HOMEPAGE="http://dar.linux.free.fr/"
+SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
+IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
+
+RESTRICT="test" # need to be run as root
+
+RDEPEND="
+ >=sys-libs/zlib-1.2.3:=
+ !static? (
+ app-arch/bzip2:=
+ app-arch/xz-utils:=
+ sys-libs/libcap
+ curl? ( net-misc/curl )
+ gcrypt? ( dev-libs/libgcrypt:0= )
+ gpg? ( app-crypt/gpgme )
+ lzo? ( dev-libs/lzo:= )
+ xattr? ( sys-apps/attr:= )
+ )"
+
+DEPEND="
+ ${RDEPEND}
+ static? (
+ app-arch/bzip2[static-libs]
+ app-arch/xz-utils[static-libs]
+ sys-libs/libcap[static-libs]
+ sys-libs/zlib[static-libs]
+ curl? ( net-misc/curl[static-libs] )
+ lzo? ( dev-libs/lzo[static-libs] )
+ xattr? ( sys-apps/attr[static-libs] )
+ )
+"
+BDEPEND="
+ nls? (
+ sys-devel/gettext
+ virtual/libintl
+ )
+ doc? ( app-doc/doxygen )
+"
+
+REQUIRED_USE="?? ( dar32 dar64 )
+ gpg? ( gcrypt )"
+
+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-python-binding
+ --disable-upx
+ $(usex curl '' --disable-libcurl-linking)
+ $(usex dar32 --enable-mode=32 '')
+ $(usex dar64 --enable-mode=64 '')
+ $(usex doc '' --disable-build-html)
+ #$(usex examples --enable-examples '')
+ $(usex gcrypt '' --disable-libgcrypt-linking)
+ $(usex gpg '' --disable-gpgme-linking)
+ $(usex lzo '' --disable-liblzo2-linking)
+ $(usex nls '' --disable-nls)
+ #$(usex rsync '' --disable-librsync-linking)
+ $(usex xattr '' --disable-ea-support)
+ )
+
+ # Bug 103741
+ filter-flags -fomit-frame-pointer
+
+ if ! use static ; then
+ myconf+=( --disable-dar-static )
+ if ! use static-libs ; then
+ myconf+=( --disable-static )
+ fi
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
+
+ local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+ einstalldocs
+
+ find "${ED}" -name '*.la' -delete || die
+
+ if ! use static-libs ; then
+ find "${ED}" -name '*.a' -delete || die
+ fi
+}