From e68d405c5d712af4387159df07e226217bdda049 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Apr 2022 22:33:41 +0100 Subject: gentoo resync : 06.04.2022 --- app-backup/Manifest.gz | Bin 8542 -> 8540 bytes app-backup/bacula/Manifest | 15 +- app-backup/bacula/bacula-11.0.2.ebuild | 417 ----------- app-backup/bacula/bacula-11.0.3.ebuild | 413 ----------- app-backup/bacula/bacula-11.0.6.ebuild | 413 +++++++++++ app-backup/bacula/bacula-9.6.5.ebuild | 419 ----------- app-backup/bacula/bacula-9.6.6.ebuild | 419 ----------- app-backup/bacula/bacula-9.6.7.ebuild | 419 ----------- .../bacula/files/7.0.2/bacula-7.0.2-depend.patch | 12 - .../files/9.6.3/bacula-9.6.3-fix-static.patch | 63 -- .../files/bacula-9.6.x-fix-race-condition.patch | 15 - app-backup/bareos/Manifest | 6 +- app-backup/bareos/bareos-18.2.12-r1.ebuild | 389 ---------- app-backup/bareos/files/bareos-cmake-rados.patch | 21 - .../bareos-cmake-symlink-default-db-backend.patch | 9 - app-backup/bareos/metadata.xml | 6 - app-backup/restic/Manifest | 10 + app-backup/restic/restic-0.13.0.ebuild | 795 +++++++++++++++++++++ 18 files changed, 1221 insertions(+), 2620 deletions(-) delete mode 100644 app-backup/bacula/bacula-11.0.2.ebuild delete mode 100644 app-backup/bacula/bacula-11.0.3.ebuild create mode 100644 app-backup/bacula/bacula-11.0.6.ebuild delete mode 100644 app-backup/bacula/bacula-9.6.5.ebuild delete mode 100644 app-backup/bacula/bacula-9.6.6.ebuild delete mode 100644 app-backup/bacula/bacula-9.6.7.ebuild delete mode 100644 app-backup/bacula/files/7.0.2/bacula-7.0.2-depend.patch delete mode 100644 app-backup/bacula/files/9.6.3/bacula-9.6.3-fix-static.patch delete mode 100644 app-backup/bacula/files/bacula-9.6.x-fix-race-condition.patch delete mode 100644 app-backup/bareos/bareos-18.2.12-r1.ebuild delete mode 100644 app-backup/bareos/files/bareos-cmake-rados.patch delete mode 100644 app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch create mode 100644 app-backup/restic/restic-0.13.0.ebuild (limited to 'app-backup') diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz index c77e6c0597dd..6b6b638edbbe 100644 Binary files a/app-backup/Manifest.gz and b/app-backup/Manifest.gz differ diff --git a/app-backup/bacula/Manifest b/app-backup/bacula/Manifest index 2d03b9905413..4909728ef91e 100644 --- a/app-backup/bacula/Manifest +++ b/app-backup/bacula/Manifest @@ -1,12 +1,9 @@ AUX 5.2.3/bacula-5.2.3-as-needed.patch 765 BLAKE2B be4e29d48974afd31894535dc89c51094f50344609ed1525c46d39a600778df5b458ce5587500a3455cb6e4b601c24dfdd567ad1cd264d108b9852d34e47e64e SHA512 5e303c5c53d6cef8e875d32811d23a9b6f354c394a6dce11646ad3f4c827b03cf1bd3c0267ff8873e1a176eb0b33314b712d8c9dc3c4c4ba24306d80b3bae4c7 AUX 5.2.3/bacula-5.2.3-openssl-1.patch 863 BLAKE2B 32d49a53c8f639e762bd964f4fa1426952ccb2fd595717e015ee9c060e182d9189cf1749cb5e9d90d8712a0b1c3800ad98ba175e48935e7b6d172e6474719456 SHA512 729f01b5e88230561482cbe87fd185707be28ba92252e54a5111f0154f7d3df9cec9e31ee932bbdb34fe8b5e212cf43dc74d46460f68579e5f953ffe565a7a2c -AUX 7.0.2/bacula-7.0.2-depend.patch 599 BLAKE2B be676329434260e65f7dcbefbfa8d9a04998856ab6743e5f3577e9e316346a22eed45a02960ed8590c946e079ba1e9d814061f67d6ef25c0a72f8bcafe38a48e SHA512 0474e077d89c5b1552f8b1929209db380ac67ca29add78987ad1593b139647a2d1822a0d89c3b117ca93024bffd74da7da5a5f23bc5095492c0cc9e4eddb24f6 AUX 7.2.0/bacula-7.2.0-doc.patch 435 BLAKE2B 65d528b337f9a3e2eaf456b6dad37ddc59bc1a3f6e54208899346a6bc285fe2b19a464b39cc0c9439c4266baf98c1b3a06afd235b3ee7c88373d3c890163e01a SHA512 27d2839658e3471487dce023c806261e5b5d03212f12eab75885b9b61eb22e57c96e85c07a5f81c812974963904ab81b6ce15abf5381647bd2188abd14139b34 AUX 9.0.2/bacula-9.0.2-lib-search-path.patch 1431 BLAKE2B f04bbf695a926424092dd974994967eefcd48407f2de43b9e94bff25403e66f4a49cde08d667e3b5fc4fb9f8d273a786c3422325db3f589278d16f136d4a9a0c SHA512 3863102d2f8db4158dede306b07297da6550bbad1c77aea49a75de412a7f4630216ef2ae28fc51ffa8d8f9c373510e58982f28e32fdbb142a3551eef7f112b7d AUX 9.0.6/bacula-9.0.6-bat-pro.patch 667 BLAKE2B b8987c244025f029a182d6b44f30e0e0a6835b9f6cadb6b43b2b55ea33113e20c20b6a367d965ea12358597e9807c79846e45571b31f9b66dc3ad83265fed4e7 SHA512 d521759cad65ef73fb674cd6b58f9540ef6e86842bcd45ece4730f71a408076b38faea2088bf6f2993fed9a88d727ff2ff8c3e3619e27fcaa1d5afe4506640cf -AUX 9.6.3/bacula-9.6.3-fix-static.patch 3731 BLAKE2B 0fe8e289a9ef38f79d4b2dacb5503a245e5fb871771b4fce800d9196de3ccce3edf596e013ee313f19fe3f575ff4a23a1bc97decb38d4dff08e2ac38a154f610 SHA512 ec1004d63df94eb9854c7c8ab8699645ac58051c02b99152224f2274767b2a329231fa0b8bf399545c4b9e7263b303a96c1e3401308a37d857ab2480fc3c5290 AUX bacula-11.0.2-fix-static.patch 3752 BLAKE2B c910fa044c79f0f50abf5ac86b9f34489cd1bab599394449ec8cf27d2dbb65c36bed77fec80dfccc28c0b1b27bfaafee4127fdf90e77d044a2fed7351973f432 SHA512 63505e9c571b5fd034754da87052441f8438ca0efe4511406eaf142891bd09128c8e478c536f114c4823c53c9f09995bd734dc7efe3e10bdfda337d78c4667bd -AUX bacula-9.6.x-fix-race-condition.patch 657 BLAKE2B 8d5230145144a9ae737793b54f2075421e13fc9d391266fd2c976c867ba70806377ac9c64634a3e0ddd937d4287129e5ac1d714f891ac774f25ea41fd89c3b25 SHA512 ef8ff994c5184faa7a853321628e232242e57651a54857fb524bf24b012e39ab36d3367e2e59d4b17095140733ff6f4dcf3bb40b4a7cfb3a650edbbf2d79dc98 AUX bacula-dir.confd 629 BLAKE2B 85eb7131fe1735ea3af0075b26c88408a11ce7653b92e27198d6bbfdbe2bf4d4e157eb6685f2cac79a8de1e4d24d9c4eb25f9d64b1b956162718fe09633018c4 SHA512 85ed5317313721a7b3776a257c204e0ac45a5221c6bd0b5886944cbd1e4829fe146e7af52cdc604cbf5e3d8722c955da40cbf989dc9ea7466653c98bf8c7cfdf AUX bacula-fd.confd 241 BLAKE2B fe41e6376e46e674ef1aa32f02e2dee9721189fb56c4d25c2f49bd6bb0b9c8bcc811cd58db62b9b8bffd80514a24e9d60385a395dfdb93627d473ba7bbf05131 SHA512 0e5a21d8ed3cd39135c8db5b8c59e615161848aaca582851d3599fe0e6ad4f47c04fede13cdc648a2cbdc032de6ca00aa954111bbb2930eb006e7e0984cb882f AUX bacula-fix-sonames.patch 1041 BLAKE2B 9b2b91cf3c281c1899bf545f02b4a48723bcba05f0305e531bdefb0ca822e805979e67d1d2f5ac949248d1e976126236d31c885d4e911e78c24d4ed013c9792f SHA512 0b7a78915ff789988c9fa2bc8fcfcd3d76d3cb8350720134563ece63a97162db273c7d61eee45365c4de8b94b409a3cd4576d6b0239853c2a0d3a9dc8ebf888f @@ -14,16 +11,8 @@ AUX bacula-sd.confd 391 BLAKE2B 922ebff1772470f611661b03e6216d3bf11a09e9e552e5df AUX newscripts/bacula-dir.initd 315 BLAKE2B e2bbd011773307a24044a761f17ec7079e5c7cdbac074d7fc064be554bd346fce2d257a789b6b8126eb20460bc7ea80afbdb691dfc012461d6aa1eb14298e8ce SHA512 cbb52bb584e8639a12930491bb5fdd88c279e3ac79a2460c1ceb5d2b9ca4cd4b4fb5be460b8a366ba21d2056befedcc6298468834648d47a5daac814733685f9 AUX newscripts/bacula-fd.initd 253 BLAKE2B 38b87d2868f7cc0afb3270f81445832bdf876d20919bf3f5a779595507e50185457464371878b3e18293302a0c1016bce3aca7e432837397bde64a0e6188be8a SHA512 8230bde8cbfdf2fc4892fb90891a85e36b2be42e4f2ea2140248f08f22bcfe3f1d8c3b419347a9b40143c3f2b4c75d7834cbadb3ed8b8372462580ffcf268bf7 AUX newscripts/bacula-sd.initd 252 BLAKE2B c27f6635ca72c96fc74d1d27c252934ca516cf768a5fec5e043a19d14e7fa67ccfbd6bbbf5da8ee6b718ca7f232565b23216f8ef3adc372681ea4f6bf763f46e SHA512 f4e1252d3e106ebd842cb23c6994cbe29e48e07cff15726479628d1cc5695bd45a0102652203316efcf8a3b3454ad2ca08ee7c6a673880064d15f96c43c395d4 -DIST bacula-11.0.2.tar.gz 5982176 BLAKE2B 2da10e48b44ada189fb5d9ed48bac41232106721859df823309e7be63d16786ebaf95052d929ef67895fb993d019153d736125ec4fe5949591dd7dced0ee9835 SHA512 7e90352036a544b6a508547ae38660ca5d59b0bfd17126f346652e5c9977367ad9fe972e3f2823c10e7f8ffdcd1623ef24e8a82de030041762f0c0e09783e65c -DIST bacula-11.0.3.tar.gz 5982505 BLAKE2B a09a4829cb4eeb6cfe3b082efcc45f7704ad7da0f882b746a2f4aeeb3233775ccc89d7924442970e9609c449fee96466b33286e7c6f700cbab7f2013f0267f53 SHA512 753ef3f53079fe36e69791a3ff0c4230d611d86257c5ecbc28c2ec593e950b76dc9fedf3525c196b0742cc029d0a8023d31505c83d8d42ff3f48c3273b77c540 DIST bacula-11.0.5.tar.gz 5982886 BLAKE2B 99e9c616c29ab6e0064b336e4ad9d0caf96aee9c51009e04b44bfa4f5f3f8d57de93d8bf6c06f60b01f50838fd8cba4500117245b06e82f42a14a6de507a27d1 SHA512 56dd3208f9774f637fbec2781a847d5e7899ceb4e54178c54c9283eba3fcd83b1579fa690aa380bc6aba363a465151f8e709ce728a582e2518ba715c6179af17 -DIST bacula-9.6.5.tar.gz 4252526 BLAKE2B 48bfc9f45db10949fb4d7396c2ca15ed17dad3bd6ab9c6ab5cd0b3a80d1df0d37868a8671c2ead9b00fe89da91d43e945ca2818016f09502aff1a2fd3a5d455d SHA512 4018e242b2131c2416cd16ae3530c9c848dc8e88dd6532136c699a50fcbf39a574ffec8ef13bc5d7a9673d057b51cf1d1be80667e89abe0e18ec79d04b0edd70 -DIST bacula-9.6.6.tar.gz 4253303 BLAKE2B 131353e24265f64dd3c4e0632bee93d2a170d3ed88626ab80f1804e7a218eb86c5ac7507f4a4fe5ef7d4472a1c90ef0f45e1a6ad0a4a65a1fa8f1a8f63287e3f SHA512 1b669bbf1e54f40e0426603601a4751c42101985de901f951a68add7644971d48615b3089c65fafd444c762c3d82b67cafdcae9636e8a19af8fd94ae631c315a -DIST bacula-9.6.7.tar.gz 4168102 BLAKE2B 8f5d5cbe8c3ce62105624138e9dfbb9f19eb0721bb2e377c07ef2cd3d4a8442641b4758b00b3050d2352dde31205658963782d2bec3e87242dac7b4b6a4d659c SHA512 27551faa2e4b13c6c2b9a2500f1253dfa5ee84929013491a7bf512d965d655c5af78b08201090474bc9b29827ca0a5c1c5a23a55712a1f739f37de75449cfd4d -EBUILD bacula-11.0.2.ebuild 11886 BLAKE2B 9b75fcb4f5a5251e9428e5406b64c4d16691f250df5e8a73464a6fad0d1e8dd92114f9f304e9761c2dc01a71abccb7ca4cec33a6544d63fcbb72c53fae87b332 SHA512 198760cb7179adc14c740d4e26274acf543041fa7fc4992f8560ae4222a71e37f2ff20134ebf9d4009598e894a213c935af878b728c2eb7436664f29bde61614 -EBUILD bacula-11.0.3.ebuild 11791 BLAKE2B 52f1c30b3ed65336004dfcb3defcc1f40ab13fcff9448e2309835177ec953849f38b7b8ed417d2796c03075d7bdcd07c955f756cbb262d08528edbf716eff73f SHA512 deb47dc53d3bd187122aac3ae8c6eb0d206ae85776b838881d7cd27ca2c1d6eba029d435085e40188d7e033497d6bf027ad398ba495ffb3e875167a72581521c +DIST bacula-11.0.6.tar.gz 5986763 BLAKE2B 60b1c1f4de3cef7470f0f33aa9d361393cee176222bb911d93bac108b8e3a6e38d73acdcc8b773a06d8820039d2e12a4216a5773a4fab4a9c35095607bd6b7c6 SHA512 44abc9e3598f3d3beea3e85cca0867e4b9b77c4e7a17cb1902a5e952b049fb2b15f8f6319436fce1dd92ad52d26f04d7225dd052372ecc30aa55fb668a639149 EBUILD bacula-11.0.5.ebuild 11789 BLAKE2B 24d06c8bbd5f9dc53514d268f8c7a26548053c072360adbb1c7e26f51bf5313252fbc37cc3100b2bf9a0e4da27d28a76049ed42b3fc1d584798a69c8ec7e0960 SHA512 55557589d37717e3cd20e8a096bb110eb92a6ac87114508a52d284a1225ecd543a1004e8b52a2bb8d3665a10aee4ee171168811ff8e7ca64d0db3ca6d25aa291 -EBUILD bacula-9.6.5.ebuild 12034 BLAKE2B 2ac2577e6b9ba0f9d38f7f830f8589eeb5146a77fa90de5f5109d5cd17cbf3a828e6938e33c201f10414f4ed234ba6770627400e80e10d4300e11b0f79b0bee6 SHA512 f37bfa3d7e575705da46b4f76325e37641c343762ee53a678a026731a000833b0fcff893d6dd60ddda3e545f3f99390ebcb89b51df557bdbaaeef7460e01e426 -EBUILD bacula-9.6.6.ebuild 12036 BLAKE2B bb471939370d44d6124aecdf194b07635650dd38c1aa22cb90cbba48da310ce4c04bb5b6f9d0e8c7814f1f0efb46b37a25a81460a3fca3195f534aad0af75b28 SHA512 a436a73aa97e3491a95c27c7e2ad7f9f20f12a0b408ecb64f51c82f78d8221b2d6adfccc61054104ce6afb5432b25cef80a2735ea55adf61c0611738a8ae7838 -EBUILD bacula-9.6.7.ebuild 12036 BLAKE2B bb471939370d44d6124aecdf194b07635650dd38c1aa22cb90cbba48da310ce4c04bb5b6f9d0e8c7814f1f0efb46b37a25a81460a3fca3195f534aad0af75b28 SHA512 a436a73aa97e3491a95c27c7e2ad7f9f20f12a0b408ecb64f51c82f78d8221b2d6adfccc61054104ce6afb5432b25cef80a2735ea55adf61c0611738a8ae7838 +EBUILD bacula-11.0.6.ebuild 11791 BLAKE2B 911f6f854ecf518e0fe87eef7d4f8ce5d11c29288b044321e0db2d39f97b666e9b81de48a066a2fc5b76a3f921ad575891f7ab126cc6265e16040714e99f108f SHA512 0b06c0bd480be35dd0ec861bae349660877bf646bf593f724ede70681b9246cf9afdd7ba86057101aa1c2a77c7fa4efbf250e1f162f309b3409fe43fb5385c47 MISC metadata.xml 697 BLAKE2B 6fd293a1009c2d461a43d404eff2883443f4e2a49d862120f4c9477f7fae8f2462be4786a7e8f6216515373e881d071b433835b9fb8da3b2f30c0701ef4a7ced SHA512 6d0077158112c26232370f11ec0d00ccb14376ce2649cc8ef79d3f99332bbe1bf18968a42e9c20d82934be3f9b49d49cf1f848e4e837143f8a5914fade6b14f7 diff --git a/app-backup/bacula/bacula-11.0.2.ebuild b/app-backup/bacula/bacula-11.0.2.ebuild deleted file mode 100644 index 129e789ee79d..000000000000 --- a/app-backup/bacula/bacula-11.0.2.ebuild +++ /dev/null @@ -1,417 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop libtool qmake-utils systemd - -MY_PV=${PV/_beta/-b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="https://www.bacula.org/" -SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" - -DEPEND=" - !bacula-clientonly? ( - !bacula-nodir? ( virtual/mta ) - postgres? ( dev-db/postgresql:=[threads] ) - mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) - sqlite? ( dev-db/sqlite:3 ) - ) - dev-libs/gmp:0 - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtsvg:5 - x11-libs/qwt:6 - ) - logwatch? ( sys-apps/logwatch ) - readline? ( sys-libs/readline:0 ) - static? ( - dev-libs/lzo[static-libs] - sys-libs/ncurses:=[static-libs] - sys-libs/zlib[static-libs] - acl? ( virtual/acl[static-libs(+)] ) - ssl? ( - dev-libs/openssl:0=[static-libs] - ) - ) - !static? ( - dev-libs/lzo - sys-libs/ncurses:= - sys-libs/zlib - acl? ( virtual/acl ) - ssl? ( - dev-libs/openssl:0= - ) - ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -RDEPEND="${DEPEND} - acct-user/bacula - acct-group/bacula - !bacula-clientonly? ( - !bacula-nosd? ( - app-arch/mt-st - sys-block/mtx - ) - ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) -" - -REQUIRED_USE=" - !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) - static? ( bacula-clientonly ) -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - #XOR and !bacula-clientonly controlled by REQUIRED_USE - use mysql && export mydbtype="mysql" - use postgres && export mydbtype="postgresql" - use sqlite && export mydbtype="sqlite3" - - if use bacula-clientonly && use static && use qt5; then - ewarn - ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." - ewarn - fi -} - -src_prepare() { - # adjusts default configuration files for several binaries - # to /etc/bacula/ instead of ./ - pushd src >&/dev/null || die - for f in console/console.c dird/dird.c filed/filed.c \ - stored/bcopy.c stored/bextract.c stored/bls.c \ - stored/bscan.c stored/btape.c stored/stored.c \ - qt-console/main.cpp; do - sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ - || die "sed on ${f} failed" - done - popd >&/dev/null || die - - # bug 466688 drop deprecated categories from Desktop file - sed -i -e 's/Application;//' scripts/bat.desktop.in || die - - # bug 466690 Use CXXFLAGS instead of CFLAGS - sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die - - # drop automatic install of unneeded documentation (for bug 356499) - eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch - - # bug #310087 - eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch - - # bug #311161 - eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch - - # bat needs to respect LDFLAGS and CFLAGS - eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch - - # bug #328701 - eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch - - eapply -p0 "${FILESDIR}"/${P}-fix-static.patch - - # fix soname in libbaccat.so bug #602952 - eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" - - # do not strip binaries - sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die - sed -i -e "s/strip /# strip /" src/console/Makefile.in || die - - # fix file not found error during make depend - # drop not needed tool - rm src/tools/bsparse.c || die - - eapply_user - - # Fix systemd unit files: - # bug 497748 - sed -i -e '/Requires/d' platforms/systemd/*.service.in || die - sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die - # bug 504370 - sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die - # bug 584442 and 504368 - sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die - - # build 'bat' for Qt5 - export QMAKE="$(qt5_get_bindir)"/qmake - - # adapt to >=Qt-5.9 (see bug #644566) - # qmake needs an existing target file to generate install instructions - sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ - src/qt-console/bat.pro.in || die - mkdir src/qt-console/.libs || die - touch src/qt-console/.libs/bat || die - chmod 755 src/qt-console/.libs/bat || die - - # Don't let program install man pages directly - sed -i -e 's/ manpages//' Makefile.in || die - - # correct installation for plugins to mode 0755 (bug #725946) - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die - - # fix bundled libtool (bug 466696) - # But first move directory with M4 macros out of the way. - # It is only needed by autoconf and gives errors during elibtoolize. - mv autoconf/libtool autoconf/libtool1 || die - elibtoolize -} - -src_configure() { - local myconf='' - - if use bacula-clientonly; then - myconf="${myconf} \ - $(use_enable bacula-clientonly client-only) \ - $(use_enable !static libtool) \ - $(use_enable static static-cons) \ - $(use_enable static static-fd)" - else - myconf="${myconf} \ - $(use_enable !bacula-nodir build-dird) \ - $(use_enable !bacula-nosd build-stored)" - # bug #311099 - # database support needed by dir-only *and* sd-only - # build as well (for building bscan, btape, etc.) - myconf="${myconf} - --with-${mydbtype}" - fi - - # do not build bat if 'static' clientonly - if ! use bacula-clientonly || ! use static; then - myconf="${myconf} \ - $(use_enable qt5 bat)" - fi - - myconf="${myconf} \ - $(use_with X x) \ - $(use_enable batch-insert) \ - $(use_enable !readline conio) \ - $(use_enable readline) \ - $(use_with ssl openssl) \ - $(use_enable ipv6) \ - $(use_enable acl) \ - $(use_with tcpd tcp-wrappers)" - - econf \ - --with-pid-dir=/var/run \ - --sysconfdir=/etc/bacula \ - --with-archivedir=/var/lib/bacula/tmp \ - --with-subsys-dir=/var/lock/subsys \ - --with-working-dir=/var/lib/bacula \ - --with-logdir=/var/lib/bacula \ - --with-scriptdir=/usr/libexec/bacula \ - --with-systemd=$(systemd_get_systemunitdir) \ - --with-dir-user=bacula \ - --with-dir-group=bacula \ - --with-sd-user=root \ - --with-sd-group=bacula \ - --with-fd-user=root \ - --with-fd-group=bacula \ - --enable-smartalloc \ - --disable-afs \ - --without-s3 \ - --host=${CHOST} \ - ${myconf} -} - -src_compile() { - # Make build log verbose (bug #447806) - emake NO_ECHO="" -} - -src_install() { - emake DESTDIR="${D}" install - doicon scripts/bacula.png - - # install bat icon and desktop file when enabled - # (for some reason ./configure doesn't pick this up) - if use qt5 && ! use static ; then - doicon src/qt-console/images/bat_icon.png - domenu scripts/bat.desktop - fi - - # remove some scripts we don't need at all - rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql} - - # rename statically linked apps - if use bacula-clientonly && use static ; then - pushd "${D}"/usr/sbin || die - mv static-bacula-fd bacula-fd || die - mv static-bconsole bconsole || die - popd || die - fi - - # extra files which 'make install' doesn't cover - if ! use bacula-clientonly; then - # the database update scripts - diropts -m0750 - insinto /usr/libexec/bacula/updatedb - insopts -m0754 - doins "${S}"/updatedb/* - fperms 0640 /usr/libexec/bacula/updatedb/README - - # the logrotate configuration - # (now unconditional wrt bug #258187) - diropts -m0755 - insinto /etc/logrotate.d - insopts -m0644 - newins "${S}"/scripts/logrotate bacula - - # the logwatch scripts - if use logwatch; then - diropts -m0750 - dodir /usr/share/logwatch/scripts/services - dodir /usr/share/logwatch/scripts/shared - dodir /etc/logwatch/conf/logfiles - dodir /etc/logwatch/conf/services - pushd "${S}"/scripts/logwatch >&/dev/null || die - emake DESTDIR="${D}" install - popd >&/dev/null || die - fi - fi - - # Install all man pages - doman "${S}"/manpages/*.[18] - - if ! use qt5; then - rm -vf "${D}"/usr/share/man/man1/bat.1* - fi - rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* - - if use bacula-clientonly || use bacula-nodir ; then - rm -vf "${D}"/usr/libexec/bacula/create_*_database - rm -vf "${D}"/usr/libexec/bacula/drop_*_database - rm -vf "${D}"/usr/libexec/bacula/make_*_tables - rm -vf "${D}"/usr/libexec/bacula/update_*_tables - rm -vf "${D}"/usr/libexec/bacula/drop_*_tables - rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges - rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup - fi - if use bacula-clientonly || use bacula-nosd; then - rm -vf "${D}"/usr/libexec/bacula/disk-changer - rm -vf "${D}"/usr/libexec/bacula/mtx-changer - rm -vf "${D}"/usr/libexec/bacula/dvd-handler - fi - - # documentation - dodoc ChangeLog ReleaseNotes SUPPORT - - # install examples (bug #457504) - if use examples; then - docinto examples/ - dodoc -r examples/* - fi - - # vim-files - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins scripts/bacula.vim - insinto /usr/share/vim/vimfiles/ftdetect - newins scripts/filetype.vim bacula_ft.vim - fi - - # setup init scripts - myscripts="bacula-fd" - if ! use bacula-clientonly; then - if ! use bacula-nodir; then - myscripts="${myscripts} bacula-dir" - fi - if ! use bacula-nosd; then - myscripts="${myscripts} bacula-sd" - fi - fi - for script in ${myscripts}; do - # copy over init script and config to a temporary location - # so we can modify them as needed - cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" - cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" - - # now set the database dependancy for the director init script - case "${script}" in - bacula-dir) - case "${mydbtype}" in - sqlite3) - # sqlite databases don't have a daemon - sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die - ;; - *) - # all other databases have daemons - sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die - ;; - esac - ;; - *) - ;; - esac - - # install init script and config - newinitd "${T}/${script}".initd "${script}" - newconfd "${T}/${script}".confd "${script}" - done - - systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service - - # make sure the working directory exists - diropts -m0750 - keepdir /var/lib/bacula - - # make sure bacula group can execute bacula libexec scripts - fowners -R root:bacula /usr/libexec/bacula -} - -pkg_postinst() { - if use bacula-clientonly; then - fowners root:bacula /var/lib/bacula - else - fowners bacula:bacula /var/lib/bacula - fi - - einfo - einfo "A group 'bacula' has been created. Any users you add to this" - einfo "group have access to files created by the daemons." - einfo - einfo "A user 'bacula' has been created. Please see the bacula manual" - einfo "for information about running bacula as a non-root user." - einfo - - if ! use bacula-clientonly && ! use bacula-nodir; then - einfo - einfo "If this is a new install, you must create the ${mydbtype} databases with:" - einfo " /usr/libexec/bacula/create_${mydbtype}_database" - einfo " /usr/libexec/bacula/make_${mydbtype}_tables" - einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" - einfo - - ewarn "ATTENTION!" - ewarn "The format of the database may have changed." - ewarn "If you just upgraded from a version below 9.0.0 you must run" - ewarn "'update_bacula_tables' now." - ewarn "Make sure to have a backup of your catalog before." - ewarn - fi - - if use sqlite; then - einfo - einfo "Be aware that Bacula does not officially support SQLite database anymore." - einfo "Best use it only for a client-only installation. See Bug #445540." - einfo - fi - - einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" - einfo "you have to enable 'USE=qt5'." - einfo - einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" - einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." -} diff --git a/app-backup/bacula/bacula-11.0.3.ebuild b/app-backup/bacula/bacula-11.0.3.ebuild deleted file mode 100644 index b2738be8a8a5..000000000000 --- a/app-backup/bacula/bacula-11.0.3.ebuild +++ /dev/null @@ -1,413 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop libtool qmake-utils systemd - -MY_PV=${PV/_beta/-b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="https://www.bacula.org/" -SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" - -DEPEND=" - !bacula-clientonly? ( - !bacula-nodir? ( virtual/mta ) - postgres? ( dev-db/postgresql:=[threads] ) - mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) - sqlite? ( dev-db/sqlite:3 ) - ) - dev-libs/gmp:0 - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtsvg:5 - x11-libs/qwt:6 - ) - logwatch? ( sys-apps/logwatch ) - readline? ( sys-libs/readline:0 ) - static? ( - dev-libs/lzo[static-libs] - sys-libs/ncurses:=[static-libs] - sys-libs/zlib[static-libs] - acl? ( virtual/acl[static-libs(+)] ) - ssl? ( - dev-libs/openssl:0=[static-libs] - ) - ) - !static? ( - dev-libs/lzo - sys-libs/ncurses:= - sys-libs/zlib - acl? ( virtual/acl ) - ssl? ( - dev-libs/openssl:0= - ) - ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -RDEPEND="${DEPEND} - acct-user/bacula - acct-group/bacula - !bacula-clientonly? ( - !bacula-nosd? ( - app-arch/mt-st - sys-block/mtx - ) - ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) -" - -REQUIRED_USE=" - !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) - static? ( bacula-clientonly ) -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - #XOR and !bacula-clientonly controlled by REQUIRED_USE - use mysql && export mydbtype="mysql" - use postgres && export mydbtype="postgresql" - use sqlite && export mydbtype="sqlite3" - - if use bacula-clientonly && use static && use qt5; then - ewarn - ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." - ewarn - fi -} - -src_prepare() { - # adjusts default configuration files for several binaries - # to /etc/bacula/ instead of ./ - pushd src >&/dev/null || die - for f in console/console.c dird/dird.c filed/filed.c \ - stored/bcopy.c stored/bextract.c stored/bls.c \ - stored/bscan.c stored/btape.c stored/stored.c \ - qt-console/main.cpp; do - sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ - || die "sed on ${f} failed" - done - popd >&/dev/null || die - - # bug 466688 drop deprecated categories from Desktop file - sed -i -e 's/Application;//' scripts/bat.desktop.in || die - - # bug 466690 Use CXXFLAGS instead of CFLAGS - sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die - - # drop automatic install of unneeded documentation (for bug 356499) - eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch - - # bug #310087 - eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch - - # bug #311161 - eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch - - # bat needs to respect LDFLAGS and CFLAGS - eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch - - # bug #328701 - eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch - - eapply -p0 "${FILESDIR}"/${PN}-11.0.2-fix-static.patch - - # fix soname in libbaccat.so bug #602952 - eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" - - # do not strip binaries - sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die - sed -i -e "s/strip /# strip /" src/console/Makefile.in || die - - eapply_user - - # Fix systemd unit files: - # bug 497748 - sed -i -e '/Requires/d' platforms/systemd/*.service.in || die - sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die - # bug 504370 - sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die - # bug 584442 and 504368 - sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die - - # build 'bat' for Qt5 - export QMAKE="$(qt5_get_bindir)"/qmake - - # adapt to >=Qt-5.9 (see bug #644566) - # qmake needs an existing target file to generate install instructions - sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ - src/qt-console/bat.pro.in || die - mkdir src/qt-console/.libs || die - touch src/qt-console/.libs/bat || die - chmod 755 src/qt-console/.libs/bat || die - - # Don't let program install man pages directly - sed -i -e 's/ manpages//' Makefile.in || die - - # correct installation for plugins to mode 0755 (bug #725946) - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die - - # fix bundled libtool (bug 466696) - # But first move directory with M4 macros out of the way. - # It is only needed by autoconf and gives errors during elibtoolize. - mv autoconf/libtool autoconf/libtool1 || die - elibtoolize -} - -src_configure() { - local myconf='' - - if use bacula-clientonly; then - myconf="${myconf} \ - $(use_enable bacula-clientonly client-only) \ - $(use_enable !static libtool) \ - $(use_enable static static-cons) \ - $(use_enable static static-fd)" - else - myconf="${myconf} \ - $(use_enable !bacula-nodir build-dird) \ - $(use_enable !bacula-nosd build-stored)" - # bug #311099 - # database support needed by dir-only *and* sd-only - # build as well (for building bscan, btape, etc.) - myconf="${myconf} - --with-${mydbtype}" - fi - - # do not build bat if 'static' clientonly - if ! use bacula-clientonly || ! use static; then - myconf="${myconf} \ - $(use_enable qt5 bat)" - fi - - myconf="${myconf} \ - $(use_with X x) \ - $(use_enable batch-insert) \ - $(use_enable !readline conio) \ - $(use_enable readline) \ - $(use_with ssl openssl) \ - $(use_enable ipv6) \ - $(use_enable acl) \ - $(use_with tcpd tcp-wrappers)" - - econf \ - --with-pid-dir=/var/run \ - --sysconfdir=/etc/bacula \ - --with-archivedir=/var/lib/bacula/tmp \ - --with-subsys-dir=/var/lock/subsys \ - --with-working-dir=/var/lib/bacula \ - --with-logdir=/var/lib/bacula \ - --with-scriptdir=/usr/libexec/bacula \ - --with-systemd=$(systemd_get_systemunitdir) \ - --with-dir-user=bacula \ - --with-dir-group=bacula \ - --with-sd-user=root \ - --with-sd-group=bacula \ - --with-fd-user=root \ - --with-fd-group=bacula \ - --enable-smartalloc \ - --disable-afs \ - --without-s3 \ - --host=${CHOST} \ - ${myconf} -} - -src_compile() { - # Make build log verbose (bug #447806) - emake NO_ECHO="" -} - -src_install() { - emake DESTDIR="${D}" install - doicon scripts/bacula.png - - # install bat icon and desktop file when enabled - # (for some reason ./configure doesn't pick this up) - if use qt5 && ! use static ; then - doicon src/qt-console/images/bat_icon.png - domenu scripts/bat.desktop - fi - - # remove some scripts we don't need at all - rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql} - - # rename statically linked apps - if use bacula-clientonly && use static ; then - pushd "${D}"/usr/sbin || die - mv static-bacula-fd bacula-fd || die - mv static-bconsole bconsole || die - popd || die - fi - - # extra files which 'make install' doesn't cover - if ! use bacula-clientonly; then - # the database update scripts - diropts -m0750 - insinto /usr/libexec/bacula/updatedb - insopts -m0754 - doins "${S}"/updatedb/* - fperms 0640 /usr/libexec/bacula/updatedb/README - - # the logrotate configuration - # (now unconditional wrt bug #258187) - diropts -m0755 - insinto /etc/logrotate.d - insopts -m0644 - newins "${S}"/scripts/logrotate bacula - - # the logwatch scripts - if use logwatch; then - diropts -m0750 - dodir /usr/share/logwatch/scripts/services - dodir /usr/share/logwatch/scripts/shared - dodir /etc/logwatch/conf/logfiles - dodir /etc/logwatch/conf/services - pushd "${S}"/scripts/logwatch >&/dev/null || die - emake DESTDIR="${D}" install - popd >&/dev/null || die - fi - fi - - # Install all man pages - doman "${S}"/manpages/*.[18] - - if ! use qt5; then - rm -vf "${D}"/usr/share/man/man1/bat.1* - fi - rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* - - if use bacula-clientonly || use bacula-nodir ; then - rm -vf "${D}"/usr/libexec/bacula/create_*_database - rm -vf "${D}"/usr/libexec/bacula/drop_*_database - rm -vf "${D}"/usr/libexec/bacula/make_*_tables - rm -vf "${D}"/usr/libexec/bacula/update_*_tables - rm -vf "${D}"/usr/libexec/bacula/drop_*_tables - rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges - rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup - fi - if use bacula-clientonly || use bacula-nosd; then - rm -vf "${D}"/usr/libexec/bacula/disk-changer - rm -vf "${D}"/usr/libexec/bacula/mtx-changer - rm -vf "${D}"/usr/libexec/bacula/dvd-handler - fi - - # documentation - dodoc ChangeLog ReleaseNotes SUPPORT - - # install examples (bug #457504) - if use examples; then - docinto examples/ - dodoc -r examples/* - fi - - # vim-files - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins scripts/bacula.vim - insinto /usr/share/vim/vimfiles/ftdetect - newins scripts/filetype.vim bacula_ft.vim - fi - - # setup init scripts - myscripts="bacula-fd" - if ! use bacula-clientonly; then - if ! use bacula-nodir; then - myscripts="${myscripts} bacula-dir" - fi - if ! use bacula-nosd; then - myscripts="${myscripts} bacula-sd" - fi - fi - for script in ${myscripts}; do - # copy over init script and config to a temporary location - # so we can modify them as needed - cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" - cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" - - # now set the database dependancy for the director init script - case "${script}" in - bacula-dir) - case "${mydbtype}" in - sqlite3) - # sqlite databases don't have a daemon - sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die - ;; - *) - # all other databases have daemons - sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die - ;; - esac - ;; - *) - ;; - esac - - # install init script and config - newinitd "${T}/${script}".initd "${script}" - newconfd "${T}/${script}".confd "${script}" - done - - systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service - - # make sure the working directory exists - diropts -m0750 - keepdir /var/lib/bacula - - # make sure bacula group can execute bacula libexec scripts - fowners -R root:bacula /usr/libexec/bacula -} - -pkg_postinst() { - if use bacula-clientonly; then - fowners root:bacula /var/lib/bacula - else - fowners bacula:bacula /var/lib/bacula - fi - - einfo - einfo "A group 'bacula' has been created. Any users you add to this" - einfo "group have access to files created by the daemons." - einfo - einfo "A user 'bacula' has been created. Please see the bacula manual" - einfo "for information about running bacula as a non-root user." - einfo - - if ! use bacula-clientonly && ! use bacula-nodir; then - einfo - einfo "If this is a new install, you must create the ${mydbtype} databases with:" - einfo " /usr/libexec/bacula/create_${mydbtype}_database" - einfo " /usr/libexec/bacula/make_${mydbtype}_tables" - einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" - einfo - - ewarn "ATTENTION!" - ewarn "The format of the database may have changed." - ewarn "If you just upgraded from a version below 9.0.0 you must run" - ewarn "'update_bacula_tables' now." - ewarn "Make sure to have a backup of your catalog before." - ewarn - fi - - if use sqlite; then - einfo - einfo "Be aware that Bacula does not officially support SQLite database anymore." - einfo "Best use it only for a client-only installation. See Bug #445540." - einfo - fi - - einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" - einfo "you have to enable 'USE=qt5'." - einfo - einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" - einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." -} diff --git a/app-backup/bacula/bacula-11.0.6.ebuild b/app-backup/bacula/bacula-11.0.6.ebuild new file mode 100644 index 000000000000..280ae3cb775c --- /dev/null +++ b/app-backup/bacula/bacula-11.0.6.ebuild @@ -0,0 +1,413 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop libtool qmake-utils systemd + +MY_PV=${PV/_beta/-b} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Featureful client/server network backup suite" +HOMEPAGE="https://www.bacula.org/" +SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" + +DEPEND=" + !bacula-clientonly? ( + !bacula-nodir? ( virtual/mta ) + postgres? ( dev-db/postgresql:=[threads] ) + mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) + sqlite? ( dev-db/sqlite:3 ) + ) + dev-libs/gmp:0 + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtsvg:5 + x11-libs/qwt:6 + ) + logwatch? ( sys-apps/logwatch ) + readline? ( sys-libs/readline:0 ) + static? ( + dev-libs/lzo[static-libs] + sys-libs/ncurses:=[static-libs] + sys-libs/zlib[static-libs] + acl? ( virtual/acl[static-libs(+)] ) + ssl? ( + dev-libs/openssl:0=[static-libs] + ) + ) + !static? ( + dev-libs/lzo + sys-libs/ncurses:= + sys-libs/zlib + acl? ( virtual/acl ) + ssl? ( + dev-libs/openssl:0= + ) + ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) +" +RDEPEND="${DEPEND} + acct-user/bacula + acct-group/bacula + !bacula-clientonly? ( + !bacula-nosd? ( + app-arch/mt-st + sys-block/mtx + ) + ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +REQUIRED_USE=" + !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) + static? ( bacula-clientonly ) +" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + #XOR and !bacula-clientonly controlled by REQUIRED_USE + use mysql && export mydbtype="mysql" + use postgres && export mydbtype="postgresql" + use sqlite && export mydbtype="sqlite3" + + if use bacula-clientonly && use static && use qt5; then + ewarn + ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." + ewarn + fi +} + +src_prepare() { + # adjusts default configuration files for several binaries + # to /etc/bacula/ instead of ./ + pushd src >&/dev/null || die + for f in console/console.c dird/dird.c filed/filed.c \ + stored/bcopy.c stored/bextract.c stored/bls.c \ + stored/bscan.c stored/btape.c stored/stored.c \ + qt-console/main.cpp; do + sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ + || die "sed on ${f} failed" + done + popd >&/dev/null || die + + # bug 466688 drop deprecated categories from Desktop file + sed -i -e 's/Application;//' scripts/bat.desktop.in || die + + # bug 466690 Use CXXFLAGS instead of CFLAGS + sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die + + # drop automatic install of unneeded documentation (for bug 356499) + eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch + + # bug #310087 + eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch + + # bug #311161 + eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch + + # bat needs to respect LDFLAGS and CFLAGS + eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch + + # bug #328701 + eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch + + eapply -p0 "${FILESDIR}"/${PN}-11.0.2-fix-static.patch + + # fix soname in libbaccat.so bug #602952 + eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" + + # do not strip binaries + sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die + sed -i -e "s/strip /# strip /" src/console/Makefile.in || die + + eapply_user + + # Fix systemd unit files: + # bug 497748 + sed -i -e '/Requires/d' platforms/systemd/*.service.in || die + sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die + # bug 504370 + sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die + # bug 584442 and 504368 + sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die + + # build 'bat' for Qt5 + export QMAKE="$(qt5_get_bindir)"/qmake + + # adapt to >=Qt-5.9 (see bug #644566) + # qmake needs an existing target file to generate install instructions + sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ + src/qt-console/bat.pro.in || die + mkdir src/qt-console/.libs || die + touch src/qt-console/.libs/bat || die + chmod 755 src/qt-console/.libs/bat || die + + # Don't let program install man pages directly + sed -i -e 's/ manpages//' Makefile.in || die + + # correct installation for plugins to mode 0755 (bug #725946) + sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die + + # fix bundled libtool (bug 466696) + # But first move directory with M4 macros out of the way. + # It is only needed by autoconf and gives errors during elibtoolize. + mv autoconf/libtool autoconf/libtool1 || die + elibtoolize +} + +src_configure() { + local myconf='' + + if use bacula-clientonly; then + myconf="${myconf} \ + $(use_enable bacula-clientonly client-only) \ + $(use_enable !static libtool) \ + $(use_enable static static-cons) \ + $(use_enable static static-fd)" + else + myconf="${myconf} \ + $(use_enable !bacula-nodir build-dird) \ + $(use_enable !bacula-nosd build-stored)" + # bug #311099 + # database support needed by dir-only *and* sd-only + # build as well (for building bscan, btape, etc.) + myconf="${myconf} + --with-${mydbtype}" + fi + + # do not build bat if 'static' clientonly + if ! use bacula-clientonly || ! use static; then + myconf="${myconf} \ + $(use_enable qt5 bat)" + fi + + myconf="${myconf} \ + $(use_with X x) \ + $(use_enable batch-insert) \ + $(use_enable !readline conio) \ + $(use_enable readline) \ + $(use_with ssl openssl) \ + $(use_enable ipv6) \ + $(use_enable acl) \ + $(use_with tcpd tcp-wrappers)" + + econf \ + --with-pid-dir=/var/run \ + --sysconfdir=/etc/bacula \ + --with-archivedir=/var/lib/bacula/tmp \ + --with-subsys-dir=/var/lock/subsys \ + --with-working-dir=/var/lib/bacula \ + --with-logdir=/var/lib/bacula \ + --with-scriptdir=/usr/libexec/bacula \ + --with-systemd=$(systemd_get_systemunitdir) \ + --with-dir-user=bacula \ + --with-dir-group=bacula \ + --with-sd-user=root \ + --with-sd-group=bacula \ + --with-fd-user=root \ + --with-fd-group=bacula \ + --enable-smartalloc \ + --disable-afs \ + --without-s3 \ + --host=${CHOST} \ + ${myconf} +} + +src_compile() { + # Make build log verbose (bug #447806) + emake NO_ECHO="" +} + +src_install() { + emake DESTDIR="${D}" install + doicon scripts/bacula.png + + # install bat icon and desktop file when enabled + # (for some reason ./configure doesn't pick this up) + if use qt5 && ! use static ; then + doicon src/qt-console/images/bat_icon.png + domenu scripts/bat.desktop + fi + + # remove some scripts we don't need at all + rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql} + + # rename statically linked apps + if use bacula-clientonly && use static ; then + pushd "${D}"/usr/sbin || die + mv static-bacula-fd bacula-fd || die + mv static-bconsole bconsole || die + popd || die + fi + + # extra files which 'make install' doesn't cover + if ! use bacula-clientonly; then + # the database update scripts + diropts -m0750 + insinto /usr/libexec/bacula/updatedb + insopts -m0754 + doins "${S}"/updatedb/* + fperms 0640 /usr/libexec/bacula/updatedb/README + + # the logrotate configuration + # (now unconditional wrt bug #258187) + diropts -m0755 + insinto /etc/logrotate.d + insopts -m0644 + newins "${S}"/scripts/logrotate bacula + + # the logwatch scripts + if use logwatch; then + diropts -m0750 + dodir /usr/share/logwatch/scripts/services + dodir /usr/share/logwatch/scripts/shared + dodir /etc/logwatch/conf/logfiles + dodir /etc/logwatch/conf/services + pushd "${S}"/scripts/logwatch >&/dev/null || die + emake DESTDIR="${D}" install + popd >&/dev/null || die + fi + fi + + # Install all man pages + doman "${S}"/manpages/*.[18] + + if ! use qt5; then + rm -vf "${D}"/usr/share/man/man1/bat.1* + fi + rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* + + if use bacula-clientonly || use bacula-nodir ; then + rm -vf "${D}"/usr/libexec/bacula/create_*_database + rm -vf "${D}"/usr/libexec/bacula/drop_*_database + rm -vf "${D}"/usr/libexec/bacula/make_*_tables + rm -vf "${D}"/usr/libexec/bacula/update_*_tables + rm -vf "${D}"/usr/libexec/bacula/drop_*_tables + rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges + rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup + fi + if use bacula-clientonly || use bacula-nosd; then + rm -vf "${D}"/usr/libexec/bacula/disk-changer + rm -vf "${D}"/usr/libexec/bacula/mtx-changer + rm -vf "${D}"/usr/libexec/bacula/dvd-handler + fi + + # documentation + dodoc ChangeLog ReleaseNotes SUPPORT + + # install examples (bug #457504) + if use examples; then + docinto examples/ + dodoc -r examples/* + fi + + # vim-files + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins scripts/bacula.vim + insinto /usr/share/vim/vimfiles/ftdetect + newins scripts/filetype.vim bacula_ft.vim + fi + + # setup init scripts + myscripts="bacula-fd" + if ! use bacula-clientonly; then + if ! use bacula-nodir; then + myscripts="${myscripts} bacula-dir" + fi + if ! use bacula-nosd; then + myscripts="${myscripts} bacula-sd" + fi + fi + for script in ${myscripts}; do + # copy over init script and config to a temporary location + # so we can modify them as needed + cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" + cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" + + # now set the database dependancy for the director init script + case "${script}" in + bacula-dir) + case "${mydbtype}" in + sqlite3) + # sqlite databases don't have a daemon + sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die + ;; + *) + # all other databases have daemons + sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die + ;; + esac + ;; + *) + ;; + esac + + # install init script and config + newinitd "${T}/${script}".initd "${script}" + newconfd "${T}/${script}".confd "${script}" + done + + systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service + + # make sure the working directory exists + diropts -m0750 + keepdir /var/lib/bacula + + # make sure bacula group can execute bacula libexec scripts + fowners -R root:bacula /usr/libexec/bacula +} + +pkg_postinst() { + if use bacula-clientonly; then + fowners root:bacula /var/lib/bacula + else + fowners bacula:bacula /var/lib/bacula + fi + + einfo + einfo "A group 'bacula' has been created. Any users you add to this" + einfo "group have access to files created by the daemons." + einfo + einfo "A user 'bacula' has been created. Please see the bacula manual" + einfo "for information about running bacula as a non-root user." + einfo + + if ! use bacula-clientonly && ! use bacula-nodir; then + einfo + einfo "If this is a new install, you must create the ${mydbtype} databases with:" + einfo " /usr/libexec/bacula/create_${mydbtype}_database" + einfo " /usr/libexec/bacula/make_${mydbtype}_tables" + einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" + einfo + + ewarn "ATTENTION!" + ewarn "The format of the database may have changed." + ewarn "If you just upgraded from a version below 9.0.0 you must run" + ewarn "'update_bacula_tables' now." + ewarn "Make sure to have a backup of your catalog before." + ewarn + fi + + if use sqlite; then + einfo + einfo "Be aware that Bacula does not officially support SQLite database anymore." + einfo "Best use it only for a client-only installation. See Bug #445540." + einfo + fi + + einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" + einfo "you have to enable 'USE=qt5'." + einfo + einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" + einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." +} diff --git a/app-backup/bacula/bacula-9.6.5.ebuild b/app-backup/bacula/bacula-9.6.5.ebuild deleted file mode 100644 index f5260ccb5e3e..000000000000 --- a/app-backup/bacula/bacula-9.6.5.ebuild +++ /dev/null @@ -1,419 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop libtool qmake-utils systemd - -MY_PV=${PV/_beta/-b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="https://www.bacula.org/" -SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="amd64 ~ppc ~sparc x86" -IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" - -DEPEND=" - !bacula-clientonly? ( - !bacula-nodir? ( virtual/mta ) - postgres? ( dev-db/postgresql:=[threads] ) - mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) - sqlite? ( dev-db/sqlite:3 ) - ) - dev-libs/gmp:0 - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtsvg:5 - x11-libs/qwt:6 - ) - logwatch? ( sys-apps/logwatch ) - readline? ( sys-libs/readline:0 ) - static? ( - dev-libs/lzo[static-libs] - sys-libs/ncurses:=[static-libs] - sys-libs/zlib[static-libs] - acl? ( virtual/acl[static-libs(+)] ) - ssl? ( - dev-libs/openssl:0=[static-libs] - ) - ) - !static? ( - dev-libs/lzo - sys-libs/ncurses:= - sys-libs/zlib - acl? ( virtual/acl ) - ssl? ( - dev-libs/openssl:0= - ) - ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -RDEPEND="${DEPEND} - acct-user/bacula - acct-group/bacula - !bacula-clientonly? ( - !bacula-nosd? ( - app-arch/mt-st - sys-block/mtx - ) - ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) -" - -REQUIRED_USE=" - !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) - static? ( bacula-clientonly ) -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - #XOR and !bacula-clientonly controlled by REQUIRED_USE - use mysql && export mydbtype="mysql" - use postgres && export mydbtype="postgresql" - use sqlite && export mydbtype="sqlite3" - - if use bacula-clientonly && use static && use qt5; then - ewarn - ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." - ewarn - fi -} - -src_prepare() { - # adjusts default configuration files for several binaries - # to /etc/bacula/ instead of ./ - pushd src >&/dev/null || die - for f in console/console.c dird/dird.c filed/filed.c \ - stored/bcopy.c stored/bextract.c stored/bls.c \ - stored/bscan.c stored/btape.c stored/stored.c \ - qt-console/main.cpp; do - sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ - || die "sed on ${f} failed" - done - popd >&/dev/null || die - - # bug 466688 drop deprecated categories from Desktop file - sed -i -e 's/Application;//' scripts/bat.desktop.in || die - - # bug 466690 Use CXXFLAGS instead of CFLAGS - sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die - - # drop automatic install of unneeded documentation (for bug 356499) - eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch - - # bug #310087 - eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch - - # bug #311161 - eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch - - # bat needs to respect LDFLAGS and CFLAGS - eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch - - # bug #328701 - eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch - - eapply -p0 "${FILESDIR}"/9.6.3/${PN}-9.6.3-fix-static.patch - - # fix soname in libbaccat.so bug #602952 - eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" - - # do not strip binaries - sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die - sed -i -e "s/strip /# strip /" src/console/Makefile.in || die - - # fix file not found error during make depend - eapply -p0 "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch - - eapply_user - - # Fix systemd unit files: - # bug 497748 - sed -i -e '/Requires/d' platforms/systemd/*.service.in || die - sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die - # bug 504370 - sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die - # bug 584442 and 504368 - sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die - - # build 'bat' for Qt5 - export QMAKE="$(qt5_get_bindir)"/qmake - - # adapt to >=Qt-5.9 (see bug #644566) - # qmake needs an existing target file to generate install instructions - sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ - src/qt-console/bat.pro.in || die - mkdir src/qt-console/.libs || die - touch src/qt-console/.libs/bat || die - chmod 755 src/qt-console/.libs/bat || die - - # Don't let program install man pages directly - sed -i -e 's/ manpages//' Makefile.in || die - - # correct installation for plugins to mode 0755 (bug #725946) - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die - - # fix database locking code for bacula-9.6.4 ... -9.6.x (bug #766195) - eapply -p0 "${FILESDIR}"/${PN}-9.6.x-fix-race-condition.patch - - # fix bundled libtool (bug 466696) - # But first move directory with M4 macros out of the way. - # It is only needed by autoconf and gives errors during elibtoolize. - mv autoconf/libtool autoconf/libtool1 || die - elibtoolize -} - -src_configure() { - local myconf='' - - if use bacula-clientonly; then - myconf="${myconf} \ - $(use_enable bacula-clientonly client-only) \ - $(use_enable !static libtool) \ - $(use_enable static static-cons) \ - $(use_enable static static-fd)" - else - myconf="${myconf} \ - $(use_enable !bacula-nodir build-dird) \ - $(use_enable !bacula-nosd build-stored)" - # bug #311099 - # database support needed by dir-only *and* sd-only - # build as well (for building bscan, btape, etc.) - myconf="${myconf} - --with-${mydbtype}" - fi - - # do not build bat if 'static' clientonly - if ! use bacula-clientonly || ! use static; then - myconf="${myconf} \ - $(use_enable qt5 bat)" - fi - - myconf="${myconf} \ - $(use_with X x) \ - $(use_enable batch-insert) \ - $(use_enable !readline conio) \ - $(use_enable readline) \ - $(use_with ssl openssl) \ - $(use_enable ipv6) \ - $(use_enable acl) \ - $(use_with tcpd tcp-wrappers)" - - econf \ - --with-pid-dir=/var/run \ - --sysconfdir=/etc/bacula \ - --with-archivedir=/var/lib/bacula/tmp \ - --with-subsys-dir=/var/lock/subsys \ - --with-working-dir=/var/lib/bacula \ - --with-logdir=/var/lib/bacula \ - --with-scriptdir=/usr/libexec/bacula \ - --with-systemd=$(systemd_get_systemunitdir) \ - --with-dir-user=bacula \ - --with-dir-group=bacula \ - --with-sd-user=root \ - --with-sd-group=bacula \ - --with-fd-user=root \ - --with-fd-group=bacula \ - --enable-smartalloc \ - --disable-afs \ - --without-s3 \ - --host=${CHOST} \ - ${myconf} -} - -src_compile() { - # Make build log verbose (bug #447806) - emake NO_ECHO="" -} - -src_install() { - emake DESTDIR="${D}" install - doicon scripts/bacula.png - - # install bat icon and desktop file when enabled - # (for some reason ./configure doesn't pick this up) - if use qt5 && ! use static ; then - doicon src/qt-console/images/bat_icon.png - domenu scripts/bat.desktop - fi - - # remove some scripts we don't need at all - rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql} - - # rename statically linked apps - if use bacula-clientonly && use static ; then - pushd "${D}"/usr/sbin || die - mv static-bacula-fd bacula-fd || die - mv static-bconsole bconsole || die - popd || die - fi - - # extra files which 'make install' doesn't cover - if ! use bacula-clientonly; then - # the database update scripts - diropts -m0750 - insinto /usr/libexec/bacula/updatedb - insopts -m0754 - doins "${S}"/updatedb/* - fperms 0640 /usr/libexec/bacula/updatedb/README - - # the logrotate configuration - # (now unconditional wrt bug #258187) - diropts -m0755 - insinto /etc/logrotate.d - insopts -m0644 - newins "${S}"/scripts/logrotate bacula - - # the logwatch scripts - if use logwatch; then - diropts -m0750 - dodir /usr/share/logwatch/scripts/services - dodir /usr/share/logwatch/scripts/shared - dodir /etc/logwatch/conf/logfiles - dodir /etc/logwatch/conf/services - pushd "${S}"/scripts/logwatch >&/dev/null || die - emake DESTDIR="${D}" install - popd >&/dev/null || die - fi - fi - - # Install all man pages - doman "${S}"/manpages/*.[18] - - if ! use qt5; then - rm -vf "${D}"/usr/share/man/man1/bat.1* - fi - rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* - - if use bacula-clientonly || use bacula-nodir ; then - rm -vf "${D}"/usr/libexec/bacula/create_*_database - rm -vf "${D}"/usr/libexec/bacula/drop_*_database - rm -vf "${D}"/usr/libexec/bacula/make_*_tables - rm -vf "${D}"/usr/libexec/bacula/update_*_tables - rm -vf "${D}"/usr/libexec/bacula/drop_*_tables - rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges - rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup - fi - if use bacula-clientonly || use bacula-nosd; then - rm -vf "${D}"/usr/libexec/bacula/disk-changer - rm -vf "${D}"/usr/libexec/bacula/mtx-changer - rm -vf "${D}"/usr/libexec/bacula/dvd-handler - fi - - # documentation - dodoc ChangeLog ReleaseNotes SUPPORT - - # install examples (bug #457504) - if use examples; then - docinto examples/ - dodoc -r examples/* - fi - - # vim-files - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins scripts/bacula.vim - insinto /usr/share/vim/vimfiles/ftdetect - newins scripts/filetype.vim bacula_ft.vim - fi - - # setup init scripts - myscripts="bacula-fd" - if ! use bacula-clientonly; then - if ! use bacula-nodir; then - myscripts="${myscripts} bacula-dir" - fi - if ! use bacula-nosd; then - myscripts="${myscripts} bacula-sd" - fi - fi - for script in ${myscripts}; do - # copy over init script and config to a temporary location - # so we can modify them as needed - cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" - cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" - - # now set the database dependancy for the director init script - case "${script}" in - bacula-dir) - case "${mydbtype}" in - sqlite3) - # sqlite databases don't have a daemon - sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die - ;; - *) - # all other databases have daemons - sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die - ;; - esac - ;; - *) - ;; - esac - - # install init script and config - newinitd "${T}/${script}".initd "${script}" - newconfd "${T}/${script}".confd "${script}" - done - - systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service - - # make sure the working directory exists - diropts -m0750 - keepdir /var/lib/bacula - - # make sure bacula group can execute bacula libexec scripts - fowners -R root:bacula /usr/libexec/bacula -} - -pkg_postinst() { - if use bacula-clientonly; then - fowners root:bacula /var/lib/bacula - else - fowners bacula:bacula /var/lib/bacula - fi - - einfo - einfo "A group 'bacula' has been created. Any users you add to this" - einfo "group have access to files created by the daemons." - einfo - einfo "A user 'bacula' has been created. Please see the bacula manual" - einfo "for information about running bacula as a non-root user." - einfo - - if ! use bacula-clientonly && ! use bacula-nodir; then - einfo - einfo "If this is a new install, you must create the ${mydbtype} databases with:" - einfo " /usr/libexec/bacula/create_${mydbtype}_database" - einfo " /usr/libexec/bacula/make_${mydbtype}_tables" - einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" - einfo - - ewarn "ATTENTION!" - ewarn "The format of the database may have changed." - ewarn "If you just upgraded from a version below 9.0.0 you must run" - ewarn "'update_bacula_tables' now." - ewarn "Make sure to have a backup of your catalog before." - ewarn - fi - - if use sqlite; then - einfo - einfo "Be aware that Bacula does not officially support SQLite database anymore." - einfo "Best use it only for a client-only installation. See Bug #445540." - einfo - fi - - einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" - einfo "you have to enable 'USE=qt5'." - einfo - einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" - einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." -} diff --git a/app-backup/bacula/bacula-9.6.6.ebuild b/app-backup/bacula/bacula-9.6.6.ebuild deleted file mode 100644 index 83f72ca31788..000000000000 --- a/app-backup/bacula/bacula-9.6.6.ebuild +++ /dev/null @@ -1,419 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop libtool qmake-utils systemd - -MY_PV=${PV/_beta/-b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="https://www.bacula.org/" -SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" - -DEPEND=" - !bacula-clientonly? ( - !bacula-nodir? ( virtual/mta ) - postgres? ( dev-db/postgresql:=[threads] ) - mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) - sqlite? ( dev-db/sqlite:3 ) - ) - dev-libs/gmp:0 - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtsvg:5 - x11-libs/qwt:6 - ) - logwatch? ( sys-apps/logwatch ) - readline? ( sys-libs/readline:0 ) - static? ( - dev-libs/lzo[static-libs] - sys-libs/ncurses:=[static-libs] - sys-libs/zlib[static-libs] - acl? ( virtual/acl[static-libs(+)] ) - ssl? ( - dev-libs/openssl:0=[static-libs] - ) - ) - !static? ( - dev-libs/lzo - sys-libs/ncurses:= - sys-libs/zlib - acl? ( virtual/acl ) - ssl? ( - dev-libs/openssl:0= - ) - ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -RDEPEND="${DEPEND} - acct-user/bacula - acct-group/bacula - !bacula-clientonly? ( - !bacula-nosd? ( - app-arch/mt-st - sys-block/mtx - ) - ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) -" - -REQUIRED_USE=" - !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) - static? ( bacula-clientonly ) -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - #XOR and !bacula-clientonly controlled by REQUIRED_USE - use mysql && export mydbtype="mysql" - use postgres && export mydbtype="postgresql" - use sqlite && export mydbtype="sqlite3" - - if use bacula-clientonly && use static && use qt5; then - ewarn - ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." - ewarn - fi -} - -src_prepare() { - # adjusts default configuration files for several binaries - # to /etc/bacula/ instead of ./ - pushd src >&/dev/null || die - for f in console/console.c dird/dird.c filed/filed.c \ - stored/bcopy.c stored/bextract.c stored/bls.c \ - stored/bscan.c stored/btape.c stored/stored.c \ - qt-console/main.cpp; do - sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ - || die "sed on ${f} failed" - done - popd >&/dev/null || die - - # bug 466688 drop deprecated categories from Desktop file - sed -i -e 's/Application;//' scripts/bat.desktop.in || die - - # bug 466690 Use CXXFLAGS instead of CFLAGS - sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die - - # drop automatic install of unneeded documentation (for bug 356499) - eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch - - # bug #310087 - eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch - - # bug #311161 - eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch - - # bat needs to respect LDFLAGS and CFLAGS - eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch - - # bug #328701 - eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch - - eapply -p0 "${FILESDIR}"/9.6.3/${PN}-9.6.3-fix-static.patch - - # fix soname in libbaccat.so bug #602952 - eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" - - # do not strip binaries - sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die - sed -i -e "s/strip /# strip /" src/console/Makefile.in || die - - # fix file not found error during make depend - eapply -p0 "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch - - eapply_user - - # Fix systemd unit files: - # bug 497748 - sed -i -e '/Requires/d' platforms/systemd/*.service.in || die - sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die - # bug 504370 - sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die - # bug 584442 and 504368 - sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die - - # build 'bat' for Qt5 - export QMAKE="$(qt5_get_bindir)"/qmake - - # adapt to >=Qt-5.9 (see bug #644566) - # qmake needs an existing target file to generate install instructions - sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ - src/qt-console/bat.pro.in || die - mkdir src/qt-console/.libs || die - touch src/qt-console/.libs/bat || die - chmod 755 src/qt-console/.libs/bat || die - - # Don't let program install man pages directly - sed -i -e 's/ manpages//' Makefile.in || die - - # correct installation for plugins to mode 0755 (bug #725946) - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die - - # fix database locking code for bacula-9.6.4 ... -9.6.x (bug #766195) - eapply -p0 "${FILESDIR}"/${PN}-9.6.x-fix-race-condition.patch - - # fix bundled libtool (bug 466696) - # But first move directory with M4 macros out of the way. - # It is only needed by autoconf and gives errors during elibtoolize. - mv autoconf/libtool autoconf/libtool1 || die - elibtoolize -} - -src_configure() { - local myconf='' - - if use bacula-clientonly; then - myconf="${myconf} \ - $(use_enable bacula-clientonly client-only) \ - $(use_enable !static libtool) \ - $(use_enable static static-cons) \ - $(use_enable static static-fd)" - else - myconf="${myconf} \ - $(use_enable !bacula-nodir build-dird) \ - $(use_enable !bacula-nosd build-stored)" - # bug #311099 - # database support needed by dir-only *and* sd-only - # build as well (for building bscan, btape, etc.) - myconf="${myconf} - --with-${mydbtype}" - fi - - # do not build bat if 'static' clientonly - if ! use bacula-clientonly || ! use static; then - myconf="${myconf} \ - $(use_enable qt5 bat)" - fi - - myconf="${myconf} \ - $(use_with X x) \ - $(use_enable batch-insert) \ - $(use_enable !readline conio) \ - $(use_enable readline) \ - $(use_with ssl openssl) \ - $(use_enable ipv6) \ - $(use_enable acl) \ - $(use_with tcpd tcp-wrappers)" - - econf \ - --with-pid-dir=/var/run \ - --sysconfdir=/etc/bacula \ - --with-archivedir=/var/lib/bacula/tmp \ - --with-subsys-dir=/var/lock/subsys \ - --with-working-dir=/var/lib/bacula \ - --with-logdir=/var/lib/bacula \ - --with-scriptdir=/usr/libexec/bacula \ - --with-systemd=$(systemd_get_systemunitdir) \ - --with-dir-user=bacula \ - --with-dir-group=bacula \ - --with-sd-user=root \ - --with-sd-group=bacula \ - --with-fd-user=root \ - --with-fd-group=bacula \ - --enable-smartalloc \ - --disable-afs \ - --without-s3 \ - --host=${CHOST} \ - ${myconf} -} - -src_compile() { - # Make build log verbose (bug #447806) - emake NO_ECHO="" -} - -src_install() { - emake DESTDIR="${D}" install - doicon scripts/bacula.png - - # install bat icon and desktop file when enabled - # (for some reason ./configure doesn't pick this up) - if use qt5 && ! use static ; then - doicon src/qt-console/images/bat_icon.png - domenu scripts/bat.desktop - fi - - # remove some scripts we don't need at all - rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql} - - # rename statically linked apps - if use bacula-clientonly && use static ; then - pushd "${D}"/usr/sbin || die - mv static-bacula-fd bacula-fd || die - mv static-bconsole bconsole || die - popd || die - fi - - # extra files which 'make install' doesn't cover - if ! use bacula-clientonly; then - # the database update scripts - diropts -m0750 - insinto /usr/libexec/bacula/updatedb - insopts -m0754 - doins "${S}"/updatedb/* - fperms 0640 /usr/libexec/bacula/updatedb/README - - # the logrotate configuration - # (now unconditional wrt bug #258187) - diropts -m0755 - insinto /etc/logrotate.d - insopts -m0644 - newins "${S}"/scripts/logrotate bacula - - # the logwatch scripts - if use logwatch; then - diropts -m0750 - dodir /usr/share/logwatch/scripts/services - dodir /usr/share/logwatch/scripts/shared - dodir /etc/logwatch/conf/logfiles - dodir /etc/logwatch/conf/services - pushd "${S}"/scripts/logwatch >&/dev/null || die - emake DESTDIR="${D}" install - popd >&/dev/null || die - fi - fi - - # Install all man pages - doman "${S}"/manpages/*.[18] - - if ! use qt5; then - rm -vf "${D}"/usr/share/man/man1/bat.1* - fi - rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* - - if use bacula-clientonly || use bacula-nodir ; then - rm -vf "${D}"/usr/libexec/bacula/create_*_database - rm -vf "${D}"/usr/libexec/bacula/drop_*_database - rm -vf "${D}"/usr/libexec/bacula/make_*_tables - rm -vf "${D}"/usr/libexec/bacula/update_*_tables - rm -vf "${D}"/usr/libexec/bacula/drop_*_tables - rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges - rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup - fi - if use bacula-clientonly || use bacula-nosd; then - rm -vf "${D}"/usr/libexec/bacula/disk-changer - rm -vf "${D}"/usr/libexec/bacula/mtx-changer - rm -vf "${D}"/usr/libexec/bacula/dvd-handler - fi - - # documentation - dodoc ChangeLog ReleaseNotes SUPPORT - - # install examples (bug #457504) - if use examples; then - docinto examples/ - dodoc -r examples/* - fi - - # vim-files - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins scripts/bacula.vim - insinto /usr/share/vim/vimfiles/ftdetect - newins scripts/filetype.vim bacula_ft.vim - fi - - # setup init scripts - myscripts="bacula-fd" - if ! use bacula-clientonly; then - if ! use bacula-nodir; then - myscripts="${myscripts} bacula-dir" - fi - if ! use bacula-nosd; then - myscripts="${myscripts} bacula-sd" - fi - fi - for script in ${myscripts}; do - # copy over init script and config to a temporary location - # so we can modify them as needed - cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" - cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" - - # now set the database dependancy for the director init script - case "${script}" in - bacula-dir) - case "${mydbtype}" in - sqlite3) - # sqlite databases don't have a daemon - sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die - ;; - *) - # all other databases have daemons - sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die - ;; - esac - ;; - *) - ;; - esac - - # install init script and config - newinitd "${T}/${script}".initd "${script}" - newconfd "${T}/${script}".confd "${script}" - done - - systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service - - # make sure the working directory exists - diropts -m0750 - keepdir /var/lib/bacula - - # make sure bacula group can execute bacula libexec scripts - fowners -R root:bacula /usr/libexec/bacula -} - -pkg_postinst() { - if use bacula-clientonly; then - fowners root:bacula /var/lib/bacula - else - fowners bacula:bacula /var/lib/bacula - fi - - einfo - einfo "A group 'bacula' has been created. Any users you add to this" - einfo "group have access to files created by the daemons." - einfo - einfo "A user 'bacula' has been created. Please see the bacula manual" - einfo "for information about running bacula as a non-root user." - einfo - - if ! use bacula-clientonly && ! use bacula-nodir; then - einfo - einfo "If this is a new install, you must create the ${mydbtype} databases with:" - einfo " /usr/libexec/bacula/create_${mydbtype}_database" - einfo " /usr/libexec/bacula/make_${mydbtype}_tables" - einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" - einfo - - ewarn "ATTENTION!" - ewarn "The format of the database may have changed." - ewarn "If you just upgraded from a version below 9.0.0 you must run" - ewarn "'update_bacula_tables' now." - ewarn "Make sure to have a backup of your catalog before." - ewarn - fi - - if use sqlite; then - einfo - einfo "Be aware that Bacula does not officially support SQLite database anymore." - einfo "Best use it only for a client-only installation. See Bug #445540." - einfo - fi - - einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" - einfo "you have to enable 'USE=qt5'." - einfo - einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" - einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." -} diff --git a/app-backup/bacula/bacula-9.6.7.ebuild b/app-backup/bacula/bacula-9.6.7.ebuild deleted file mode 100644 index 83f72ca31788..000000000000 --- a/app-backup/bacula/bacula-9.6.7.ebuild +++ /dev/null @@ -1,419 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop libtool qmake-utils systemd - -MY_PV=${PV/_beta/-b} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="https://www.bacula.org/" -SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="acl bacula-clientonly bacula-nodir bacula-nosd +batch-insert examples ipv6 logwatch mysql postgres qt5 readline +sqlite ssl static tcpd vim-syntax X" - -DEPEND=" - !bacula-clientonly? ( - !bacula-nodir? ( virtual/mta ) - postgres? ( dev-db/postgresql:=[threads] ) - mysql? ( || ( dev-db/mysql-connector-c dev-db/mariadb-connector-c ) ) - sqlite? ( dev-db/sqlite:3 ) - ) - dev-libs/gmp:0 - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtsvg:5 - x11-libs/qwt:6 - ) - logwatch? ( sys-apps/logwatch ) - readline? ( sys-libs/readline:0 ) - static? ( - dev-libs/lzo[static-libs] - sys-libs/ncurses:=[static-libs] - sys-libs/zlib[static-libs] - acl? ( virtual/acl[static-libs(+)] ) - ssl? ( - dev-libs/openssl:0=[static-libs] - ) - ) - !static? ( - dev-libs/lzo - sys-libs/ncurses:= - sys-libs/zlib - acl? ( virtual/acl ) - ssl? ( - dev-libs/openssl:0= - ) - ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -RDEPEND="${DEPEND} - acct-user/bacula - acct-group/bacula - !bacula-clientonly? ( - !bacula-nosd? ( - app-arch/mt-st - sys-block/mtx - ) - ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) -" - -REQUIRED_USE=" - !bacula-clientonly? ( ^^ ( mysql postgres sqlite ) ) - static? ( bacula-clientonly ) -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - #XOR and !bacula-clientonly controlled by REQUIRED_USE - use mysql && export mydbtype="mysql" - use postgres && export mydbtype="postgresql" - use sqlite && export mydbtype="sqlite3" - - if use bacula-clientonly && use static && use qt5; then - ewarn - ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt5' useflag." - ewarn - fi -} - -src_prepare() { - # adjusts default configuration files for several binaries - # to /etc/bacula/ instead of ./ - pushd src >&/dev/null || die - for f in console/console.c dird/dird.c filed/filed.c \ - stored/bcopy.c stored/bextract.c stored/bls.c \ - stored/bscan.c stored/btape.c stored/stored.c \ - qt-console/main.cpp; do - sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \ - || die "sed on ${f} failed" - done - popd >&/dev/null || die - - # bug 466688 drop deprecated categories from Desktop file - sed -i -e 's/Application;//' scripts/bat.desktop.in || die - - # bug 466690 Use CXXFLAGS instead of CFLAGS - sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die - - # drop automatic install of unneeded documentation (for bug 356499) - eapply -p0 "${FILESDIR}"/7.2.0/${PN}-7.2.0-doc.patch - - # bug #310087 - eapply "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch - - # bug #311161 - eapply -p0 "${FILESDIR}"/9.0.2/${PN}-9.0.2-lib-search-path.patch - - # bat needs to respect LDFLAGS and CFLAGS - eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-bat-pro.patch - - # bug #328701 - eapply -p0 "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch - - eapply -p0 "${FILESDIR}"/9.6.3/${PN}-9.6.3-fix-static.patch - - # fix soname in libbaccat.so bug #602952 - eapply -p0 "${FILESDIR}/bacula-fix-sonames.patch" - - # do not strip binaries - sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die - sed -i -e "s/strip /# strip /" src/console/Makefile.in || die - - # fix file not found error during make depend - eapply -p0 "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch - - eapply_user - - # Fix systemd unit files: - # bug 497748 - sed -i -e '/Requires/d' platforms/systemd/*.service.in || die - sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die - # bug 504370 - sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die - # bug 584442 and 504368 - sed -i -e 's/@dir_user@/root/g' platforms/systemd/bacula-dir.service.in || die - - # build 'bat' for Qt5 - export QMAKE="$(qt5_get_bindir)"/qmake - - # adapt to >=Qt-5.9 (see bug #644566) - # qmake needs an existing target file to generate install instructions - sed -i -e 's#bins.files = bat#bins.files = .libs/bat#g' \ - src/qt-console/bat.pro.in || die - mkdir src/qt-console/.libs || die - touch src/qt-console/.libs/bat || die - chmod 755 src/qt-console/.libs/bat || die - - # Don't let program install man pages directly - sed -i -e 's/ manpages//' Makefile.in || die - - # correct installation for plugins to mode 0755 (bug #725946) - sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile.in ||die - - # fix database locking code for bacula-9.6.4 ... -9.6.x (bug #766195) - eapply -p0 "${FILESDIR}"/${PN}-9.6.x-fix-race-condition.patch - - # fix bundled libtool (bug 466696) - # But first move directory with M4 macros out of the way. - # It is only needed by autoconf and gives errors during elibtoolize. - mv autoconf/libtool autoconf/libtool1 || die - elibtoolize -} - -src_configure() { - local myconf='' - - if use bacula-clientonly; then - myconf="${myconf} \ - $(use_enable bacula-clientonly client-only) \ - $(use_enable !static libtool) \ - $(use_enable static static-cons) \ - $(use_enable static static-fd)" - else - myconf="${myconf} \ - $(use_enable !bacula-nodir build-dird) \ - $(use_enable !bacula-nosd build-stored)" - # bug #311099 - # database support needed by dir-only *and* sd-only - # build as well (for building bscan, btape, etc.) - myconf="${myconf} - --with-${mydbtype}" - fi - - # do not build bat if 'static' clientonly - if ! use bacula-clientonly || ! use static; then - myconf="${myconf} \ - $(use_enable qt5 bat)" - fi - - myconf="${myconf} \ - $(use_with X x) \ - $(use_enable batch-insert) \ - $(use_enable !readline conio) \ - $(use_enable readline) \ - $(use_with ssl openssl) \ - $(use_enable ipv6) \ - $(use_enable acl) \ - $(use_with tcpd tcp-wrappers)" - - econf \ - --with-pid-dir=/var/run \ - --sysconfdir=/etc/bacula \ - --with-archivedir=/var/lib/bacula/tmp \ - --with-subsys-dir=/var/lock/subsys \ - --with-working-dir=/var/lib/bacula \ - --with-logdir=/var/lib/bacula \ - --with-scriptdir=/usr/libexec/bacula \ - --with-systemd=$(systemd_get_systemunitdir) \ - --with-dir-user=bacula \ - --with-dir-group=bacula \ - --with-sd-user=root \ - --with-sd-group=bacula \ - --with-fd-user=root \ - --with-fd-group=bacula \ - --enable-smartalloc \ - --disable-afs \ - --without-s3 \ - --host=${CHOST} \ - ${myconf} -} - -src_compile() { - # Make build log verbose (bug #447806) - emake NO_ECHO="" -} - -src_install() { - emake DESTDIR="${D}" install - doicon scripts/bacula.png - - # install bat icon and desktop file when enabled - # (for some reason ./configure doesn't pick this up) - if use qt5 && ! use static ; then - doicon src/qt-console/images/bat_icon.png - domenu scripts/bat.desktop - fi - - # remove some scripts we don't need at all - rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql} - - # rename statically linked apps - if use bacula-clientonly && use static ; then - pushd "${D}"/usr/sbin || die - mv static-bacula-fd bacula-fd || die - mv static-bconsole bconsole || die - popd || die - fi - - # extra files which 'make install' doesn't cover - if ! use bacula-clientonly; then - # the database update scripts - diropts -m0750 - insinto /usr/libexec/bacula/updatedb - insopts -m0754 - doins "${S}"/updatedb/* - fperms 0640 /usr/libexec/bacula/updatedb/README - - # the logrotate configuration - # (now unconditional wrt bug #258187) - diropts -m0755 - insinto /etc/logrotate.d - insopts -m0644 - newins "${S}"/scripts/logrotate bacula - - # the logwatch scripts - if use logwatch; then - diropts -m0750 - dodir /usr/share/logwatch/scripts/services - dodir /usr/share/logwatch/scripts/shared - dodir /etc/logwatch/conf/logfiles - dodir /etc/logwatch/conf/services - pushd "${S}"/scripts/logwatch >&/dev/null || die - emake DESTDIR="${D}" install - popd >&/dev/null || die - fi - fi - - # Install all man pages - doman "${S}"/manpages/*.[18] - - if ! use qt5; then - rm -vf "${D}"/usr/share/man/man1/bat.1* - fi - rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1* - - if use bacula-clientonly || use bacula-nodir ; then - rm -vf "${D}"/usr/libexec/bacula/create_*_database - rm -vf "${D}"/usr/libexec/bacula/drop_*_database - rm -vf "${D}"/usr/libexec/bacula/make_*_tables - rm -vf "${D}"/usr/libexec/bacula/update_*_tables - rm -vf "${D}"/usr/libexec/bacula/drop_*_tables - rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges - rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup - fi - if use bacula-clientonly || use bacula-nosd; then - rm -vf "${D}"/usr/libexec/bacula/disk-changer - rm -vf "${D}"/usr/libexec/bacula/mtx-changer - rm -vf "${D}"/usr/libexec/bacula/dvd-handler - fi - - # documentation - dodoc ChangeLog ReleaseNotes SUPPORT - - # install examples (bug #457504) - if use examples; then - docinto examples/ - dodoc -r examples/* - fi - - # vim-files - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins scripts/bacula.vim - insinto /usr/share/vim/vimfiles/ftdetect - newins scripts/filetype.vim bacula_ft.vim - fi - - # setup init scripts - myscripts="bacula-fd" - if ! use bacula-clientonly; then - if ! use bacula-nodir; then - myscripts="${myscripts} bacula-dir" - fi - if ! use bacula-nosd; then - myscripts="${myscripts} bacula-sd" - fi - fi - for script in ${myscripts}; do - # copy over init script and config to a temporary location - # so we can modify them as needed - cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" - cp "${FILESDIR}/newscripts/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" - - # now set the database dependancy for the director init script - case "${script}" in - bacula-dir) - case "${mydbtype}" in - sqlite3) - # sqlite databases don't have a daemon - sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die - ;; - *) - # all other databases have daemons - sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die - ;; - esac - ;; - *) - ;; - esac - - # install init script and config - newinitd "${T}/${script}".initd "${script}" - newconfd "${T}/${script}".confd "${script}" - done - - systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service - - # make sure the working directory exists - diropts -m0750 - keepdir /var/lib/bacula - - # make sure bacula group can execute bacula libexec scripts - fowners -R root:bacula /usr/libexec/bacula -} - -pkg_postinst() { - if use bacula-clientonly; then - fowners root:bacula /var/lib/bacula - else - fowners bacula:bacula /var/lib/bacula - fi - - einfo - einfo "A group 'bacula' has been created. Any users you add to this" - einfo "group have access to files created by the daemons." - einfo - einfo "A user 'bacula' has been created. Please see the bacula manual" - einfo "for information about running bacula as a non-root user." - einfo - - if ! use bacula-clientonly && ! use bacula-nodir; then - einfo - einfo "If this is a new install, you must create the ${mydbtype} databases with:" - einfo " /usr/libexec/bacula/create_${mydbtype}_database" - einfo " /usr/libexec/bacula/make_${mydbtype}_tables" - einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges" - einfo - - ewarn "ATTENTION!" - ewarn "The format of the database may have changed." - ewarn "If you just upgraded from a version below 9.0.0 you must run" - ewarn "'update_bacula_tables' now." - ewarn "Make sure to have a backup of your catalog before." - ewarn - fi - - if use sqlite; then - einfo - einfo "Be aware that Bacula does not officially support SQLite database anymore." - einfo "Best use it only for a client-only installation. See Bug #445540." - einfo - fi - - einfo "Please note that 'bconsole' will always be installed. To compile 'bat'" - einfo "you have to enable 'USE=qt5'." - einfo - einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" - einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." -} diff --git a/app-backup/bacula/files/7.0.2/bacula-7.0.2-depend.patch b/app-backup/bacula/files/7.0.2/bacula-7.0.2-depend.patch deleted file mode 100644 index e076cd6478cc..000000000000 --- a/app-backup/bacula/files/7.0.2/bacula-7.0.2-depend.patch +++ /dev/null @@ -1,12 +0,0 @@ -# fix file not found error during make depend ---- src/tools/Makefile.in.orig 2012-09-20 20:42:54.000000000 +0200 -+++ src/tools/Makefile.in 2012-09-20 20:35:46.000000000 +0200 -@@ -194,7 +194,7 @@ - @$(MV) Makefile Makefile.bak - @$(SED) "/^# DO NOT DELETE:/,$$ d" Makefile.bak > Makefile - @$(ECHO) "# DO NOT DELETE: nice dependency list follows" >> Makefile -- @$(CXX) -S -M $(CPPFLAGS) -I$(srcdir) -I$(basedir) *.c >> Makefile -+ @$(CXX) -S -M $(CPPFLAGS) -I$(srcdir) -I$(basedir) -I../filed -I../dird -I../stored *.c >> Makefile - @if test -f Makefile ; then \ - $(RMF) Makefile.bak; \ - else \ diff --git a/app-backup/bacula/files/9.6.3/bacula-9.6.3-fix-static.patch b/app-backup/bacula/files/9.6.3/bacula-9.6.3-fix-static.patch deleted file mode 100644 index 1f32cd224f01..000000000000 --- a/app-backup/bacula/files/9.6.3/bacula-9.6.3-fix-static.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- src/console/Makefile.in.orig 2017-07-25 19:03:05.664760298 +0200 -+++ src/console/Makefile.in 2017-07-25 19:05:43.576706091 +0200 -@@ -24,6 +24,7 @@ - CONSSRCS = console.c console_conf.c authenticate.c @CONS_SRC@ - CONSOBJS = console.o console_conf.o authenticate.o @CONS_OBJ@ - JSONOBJS = bbconsjson.o console_conf.o -+ZLIBS=@ZLIBS@ - - # these are the objects that are changed by the .configure process - EXTRAOBJS = @OBJLIST@ -@@ -50,18 +51,18 @@ - - bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) - $(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \ -- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \ -- $(OPENSSL_LIBS) -+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \ -+ $(OPENSSL_LIBS) $(LIBS) - - bbconsjson: Makefile $(JSONOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) - $(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(JSONOBJS) \ -- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \ -- $(OPENSSL_LIBS) -+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \ -+ $(OPENSSL_LIBS) $(LIBS) - - static-bconsole: Makefile $(CONSOBJS) ../lib/libbac.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) - $(LIBTOOL_LINK) $(CXX) -static -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \ -- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \ -- $(OPENSSL_LIBS) -+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \ -+ $(OPENSSL_LIBS) $(LIBS) - strip $@ - - ---- src/filed/Makefile.in.orig 2017-07-25 19:09:19.655852979 +0200 -+++ src/filed/Makefile.in 2017-07-25 19:11:39.519558592 +0200 -@@ -69,19 +69,19 @@ - bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@ - @echo "Linking $@ ..." - $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \ -- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \ -- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(IOKITLIBS) -+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \ -+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) $(IOKITLIBS) - - bfdjson: Makefile $(JSONOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@ - @echo "Linking $@ ..." - $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(JSONOBJS) \ -- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \ -- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) -+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \ -+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) - - static-bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@ - $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \ -- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \ -- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) -+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \ -+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS) - strip $@ - - Makefile: $(srcdir)/Makefile.in $(topdir)/config.status diff --git a/app-backup/bacula/files/bacula-9.6.x-fix-race-condition.patch b/app-backup/bacula/files/bacula-9.6.x-fix-race-condition.patch deleted file mode 100644 index 4862bcece0ef..000000000000 --- a/app-backup/bacula/files/bacula-9.6.x-fix-race-condition.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- src/dird/dird.c.orig 2021-01-19 15:25:16.233573546 -0500 -+++ src/dird/dird.c 2021-01-19 15:26:23.884070798 -0500 -@@ -1263,11 +1263,11 @@ - } - if (catalog->db_driver) { - /* To copy dbdriver field into "CAT" catalog resource class (local) - * from dbdriver in "BDB" catalog DB Interface class (global) - */ -- bstrncpy(catalog->db_driver, BDB_db_driver, db_driver_len); -+ bstrncpy(catalog->db_driver, BDB_db_driver, db_driver_len+1); - } - } - - if (!db || !db_open_database(NULL, db)) { - Pmsg2(000, _("Could not open Catalog \"%s\", database \"%s\".\n"), diff --git a/app-backup/bareos/Manifest b/app-backup/bareos/Manifest index 495b45fa3fd9..4b2b92e0fbf6 100644 --- a/app-backup/bareos/Manifest +++ b/app-backup/bareos/Manifest @@ -1,8 +1,6 @@ AUX bareos-20.0.2-cmake-gentoo.patch 1332 BLAKE2B b84158913e0bf051013681f8583546add34d48ea56647beb057525a0da1fff57dcd06c20dd125f300e34a42adb450c3a00456077de914dedf50b5a68748ef1ae SHA512 61e2b119d12daa60bf1fa0bc1de81d4322df421c6c5d2de4e823686f8a8657f521d53256533b52b17a105a25ef8070058144620d71aa295b491d2a39bc7de2f4 AUX bareos-21-cmake-gentoo.patch 694 BLAKE2B a01f469c1f61a5887dd75779c96fdebf666989c9ec203d478291bb58d8ae974e624c6d83977247f47fdc9cdcae0761552a2864e31ec26cbd64317610bc87613f SHA512 225afe4c2d9ee7774d34776071b8b8430c0a4c28e8a2b301fb5f3963ae4b02ea6f6020082d4bcc0ba937728cd57f77ba19fbc176f8f14c0dc28fa98135fb3c80 AUX bareos-cmake-gentoo.patch 516 BLAKE2B 685734517fc166413250782ed35445761b19efd9b7ffedb8436a71f5aea84e38633c61318c914169d3ea40daf0c45e3fe229136cdb1a98dc087cd56b91a4b1d2 SHA512 c0d89844a66f851f556e00faf42e85157c744f1547b37d95f5dd0c58a0ab62fb60a8aead87546ea37f5f9d0eb247a3e1a715d042aafe9b422a3eefe37518b743 -AUX bareos-cmake-rados.patch 718 BLAKE2B be3c5822a122fb9d6a5bdd6cb388e3edbb59c6e2aafb9e16991bf0c62ab2dbdf0757de88382318bbd9f6b0fb7d48de11c9d0cd6ab276b6fb6c4f61f8b756237a SHA512 46b6ced3bcdf7e6a72029803a60775cfc06b2313004214dfe7d7ffa64f954fb80cb93f7374b967b33b4035aac8fce4412f13833aa57a83e4ce98c503f147918e -AUX bareos-cmake-symlink-default-db-backend.patch 779 BLAKE2B edb161632215ed8bdc75cae27d54f603787d5f3cbfcf19e180cb7234f661c35527c24dfef38b7c455fd28a46539eae94d157c4777549381c0db64c5fe531d35d SHA512 f5c07d611b7e9f5dc85e0e1440b5bcf43f80a6a6a3b7aead0b88a7a924c9cc8c42bad016d81a0ad55baecc5888e850a516bc86b52a65ddf460c3059fe7f299ee AUX bareos-dir-21.confd 357 BLAKE2B 819a8c4bbf66a4a629128d3b23cc122fc340eb5672e406234d1a2960c30ed075989585e1e4801b2bde8f1edeca770d80b58e58bfcaeb45fa056afab4b610b013 SHA512 9858964a291ee9849e144f968a239758e3e6905bb5420717652114d8a583e3342e50f046efa41730f30cfc3f047b485251e93085fb13b327a6f2272d7c4c0309 AUX bareos-dir-21.initd 541 BLAKE2B 07ec7d342948da390f26a7dbc2209b351ef1f56ada775a37505bd1a0d5d241e2198fa160c1f42dd05609a4b708aca8675684846bcdc038cf1f35d6c46be26c14 SHA512 0d1e1fb9d69bd003b6c99b4c0120c14a4e8bb9c5c112649d299e672623241f98453278667e315c13a0ab0e93b1c17a3d7c2b8f59544c2d764e32c691a1986f3e AUX bareos-dir-21.service 884 BLAKE2B c0a4fb957588136cd043be2670a03e05bd5ffad4ae87275636642961e0e105ff07fb0614490a71771bb7eecfb551e6f860d8d41104e56ea8c5d434c84c5602a8 SHA512 187e331f8495d27d14434bd71baace7051d254e2886c3814493600973cd830cb01f27153321821e0a3bd2356d55f39cf0878488297079ed80bcfb2693cc77809 @@ -20,12 +18,10 @@ AUX bareos-sd.confd 360 BLAKE2B d965bf4cf1db59982b57ee0b848f9f7156d695a37d2a3b4c AUX bareos-sd.initd 855 BLAKE2B 40ca8e89b63e67f6fa4a4f60e735bd101ce0b1ad46be07b6df2d1524cd3f3e1f2540ce4b90095168499cab82306ed3d2d1c306c2b185e22632cbd5d18c6e8f4b SHA512 d45c33374da46e53b5828b4575087d00753f4aea3af6b641933f456f2bf5ba254894fc1fc1a6641ab6ae1c3f85bcd606500d6207e23a7070c78fd4e6aa666543 AUX bareos-sd.service 812 BLAKE2B 7ac9754d98ea177614450045fbbaf7406592b30a280646eacdf31271a0cafd63e88ac463b1d94143ccac96c289de3f88a177edab665f073e7c7692037ffedb68 SHA512 6a0fdb3af03e9f94e0d755a3286aff36b41ab1f00a82e9864f6d3de6931691f6aba79aeb7fc952cec039e4174b545f53c23e96fcfbaed71192877d201b3086ad AUX tmpfiles.d-bareos.conf 33 BLAKE2B 68feed7629dde0dad019470851cea33140be3b17186fbbee7ad6c6a591978236ec09252d890117030d8706d22ea02f9971063aa80a393d3726510128527401d0 SHA512 65d3f72e57eb3afc557ab6b56a8ec1895a679b904114fefd1c9d0ceeb6b9fa8413575591ed81e1ce6963bdaf34dad227e781865b39bb237afc6bb5652306d2ef -DIST bareos-18.2.12.tar.gz 10566403 BLAKE2B 765a5430c495b21edc0c22d6903e23d312b1dc2b94e0d2a4227c10a38be8fe638636cf32a58e8aaf83b389581bf1348b4d27be6886f61180c20496acbd0eb015 SHA512 1d308d3021e8277832ce933fbafdf514bc194a1a2a2d761e66fb26ec2af419d19ae38894a7cb56e036c5af003bf640117b5a11954d478b35e13a02007f99f4de DIST bareos-19.2.12.tar.gz 12931615 BLAKE2B 258d826e8b0e7d9d7f5ebc0d5b701ea0c34e82674f14080ec0c758eb888cf845430dab870dbae85190957d570b8b9c551db00b08a002740a7c062f7741cf7338 SHA512 6a5d85bf1131cb4a97879410ad8d4d3069715d8fb070e45137bb80666c9907c6db0c65ff5aa3b50ae2f44f0a2f402bf79c6b3817e3d5fa25d1e7088b495aed74 DIST bareos-20.0.6.tar.gz 13373519 BLAKE2B 5f75078cc9b82384e06ad2e4545ab26c045208829cb8cd001e6425961486d709b75979f2484e5a648e104f60973552916a49c271ce4024e5e152da13a9a9e72f SHA512 ec83fba412f22725ed440168e62d2876e18c6ddb2ca1837c6169fb0b690118a3380d4f6cf7f9d8e1a8b9601b320ce552a7b7cf74066afb906a09fc1c26208729 DIST bareos-21.1.2.tar.gz 11582588 BLAKE2B e7e02b3897d7e377cc79d9d0880da821f1b81d1f54891d89e704e78f51471cdf94b5a02ffe2f4ed54dec38bf37ccc757bf1641c3b678a04e401f48484ed3c941 SHA512 acdc787ff828add93c81b2b7d293dec90f2aa22aa3aee3002662bd30e88dc0dc58b753bb63ca7c111fac6c7eeea888938236c1169f92ed6cec27941036c7b6b1 -EBUILD bareos-18.2.12-r1.ebuild 11168 BLAKE2B 952379f3531292e6b20e0e81d9be6d8384b8a76b1747a340310032c1ed0cf5b38415e6b6fc4edafb46b4e836cebce2dc73532fcc7b5737b1464deecec3c1e3ca SHA512 f8878820c0eeb8fc178b65579fe55230b8534b9e37b69ccacb1818635066a8fca016dbd818394b9b1e5916b49c31cee24abb9591dcbc7ed2a094146bb18adb41 EBUILD bareos-19.2.12.ebuild 10915 BLAKE2B a06c580993370a9a65b1669847bccad0f216f2c0b02a9d5f477292572d0ecc4162d9d1cbac1d3b6d4f24bdae0707bfeee8ec39f26fa2b71065b8da2105cca7c3 SHA512 d23bfc9efaf6ae0ed2a0fe8035083583533e23d8c20d2887b32867c8d40fb1b4a4abe03e936524de7a51a012b1941dd03a1542084b8bdb7d35c661ce73da8ad6 EBUILD bareos-20.0.6.ebuild 11407 BLAKE2B 00a225c47f39abb02990a088a7b763c73f95aca2b98d3fd49015b7ab852b50c9a0b7455aa881f63071b4fd31676806e13ade6001d8465e41e8b88bbb83524167 SHA512 0924dd4387fcce3821dd039729e6395e142b5de067bee06219de5362fa1068238928c3e9dc243f8648e76717428d80b304acf5ad2719548dafe18b705800497d EBUILD bareos-21.1.2.ebuild 10641 BLAKE2B f35237f6ae0188ada30feb79cfb97c2647e46d3566c3b9be64c618c55dd2724a9096aa2c6692d94b11a4caa2c6a05804abbcc7023295bd217cbaf665d307c46c SHA512 05193fd2602274445c6dc9a428b56199f30f771ae9f5cb08629193014c0cbfee7959cdfb5432bf8799eb613f36ee55049dafcc95033fdbbd5ebdfdf9fe824b40 -MISC metadata.xml 1552 BLAKE2B 27a6ee8fad25a63be91e5bc712ffb293174c6bfca8df772be3821932baafe510b1fa271b2e36a22a11296c7a7bd23049b86dc9cbcbe2f7f30409a1e7c7b55042 SHA512 40b549c30e36a495a434c607467efa914aec228d886ee8560e77b39e4d6d6396ebae5e4a5cbdfd01b6828011ee9922112ab0041d9a9aa944d68417114b14ef53 +MISC metadata.xml 1117 BLAKE2B c53e52cc72764097cf0e40ba5318e044d6f0dc8d852cae9bff5e7915062d75a75fb558c8dcdfb321fb42b204de0521c826394102bb8e312d0df874b19e7052ad SHA512 f2d8ac8e4d8f880b46a9535b709d1d0b0dbccf02e0f8ae0bb97bbe3ebf139f090951ad6e9f172804045928d0ed78ea602fdd378a91645e0faf2f4717b0096578 diff --git a/app-backup/bareos/bareos-18.2.12-r1.ebuild b/app-backup/bareos/bareos-18.2.12-r1.ebuild deleted file mode 100644 index c40c79602918..000000000000 --- a/app-backup/bareos/bareos-18.2.12-r1.ebuild +++ /dev/null @@ -1,389 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -CMAKE_WARN_UNUSED_CLI=no -#CMAKE_REMOVE_MODULES=yes - -inherit desktop systemd cmake - -DESCRIPTION="Featureful client/server network backup suite" -HOMEPAGE="http://www.bareos.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz" -RESTRICT="mirror" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="X acl cephfs clientonly +director fastlz glusterfs gnutls ipv6 jansson lmdb - logwatch mysql ndmp +postgres rados rados-striper readline scsi-crypto - sql-pooling sqlite ssl static +storage-daemon systemd tcpd vim-syntax" -REQUIRED_USE="!clientonly? ( || ( mysql postgres sqlite ) )" - -DEPEND=" - !app-backup/bacula - acct-group/${PN} - cephfs? ( sys-cluster/ceph ) - rados? ( sys-cluster/ceph ) - rados-striper? ( >=sys-cluster/ceph-0.94.2 ) - glusterfs? ( sys-cluster/glusterfs ) - lmdb? ( dev-db/lmdb ) - dev-libs/gmp:0 - !clientonly? ( - acct-user/${PN} - postgres? ( dev-db/postgresql:*[threads] ) - mysql? ( virtual/mysql ) - sqlite? ( dev-db/sqlite:3 ) - director? ( - virtual/mta - jansson? ( dev-libs/jansson:= ) - ) - ) - fastlz? ( dev-libs/bareos-fastlzlib ) - logwatch? ( sys-apps/logwatch ) - tcpd? ( sys-apps/tcp-wrappers ) - readline? ( sys-libs/readline:0 ) - static? ( - acl? ( virtual/acl[static-libs] ) - sys-libs/zlib[static-libs] - dev-libs/lzo[static-libs] - sys-libs/ncurses:=[static-libs] - ssl? ( - !gnutls? ( - dev-libs/openssl:0=[static-libs] - ) - gnutls? ( net-libs/gnutls[static-libs] ) - ) - ) - !static? ( - acl? ( virtual/acl ) - dev-libs/lzo - ssl? ( - !gnutls? ( - dev-libs/openssl:0= - ) - gnutls? ( net-libs/gnutls ) - ) - sys-libs/ncurses:= - sys-libs/zlib - ) - " -RDEPEND="${DEPEND} - !clientonly? ( - storage-daemon? ( - sys-block/mtx - app-arch/mt-st - ) - ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" - -REQUIRED_USE="static? ( clientonly )" - -S=${WORKDIR}/${PN}-Release-${PV} - -src_prepare() { - use mysql && export mydbtypes+=( mysql ) - use postgres && export mydbtypes+=( postgresql ) - use sqlite && export mydbtypes+=( sqlite ) - - # enables default database driver in catalog - pushd core/src/defaultconfigs >&/dev/null || die - sed -i -e 's/#dbdriver/dbdriver/' -e '/XXX_REPLACE_WITH_DATABASE_DRIVER_XXX/d' $(grep -rl XXX_REPLACE_WITH_DATABASE_DRIVER_XXX) \ - || die "sed on MyCatalog.conf.in failed" - popd >&/dev/null || die - - eapply -p0 "${FILESDIR}/bareos-cmake-rados.patch" - - # fix gentoo version detection - eapply -p0 "${FILESDIR}/bareos-cmake-gentoo.patch" - - # fix missing DESTDIR in symlink creation - eapply -p2 "${FILESDIR}/bareos-cmake-symlink-default-db-backend.patch" - - # disable dird and stored plugins, because of - # py2 dependency - cd "${S}/core/src/plugins" - cmake_comment_add_subdirectory filed - cmake_comment_add_subdirectory dird - cmake_comment_add_subdirectory stored - cd - - - eapply_user - - CMAKE_USE_DIR="$S/core" - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=() - - CMAKE_USE_DIR="$S/core" - - pushd core/platforms >&/dev/null || die - cmake_comment_add_subdirectory '${DISTNAME}' - popd >&/dev/null || die - - if use clientonly; then - mycmakeargs+=( - -Dclient-only=YES - -Dstatic-cons=$(usex static) - -Dstatic-fd=$(usex static) - ) - fi - - for useflag in acl ipv6 ndmp readline scsi-crypto sql-pooling \ - systemd fastlz mysql lmdb glusterfs rados \ - rados-striper cephfs jansson; do - - mycmakeargs+=( -D$useflag=$(usex $useflag) ) - done - - mycmakeargs+=( - -DDEFAULT_DB_TYPE=${mydbtypes[0]} - -Dx=$(usex X) - -Dpostgresql=$(usex postgres) - -Dmysql=$(usex mysql) - -Dsqlite3=$(usex sqlite) - -Dopenssl=$(usex ssl) - -Dtcp-wrapper=$(usex tcpd) - -Dlibdir=/usr/$(get_libdir) - -Dsbindir=/usr/sbin - -Dmandir=/usr/share/man - -Ddocdir=/usr/share/doc/${PF} - -Dhtmldir=/usr/share/doc/${PF}/html - -Darchivedir=/var/lib/bareos/storage - -Dbsrdir=/var/lib/bareos/bsr - -Dpiddir=/run/bareos - -Dsysconfdir=/etc - -Dconfdir=/etc/bareos - -Dsubsys-dir=/run/lock/subsys - -Dworkingdir=/var/lib/bareos - -Dlogdir=/var/log/bareos - -Dscriptdir=/usr/libexec/bareos - -Dplugindir=/usr/$(get_libdir)/${PN}/plugin - -Dbackenddir=/usr/$(get_libdir)/${PN}/backend - -Ddir-user=bareos - -Ddir-group=bareos - -Dsd-user=root - -Dsd-group=bareos - -Dfd-user=root - -Dfd-group=bareos - -Dsbin-perm=0755 - -Ddb_password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1` - -Ddynamic-cats-backends=yes - -Ddynamic-storage-backends=yes - -Dbatch-insert=yes - -Dhost=${CHOST} - -Dcoverage=no - -Dpython=no - -Dsmartalloc=yes - -Ddir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`" - -Dfd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`" - -Dsd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`" - -Dmon-dir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`" - -Dmon-fd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`" - -Dmon-sd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`" - -Dbasename="`hostname -s`" - -Dhostname="`hostname -s`" - ) - - cmake_src_configure -} - -src_install() { - #emake DESTDIR="${D}" install - cmake_src_install - newicon core/src/images/bareos_logo_shadow.png bareos.png - - # remove some scripts we don't need at all - rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd,startmysql,stopmysql} - rm -f "${D}"/usr/sbin/bareos - - # remove upstream init scripts and systemd units - rm -f "${D}"/etc/init.d/bareos-* "${D}"/lib/systemd/system/bareos-*.service - - # rename statically linked apps - if use clientonly && use static ; then - pushd "${D}"/usr/sbin || die - mv static-bareos-fd bareos-fd || die - mv static-bconsole bconsole || die - popd || die - fi - - # extra files which 'make install' doesn't cover - if ! use clientonly; then - # the logrotate configuration - # (now unconditional wrt bug #258187) - diropts -m0755 - insinto /etc/logrotate.d - insopts -m0644 - newins "${S}"/core/scripts/logrotate bareos - - # the logwatch scripts - if use logwatch; then - diropts -m0750 - dodir /etc/log.d/scripts/services - dodir /etc/log.d/scripts/shared - dodir /etc/log.d/conf/logfiles - dodir /etc/log.d/conf/services - pushd "${S}"/core/scripts/logwatch >&/dev/null || die - - into /etc/log.d/scripts/services - dobin bareos - - into /etc/log.d/scripts/shared - dobin applybareosdate - - insinto /etc/log.d/conf/logfiles - newins logfile.bareos.conf bareos.conf - - insinto /etc/log.d/conf/services - newins services.bareos.conf bareos.conf - - popd >&/dev/null || die - fi - fi - - rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1* - if use clientonly || ! use director; then - rm -vf "${D}"/usr/share/man/man8/bareos-dir.8* - rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8* - rm -vf "${D}"/usr/share/man/man1/bsmtp.1* - rm -vf "${D}"/usr/share/man/man8/bwild.8* - rm -vf "${D}"/usr/share/man/man8/bregex.8* - rm -vf "${D}"/usr/share/man/man8/bpluginfo.8* - rm -vf "${D}"/usr/libexec/bareos/create_*_database - rm -vf "${D}"/usr/libexec/bareos/drop_*_database - rm -vf "${D}"/usr/libexec/bareos/make_*_tables - rm -vf "${D}"/usr/libexec/bareos/update_*_tables - rm -vf "${D}"/usr/libexec/bareos/drop_*_tables - rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges - rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup - fi - if use clientonly || ! use storage-daemon; then - rm -vf "${D}"/usr/share/man/man8/bareos-sd.8* - rm -vf "${D}"/usr/share/man/man8/bcopy.8* - rm -vf "${D}"/usr/share/man/man8/bextract.8* - rm -vf "${D}"/usr/share/man/man8/bls.8* - rm -vf "${D}"/usr/share/man/man8/bscan.8* - rm -vf "${D}"/usr/share/man/man8/btape.8* - rm -vf "${D}"/usr/libexec/bareos/disk-changer - rm -vf "${D}"/usr/libexec/bareos/mtx-changer - rm -vf "${D}"/usr/libexec/bareos/dvd-handler - rm -vf "${D}"/etc/bareos/mtx-changer.conf - fi - if ! use scsi-crypto; then - rm -vf "${D}"/usr/share/man/man8/bscrypto.8* - fi - - # documentation - dodoc README.md - dodoc core/README.configsubdirectories - use glusterfs dodoc core/README.glusterfs - use ndmp && dodoc core/README.NDMP - use scsi-crypto && dodoc core/README.scsicrypto - - # vim-files - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins core/scripts/bareos.vim - insinto /usr/share/vim/vimfiles/ftdetect - newins core/scripts/filetype.vim bareos_ft.vim - fi - - # setup init scripts - myscripts="bareos-fd" - if ! use clientonly; then - if use director; then - myscripts+=" bareos-dir" - fi - if use storage-daemon; then - myscripts+=" bareos-sd" - fi - fi - for script in ${myscripts}; do - # copy over init script and config to a temporary location - # so we can modify them as needed - cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd" - cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd" - - # now set the database dependency for the director init script - case "${script}" in - bareos-dir) - sed -i -e "s:%databasetypes%:${mydbtypes[*]}:" "${T}/${script}".confd || die - ;; - *) - ;; - esac - - # install init script and config - newinitd "${T}/${script}".initd "${script}" - newconfd "${T}/${script}".confd "${script}" - done - - # install systemd unit files - if use systemd; then - if ! use clientonly; then - use director && systemd_dounit "${FILESDIR}"/bareos-dir.service - use storage-daemon && systemd_dounit "${FILESDIR}"/bareos-sd.service - fi - systemd_dounit "${FILESDIR}"/bareos-fd.service - fi - - # make sure the working directory exists - diropts -m0750 - keepdir /var/lib/bareos - keepdir /var/lib/bareos/storage - - diropts -m0755 - keepdir /var/log/bareos - - # make sure bareos group can execute bareos libexec scripts - fowners -R root:bareos /usr/libexec/bareos -} - -pkg_postinst() { - if use clientonly; then - fowners root:bareos /var/lib/bareos - else - fowners bareos:bareos /var/lib/bareos - fi - - if ! use clientonly && use director; then - einfo - einfo "If this is a new install, you must create the database:" - if use postgres; then - einfo - einfo "For postgresql:" - einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'" - einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'" - einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'" - fi - if use mysql; then - einfo - einfo "For mysql:" - einfo - einfo " Make sure root has direct access to your mysql server. You may want to" - einfo " create a /root/.my.cnf file with" - einfo " [client]" - einfo " user=root" - einfo " password=YourPasswordForAccessingMysqlAsRoot" - einfo " before running:" - einfo " /usr/libexec/bareos/create_bareos_database mysql" - einfo " /usr/libexec/bareos/make_bareos_tables mysql" - einfo " /usr/libexec/bareos/grant_bareos_privileges mysql" - fi - einfo - fi - - if use sqlite; then - einfo - einfo "Be aware that Bareos does not officially support SQLite database." - einfo "Best use it only for a client-only installation. See Bug #445540." - einfo - einfo "It is strongly recommended to use either postgresql or mysql as" - einfo "catalog database backend." - einfo - fi -} diff --git a/app-backup/bareos/files/bareos-cmake-rados.patch b/app-backup/bareos/files/bareos-cmake-rados.patch deleted file mode 100644 index c9a0c176692e..000000000000 --- a/app-backup/bareos/files/bareos-cmake-rados.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- core/cmake/BareosCheckSymbols.cmake.orig 2018-12-05 23:39:37.307627387 +0100 -+++ core/cmake/BareosCheckSymbols.cmake 2018-12-05 23:40:00.999464771 +0100 -@@ -21,7 +21,7 @@ - - - CHECK_SYMBOL_EXISTS(__stub_lchmod features.h LCHMOD_IS_A_STUB1) --CHECK_SYMBOL_EXISTS(__stub___lchmod features_h LCHMOD_IS_A_STUB2) -+#CHECK_SYMBOL_EXISTS(__stub___lchmod features_h LCHMOD_IS_A_STUB2) - - - -@@ -43,7 +43,9 @@ - - cmake_push_check_state() - SET(CMAKE_REQUIRED_LIBRARIES ${RADOS_LIBRARIES}) -+if ("${HAVE_RADOS}") - CHECK_SYMBOL_EXISTS(rados_ioctx_set_namespace rados/librados.h HAVE_RADOS_NAMESPACES) - CHECK_SYMBOL_EXISTS(rados_nobjects_list_open rados/librados.h HAVE_RADOS_NOBJECTS_LIST) -+endif() - cmake_pop_check_state() - diff --git a/app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch b/app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch deleted file mode 100644 index 8c46fdf0dc86..000000000000 --- a/app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- work/bareos-Release-18.2.5/core/cmake/bareos-symlink-default-db-backend.cmake.orig 2019-01-31 12:39:26.000000000 +0100 -+++ work/bareos-Release-18.2.5/core/cmake/bareos-symlink-default-db-backend.cmake 2019-02-05 11:00:24.559983661 +0100 -@@ -19,5 +19,5 @@ - MESSAGE(STATUS "${CMAKE_COMMAND} -E create_symlink ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX} ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX}") - execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink - ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX} -- ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${BAREOS_NUMERIC_VERSION} -+ $ENV{DESTDIR}/${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${BAREOS_NUMERIC_VERSION} - ) diff --git a/app-backup/bareos/metadata.xml b/app-backup/bareos/metadata.xml index a2d98845f1a5..74fcd0331c3a 100644 --- a/app-backup/bareos/metadata.xml +++ b/app-backup/bareos/metadata.xml @@ -7,20 +7,14 @@ Enable ceph support - Enable cephfs storage backend Only install file-daemon (client) Install director - Enable support vor lz4, lz4hc and lzfast using dev-libs/bareos-fastlzlib Enable glusterfs storage backend - When ssl is enabled, use GnuTLS instead of OpenSSL JSON API support using JANSSON for director enable build of LMDB support for faster accurate backup Install support files for logwatch Enable support for NDMP (Network Data Management Protocol) - Enable rados storage backend - Enable use of rados-striper Enable low level SCSI crypto support - Enable SQL pooling support Install storage daemon (bareos-sd) Enable bareos-fd VMware plugin diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest index ef8b9be48266..46a3b329baac 100644 --- a/app-backup/restic/Manifest +++ b/app-backup/restic/Manifest @@ -292,6 +292,8 @@ DIST github.com%2Fkr%2Ftext%2F@v%2Fv0.2.0.mod 68 BLAKE2B 91222794e2d517a33cb43bb DIST github.com%2Fkr%2Ftext%2F@v%2Fv0.2.0.zip 12607 BLAKE2B 40090e35e5bfb0f1570cc11a3d3c3b6f9c4d097ffadb161280ac4dda90e7b74fe3784dbd31a74be243a2a0d6f3f3273f24a0dcb07523c7db8975171327de25d5 SHA512 5fbe5884d311244c5250d4a1b249749a84fc6a50d4d5d6b3967a4bccb317ebb807917fe540f13fea788abd863d7d2f2537a40b57cf156a3f920b15cd8b365ac0 DIST github.com%2Fkurin%2Fblazer%2F@v%2Fv0.5.3.mod 31 BLAKE2B 014f9a0fb3e3122acb3ab88f5ead6b4711706d1660941d0a2ef29b85e18cfb86bf3483d2628c6fefa8ea1be4505860d4ac0c6d65ae59a408ef642c70f386a907 SHA512 4baa6bd9b0f883c4f6736285d7a884567a0d8c71b60bcd0e34250502c4067f72905ea6da57ba57da705eac0509a8fa16a91c273686375102997e196775426e00 DIST github.com%2Fkurin%2Fblazer%2F@v%2Fv0.5.3.zip 116220 BLAKE2B a01ccb210bf33122e613bec46758707effba0049f3ca589fe8d7cc923eccf6109b0734eaf36ed8fc39a77a99aa465bf0830c91119c18bd4e84b47fcea5f16bb9 SHA512 a64a7574c1197710eda20da590752120b9297136b5285beb7bf3de1f63858df31e2294769a1f26df68fd2c814df33e3da06c90709f11ffec300c841250c99d9d +DIST github.com%2Fkurin%2Fblazer%2F@v%2Fv0.5.4-0.20211030221322-ba894c124ac6.mod 31 BLAKE2B 014f9a0fb3e3122acb3ab88f5ead6b4711706d1660941d0a2ef29b85e18cfb86bf3483d2628c6fefa8ea1be4505860d4ac0c6d65ae59a408ef642c70f386a907 SHA512 4baa6bd9b0f883c4f6736285d7a884567a0d8c71b60bcd0e34250502c4067f72905ea6da57ba57da705eac0509a8fa16a91c273686375102997e196775426e00 +DIST github.com%2Fkurin%2Fblazer%2F@v%2Fv0.5.4-0.20211030221322-ba894c124ac6.zip 119727 BLAKE2B 2f59cff742a679cfd93a95b7822ffab2a8d616cd6e01b947a5be45f34f906c6e883174f5767c7402d29b07cd9475f14c37ba11ed96761d64acdc1a6279033188 SHA512 6ade1cc2b3a0a1883b15c3de61661b507b4c085320db470a70be7af52730e7af68f280756d6381aab0db7f0a56d7f823f6044bf3b6f9ea5f6384a03245269448 DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.0.mod 40 BLAKE2B b8e71ef21c42894c31d75cce0e7423b21e716de0539a8a7ff462e0d5c05c77795238598630208055ad808af2db8c56a997e7e114ef391c07d380b996ce533544 SHA512 8a724e5cfce28512549e7b06ec42c9e02625adfb3398fd45af07f8c512782002a262e8567669929626814758f9d12041c318bd4258f88d110a851630537bd5d1 DIST github.com%2Fmagiconair%2Fproperties%2F@v%2Fv1.8.5.mod 49 BLAKE2B 8b2bef1b80fd800e2e85a5d1e9ce4758dd3f23f58e1fe842bb31d6003794d571877f0f00f24eaf71e108ade573694b03456f06d326343816b2f12193d8c6c602 SHA512 c1b6e77c86f654480988e8a2c7f80b30739ce7d784a57e0d1b26b8fe41fce8c1d26dbeed5d23f3ad9a6aeb8953c07889ce3458ce837d92652aa5c825a318d4d4 DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.0.9.mod 37 BLAKE2B 6bd675a05c0bb6f9dc12d09203d13de115801888cf8c02cb5d609f72d214b7e7ebf13a72ddfa2eb9172e9c2ba1f3e5a040f089a86ce9fe873d49288d5f7dc5a7 SHA512 3cc3ae26618b96a0fc076b18bab6f8f0f6a1064d6a9913c1015a9867fd3571d17f5d2867d72cec008e9bc7005883a596edb21424084f82ad5b572443de90f976 @@ -301,6 +303,8 @@ DIST github.com%2Fminio%2Fmd5-simd%2F@v%2Fv1.1.0.mod 90 BLAKE2B e375688bb7c11de4 DIST github.com%2Fminio%2Fmd5-simd%2F@v%2Fv1.1.0.zip 106445 BLAKE2B 5aa2489ac1b0c4dd5c1c633731c7db35a0e84afcfff3d4317025d16e6c7f62e9a06ee1c56072a26ad45716f90fece953dca9b0831bc004c4081eda012d32944f SHA512 431bfd66971e8936204d8bd9b02aafa25e4300b3a3d8d78f63dc8f6e5dd0b436e1987074b5bd52e856759477f6d154625b5f1c565146fad909ce510322721b79 DIST github.com%2Fminio%2Fminio-go%2Fv7%2F@v%2Fv7.0.12.mod 996 BLAKE2B d3fbd2f0f2a920c86a4759c5a1779e77b8479abe7d0079f4858b701530aa00b616f97fc64090d1dd391a5c3df2978180fecad737d6c609e04ee10f7ef9a68a70 SHA512 dc3287045ea041de2cd023d555e59886ba76552474e5676bc62934edb9d2a765076d4e4f6d6c411f71c734e6271e21b294f62444c55319d58ac835a332475a0e DIST github.com%2Fminio%2Fminio-go%2Fv7%2F@v%2Fv7.0.12.zip 330306 BLAKE2B 5c32261a02717600839a0cb09425915c9b22fbbf0d328b6eba4b1dd6120f96185498a3069a01a8399d11acc282376ff283c63d4de1cf2f186e7f09adb5a1f0f3 SHA512 abca3449d45a18295c9d54ae8a7594d59fc2c3841b933f2209f9762c1b63bc40a21312ebf43cc1becf5e8b77f208018600c7d58409bced0778a3766b8e0f579f +DIST github.com%2Fminio%2Fminio-go%2Fv7%2F@v%2Fv7.0.14.mod 996 BLAKE2B d3fbd2f0f2a920c86a4759c5a1779e77b8479abe7d0079f4858b701530aa00b616f97fc64090d1dd391a5c3df2978180fecad737d6c609e04ee10f7ef9a68a70 SHA512 dc3287045ea041de2cd023d555e59886ba76552474e5676bc62934edb9d2a765076d4e4f6d6c411f71c734e6271e21b294f62444c55319d58ac835a332475a0e +DIST github.com%2Fminio%2Fminio-go%2Fv7%2F@v%2Fv7.0.14.zip 337726 BLAKE2B e7be6ef8bd0a8d1e33f15926d18119f5a046756b8b9c48ef21e5f1db7cf558083d59c6d9038bab0b056aa463013cf019b29a0a59dbbd229b58864a21704ce5e4 SHA512 3a6c0322816cc521e9bc67dad8fc47c7136d4d97ec88a7e8fa6c410907aafc7810692e4615fb3e904db62324f2dfd0786c4511c2a2eebd89875ac41a2d3f1321 DIST github.com%2Fminio%2Fminio-go%2Fv7%2F@v%2Fv7.0.5.mod 951 BLAKE2B 9f5112b2b0bbd1a280651bda4d1dfd6b26033e7cbd6ce41c0b56f0a36626130c27cc08bb62c2baaf2e4c0012c29305bd4cdb8597c2e16da06a4ca863f71b2506 SHA512 8294b46e39f372d41fc486afcb1e6204416176255abfb979d155e720d91f08db7d6e6db20c6ef47214ebcb77905d63f232e3c7ed2e1fb43b6d69c662e5984106 DIST github.com%2Fminio%2Fminio-go%2Fv7%2F@v%2Fv7.0.5.zip 407789 BLAKE2B 11eef3e924ab0ab03786f77635d87462c980cf691bf28a3a005c1562ce2db5aed19f6c37a8245b9d6f7eb25ce1d3b95ac76b2f89185dbc985e0f3c329ed74732 SHA512 5a72a834bc47e59007e0fe3d1d69eb3fbcf212ba5f54bd258d2284ff40473e4c8ca90e8a2de9bbc2134bbe10b6c1ee1afc7ec92ba79100d27db5f75d8b7a761e DIST github.com%2Fminio%2Fsha256-simd%2F@v%2Fv0.1.1.mod 45 BLAKE2B 4868e4a4afda265cf4dd2e7c5a25657237687b3b1ba21d24f280174a05dece76ba902c1447586a7c632a961b8454a1d1c8a0e7d523fabcbf98dddee26d26e341 SHA512 2341ff459cb2432feff920048aac90868260d97c5ff68724b0b7e22c8e5c65da2b4055026d74578983020e24506d2f064e47e3fa247a4560a37951e205cd0a15 @@ -330,6 +334,8 @@ DIST github.com%2Fncw%2Fswift%2F@v%2Fv1.0.52.mod 28 BLAKE2B 57fb6c274af3e1f296bb DIST github.com%2Fncw%2Fswift%2F@v%2Fv1.0.52.zip 77749 BLAKE2B eaa632604b6808cdd0e6f7c864183f8d8cf0423a1e8ef7a9b6906cebcd55a4e6312a44d46b998a6f3ffdf4dfa7c84b13a50c2adddcbd6cb5205f7f3400dfbecc SHA512 b26f93046b971097b675fcc6ee4c8a53598e95625f7d71556787384bfb4b60706b88dfbb4071472611467e0a8b2cf09af490129be0c28d48f2bbf6042b7e1636 DIST github.com%2Fncw%2Fswift%2F@v%2Fv1.0.53.mod 28 BLAKE2B 57fb6c274af3e1f296bbb2c4b81cf52ecd31af71afac9be2f77ca58c67831ecac4eb2f4f8819c510f3e2982d9a5ffdfbb5f384db878b37b531e59e06e0093a31 SHA512 2f4794d0c8dfff16f1fa252eb5e3396e2cc5479c96b5e4af9ec01931387790e51273d4a308fb2813a699a54a3cbf6b3adb5e92d831d3032120cb5f19698bfd19 DIST github.com%2Fncw%2Fswift%2F@v%2Fv1.0.53.zip 77847 BLAKE2B d5864b60ada50a5096163ed3886efd6b081f320fce8f7c21b9b2654479077520538a8a3e3b7c2b22b53e0f9775d2b4071d34ad67ed8d60b38d279097d05827d0 SHA512 ff5edf9e78ad0fa498feda8d4fcbc45dafdd8adc76a67d00b3504afe8dcae682c19b86804ac3279f498ddc61ec662d13f27630269f68a1a707afc330625eea91 +DIST github.com%2Fncw%2Fswift%2Fv2%2F@v%2Fv2.0.0.mod 40 BLAKE2B 79eb94249355539af169c5a4c4fc7947104d715590ad68800539040dbf4e960f253a98f4ae8a420485e204e1b64e0fb4f14c345589af3b204448ce0357591abf SHA512 c900223a78f45d3b2034a3e1e9a6a1a8cdd62eaaffd255ae46e844cde4fe5ce8c01f35c184e0dba73715d1ae92864bd94567993d7fad333437c1c9de77f1bd32 +DIST github.com%2Fncw%2Fswift%2Fv2%2F@v%2Fv2.0.0.zip 79054 BLAKE2B 48b26e82b36238585b0cae08405fc1b19d99b908fa9de8a860dcc24cc1d68ac087e87fc6ca96c12780bcc9e645e8a87882706b103de11b4c152c4c03d115b2f6 SHA512 979a40a450aa8612835fcf0ea727eb0d05017b28fe6c2eb676026d95895f2bfb497347349125f9bbdc651b74c3b4d41b1c0fbbd1dfc8f03a44e1b8ba9ba4324b DIST github.com%2Fniemeyer%2Fpretty%2F@v%2Fv0.0.0-20200227124842-a10e7caefd8e.mod 78 BLAKE2B 7cde27fce0ec4a1c5c2e5205fb962352037c873d6183a6c1d8a9d385fe6a3bc8c9b66590401f8a715960858576d100626889e02361860bde65f8b66074d93837 SHA512 ee531fe5de94a4f4fc57592864a42beaf57be600d3fc11205ff79b44615429ccf46922cc3d80ab8df77b2db31a85bf40248ce0b1e1079d6861f317828b3305ea DIST github.com%2Fniemeyer%2Fpretty%2F@v%2Fv0.0.0-20200227124842-a10e7caefd8e.zip 13281 BLAKE2B eb14a393cfba4230af192cd76a63a20568fe80ff650113640eb63d880c276307e792b0bc3339ea37f1387f78ee5e9f15a8ff66d0c4b8c8cfb09fddb1e73288fc SHA512 96747fb5890efdf10e0793afc08df1ced6dc8c71462397a0e4149f32f77470f1af6bf8fb2637693497d33a2a7483c4609380ee89ee0a85ce21102a32b7a1000e DIST github.com%2Fpascaldekloe%2Fgoe%2F@v%2Fv0.0.0-20180627143212-57f6aae5913c.mod 35 BLAKE2B 3db6c40257f2c4b0254a26c6e414fdc87c037f6312d4bf7bbd39420d6df70f50eab84c387b54cc71fe16068e1b25e3fc63a833e11cf5b4346f842bc61328b0dc SHA512 0b378d1e15db4fc5a3d7d711b63dedefd141d607192344c8d1ab2ac755ab9c6e91b2c320378ac8a485cf94deee59e6628e7930017c6d659bead6ba89cd78a802 @@ -351,6 +357,8 @@ DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.1.mod 89 BLAKE2B bc24827e1c30919d56b20 DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.1.zip 12246 BLAKE2B d16692824b5db5c6cec62e092d08609a96c05903e5286095124855cec2eb07e5cc7ad70973c76a246b1207dd420ec450e80e1bf6f9f7929f60c8faa258b70496 SHA512 15b8c5edf9db6c97b8e7ec7e0f42e764d784179c6ce9533e074abcc81784b8e27b53b48641dd2a6f45f5d423ba1239cc9a8977124dfbad708714cedc4159105f DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.3.mod 98 BLAKE2B f389c41b6faeed9f7d510d88e256b40364fa834fef15ab95d00800a3106c6a690be97927929ac5b41aae37f6a86c941f81eddae50a107f815f22426d22822e3c SHA512 701501967684d9d1a751819e5e076f9f962026a79f7529c0b3b0a99dc015e731f7a90b1e005ed045a8ccde8e1f51410228604e589c8dfbf6f25b04c2daaf91c7 DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.3.zip 14664 BLAKE2B 5e0fe1a96057400630fbb6879a44879f3656ffb6152078c1ccf3f4dd3d064860cdffaa287ba8af03b20eb58eca6b8869282633fb63fd97ec1f69ff4806d1d456 SHA512 643dd982cee6ddf90457a1a4dffb36fb91f1e639ea21d2c6ab2d53659e84d784ea634eeaea5cafbf075609b7fc0a3705b500012d98725f5469ca7d5966f1857f +DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.5.mod 98 BLAKE2B f389c41b6faeed9f7d510d88e256b40364fa834fef15ab95d00800a3106c6a690be97927929ac5b41aae37f6a86c941f81eddae50a107f815f22426d22822e3c SHA512 701501967684d9d1a751819e5e076f9f962026a79f7529c0b3b0a99dc015e731f7a90b1e005ed045a8ccde8e1f51410228604e589c8dfbf6f25b04c2daaf91c7 +DIST github.com%2Fpkg%2Fxattr%2F@v%2Fv0.4.5.zip 14430 BLAKE2B 73678ae6df3addec052a84f9f6a093008bb2a55be0557fc3c516cd69d9154113af2de20899dab0981f3ef21177c3c0d7819127f5ec067e6e19e375cbc59f15de SHA512 1df519f4a98f7aee41cc04eb4e9fabfabae0f7a2212d14de0373f6641e5780e8331b97be5412c6c4e7002e4c2262f7f559db40d744506b6276372e100bda0314 DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902 DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2 DIST github.com%2Fposener%2Fcomplete%2F@v%2Fv1.1.1.mod 35 BLAKE2B 763a350270dbd9e5a8f735ded2a13c7bde23a356f8f4187b4fe430b1dbf995cc9ca2dad54a38e927c07ba01b5c21f8aadcce69b8a94baaafee013d4a9fd0c988 SHA512 79b29fa26101598261ce7406c81be4fa53d79e89a7bed072abcd572d7f35f3a408da45055f1b05c7ace8acdb0ac2ea005d79a4766e7657087ca46327ebce842c @@ -881,9 +889,11 @@ DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2020.1.3.mod 300 BLAKE2B 3aa707c72ce7e DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2020.1.4.mod 300 BLAKE2B 3aa707c72ce7e402cc1765fed30253eb87e9e87aecc8096130e973623f53ded2a7572ca3d464e4db9de524cd651b3aa8fbc9fa0ef6bdc4eb9670b4d8652f4dfc SHA512 d814675e448688f6a506397bedb262fb2583c913ec1f8ca9ffc11206bdcd7e1f4ee3c561aee366eb2cdaede8c522a6f58f116236f3033bc7e91ec139bdd140f9 DIST restic-0.11.0.tar.gz 23760619 BLAKE2B 85c247be9cddcb329ccfbfbbd2b6101c4b6bfd192105602168432688b33a53e2d77bc8e0a7ea89409329ea81aa1b84f6134ef6ef80e337fad76752d2ea45a8bb SHA512 332370fe4a47d2536c2d53c08105fcc4f590eb8a77b076817b4598ce55fe1e5c37463de3d855e2157ffdcdedff84edc8dfcfed33733256b649aba72da775907e DIST restic-0.12.1.tar.gz 23829887 BLAKE2B a9e94d0f4f8de9e6250dd40595e560393b1e04ff8ce6024bda2bbc06abd1a8fe95c064e2edc13ea16ecf88171218d97f943d7316b29a3b52c34d592cf55d77fe SHA512 a95ad2731889a54a26bd38d7c00285b5fee631d7b44bf553a37ef827747912ac03d5282b7fe5791705c98267cddb6282d82f13c1b6c489d1c09148da4fa526e7 +DIST restic-0.13.0.tar.gz 23855262 BLAKE2B fc4d0d91b21cb136311780ab6a3effb96f24a326c3f6e89d39148704c3f4991cb3a64c8193dd9cd83097ad95eda762de172a6a4b19bbeb093e5fd5f45ba1a49f SHA512 7f495cfaf40ef0d987e805c68dc328215477b6f662518292c73450fad012c82a07465efd5802bca11c852082c26f682390a781ac3030c79351c6057399657d54 DIST rsc.io%2Fbinaryregexp%2F@v%2Fv0.2.0.mod 36 BLAKE2B 61110bed2b9e99e0250cf6e8b842257202c89b3462edf9368b73cab29f9dbd4dcc66c3e290a1d6329b7d62321eecc52082a8c4c0797eac743a29a8a00910a93f SHA512 db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774 DIST rsc.io%2Fquote%2Fv3%2F@v%2Fv3.1.0.mod 55 BLAKE2B f1f0ba35f0ffd200ed37c06b2025c1fd436e3fd857bd525b9295c0cbcade7e1f037e3f566124a7ef428384d50525426f0d40468c967e39bac6057174710e2566 SHA512 e6357ddd7d09692c60e59e6cb80469ade8284052cdd3ea520ec4dbcb42c1cabe045c599e43cce94bec022bd82e87a554ecac42f8c917cf2ff44daff9c1a147d5 DIST rsc.io%2Fsampler%2F@v%2Fv1.3.0.mod 88 BLAKE2B c2ac3c9619e396db470c9951dfc11cdacccd56ae09b3b353015ee7e5fbb023df288dbf48d81b44c309241d1ea89a2e0ee42ee1d17e536fcfa531aaee0e651ab7 SHA512 2137507eb25fbae419605e0cd6bca4cfa584110eebc276cd759a4dcb6f97e52928e5b2d9b276e76bcabcec3bbfc2c42f97fa29f54695d27fb00f9423e1638863 EBUILD restic-0.11.0.ebuild 32428 BLAKE2B 9547c7ce3116e92e034880bae157c1f82430e8b0740d1a5dfcb43898c6b68b300a518b973f6fe70306cba0d64a143fbfed08c8223ad08a6e94f2c3fee8775324 SHA512 9b6170323810b0b94ce6c5664276e2fc5bb6d2517e0e73ef9b086eaf90337a533c775b943e603a91f54f4e2128991a8f1d99fdc3bad269a7d4e7ecea4a429d96 EBUILD restic-0.12.1.ebuild 40712 BLAKE2B d20bd333a47022956e8f0690c00b44f0456571b255cf20f7d15c5df1901112f192cf7601cf16d7e4c1ce09a6d4e7e7f33d7031c238a2f2f39d52b5be6ddba4cf SHA512 994b1544d3bfa537d0d72f7d85b8f24ed37563eb1f0f6fc19c7a32adbf95b82d6e44daf94eff5bd98e76e9a8f628c14a37dadf55dbf120e73ac6a84488406625 +EBUILD restic-0.13.0.ebuild 40699 BLAKE2B 4188501643d8d8aa89838c8caad219a823a7faf6ba2aab06587579580eefed4cef2ea416b985fd5e75b71abb1168470181b2008465de4f22825184f999ab3c5f SHA512 9e5dac5a4373d6dbbe9ba2471a5e818854035a6fbb5924e39315c93c132c5b1904dc67562620aadeed4a58f84bf868e258856c7c3384fa444e8abc30c47efbae MISC metadata.xml 475 BLAKE2B 42559f3e005f8e05dbca2e857681072a08b3856e4f898d5dfd0fce2e1e628f97960c61e64491e7521889773be1b15baf565966adc35c38a52bf69cc70befc745 SHA512 97fa3fb430b022141730d1ac48fb87c5751c3ef5d6a5b35dc26b8fd893b3e30ccb8e5614de546e0de20348e125ab498b14edadb97aaae0aa30a2010f98c3fd70 diff --git a/app-backup/restic/restic-0.13.0.ebuild b/app-backup/restic/restic-0.13.0.ebuild new file mode 100644 index 000000000000..31864c839e20 --- /dev/null +++ b/app-backup/restic/restic-0.13.0.ebuild @@ -0,0 +1,795 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module + +DESCRIPTION="A backup program that is fast, efficient and secure" +HOMEPAGE="https://restic.github.io/" + +EGO_SUM=( + "bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512" + "bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod" + "cloud.google.com/go v0.26.0/go.mod" + "cloud.google.com/go v0.34.0/go.mod" + "cloud.google.com/go v0.38.0/go.mod" + "cloud.google.com/go v0.44.1/go.mod" + "cloud.google.com/go v0.44.2/go.mod" + "cloud.google.com/go v0.45.1/go.mod" + "cloud.google.com/go v0.46.3/go.mod" + "cloud.google.com/go v0.50.0/go.mod" + "cloud.google.com/go v0.52.0/go.mod" + "cloud.google.com/go v0.53.0/go.mod" + "cloud.google.com/go v0.54.0/go.mod" + "cloud.google.com/go v0.56.0/go.mod" + "cloud.google.com/go v0.57.0/go.mod" + "cloud.google.com/go v0.62.0/go.mod" + "cloud.google.com/go v0.65.0/go.mod" + "cloud.google.com/go v0.72.0/go.mod" + "cloud.google.com/go v0.74.0/go.mod" + "cloud.google.com/go v0.78.0/go.mod" + "cloud.google.com/go v0.79.0/go.mod" + "cloud.google.com/go v0.81.0/go.mod" + "cloud.google.com/go v0.83.0/go.mod" + "cloud.google.com/go v0.84.0" + "cloud.google.com/go v0.84.0/go.mod" + "cloud.google.com/go/bigquery v1.0.1/go.mod" + "cloud.google.com/go/bigquery v1.3.0/go.mod" + "cloud.google.com/go/bigquery v1.4.0/go.mod" + "cloud.google.com/go/bigquery v1.5.0/go.mod" + "cloud.google.com/go/bigquery v1.7.0/go.mod" + "cloud.google.com/go/bigquery v1.8.0/go.mod" + "cloud.google.com/go/datastore v1.0.0/go.mod" + "cloud.google.com/go/datastore v1.1.0/go.mod" + "cloud.google.com/go/firestore v1.1.0/go.mod" + "cloud.google.com/go/pubsub v1.0.1/go.mod" + "cloud.google.com/go/pubsub v1.1.0/go.mod" + "cloud.google.com/go/pubsub v1.2.0/go.mod" + "cloud.google.com/go/pubsub v1.3.1/go.mod" + "cloud.google.com/go/storage v1.0.0/go.mod" + "cloud.google.com/go/storage v1.5.0/go.mod" + "cloud.google.com/go/storage v1.6.0/go.mod" + "cloud.google.com/go/storage v1.8.0/go.mod" + "cloud.google.com/go/storage v1.10.0/go.mod" + "cloud.google.com/go/storage v1.16.0" + "cloud.google.com/go/storage v1.16.0/go.mod" + "dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod" + "github.com/Azure/azure-sdk-for-go v55.6.0+incompatible" + "github.com/Azure/azure-sdk-for-go v55.6.0+incompatible/go.mod" + "github.com/Azure/go-autorest v14.2.0+incompatible" + "github.com/Azure/go-autorest v14.2.0+incompatible/go.mod" + "github.com/Azure/go-autorest/autorest v0.11.19" + "github.com/Azure/go-autorest/autorest v0.11.19/go.mod" + "github.com/Azure/go-autorest/autorest/adal v0.9.13" + "github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod" + "github.com/Azure/go-autorest/autorest/date v0.3.0" + "github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod" + "github.com/Azure/go-autorest/autorest/mocks v0.4.1" + "github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod" + "github.com/Azure/go-autorest/autorest/to v0.4.0" + "github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod" + "github.com/Azure/go-autorest/logger v0.2.1" + "github.com/Azure/go-autorest/logger v0.2.1/go.mod" + "github.com/Azure/go-autorest/tracing v0.6.0" + "github.com/Azure/go-autorest/tracing v0.6.0/go.mod" + "github.com/BurntSushi/toml v0.3.1/go.mod" + "github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod" + "github.com/antihax/optional v1.0.0/go.mod" + "github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod" + "github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod" + "github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod" + "github.com/bgentry/speakeasy v0.1.0/go.mod" + "github.com/bketelsen/crypt v0.0.4/go.mod" + "github.com/cenkalti/backoff/v4 v4.1.1" + "github.com/cenkalti/backoff/v4 v4.1.1/go.mod" + "github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod" + "github.com/cespare/xxhash/v2 v2.1.1" + "github.com/cespare/xxhash/v2 v2.1.1/go.mod" + "github.com/chzyer/logex v1.1.10/go.mod" + "github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod" + "github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod" + "github.com/client9/misspell v0.3.4/go.mod" + "github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod" + "github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod" + "github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod" + "github.com/coreos/go-semver v0.3.0/go.mod" + "github.com/coreos/go-systemd/v22 v22.3.2/go.mod" + "github.com/cpuguy83/go-md2man/v2 v2.0.0" + "github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/dnaeon/go-vcr v1.2.0" + "github.com/dnaeon/go-vcr v1.2.0/go.mod" + "github.com/dustin/go-humanize v1.0.0" + "github.com/dustin/go-humanize v1.0.0/go.mod" + "github.com/elithrar/simple-scrypt v1.3.0" + "github.com/elithrar/simple-scrypt v1.3.0/go.mod" + "github.com/envoyproxy/go-control-plane v0.9.0/go.mod" + "github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod" + "github.com/envoyproxy/go-control-plane v0.9.4/go.mod" + "github.com/envoyproxy/go-control-plane v0.9.7/go.mod" + "github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod" + "github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod" + "github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod" + "github.com/fatih/color v1.7.0/go.mod" + "github.com/form3tech-oss/jwt-go v3.2.2+incompatible" + "github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod" + "github.com/fsnotify/fsnotify v1.4.9/go.mod" + "github.com/ghodss/yaml v1.0.0/go.mod" + "github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod" + "github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod" + "github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod" + "github.com/go-ole/go-ole v1.2.5" + "github.com/go-ole/go-ole v1.2.5/go.mod" + "github.com/godbus/dbus/v5 v5.0.4/go.mod" + "github.com/gofrs/uuid v4.0.0+incompatible" + "github.com/gofrs/uuid v4.0.0+incompatible/go.mod" + "github.com/gogo/protobuf v1.3.2/go.mod" + "github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod" + "github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod" + "github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod" + "github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e" + "github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod" + "github.com/golang/mock v1.1.1/go.mod" + "github.com/golang/mock v1.2.0/go.mod" + "github.com/golang/mock v1.3.1/go.mod" + "github.com/golang/mock v1.4.0/go.mod" + "github.com/golang/mock v1.4.1/go.mod" + "github.com/golang/mock v1.4.3/go.mod" + "github.com/golang/mock v1.4.4/go.mod" + "github.com/golang/mock v1.5.0/go.mod" + "github.com/golang/protobuf v1.2.0/go.mod" + "github.com/golang/protobuf v1.3.1/go.mod" + "github.com/golang/protobuf v1.3.2/go.mod" + "github.com/golang/protobuf v1.3.3/go.mod" + "github.com/golang/protobuf v1.3.4/go.mod" + "github.com/golang/protobuf v1.3.5/go.mod" + "github.com/golang/protobuf v1.4.0-rc.1/go.mod" + "github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod" + "github.com/golang/protobuf v1.4.0-rc.2/go.mod" + "github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod" + "github.com/golang/protobuf v1.4.0/go.mod" + "github.com/golang/protobuf v1.4.1/go.mod" + "github.com/golang/protobuf v1.4.2/go.mod" + "github.com/golang/protobuf v1.4.3/go.mod" + "github.com/golang/protobuf v1.5.0/go.mod" + "github.com/golang/protobuf v1.5.1/go.mod" + "github.com/golang/protobuf v1.5.2" + "github.com/golang/protobuf v1.5.2/go.mod" + "github.com/golang/snappy v0.0.3" + "github.com/golang/snappy v0.0.3/go.mod" + "github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod" + "github.com/google/btree v1.0.0/go.mod" + "github.com/google/go-cmp v0.2.0/go.mod" + "github.com/google/go-cmp v0.3.0/go.mod" + "github.com/google/go-cmp v0.3.1/go.mod" + "github.com/google/go-cmp v0.4.0/go.mod" + "github.com/google/go-cmp v0.4.1/go.mod" + "github.com/google/go-cmp v0.5.0/go.mod" + "github.com/google/go-cmp v0.5.1/go.mod" + "github.com/google/go-cmp v0.5.2/go.mod" + "github.com/google/go-cmp v0.5.3/go.mod" + "github.com/google/go-cmp v0.5.4/go.mod" + "github.com/google/go-cmp v0.5.5/go.mod" + "github.com/google/go-cmp v0.5.6" + "github.com/google/go-cmp v0.5.6/go.mod" + "github.com/google/gofuzz v1.0.0/go.mod" + "github.com/google/martian v2.1.0+incompatible" + "github.com/google/martian v2.1.0+incompatible/go.mod" + "github.com/google/martian/v3 v3.0.0/go.mod" + "github.com/google/martian/v3 v3.1.0/go.mod" + "github.com/google/martian/v3 v3.2.1" + "github.com/google/martian/v3 v3.2.1/go.mod" + "github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod" + "github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod" + "github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod" + "github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod" + "github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod" + "github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod" + "github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod" + "github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod" + "github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod" + "github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod" + "github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod" + "github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod" + "github.com/google/renameio v0.1.0/go.mod" + "github.com/google/uuid v1.1.1/go.mod" + "github.com/google/uuid v1.1.2" + "github.com/google/uuid v1.1.2/go.mod" + "github.com/googleapis/gax-go/v2 v2.0.4/go.mod" + "github.com/googleapis/gax-go/v2 v2.0.5" + "github.com/googleapis/gax-go/v2 v2.0.5/go.mod" + "github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1" + "github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod" + "github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod" + "github.com/hashicorp/consul/api v1.1.0/go.mod" + "github.com/hashicorp/consul/sdk v0.1.1/go.mod" + "github.com/hashicorp/errwrap v1.0.0/go.mod" + "github.com/hashicorp/go-cleanhttp v0.5.1/go.mod" + "github.com/hashicorp/go-immutable-radix v1.0.0/go.mod" + "github.com/hashicorp/go-msgpack v0.5.3/go.mod" + "github.com/hashicorp/go-multierror v1.0.0/go.mod" + "github.com/hashicorp/go-rootcerts v1.0.0/go.mod" + "github.com/hashicorp/go-sockaddr v1.0.0/go.mod" + "github.com/hashicorp/go-syslog v1.0.0/go.mod" + "github.com/hashicorp/go-uuid v1.0.0/go.mod" + "github.com/hashicorp/go-uuid v1.0.1/go.mod" + "github.com/hashicorp/go.net v0.0.1/go.mod" + "github.com/hashicorp/golang-lru v0.5.0/go.mod" + "github.com/hashicorp/golang-lru v0.5.1/go.mod" + "github.com/hashicorp/golang-lru v0.5.4" + "github.com/hashicorp/golang-lru v0.5.4/go.mod" + "github.com/hashicorp/hcl v1.0.0/go.mod" + "github.com/hashicorp/logutils v1.0.0/go.mod" + "github.com/hashicorp/mdns v1.0.0/go.mod" + "github.com/hashicorp/memberlist v0.1.3/go.mod" + "github.com/hashicorp/serf v0.8.2/go.mod" + "github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod" + "github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod" + "github.com/inconshreveable/mousetrap v1.0.0" + "github.com/inconshreveable/mousetrap v1.0.0/go.mod" + "github.com/json-iterator/go v1.1.10/go.mod" + "github.com/json-iterator/go v1.1.11" + "github.com/json-iterator/go v1.1.11/go.mod" + "github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod" + "github.com/jstemmer/go-junit-report v0.9.1" + "github.com/jstemmer/go-junit-report v0.9.1/go.mod" + "github.com/jtolds/gls v4.20.0+incompatible" + "github.com/jtolds/gls v4.20.0+incompatible/go.mod" + "github.com/juju/ratelimit v1.0.1" + "github.com/juju/ratelimit v1.0.1/go.mod" + "github.com/kisielk/errcheck v1.5.0/go.mod" + "github.com/kisielk/gotool v1.0.0/go.mod" + "github.com/klauspost/cpuid v1.2.3/go.mod" + "github.com/klauspost/cpuid v1.3.1" + "github.com/klauspost/cpuid v1.3.1/go.mod" + "github.com/klauspost/cpuid/v2 v2.0.4" + "github.com/klauspost/cpuid/v2 v2.0.4/go.mod" + "github.com/kr/fs v0.1.0" + "github.com/kr/fs v0.1.0/go.mod" + "github.com/kr/pretty v0.1.0" + "github.com/kr/pretty v0.1.0/go.mod" + "github.com/kr/pty v1.1.1/go.mod" + "github.com/kr/text v0.1.0" + "github.com/kr/text v0.1.0/go.mod" + "github.com/kurin/blazer v0.5.4-0.20211030221322-ba894c124ac6" + "github.com/kurin/blazer v0.5.4-0.20211030221322-ba894c124ac6/go.mod" + "github.com/magiconair/properties v1.8.5/go.mod" + "github.com/mattn/go-colorable v0.0.9/go.mod" + "github.com/mattn/go-isatty v0.0.3/go.mod" + "github.com/miekg/dns v1.0.14/go.mod" + "github.com/minio/md5-simd v1.1.0" + "github.com/minio/md5-simd v1.1.0/go.mod" + "github.com/minio/minio-go/v7 v7.0.14" + "github.com/minio/minio-go/v7 v7.0.14/go.mod" + "github.com/minio/sha256-simd v0.1.1/go.mod" + "github.com/minio/sha256-simd v1.0.0" + "github.com/minio/sha256-simd v1.0.0/go.mod" + "github.com/mitchellh/cli v1.0.0/go.mod" + "github.com/mitchellh/go-homedir v1.0.0/go.mod" + "github.com/mitchellh/go-homedir v1.1.0" + "github.com/mitchellh/go-homedir v1.1.0/go.mod" + "github.com/mitchellh/go-testing-interface v1.0.0/go.mod" + "github.com/mitchellh/gox v0.4.0/go.mod" + "github.com/mitchellh/iochan v1.0.0/go.mod" + "github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod" + "github.com/mitchellh/mapstructure v1.1.2/go.mod" + "github.com/mitchellh/mapstructure v1.4.1/go.mod" + "github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod" + "github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd" + "github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod" + "github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod" + "github.com/modern-go/reflect2 v1.0.1" + "github.com/modern-go/reflect2 v1.0.1/go.mod" + "github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod" + "github.com/ncw/swift/v2 v2.0.0" + "github.com/ncw/swift/v2 v2.0.0/go.mod" + "github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod" + "github.com/pelletier/go-toml v1.9.3/go.mod" + "github.com/pkg/errors v0.8.1/go.mod" + "github.com/pkg/errors v0.9.1" + "github.com/pkg/errors v0.9.1/go.mod" + "github.com/pkg/profile v1.6.0" + "github.com/pkg/profile v1.6.0/go.mod" + "github.com/pkg/sftp v1.10.1/go.mod" + "github.com/pkg/sftp v1.13.2" + "github.com/pkg/sftp v1.13.2/go.mod" + "github.com/pkg/xattr v0.4.5" + "github.com/pkg/xattr v0.4.5/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/posener/complete v1.1.1/go.mod" + "github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod" + "github.com/restic/chunker v0.4.0" + "github.com/restic/chunker v0.4.0/go.mod" + "github.com/rogpeppe/fastuuid v1.2.0/go.mod" + "github.com/rogpeppe/go-internal v1.3.0/go.mod" + "github.com/rs/xid v1.2.1" + "github.com/rs/xid v1.2.1/go.mod" + "github.com/russross/blackfriday/v2 v2.0.1" + "github.com/russross/blackfriday/v2 v2.0.1/go.mod" + "github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod" + "github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod" + "github.com/shurcooL/sanitized_anchor_name v1.0.0" + "github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod" + "github.com/sirupsen/logrus v1.8.1" + "github.com/sirupsen/logrus v1.8.1/go.mod" + "github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d" + "github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod" + "github.com/smartystreets/goconvey v1.6.4" + "github.com/smartystreets/goconvey v1.6.4/go.mod" + "github.com/spf13/afero v1.6.0/go.mod" + "github.com/spf13/cast v1.3.1/go.mod" + "github.com/spf13/cobra v1.2.1" + "github.com/spf13/cobra v1.2.1/go.mod" + "github.com/spf13/jwalterweatherman v1.1.0/go.mod" + "github.com/spf13/pflag v1.0.5" + "github.com/spf13/pflag v1.0.5/go.mod" + "github.com/spf13/viper v1.8.1/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/testify v1.2.2/go.mod" + "github.com/stretchr/testify v1.3.0/go.mod" + "github.com/stretchr/testify v1.4.0/go.mod" + "github.com/stretchr/testify v1.5.1/go.mod" + "github.com/stretchr/testify v1.6.1/go.mod" + "github.com/stretchr/testify v1.7.0" + "github.com/stretchr/testify v1.7.0/go.mod" + "github.com/subosito/gotenv v1.2.0/go.mod" + "github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c" + "github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod" + "github.com/yuin/goldmark v1.1.25/go.mod" + "github.com/yuin/goldmark v1.1.27/go.mod" + "github.com/yuin/goldmark v1.1.32/go.mod" + "github.com/yuin/goldmark v1.2.1/go.mod" + "github.com/yuin/goldmark v1.3.5/go.mod" + "go.etcd.io/etcd/api/v3 v3.5.0/go.mod" + "go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod" + "go.etcd.io/etcd/client/v2 v2.305.0/go.mod" + "go.opencensus.io v0.21.0/go.mod" + "go.opencensus.io v0.22.0/go.mod" + "go.opencensus.io v0.22.2/go.mod" + "go.opencensus.io v0.22.3/go.mod" + "go.opencensus.io v0.22.4/go.mod" + "go.opencensus.io v0.22.5/go.mod" + "go.opencensus.io v0.23.0" + "go.opencensus.io v0.23.0/go.mod" + "go.uber.org/atomic v1.7.0/go.mod" + "go.uber.org/multierr v1.6.0/go.mod" + "go.uber.org/zap v1.17.0/go.mod" + "golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod" + "golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod" + "golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod" + "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod" + "golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod" + "golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod" + "golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod" + "golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod" + "golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e" + "golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod" + "golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod" + "golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod" + "golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod" + "golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod" + "golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod" + "golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod" + "golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod" + "golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod" + "golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod" + "golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod" + "golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod" + "golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod" + "golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod" + "golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod" + "golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod" + "golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod" + "golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod" + "golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod" + "golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod" + "golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod" + "golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod" + "golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod" + "golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod" + "golang.org/x/lint v0.0.0-20210508222113-6edffad5e616" + "golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod" + "golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod" + "golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod" + "golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod" + "golang.org/x/mod v0.1.0/go.mod" + "golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod" + "golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod" + "golang.org/x/mod v0.2.0/go.mod" + "golang.org/x/mod v0.3.0/go.mod" + "golang.org/x/mod v0.4.0/go.mod" + "golang.org/x/mod v0.4.1/go.mod" + "golang.org/x/mod v0.4.2" + "golang.org/x/mod v0.4.2/go.mod" + "golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod" + "golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod" + "golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod" + "golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod" + "golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod" + "golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod" + "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod" + "golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod" + "golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod" + "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" + "golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod" + "golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod" + "golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod" + "golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod" + "golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod" + "golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod" + "golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod" + "golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod" + "golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod" + "golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod" + "golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod" + "golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod" + "golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod" + "golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod" + "golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod" + "golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod" + "golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod" + "golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod" + "golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod" + "golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod" + "golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod" + "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod" + "golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod" + "golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod" + "golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod" + "golang.org/x/net v0.0.0-20210614182718-04defd469f4e" + "golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod" + "golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod" + "golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod" + "golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod" + "golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod" + "golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod" + "golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod" + "golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod" + "golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod" + "golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod" + "golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod" + "golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod" + "golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod" + "golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod" + "golang.org/x/oauth2 v0.0.0-20210615190721-d04028783cf1/go.mod" + "golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914" + "golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod" + "golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod" + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod" + "golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod" + "golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod" + "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" + "golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod" + "golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod" + "golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod" + "golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod" + "golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod" + "golang.org/x/sync v0.0.0-20210220032951-036812b2e83c" + "golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod" + "golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod" + "golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod" + "golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod" + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" + "golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod" + "golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod" + "golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod" + "golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod" + "golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod" + "golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod" + "golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod" + "golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod" + "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" + "golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod" + "golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod" + "golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod" + "golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod" + "golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod" + "golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod" + "golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod" + "golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod" + "golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod" + "golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod" + "golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod" + "golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod" + "golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod" + "golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod" + "golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod" + "golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod" + "golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod" + "golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod" + "golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod" + "golang.org/x/sys v0.0.0-20201101102859-da207088b7d1/go.mod" + "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod" + "golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod" + "golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod" + "golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod" + "golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod" + "golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod" + "golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod" + "golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod" + "golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod" + "golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod" + "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod" + "golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod" + "golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod" + "golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod" + "golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod" + "golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod" + "golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod" + "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c" + "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod" + "golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod" + "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1" + "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod" + "golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod" + "golang.org/x/text v0.3.2/go.mod" + "golang.org/x/text v0.3.3/go.mod" + "golang.org/x/text v0.3.4/go.mod" + "golang.org/x/text v0.3.5/go.mod" + "golang.org/x/text v0.3.6" + "golang.org/x/text v0.3.6/go.mod" + "golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod" + "golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod" + "golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod" + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" + "golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod" + "golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod" + "golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod" + "golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod" + "golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod" + "golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod" + "golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod" + "golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod" + "golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod" + "golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod" + "golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod" + "golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod" + "golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod" + "golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod" + "golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod" + "golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod" + "golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod" + "golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod" + "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod" + "golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod" + "golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod" + "golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod" + "golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod" + "golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod" + "golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod" + "golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod" + "golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod" + "golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod" + "golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod" + "golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod" + "golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod" + "golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod" + "golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod" + "golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod" + "golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod" + "golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod" + "golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod" + "golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod" + "golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod" + "golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod" + "golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod" + "golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod" + "golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod" + "golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod" + "golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod" + "golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod" + "golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod" + "golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod" + "golang.org/x/tools v0.1.0/go.mod" + "golang.org/x/tools v0.1.1/go.mod" + "golang.org/x/tools v0.1.2/go.mod" + "golang.org/x/tools v0.1.3/go.mod" + "golang.org/x/tools v0.1.4" + "golang.org/x/tools v0.1.4/go.mod" + "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" + "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod" + "golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod" + "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1" + "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod" + "google.golang.org/api v0.4.0/go.mod" + "google.golang.org/api v0.7.0/go.mod" + "google.golang.org/api v0.8.0/go.mod" + "google.golang.org/api v0.9.0/go.mod" + "google.golang.org/api v0.13.0/go.mod" + "google.golang.org/api v0.14.0/go.mod" + "google.golang.org/api v0.15.0/go.mod" + "google.golang.org/api v0.17.0/go.mod" + "google.golang.org/api v0.18.0/go.mod" + "google.golang.org/api v0.19.0/go.mod" + "google.golang.org/api v0.20.0/go.mod" + "google.golang.org/api v0.22.0/go.mod" + "google.golang.org/api v0.24.0/go.mod" + "google.golang.org/api v0.28.0/go.mod" + "google.golang.org/api v0.29.0/go.mod" + "google.golang.org/api v0.30.0/go.mod" + "google.golang.org/api v0.35.0/go.mod" + "google.golang.org/api v0.36.0/go.mod" + "google.golang.org/api v0.40.0/go.mod" + "google.golang.org/api v0.41.0/go.mod" + "google.golang.org/api v0.43.0/go.mod" + "google.golang.org/api v0.44.0/go.mod" + "google.golang.org/api v0.47.0/go.mod" + "google.golang.org/api v0.48.0/go.mod" + "google.golang.org/api v0.49.0/go.mod" + "google.golang.org/api v0.50.0" + "google.golang.org/api v0.50.0/go.mod" + "google.golang.org/appengine v1.1.0/go.mod" + "google.golang.org/appengine v1.4.0/go.mod" + "google.golang.org/appengine v1.5.0/go.mod" + "google.golang.org/appengine v1.6.1/go.mod" + "google.golang.org/appengine v1.6.5/go.mod" + "google.golang.org/appengine v1.6.6/go.mod" + "google.golang.org/appengine v1.6.7" + "google.golang.org/appengine v1.6.7/go.mod" + "google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod" + "google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod" + "google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod" + "google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod" + "google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod" + "google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod" + "google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod" + "google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod" + "google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod" + "google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod" + "google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod" + "google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod" + "google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod" + "google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod" + "google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod" + "google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod" + "google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod" + "google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod" + "google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod" + "google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod" + "google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod" + "google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod" + "google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod" + "google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod" + "google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod" + "google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod" + "google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod" + "google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod" + "google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod" + "google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod" + "google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod" + "google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod" + "google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod" + "google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod" + "google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod" + "google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod" + "google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod" + "google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod" + "google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod" + "google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod" + "google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod" + "google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod" + "google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod" + "google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod" + "google.golang.org/genproto v0.0.0-20210617175327-b9e0b3197ced/go.mod" + "google.golang.org/genproto v0.0.0-20210624174822-c5cf32407d0a/go.mod" + "google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84" + "google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod" + "google.golang.org/grpc v1.19.0/go.mod" + "google.golang.org/grpc v1.20.1/go.mod" + "google.golang.org/grpc v1.21.1/go.mod" + "google.golang.org/grpc v1.23.0/go.mod" + "google.golang.org/grpc v1.25.1/go.mod" + "google.golang.org/grpc v1.26.0/go.mod" + "google.golang.org/grpc v1.27.0/go.mod" + "google.golang.org/grpc v1.27.1/go.mod" + "google.golang.org/grpc v1.28.0/go.mod" + "google.golang.org/grpc v1.29.1/go.mod" + "google.golang.org/grpc v1.30.0/go.mod" + "google.golang.org/grpc v1.31.0/go.mod" + "google.golang.org/grpc v1.31.1/go.mod" + "google.golang.org/grpc v1.33.1/go.mod" + "google.golang.org/grpc v1.33.2/go.mod" + "google.golang.org/grpc v1.34.0/go.mod" + "google.golang.org/grpc v1.35.0/go.mod" + "google.golang.org/grpc v1.36.0/go.mod" + "google.golang.org/grpc v1.36.1/go.mod" + "google.golang.org/grpc v1.37.0/go.mod" + "google.golang.org/grpc v1.37.1/go.mod" + "google.golang.org/grpc v1.38.0" + "google.golang.org/grpc v1.38.0/go.mod" + "google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod" + "google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod" + "google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod" + "google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod" + "google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod" + "google.golang.org/protobuf v1.21.0/go.mod" + "google.golang.org/protobuf v1.22.0/go.mod" + "google.golang.org/protobuf v1.23.0/go.mod" + "google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod" + "google.golang.org/protobuf v1.24.0/go.mod" + "google.golang.org/protobuf v1.25.0/go.mod" + "google.golang.org/protobuf v1.26.0-rc.1/go.mod" + "google.golang.org/protobuf v1.26.0" + "google.golang.org/protobuf v1.26.0/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127" + "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" + "gopkg.in/errgo.v2 v2.1.0/go.mod" + "gopkg.in/ini.v1 v1.57.0/go.mod" + "gopkg.in/ini.v1 v1.62.0" + "gopkg.in/ini.v1 v1.62.0/go.mod" + "gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637" + "gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637/go.mod" + "gopkg.in/yaml.v2 v2.2.2/go.mod" + "gopkg.in/yaml.v2 v2.2.3/go.mod" + "gopkg.in/yaml.v2 v2.2.8/go.mod" + "gopkg.in/yaml.v2 v2.4.0" + "gopkg.in/yaml.v2 v2.4.0/go.mod" + "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" + "gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b" + "gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod" + "honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod" + "honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod" + "honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod" + "honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod" + "honnef.co/go/tools v0.0.1-2019.2.3/go.mod" + "honnef.co/go/tools v0.0.1-2020.1.3/go.mod" + "honnef.co/go/tools v0.0.1-2020.1.4/go.mod" + "rsc.io/binaryregexp v0.2.0/go.mod" + "rsc.io/quote/v3 v3.1.0/go.mod" + "rsc.io/sampler v1.3.0/go.mod" +) +go-module_set_globals + +SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND="sys-fs/fuse:0" +DEPEND="${RDEPEND}" + +src_compile() { + local mygoargs=( + -v + -work + -x + -tags release + -ldflags "-X main.version=${PV}" + -asmflags "-trimpath=${S}" + -gcflags "-trimpath=${S}" + ) + + go build "${mygoargs[@]}" -o restic ./cmd/restic || die +} + +src_test() { + go test -timeout 30m -v -work -x ./cmd/... ./internal/... || die +} + +src_install() { + dobin restic + + newbashcomp doc/bash-completion.sh "${PN}" + + insinto /usr/share/zsh/site-functions + newins doc/zsh-completion.zsh _restic + + doman doc/man/* + dodoc doc/*.rst +} -- cgit v1.2.3