diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-23 19:01:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-23 19:01:15 +0000 |
commit | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (patch) | |
tree | 7b5feb28a3ad8ba78d57f64c93cc796cff95cd53 /app-backup | |
parent | acc2dacf2ee9a5b03df96da670153f2e3a24d80c (diff) |
gentoo auto-resync : 23:03:2024 - 19:01:14
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/Manifest.gz | bin | 7869 -> 7868 bytes | |||
-rw-r--r-- | app-backup/borgmatic/Manifest | 2 | ||||
-rw-r--r-- | app-backup/borgmatic/borgmatic-1.8.9.ebuild | 79 | ||||
-rw-r--r-- | app-backup/dar/Manifest | 2 | ||||
-rw-r--r-- | app-backup/dar/dar-2.7.14.ebuild | 97 |
5 files changed, 180 insertions, 0 deletions
diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz Binary files differindex e0a762f3b893..544c38272da9 100644 --- a/app-backup/Manifest.gz +++ b/app-backup/Manifest.gz diff --git a/app-backup/borgmatic/Manifest b/app-backup/borgmatic/Manifest index ff0e16232a39..e5c238cfddc1 100644 --- a/app-backup/borgmatic/Manifest +++ b/app-backup/borgmatic/Manifest @@ -1,5 +1,7 @@ AUX borgmatic-1.7.13-no_test_coverage.patch 248 BLAKE2B 624e21cc8971d9374b34dee002635d9090576ba785cf3b6da7c10a91f439fd8e11b335bb33dc9c3b7421b4a5a8982e2a5f67b723b06051969651d626f09bf972 SHA512 fc549c0a63a6182b1848d89a1c9aacd3057f07988d1e8ec3b6ae1defb0675e7b934b0c65c9b09edc431172bc550521058ab73cb64ae6e577072331d4d5269e78 AUX borgmatic-1.7.14-systemd_service_bin_path.patch 604 BLAKE2B 534a545b5a8d65c6e46102a5e558c25444d82dd3679b81c0ba50c72dfec8ce8f935fdcb558ff61fec7bf30409b4b9809d76e7488554f4461c4b5eac035a60c07 SHA512 9b4c65b249a033f17b68c5209c0132bd94e310d46193a9a85090cb8520220705aacd91c19d713e11e6955c1e0b1e09823abcaf8164ab0f162ff9a62652bb7e56 DIST borgmatic-1.8.8.tar.gz 589575 BLAKE2B 09a3ca616bd1cf5fcc6c773d8066357d764b44230d691b7afa90bb1fdbce3aa3bfaac509e921adaa9086ba60310b24d1f2ba186849853c8f04e2a85c4b0ec94f SHA512 3984f6e34f8aed5c57df22799e60724903bfcec833e5c3215ad731977b7d376f36129fabd489c166f945d7103f272bcc132a9ea49010552001794b57f27fb5d5 +DIST borgmatic-1.8.9.tar.gz 592715 BLAKE2B 3586404985b8cc0d5575f570ba6679c406e95b83453a7c2414872049067b1736010b9f8498fa92e91d281b1cdf75882bc09e40d6d9e443bff33c399ee1392ff9 SHA512 05386f6321d78e304030ebb78c495aee53a1b6f17241f101e73a097aa4208ac641d6105b1e8161cf714b2eab7c34fe682e082e9e997dc4ac6a6a4207253e8421 EBUILD borgmatic-1.8.8.ebuild 2113 BLAKE2B fd62e06d43871b3c0d1ed770e46b16ec709df12bda518d7bb9786825a6d0fc0964cf1745d1cf3ebf8da0047ae242374d49b34695e90a51ad8e2559029986143c SHA512 50148509d71cd0c0bc219d625642b6ae6f35306cb8ecdcc3f571049ccd0902b40c247c729aec10d9ff61b5fa6f999100149837675d1fd97c63d41c5fe261320c +EBUILD borgmatic-1.8.9.ebuild 2114 BLAKE2B 211a365fbe7f4a0caca44b1118348d0ca0b5a63655e79fc2ce710fd203d6c3269505d3bbdb6475897b9faa0fcddfab8995b9b01977cebdfc86a035ff17fca4d7 SHA512 3237f5954d637154e739d3c5d8e39267511b8b3cc69bcf8d7a9ce3e0f49cab4603c41ed59917019532946f7ba659a05ba8a1504a0348fa6d14e11f0cf0d9c2f7 MISC metadata.xml 536 BLAKE2B 5e80422f7eefe88fca9b77830cdbf2a63beb4249afe374d39e961620bea17405e723bc942f2d6f99a5745b3ec3b9580b5e5045e9d533d5374f9fb02dc422faa3 SHA512 ccd19188ccba5f80dd6d12e43a84bcf5db3ca0ff3f7f7a6e42c4971d7a41931221677cfbe24e6f1b1f1f1fb77223e4ccb7dd44e1102beb431765fa9654a4a866 diff --git a/app-backup/borgmatic/borgmatic-1.8.9.ebuild b/app-backup/borgmatic/borgmatic-1.8.9.ebuild new file mode 100644 index 000000000000..09e09f4eea4c --- /dev/null +++ b/app-backup/borgmatic/borgmatic-1.8.9.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 systemd pypi + +DESCRIPTION="Automatically create, prune and verify backups with borgbackup" +HOMEPAGE="https://torsion.org/borgmatic/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +IUSE="apprise" + +REQUIRED_USE="test? ( apprise )" + +# borg is called as an external tool, hence no pythonic stuff +RDEPEND="app-backup/borgbackup + $(python_gen_cond_dep ' + <dev-python/colorama-0.5[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ') + apprise? ( $(python_gen_cond_dep ' + dev-python/apprise[${PYTHON_USEDEP}] + ') )" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}] + ') + )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.13-no_test_coverage.patch + "${FILESDIR}"/${PN}-1.7.14-systemd_service_bin_path.patch +) + +# A fragile test whose only purpose is to make sure the NEWS file +# has been updated for the current version. +EPYTEST_DESELECT=( + tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version +) + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + systemd_dounit sample/systemd/borgmatic.{service,timer} + keepdir /etc/borgmatic +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "To generate a sample configuration file, run:" + elog " ${PN} config generate" + else + local oldver + for oldver in ${REPLACING_VERSIONS}; do + if ver_test "${oldver}" -lt 1.8.0; then + ewarn "Please be warned that ${PN}-1.8.0 has introduced several breaking changes." + ewarn "For details, please see" + ewarn + ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/1.8.0" + ewarn + break + fi + done + fi + elog + elog "Systemd users wishing to periodically run ${PN} can use the provided timer and service units." +} diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest index 442108e6c47e..388a5fe289ca 100644 --- a/app-backup/dar/Manifest +++ b/app-backup/dar/Manifest @@ -1,3 +1,5 @@ DIST dar-2.7.13.tar.gz 2425559 BLAKE2B 321a43b04553505279de6f6b27e332883f4209bbe81e24c418188f028b7ba7a794d4e0f510f2c6a22a57fbdbc0501d4fcf7201aadb8cca3e65c6649bff7cfedf SHA512 e7a4bd89ccefaca1d9251d05c39e80f9861b8154f414cd578ba98c3cf3a9f945738c6225fd007b5e73c2d7c2e4abe547e9a2e2deec2cb7e0ec5860603add64fb +DIST dar-2.7.14.tar.gz 2443548 BLAKE2B a68ad06a2bf53b25a0b393f3e85eef5676382d63bfd86ba77696667786a688e326c118d937cd5dae6b1e78410e40295c67d8ba4677c37f7139bbdd2794c4efeb SHA512 0436c67e0dbd8f5e96e01a0db48a469d80fb81a7c7f37aed98308bd55d60d699b21c755d95fa83891690231fd2510eaa6c6652fb99a1bad9c8210084031391d4 EBUILD dar-2.7.13.ebuild 2313 BLAKE2B a47409dba06c3aba5bb2ec573556877b66db953301ea98aa46cf95944e05e6ff875cbf3c23510de8ec72b5a765532e5b7e0d182ffc7763c2bf8c5a4754622356 SHA512 1be7fcb795263e00291e372193a55a7bb167644e3ef8f1ff098773bbf8255b0cd26a7969df467deffd51d335b6309c21db1e475451355f1d93b7e84f6ee5372e +EBUILD dar-2.7.14.ebuild 2317 BLAKE2B f7178c1934b605461bcd55bdea67f49fd08131571ae7dab97be808072242be5692df39102c222f271a1c61a265db5e9cb5d030fdbd4442dde6c61f573ceefd8f SHA512 fbe4c8f59a92cc786060d74f43445dcfba5f1369e4d7071ef3796d038049544224c29f8279b06763b1507a1ed7090228e49c1c35b56d532ba86a290084009a26 MISC metadata.xml 1180 BLAKE2B d978c1b969e7aeb013862c6b76ceb7b466af7b0a16d334bfbaafcdb49e13b4f07727073ff8a24da0f0422161f48805310b8ed7c0cc97b07190b241ad77cec254 SHA512 f8107b5f81d0d00a1873089b084250c98094625274b9c01f8ca11f6dcfa890278ec89d039849c203ccccc8115d54ee3f9365d9f6afc38cb3411f6292c62c11c0 diff --git a/app-backup/dar/dar-2.7.14.ebuild b/app-backup/dar/dar-2.7.14.ebuild new file mode 100644 index 000000000000..954b248d1209 --- /dev/null +++ b/app-backup/dar/dar-2.7.14.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 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 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 + 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:= ) + xattr? ( sys-apps/attr ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + doc? ( app-text/doxygen ) + nls? ( sys-devel/gettext ) +" + +QA_PKGCONFIG_VERSION="" #862025 - upstream has a different numbering scheme for libdar + +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 !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 +} |