From 02930d1eb5af78d32b1597af6af24163895d9e0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 11 May 2023 23:47:37 +0100 Subject: gentoo auto-resync : 11:05:2023 - 23:47:37 --- app-backup/Manifest.gz | Bin 8037 -> 8036 bytes app-backup/amanda/Manifest | 2 +- app-backup/amanda/amanda-3.5.1-r4.ebuild | 495 --------------------- app-backup/amanda/amanda-3.5.1-r5.ebuild | 495 +++++++++++++++++++++ app-backup/backintime/Manifest | 6 +- app-backup/backintime/backintime-1.3.2-r1.ebuild | 77 ++++ app-backup/backintime/backintime-1.3.2.ebuild | 77 ---- app-backup/backintime/backintime-1.3.3-r1.ebuild | 103 +++++ app-backup/backintime/backintime-1.3.3.ebuild | 103 ----- app-backup/backintime/backintime-9999.ebuild | 2 +- app-backup/btrbk/Manifest | 6 +- app-backup/btrbk/btrbk-0.31.2-r1.ebuild | 77 ++++ app-backup/btrbk/btrbk-0.31.2.ebuild | 77 ---- app-backup/btrbk/btrbk-0.32.6-r1.ebuild | 77 ++++ app-backup/btrbk/btrbk-0.32.6.ebuild | 77 ---- app-backup/btrbk/btrbk-9999.ebuild | 4 +- app-backup/cdbkup/Manifest | 2 +- app-backup/cdbkup/cdbkup-1.0-r4.ebuild | 39 -- app-backup/cdbkup/cdbkup-1.0-r5.ebuild | 39 ++ app-backup/duplicity/Manifest | 3 + app-backup/duplicity/duplicity-1.2.3.ebuild | 51 +++ .../files/duplicity-1.2.3-fix-docs-cmd.patch | 20 + app-backup/hdup/Manifest | 2 +- app-backup/hdup/hdup-2.0.14-r1.ebuild | 44 ++ app-backup/hdup/hdup-2.0.14.ebuild | 44 -- app-backup/rsnapshot/Manifest | 4 +- app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild | 51 +++ app-backup/rsnapshot/rsnapshot-1.4.4.ebuild | 50 --- app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild | 54 +++ app-backup/rsnapshot/rsnapshot-1.4.5.ebuild | 54 --- 30 files changed, 1105 insertions(+), 1030 deletions(-) delete mode 100644 app-backup/amanda/amanda-3.5.1-r4.ebuild create mode 100644 app-backup/amanda/amanda-3.5.1-r5.ebuild create mode 100644 app-backup/backintime/backintime-1.3.2-r1.ebuild delete mode 100644 app-backup/backintime/backintime-1.3.2.ebuild create mode 100644 app-backup/backintime/backintime-1.3.3-r1.ebuild delete mode 100644 app-backup/backintime/backintime-1.3.3.ebuild create mode 100644 app-backup/btrbk/btrbk-0.31.2-r1.ebuild delete mode 100644 app-backup/btrbk/btrbk-0.31.2.ebuild create mode 100644 app-backup/btrbk/btrbk-0.32.6-r1.ebuild delete mode 100644 app-backup/btrbk/btrbk-0.32.6.ebuild delete mode 100644 app-backup/cdbkup/cdbkup-1.0-r4.ebuild create mode 100644 app-backup/cdbkup/cdbkup-1.0-r5.ebuild create mode 100644 app-backup/duplicity/duplicity-1.2.3.ebuild create mode 100644 app-backup/duplicity/files/duplicity-1.2.3-fix-docs-cmd.patch create mode 100644 app-backup/hdup/hdup-2.0.14-r1.ebuild delete mode 100644 app-backup/hdup/hdup-2.0.14.ebuild create mode 100644 app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild delete mode 100644 app-backup/rsnapshot/rsnapshot-1.4.4.ebuild create mode 100644 app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild delete mode 100644 app-backup/rsnapshot/rsnapshot-1.4.5.ebuild (limited to 'app-backup') diff --git a/app-backup/Manifest.gz b/app-backup/Manifest.gz index 089c0d72150a..d39f4def99e4 100644 Binary files a/app-backup/Manifest.gz and b/app-backup/Manifest.gz differ diff --git a/app-backup/amanda/Manifest b/app-backup/amanda/Manifest index 2d101220b0c9..8c3941ae669f 100644 --- a/app-backup/amanda/Manifest +++ b/app-backup/amanda/Manifest @@ -15,5 +15,5 @@ AUX example_amanda.conf 635 BLAKE2B c02539af8d0692d8ebf80fae47979845a872bd151596 AUX example_disklist-2.5.1_p3-r1 177 BLAKE2B 3060151252a44a4abf02764c19db8349ea63691495bda0ca2db4112844c5aea60e4f8b13e668d9a9ac3707f4f52407c8639ed8cca353eac72e8ca7d9cf38dcd5 SHA512 43fd73b55d48396e1863b23b20b84781aaa7e38200ee4fdbcb898c9a8c5479e24b8448a68ceac01bd6339202935bbf32f02e70a779ee989eeb368ec88d890ae3 AUX example_global.conf 1377 BLAKE2B 712a3ce480b2cc5e0e47a168ac178621b1e655e9d9880c278dfd5aad9627db14f1f3f6be410c3abc4ce4bd33b0728db14d7832149c1643929bd1c53f27d2987a SHA512 c432bdfb97ceb1005bc004d12208f90b09d4c41c8562b8bba0f7b43bbe510672038ca1658a764cff7c6f8e56fa1439a7c15c69714773438e602a693a4f8195a5 DIST amanda-3.5.1.tar.gz 5402093 BLAKE2B 4c342fb55b2b5fc0d338a1616bf26b1d844b0ecd6627432b849996c0072756090e1f695050605af0a5c3eda2daeb63131fbe16b5ac728af9137699f4d916b8e8 SHA512 8d5451b6b3f18f9a705592ba6baf8ffb7fb4fe62261eac8a4f4fae4eded3f7f447f547ac6f016bcb57ea43f116cf87fdc48f8e77b117bbdecf00d3e37dd0f39f -EBUILD amanda-3.5.1-r4.ebuild 15905 BLAKE2B 636641208fcfe1022118405deee8f9dd6c6dbd89527fcc026801f434e6500e8858de1a87667717412208f6d39a9e814184c6d936d86fd491a2ada9ee1015ac33 SHA512 0865830e18522b764e646816c62f453de0f71312103d6c714d07aadc71177d995be25627da5424561ed58e6be6fe748cecab4c9201548ee4b411398d6b45a145 +EBUILD amanda-3.5.1-r5.ebuild 15904 BLAKE2B a2da7acb0a67a8d7c9b4a87ba6a2228f992f18ea4baa03cd799c6749fc93f3e7f746db4754a20b351253021f3547c1d92ac1d572dc2a67f98cb16e15ec8f2c22 SHA512 a325e79f326990482d5bf08c0630e595c73a93ea4a1e0a4afcb9b181758ad816a93d33074fb9b0a673dcf4b97f16b9e7986f82a3f743b8ba02c48211546bcc14 MISC metadata.xml 871 BLAKE2B ebf78f608f917ff892d1034ab68cfce89b89a04a6bdbb3f83e58507358f65071651b7693526cffd7f3c18951d22a43702b8575954f4f0138632186f271943a21 SHA512 36e84c83319616a8c4feeffa5919cec8d983a9b2f4eaae79c06d7030fa8630c112127755cad290a4047ad6f595c6ac3f47d332c45d094c97358f827b7a8410fb diff --git a/app-backup/amanda/amanda-3.5.1-r4.ebuild b/app-backup/amanda/amanda-3.5.1-r4.ebuild deleted file mode 100644 index af53d4e00d12..000000000000 --- a/app-backup/amanda/amanda-3.5.1-r4.ebuild +++ /dev/null @@ -1,495 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools perl-module systemd toolchain-funcs - -DESCRIPTION="The Advanced Maryland Automatic Network Disk Archiver" -HOMEPAGE="http://www.amanda.org/" -SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz" - -LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+" -SLOT="0" -IUSE="curl gnuplot ipv6 kerberos minimal ndmp nls readline s3 samba systemd xfs" - -KEYWORDS="amd64 ppc ppc64 ~sparc x86" -DEPEND=" - acct-group/amanda - acct-user/amanda - app-arch/dump - app-arch/tar - dev-libs/glib:2 - dev-lang/perl:= - dev-perl/Encode-Locale - dev-perl/JSON - net-misc/openssh - sys-libs/readline:= - app-alternatives/awk - kerberos? ( app-crypt/mit-krb5 ) - ndmp? ( net-libs/libtirpc:= ) - nls? ( virtual/libintl ) - samba? ( net-fs/samba:= ) - s3? ( net-misc/curl ) - !s3? ( curl? ( net-misc/curl ) ) - xfs? ( sys-fs/xfsdump ) - !minimal? ( - app-arch/mt-st:= - app-crypt/aespipe - app-crypt/gnupg - dev-perl/XML-Simple - sys-block/mtx - virtual/mailx - gnuplot? ( sci-visualization/gnuplot ) - )" -RDEPEND="${DEPEND}" -BDEPEND=" - app-text/docbook-xsl-stylesheets - app-text/docbook-xml-dtd - dev-lang/swig - dev-libs/libxslt - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}"/${P}-fno-common.patch - "${FILESDIR}"/${PN}-3.5.1-configure-clang16.patch -) - -MYFILESDIR="${T}/files" -ENVDIR="/etc/env.d" -ENVDFILE="97amanda" -TMPENVFILE="${T}/${ENVDFILE}" - -# This is a complete list of Amanda settings that the ebuild takes from the -# build environment. This allows users to alter the behavior of the package as -# upstream intended, but keeping with Gentoo style. We store a copy of them in -# /etc/env.d/97amanda during the install, so that they are preserved for future -# installed. This variable name must not start with AMANDA_, as we do not want -# it captured into the env file. -ENV_SETTINGS_AMANDA=" -AMANDA_GROUP_NAME -AMANDA_USER_NAME AMANDA_USER_HOMEDIR -AMANDA_SERVER AMANDA_SERVER_TAPE AMANDA_SERVER_TAPE_DEVICE AMANDA_SERVER_INDEX -AMANDA_TAR_LISTDIR AMANDA_TAR -AMANDA_PORTS_UDP AMANDA_PORTS_TCP AMANDA_PORTS_BOTH AMANDA_PORTS -AMANDA_CONFIG_NAME AMANDA_TMPDIR" - -amanda_variable_setup() { - # Setting vars - local currentamanda - - # Grab the current settings - currentamanda="$(set | grep -E "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' | xargs)" - - # First we set the defaults - AMANDA_GROUP_NAME=amanda - AMANDA_USER_NAME=amanda - AMANDA_USER_HOMEDIR=/var/spool/amanda - - # This installs Amanda, with the server. However, it could be a client, - # just specify an alternate server name in AMANDA_SERVER. - : ${AMANDA_SERVER:=${HOSTNAME}} - : ${AMANDA_SERVER_TAPE:=${AMANDA_SERVER}} - : ${AMANDA_SERVER_TAPE_DEVICE:="${EPREFIX}"/dev/nst0} - : ${AMANDA_SERVER_INDEX:=${AMANDA_SERVER}} - : ${AMANDA_TAR_LISTDIR:=${AMANDA_USER_HOMEDIR}/tar-lists} - : ${AMANDA_CONFIG_NAME:=DailySet1} - : ${AMANDA_TMPDIR:="${EPREFIX}"/var/tmp/amanda} - : ${AMANDA_DBGDIR:=${AMANDA_TMPDIR}} - # These are left empty by default - : ${AMANDA_PORTS_UDP:=""} - : ${AMANDA_PORTS_TCP:=""} - : ${AMANDA_PORTS_BOTH:=""} - : ${AMANDA_PORTS:=""} - - # What tar to use - : ${AMANDA_TAR:=/bin/tar} - - # Now pull in the old stuff - if [[ -f ${EROOT}${ENVDIR}/${ENVDFILE} ]]; then - # We don't just source it as we don't want everything in there. - eval $(grep -E "^AMANDA_" "${EROOT}${ENVDIR}/${ENVDFILE}" | grep -v '^AMANDA_ENV_SETTINGS') - fi - - # Re-apply the new settings if any - [[ -n ${currentamanda} ]] && eval $(echo "${currentamanda}") -} - -pkg_setup() { - amanda_variable_setup - - # If USE=minimal, give out a warning, if AMANDA_SERVER is not set to - # another host than HOSTNAME. - if use minimal && [[ ${AMANDA_SERVER} == ${HOSTNAME} ]]; then - elog "You are installing a client-only version of Amanda." - elog "You should set the variable \$AMANDA_SERVER to point at your" - elog "Amanda-tape-server, otherwise you will have to specify its name" - elog "when using amrecover on the client." - elog "For example: Use something like" - elog "AMANDA_SERVER=\"myserver\" emerge amanda" - elog - fi -} - -src_unpack() { - # we do not want the perl src_unpack - default -} - -src_prepare() { - default - use ndmp && eapply "${FILESDIR}"/${P}-tirpc.patch - # gentoo bug #331111 - sed -i '/^check-local: check-perl$/d' config/automake/scripts.am || die - sed -i '/^check-local:/s,syntax-check,,g' perl/Makefile.am || die - - # bug with glibc-2.16.0 - sed -i -e '/gets is a security/d' gnulib/stdio.in.h || die - - # https://bugs.gentoo.org/701416 sandbox violation - sed -i -e 's/case `"$SAMBA_CLIENT.*/case "Connection to nosuchhost.amanda.org failed" in/' config/amanda/dumpers.m4 || die - - eautoreconf - - # places for us to work in - mkdir -p "${MYFILESDIR}" || die - # Now we store the settings we just created - set | grep -E "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' > "${TMPENVFILE}" || die - - # Prepare our custom files - einfo "Building custom configuration files" - local i # our iterator - local sedexpr # var for sed expr - sedexpr='' - for i in ${ENV_SETTINGS_AMANDA}; do - local val - eval "val=\"\${${i}}\"" - sedexpr="${sedexpr}s|__${i}__|${val}|g;" - done - - # now apply the sed expr - for i in "${FILESDIR}"/amanda-*; do - sed -re "${sedexpr}" <"${i}" >"${MYFILESDIR}/`basename ${i}`" || die - done - - if use minimal; then - cat "${MYFILESDIR}"/amanda-amandahosts-server-2.5.1_p3-r1 > "${T}"/amandahosts || die - else - sed -i -e 's:^\(my $amandahomedir\)=.*:\1 = $localstatedir;:' \ - server-src/am{addclient,serverconfig}.pl || die - cat "${MYFILESDIR}"/amanda-amandahosts-client-2.5.1_p3-r1 > "${T}"/amandahosts || die - fi - - eapply_user -} - -src_configure() { - # fix bug #36316 - addpredict /var/cache/samba/gencache.tdb - # fix bug #376169 - addpredict /run/blkid - addpredict /etc/blkid.tab - - [[ ! -f ${TMPENVFILE} ]] && die "Variable setting file (${TMPENVFILE}) should exist!" - source "${TMPENVFILE}" - local myconf=() - - einfo "Using ${AMANDA_SERVER_TAPE} for tape server." - myconf+=( --with-tape-server="${AMANDA_SERVER_TAPE}" ) - einfo "Using ${AMANDA_SERVER_TAPE_DEVICE} for tape server." - myconf+=( --with-tape-device="${AMANDA_SERVER_TAPE_DEVICE}" ) - einfo "Using ${AMANDA_SERVER_INDEX} for index server." - myconf+=( --with-index-server="${AMANDA_SERVER_INDEX}" ) - einfo "Using ${AMANDA_USER_NAME} for amanda user." - myconf+=( --with-user="${AMANDA_USER_NAME}" ) - einfo "Using ${AMANDA_GROUP_NAME} for amanda group." - myconf+=( --with-group="${AMANDA_GROUP_NAME}" ) - einfo "Using ${AMANDA_TAR} as Tar implementation." - myconf+=( --with-gnutar="${AMANDA_TAR}" ) - einfo "Using ${AMANDA_TAR_LISTDIR} as tar listdir." - myconf+=( --with-gnutar-listdir="${AMANDA_TAR_LISTDIR}" ) - einfo "Using ${AMANDA_CONFIG_NAME} as default config name." - myconf+=( --with-config="${AMANDA_CONFIG_NAME}" ) - einfo "Using ${AMANDA_TMPDIR} as Amanda temporary directory." - myconf+=( --with-tmpdir="${AMANDA_TMPDIR}" ) - - if [[ -n ${AMANDA_PORTS_UDP} && -n ${AMANDA_PORTS_TCP} && -z ${AMANDA_PORTS_BOTH} ]]; then - eerror "If you want _both_ UDP and TCP ports, please use only the" - eerror "AMANDA_PORTS environment variable for identical ports, or set" - eerror "AMANDA_PORTS_BOTH." - die "Bad port setup!" - fi - if [[ -n ${AMANDA_PORTS_UDP} ]]; then - einfo "Using UDP ports ${AMANDA_PORTS_UDP/,/-}" - myconf+=( --with-udpportrange="${AMANDA_PORTS_UDP}" ) - fi - if [[ -n ${AMANDA_PORTS_TCP} ]]; then - einfo "Using TCP ports ${AMANDA_PORTS_TCP/,/-}" - myconf+=( --with-tcpportrange="${AMANDA_PORTS_TCP}" ) - fi - if [[ -n ${AMANDA_PORTS} ]]; then - einfo "Using ports ${AMANDA_PORTS/,/-}" - myconf+=( --with-portrange="${AMANDA_PORTS}" ) - fi - - # Extras - # Speed option - myconf+=( --with-buffered-dump ) - # "debugging" in the configuration is NOT debug in the conventional sense. - # It is actually just useful output in the application, and should remain - # enabled. There are some cases of breakage with MTX tape changers as of - # 2.5.1p2 that it exposes when turned off as well. - myconf+=( --with-debugging ) - # Where to put our files - myconf+=( --localstatedir="${AMANDA_USER_HOMEDIR}" ) - - # Samba support - myconf+=( $(use_with samba smbclient /usr/bin/smbclient) ) - - # Support for BSD, SSH, BSDUDP, BSDTCP security methods all compiled in by - # default - myconf+=( --with-bsd-security ) - myconf+=( --with-ssh-security ) - myconf+=( --with-bsdudp-security ) - myconf+=( --with-bsdtcp-security ) - - # kerberos-security mechanism version 5 - myconf+=( $(use_with kerberos krb5-security) ) - - # Amazon S3 support - myconf+=( $(use_enable s3 s3-device) ) - - # libcurl is required for S3 but otherwise optional - if ! use s3; then - myconf+=( $(use_with curl libcurl) ) - fi - - # Client only, as requested in bug #127725 - if use minimal; then - myconf+=( --without-server ) - else - # amplot - myconf+=( $(use_with gnuplot) ) - fi - - # IPv6 fun. - myconf+=( $(use_with ipv6) ) - # This is to prevent the IPv6-is-working test - # As the test fails on binpkg build hosts with no IPv6. - use ipv6 && export amanda_cv_working_ipv6=yes - - # I18N - myconf+=( $(use_enable nls) ) - - # Bug #296634: Perl location - perl_set_version - myconf+=( --with-amperldir="${VENDOR_LIB}" ) - - # Bug 296633: --disable-syntax-checks - # Some tests are not safe for production systems - myconf+=( --disable-syntax-checks ) - - # build manpages - myconf+=( --enable-manpage-build ) - - # Bug #636262 - myconf+=( $(use_with ndmp ndmp) ) - - # bug #483120 - tc-export AR - - econf \ - --disable-static \ - $(use_with readline) \ - "${myconf[@]}" -} - -src_compile() { - # Again, do not want the perl-module src_compile - default -} - -# We do not want the perl-module tests. -src_test() { - default -} - -# We have had reports of amanda file permissions getting screwed up. -# Losing setuid, becoming too lax etc. -# ONLY root and users in the amanda group should be able to run these binaries! -amanda_permissions_fix() { - local root="$1" - [[ -z ${root} ]] && die "Failed to pass root argument to amanda_permissions_fix!" - local i le=/usr/libexec/amanda - for i in "${le}"/calcsize "${le}"/killpgrp "${le}"/rundump "${le}"/runtar; do - [[ -e ${root}/${i} ]] || continue - chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die - chmod u=srwx,g=rx,o= "${root}"/${i} || die - done - - # amanda-security.conf is a config file with similar requirements: - # writable only by root - # world-readable - # 3.3.9: introduced in /etc/amanda-security.conf - # 3.4.2: moved to /etc/amanda/amanda-security.conf - f=/etc/amanda/amanda-security.conf - chown root:root "${root}""${f}" || die - chmod u=rw,go=r "${root}""${f}" || die -} - -src_install() { - [[ ! -f ${TMPENVFILE} ]] && die "Variable setting file (${TMPENVFILE}) should exist!" - source ${TMPENVFILE} - - einfo "Doing stock install" - emake DESTDIR="${D}" install - - # Build the envdir file - # Don't forget this.. - einfo "Installing environment config file" - newenvd - "${ENVDFILE}" <<- _EOF_ - # These settings are what was present in the environment when this - # Amanda was compiled. Changing anything below this comment will - # have no effect on your application, but it merely exists to - # preserve them for your next emerge of Amanda - $(cat "${TMPENVFILE}" | sed "s,=\$,='',g") - _EOF_ - - einfo "Installing systemd service and socket files for Amanda" - systemd_dounit "${FILESDIR}"/amanda.socket - systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service' - - # Lock down next section (up until docs). - insopts -m0640 - # Installing Amanda Xinetd Services Definition - einfo "Installing xinetd service file" - insinto /etc/xinetd.d - if use minimal; then - newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-client amanda - else - newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-server amanda - fi - - if ! use minimal; then - einfo "Installing Sample Daily Cron Job for Amanda" - insinto /etc/cron.daily - newins "${MYFILESDIR}"/amanda-cron amanda - fi - - insinto /etc/amanda - einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user" - doins "${T}/amandahosts" - fperms 600 /etc/amanda/amandahosts - - dosym "${AMANDA_USER_HOMEDIR}/.amandahosts" /etc/amanda/amandahosts - insinto "${AMANDA_USER_HOMEDIR}" - einfo "Installing .profile for ${AMANDA_USER_NAME} user" - newins "${MYFILESDIR}"/amanda-profile .profile - - insinto /etc/amanda - doins example/amanda-client.conf - if ! use minimal; then - insinto "/etc/amanda/${AMANDA_CONFIG_NAME}" - doins example/amanda.conf - doins example/disklist - keepdir "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}/index" - fi - - keepdir "${AMANDA_TAR_LISTDIR}" - keepdir "${AMANDA_USER_HOMEDIR}/amanda" - keepdir "${AMANDA_TMPDIR}/dumps" - # Just make sure it exists for XFS to work... - use xfs && keepdir /var/xfsdump/inventory - - local i - for i in "${AMANDA_TMPDIR}" /etc/amanda; do - einfo "Securing directory (${i})" - fowners -R ${AMANDA_USER_NAME}:${AMANDA_GROUP_NAME} ${i} - done - # Do NOT use -R - fperms 0700 \ - "${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \ - "${AMANDA_TMPDIR}" "${AMANDA_TMPDIR}/dumps" \ - "${AMANDA_USER_HOMEDIR}/amanda" \ - /etc/amanda - - if ! use minimal; then - fperms 0700 \ - "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \ - /etc/amanda/${AMANDA_CONFIG_NAME} - fi - - einfo "Setting setuid permissions" - amanda_permissions_fix "${ED}" - - # Relax permissions again - insopts -m0644 - - # docs - einfo "Installing documentation" - dodoc AUTHORS ChangeLog DEVELOPING NEWS README ReleaseNotes UPGRADING - # our inetd sample - einfo "Installing standard inetd sample" - newdoc "${MYFILESDIR}"/amanda-inetd.amanda.sample-2.6.0_p2-r2 amanda-inetd.amanda.sample - # Amanda example configs - einfo "Installing example configurations" - rm "${ED}"/usr/share/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes} || die - mv "${ED}"/usr/share/amanda/example "${ED}"/usr/share/doc/${PF}/ || die - docinto example1 - newdoc "${FILESDIR}"/example_amanda.conf amanda.conf - newdoc "${FILESDIR}"/example_disklist-2.5.1_p3-r1 disklist - newdoc "${FILESDIR}"/example_global.conf global.conf - - einfo "Cleaning up dud .la files" - perl_set_version - - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - [[ ! -f ${TMPENVFILE} && ${MERGE_TYPE} == "binary" ]] && TMPENVFILE="${EROOT}${ENVDIR}/${ENVDFILE}" - [[ ! -f ${TMPENVFILE} ]] && die "Variable setting file (${TMPENVFILE}) should exist!" - source "${TMPENVFILE}" - - # Migration of amandates from /etc to $localstatedir/amanda - if [[ -f ${EROOT}/etc/amandates && ! -f ${EROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates ]]; then - einfo "Migrating amandates from /etc/ to ${AMANDA_USER_HOMEDIR}/amanda" - einfo "A backup is also placed at /etc/amandates.orig" - cp -dp "${EROOT}"/etc/amandates "${EROOT}"/etc/amandates.orig || die - mkdir -p "${EROOT}/${AMANDA_USER_HOMEDIR}/amanda/" || die - cp -dp "${EROOT}"/etc/amandates "${EROOT}"/${AMANDA_USER_HOMEDIR}/amanda/amandates || die - fi - if [[ -f ${EROOT}/etc/amandates ]]; then - einfo "If you have migrated safely, please delete /etc/amandates" - fi - - einfo "Checking setuid permissions" - amanda_permissions_fix "${EROOT}"/ - - elog "You should configure Amanda in /etc/amanda now." - elog - elog "If you use xinetd, Don't forget to check /etc/xinetd.d/amanda" - elog "and restart xinetd afterwards!" - elog - elog "Otherwise, please look at /usr/share/doc/${PF}/inetd.amanda.sample" - elog "as an example of how to configure your inetd." - elog - elog "systemd-users: enable and start amanda.socket or the relevant services" - elog "regarding what auth method you use." - elog - elog "NOTICE: If you need raw access to partitions you need to add the" - elog "amanda user to the 'disk' group." - elog - elog "NOTICE: If you have a tape changer, you need to add the amanda user" - elog "to the 'tape' group." - elog - elog "If you use localhost in your disklist your restores may break." - elog "You should replace it with the actual hostname!" - elog "Please also see the syntax changes to amandahosts." - elog "The only exception is when you use the authentication method 'local'." - elog - elog "Please note that this package no longer explicitly depends on" - elog "virtual/inetd, as it supports modes where an inetd is not needed" - elog "(see bug #506028 for details)." -} diff --git a/app-backup/amanda/amanda-3.5.1-r5.ebuild b/app-backup/amanda/amanda-3.5.1-r5.ebuild new file mode 100644 index 000000000000..77330631d602 --- /dev/null +++ b/app-backup/amanda/amanda-3.5.1-r5.ebuild @@ -0,0 +1,495 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools perl-module systemd toolchain-funcs + +DESCRIPTION="The Advanced Maryland Automatic Network Disk Archiver" +HOMEPAGE="http://www.amanda.org/" +SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz" + +LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+" +SLOT="0" +IUSE="curl gnuplot ipv6 kerberos minimal ndmp nls readline s3 samba systemd xfs" + +KEYWORDS="amd64 ppc ppc64 ~sparc x86" +DEPEND=" + acct-group/amanda + acct-user/amanda + app-arch/dump + app-arch/tar + dev-libs/glib:2 + dev-lang/perl:= + dev-perl/Encode-Locale + dev-perl/JSON + virtual/openssh + sys-libs/readline:= + app-alternatives/awk + kerberos? ( app-crypt/mit-krb5 ) + ndmp? ( net-libs/libtirpc:= ) + nls? ( virtual/libintl ) + samba? ( net-fs/samba:= ) + s3? ( net-misc/curl ) + !s3? ( curl? ( net-misc/curl ) ) + xfs? ( sys-fs/xfsdump ) + !minimal? ( + app-arch/mt-st:= + app-crypt/aespipe + app-crypt/gnupg + dev-perl/XML-Simple + sys-block/mtx + virtual/mailx + gnuplot? ( sci-visualization/gnuplot ) + )" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/docbook-xsl-stylesheets + app-text/docbook-xml-dtd + dev-lang/swig + dev-libs/libxslt + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${PN}-3.5.1-configure-clang16.patch +) + +MYFILESDIR="${T}/files" +ENVDIR="/etc/env.d" +ENVDFILE="97amanda" +TMPENVFILE="${T}/${ENVDFILE}" + +# This is a complete list of Amanda settings that the ebuild takes from the +# build environment. This allows users to alter the behavior of the package as +# upstream intended, but keeping with Gentoo style. We store a copy of them in +# /etc/env.d/97amanda during the install, so that they are preserved for future +# installed. This variable name must not start with AMANDA_, as we do not want +# it captured into the env file. +ENV_SETTINGS_AMANDA=" +AMANDA_GROUP_NAME +AMANDA_USER_NAME AMANDA_USER_HOMEDIR +AMANDA_SERVER AMANDA_SERVER_TAPE AMANDA_SERVER_TAPE_DEVICE AMANDA_SERVER_INDEX +AMANDA_TAR_LISTDIR AMANDA_TAR +AMANDA_PORTS_UDP AMANDA_PORTS_TCP AMANDA_PORTS_BOTH AMANDA_PORTS +AMANDA_CONFIG_NAME AMANDA_TMPDIR" + +amanda_variable_setup() { + # Setting vars + local currentamanda + + # Grab the current settings + currentamanda="$(set | grep -E "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' | xargs)" + + # First we set the defaults + AMANDA_GROUP_NAME=amanda + AMANDA_USER_NAME=amanda + AMANDA_USER_HOMEDIR=/var/spool/amanda + + # This installs Amanda, with the server. However, it could be a client, + # just specify an alternate server name in AMANDA_SERVER. + : ${AMANDA_SERVER:=${HOSTNAME}} + : ${AMANDA_SERVER_TAPE:=${AMANDA_SERVER}} + : ${AMANDA_SERVER_TAPE_DEVICE:="${EPREFIX}"/dev/nst0} + : ${AMANDA_SERVER_INDEX:=${AMANDA_SERVER}} + : ${AMANDA_TAR_LISTDIR:=${AMANDA_USER_HOMEDIR}/tar-lists} + : ${AMANDA_CONFIG_NAME:=DailySet1} + : ${AMANDA_TMPDIR:="${EPREFIX}"/var/tmp/amanda} + : ${AMANDA_DBGDIR:=${AMANDA_TMPDIR}} + # These are left empty by default + : ${AMANDA_PORTS_UDP:=""} + : ${AMANDA_PORTS_TCP:=""} + : ${AMANDA_PORTS_BOTH:=""} + : ${AMANDA_PORTS:=""} + + # What tar to use + : ${AMANDA_TAR:=/bin/tar} + + # Now pull in the old stuff + if [[ -f ${EROOT}${ENVDIR}/${ENVDFILE} ]]; then + # We don't just source it as we don't want everything in there. + eval $(grep -E "^AMANDA_" "${EROOT}${ENVDIR}/${ENVDFILE}" | grep -v '^AMANDA_ENV_SETTINGS') + fi + + # Re-apply the new settings if any + [[ -n ${currentamanda} ]] && eval $(echo "${currentamanda}") +} + +pkg_setup() { + amanda_variable_setup + + # If USE=minimal, give out a warning, if AMANDA_SERVER is not set to + # another host than HOSTNAME. + if use minimal && [[ ${AMANDA_SERVER} == ${HOSTNAME} ]]; then + elog "You are installing a client-only version of Amanda." + elog "You should set the variable \$AMANDA_SERVER to point at your" + elog "Amanda-tape-server, otherwise you will have to specify its name" + elog "when using amrecover on the client." + elog "For example: Use something like" + elog "AMANDA_SERVER=\"myserver\" emerge amanda" + elog + fi +} + +src_unpack() { + # we do not want the perl src_unpack + default +} + +src_prepare() { + default + use ndmp && eapply "${FILESDIR}"/${P}-tirpc.patch + # gentoo bug #331111 + sed -i '/^check-local: check-perl$/d' config/automake/scripts.am || die + sed -i '/^check-local:/s,syntax-check,,g' perl/Makefile.am || die + + # bug with glibc-2.16.0 + sed -i -e '/gets is a security/d' gnulib/stdio.in.h || die + + # https://bugs.gentoo.org/701416 sandbox violation + sed -i -e 's/case `"$SAMBA_CLIENT.*/case "Connection to nosuchhost.amanda.org failed" in/' config/amanda/dumpers.m4 || die + + eautoreconf + + # places for us to work in + mkdir -p "${MYFILESDIR}" || die + # Now we store the settings we just created + set | grep -E "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' > "${TMPENVFILE}" || die + + # Prepare our custom files + einfo "Building custom configuration files" + local i # our iterator + local sedexpr # var for sed expr + sedexpr='' + for i in ${ENV_SETTINGS_AMANDA}; do + local val + eval "val=\"\${${i}}\"" + sedexpr="${sedexpr}s|__${i}__|${val}|g;" + done + + # now apply the sed expr + for i in "${FILESDIR}"/amanda-*; do + sed -re "${sedexpr}" <"${i}" >"${MYFILESDIR}/`basename ${i}`" || die + done + + if use minimal; then + cat "${MYFILESDIR}"/amanda-amandahosts-server-2.5.1_p3-r1 > "${T}"/amandahosts || die + else + sed -i -e 's:^\(my $amandahomedir\)=.*:\1 = $localstatedir;:' \ + server-src/am{addclient,serverconfig}.pl || die + cat "${MYFILESDIR}"/amanda-amandahosts-client-2.5.1_p3-r1 > "${T}"/amandahosts || die + fi + + eapply_user +} + +src_configure() { + # fix bug #36316 + addpredict /var/cache/samba/gencache.tdb + # fix bug #376169 + addpredict /run/blkid + addpredict /etc/blkid.tab + + [[ ! -f ${TMPENVFILE} ]] && die "Variable setting file (${TMPENVFILE}) should exist!" + source "${TMPENVFILE}" + local myconf=() + + einfo "Using ${AMANDA_SERVER_TAPE} for tape server." + myconf+=( --with-tape-server="${AMANDA_SERVER_TAPE}" ) + einfo "Using ${AMANDA_SERVER_TAPE_DEVICE} for tape server." + myconf+=( --with-tape-device="${AMANDA_SERVER_TAPE_DEVICE}" ) + einfo "Using ${AMANDA_SERVER_INDEX} for index server." + myconf+=( --with-index-server="${AMANDA_SERVER_INDEX}" ) + einfo "Using ${AMANDA_USER_NAME} for amanda user." + myconf+=( --with-user="${AMANDA_USER_NAME}" ) + einfo "Using ${AMANDA_GROUP_NAME} for amanda group." + myconf+=( --with-group="${AMANDA_GROUP_NAME}" ) + einfo "Using ${AMANDA_TAR} as Tar implementation." + myconf+=( --with-gnutar="${AMANDA_TAR}" ) + einfo "Using ${AMANDA_TAR_LISTDIR} as tar listdir." + myconf+=( --with-gnutar-listdir="${AMANDA_TAR_LISTDIR}" ) + einfo "Using ${AMANDA_CONFIG_NAME} as default config name." + myconf+=( --with-config="${AMANDA_CONFIG_NAME}" ) + einfo "Using ${AMANDA_TMPDIR} as Amanda temporary directory." + myconf+=( --with-tmpdir="${AMANDA_TMPDIR}" ) + + if [[ -n ${AMANDA_PORTS_UDP} && -n ${AMANDA_PORTS_TCP} && -z ${AMANDA_PORTS_BOTH} ]]; then + eerror "If you want _both_ UDP and TCP ports, please use only the" + eerror "AMANDA_PORTS environment variable for identical ports, or set" + eerror "AMANDA_PORTS_BOTH." + die "Bad port setup!" + fi + if [[ -n ${AMANDA_PORTS_UDP} ]]; then + einfo "Using UDP ports ${AMANDA_PORTS_UDP/,/-}" + myconf+=( --with-udpportrange="${AMANDA_PORTS_UDP}" ) + fi + if [[ -n ${AMANDA_PORTS_TCP} ]]; then + einfo "Using TCP ports ${AMANDA_PORTS_TCP/,/-}" + myconf+=( --with-tcpportrange="${AMANDA_PORTS_TCP}" ) + fi + if [[ -n ${AMANDA_PORTS} ]]; then + einfo "Using ports ${AMANDA_PORTS/,/-}" + myconf+=( --with-portrange="${AMANDA_PORTS}" ) + fi + + # Extras + # Speed option + myconf+=( --with-buffered-dump ) + # "debugging" in the configuration is NOT debug in the conventional sense. + # It is actually just useful output in the application, and should remain + # enabled. There are some cases of breakage with MTX tape changers as of + # 2.5.1p2 that it exposes when turned off as well. + myconf+=( --with-debugging ) + # Where to put our files + myconf+=( --localstatedir="${AMANDA_USER_HOMEDIR}" ) + + # Samba support + myconf+=( $(use_with samba smbclient /usr/bin/smbclient) ) + + # Support for BSD, SSH, BSDUDP, BSDTCP security methods all compiled in by + # default + myconf+=( --with-bsd-security ) + myconf+=( --with-ssh-security ) + myconf+=( --with-bsdudp-security ) + myconf+=( --with-bsdtcp-security ) + + # kerberos-security mechanism version 5 + myconf+=( $(use_with kerberos krb5-security) ) + + # Amazon S3 support + myconf+=( $(use_enable s3 s3-device) ) + + # libcurl is required for S3 but otherwise optional + if ! use s3; then + myconf+=( $(use_with curl libcurl) ) + fi + + # Client only, as requested in bug #127725 + if use minimal; then + myconf+=( --without-server ) + else + # amplot + myconf+=( $(use_with gnuplot) ) + fi + + # IPv6 fun. + myconf+=( $(use_with ipv6) ) + # This is to prevent the IPv6-is-working test + # As the test fails on binpkg build hosts with no IPv6. + use ipv6 && export amanda_cv_working_ipv6=yes + + # I18N + myconf+=( $(use_enable nls) ) + + # Bug #296634: Perl location + perl_set_version + myconf+=( --with-amperldir="${VENDOR_LIB}" ) + + # Bug 296633: --disable-syntax-checks + # Some tests are not safe for production systems + myconf+=( --disable-syntax-checks ) + + # build manpages + myconf+=( --enable-manpage-build ) + + # Bug #636262 + myconf+=( $(use_with ndmp ndmp) ) + + # bug #483120 + tc-export AR + + econf \ + --disable-static \ + $(use_with readline) \ + "${myconf[@]}" +} + +src_compile() { + # Again, do not want the perl-module src_compile + default +} + +# We do not want the perl-module tests. +src_test() { + default +} + +# We have had reports of amanda file permissions getting screwed up. +# Losing setuid, becoming too lax etc. +# ONLY root and users in the amanda group should be able to run these binaries! +amanda_permissions_fix() { + local root="$1" + [[ -z ${root} ]] && die "Failed to pass root argument to amanda_permissions_fix!" + local i le=/usr/libexec/amanda + for i in "${le}"/calcsize "${le}"/killpgrp "${le}"/rundump "${le}"/runtar; do + [[ -e ${root}/${i} ]] || continue + chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die + chmod u=srwx,g=rx,o= "${root}"/${i} || die + done + + # amanda-security.conf is a config file with similar requirements: + # writable only by root + # world-readable + # 3.3.9: introduced in /etc/amanda-security.conf + # 3.4.2: moved to /etc/amanda/amanda-security.conf + f=/etc/amanda/amanda-security.conf + chown root:root "${root}""${f}" || die + chmod u=rw,go=r "${root}""${f}" || die +} + +src_install() { + [[ ! -f ${TMPENVFILE} ]] && die "Variable setting file (${TMPENVFILE}) should exist!" + source ${TMPENVFILE} + + einfo "Doing stock install" + emake DESTDIR="${D}" install + + # Build the envdir file + # Don't forget this.. + einfo "Installing environment config file" + newenvd - "${ENVDFILE}" <<- _EOF_ + # These settings are what was present in the environment when this + # Amanda was compiled. Changing anything below this comment will + # have no effect on your application, but it merely exists to + # preserve them for your next emerge of Amanda + $(cat "${TMPENVFILE}" | sed "s,=\$,='',g") + _EOF_ + + einfo "Installing systemd service and socket files for Amanda" + systemd_dounit "${FILESDIR}"/amanda.socket + systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service' + + # Lock down next section (up until docs). + insopts -m0640 + # Installing Amanda Xinetd Services Definition + einfo "Installing xinetd service file" + insinto /etc/xinetd.d + if use minimal; then + newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-client amanda + else + newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-server amanda + fi + + if ! use minimal; then + einfo "Installing Sample Daily Cron Job for Amanda" + insinto /etc/cron.daily + newins "${MYFILESDIR}"/amanda-cron amanda + fi + + insinto /etc/amanda + einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user" + doins "${T}/amandahosts" + fperms 600 /etc/amanda/amandahosts + + dosym "${AMANDA_USER_HOMEDIR}/.amandahosts" /etc/amanda/amandahosts + insinto "${AMANDA_USER_HOMEDIR}" + einfo "Installing .profile for ${AMANDA_USER_NAME} user" + newins "${MYFILESDIR}"/amanda-profile .profile + + insinto /etc/amanda + doins example/amanda-client.conf + if ! use minimal; then + insinto "/etc/amanda/${AMANDA_CONFIG_NAME}" + doins example/amanda.conf + doins example/disklist + keepdir "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}/index" + fi + + keepdir "${AMANDA_TAR_LISTDIR}" + keepdir "${AMANDA_USER_HOMEDIR}/amanda" + keepdir "${AMANDA_TMPDIR}/dumps" + # Just make sure it exists for XFS to work... + use xfs && keepdir /var/xfsdump/inventory + + local i + for i in "${AMANDA_TMPDIR}" /etc/amanda; do + einfo "Securing directory (${i})" + fowners -R ${AMANDA_USER_NAME}:${AMANDA_GROUP_NAME} ${i} + done + # Do NOT use -R + fperms 0700 \ + "${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \ + "${AMANDA_TMPDIR}" "${AMANDA_TMPDIR}/dumps" \ + "${AMANDA_USER_HOMEDIR}/amanda" \ + /etc/amanda + + if ! use minimal; then + fperms 0700 \ + "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \ + /etc/amanda/${AMANDA_CONFIG_NAME} + fi + + einfo "Setting setuid permissions" + amanda_permissions_fix "${ED}" + + # Relax permissions again + insopts -m0644 + + # docs + einfo "Installing documentation" + dodoc AUTHORS ChangeLog DEVELOPING NEWS README ReleaseNotes UPGRADING + # our inetd sample + einfo "Installing standard inetd sample" + newdoc "${MYFILESDIR}"/amanda-inetd.amanda.sample-2.6.0_p2-r2 amanda-inetd.amanda.sample + # Amanda example configs + einfo "Installing example configurations" + rm "${ED}"/usr/share/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes} || die + mv "${ED}"/usr/share/amanda/example "${ED}"/usr/share/doc/${PF}/ || die + docinto example1 + newdoc "${FILESDIR}"/example_amanda.conf amanda.conf + newdoc "${FILESDIR}"/example_disklist-2.5.1_p3-r1 disklist + newdoc "${FILESDIR}"/example_global.conf global.conf + + einfo "Cleaning up dud .la files" + perl_set_version + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + [[ ! -f ${TMPENVFILE} && ${MERGE_TYPE} == "binary" ]] && TMPENVFILE="${EROOT}${ENVDIR}/${ENVDFILE}" + [[ ! -f ${TMPENVFILE} ]] && die "Variable setting file (${TMPENVFILE}) should exist!" + source "${TMPENVFILE}" + + # Migration of amandates from /etc to $localstatedir/amanda + if [[ -f ${EROOT}/etc/amandates && ! -f ${EROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates ]]; then + einfo "Migrating amandates from /etc/ to ${AMANDA_USER_HOMEDIR}/amanda" + einfo "A backup is also placed at /etc/amandates.orig" + cp -dp "${EROOT}"/etc/amandates "${EROOT}"/etc/amandates.orig || die + mkdir -p "${EROOT}/${AMANDA_USER_HOMEDIR}/amanda/" || die + cp -dp "${EROOT}"/etc/amandates "${EROOT}"/${AMANDA_USER_HOMEDIR}/amanda/amandates || die + fi + if [[ -f ${EROOT}/etc/amandates ]]; then + einfo "If you have migrated safely, please delete /etc/amandates" + fi + + einfo "Checking setuid permissions" + amanda_permissions_fix "${EROOT}"/ + + elog "You should configure Amanda in /etc/amanda now." + elog + elog "If you use xinetd, Don't forget to check /etc/xinetd.d/amanda" + elog "and restart xinetd afterwards!" + elog + elog "Otherwise, please look at /usr/share/doc/${PF}/inetd.amanda.sample" + elog "as an example of how to configure your inetd." + elog + elog "systemd-users: enable and start amanda.socket or the relevant services" + elog "regarding what auth method you use." + elog + elog "NOTICE: If you need raw access to partitions you need to add the" + elog "amanda user to the 'disk' group." + elog + elog "NOTICE: If you have a tape changer, you need to add the amanda user" + elog "to the 'tape' group." + elog + elog "If you use localhost in your disklist your restores may break." + elog "You should replace it with the actual hostname!" + elog "Please also see the syntax changes to amandahosts." + elog "The only exception is when you use the authentication method 'local'." + elog + elog "Please note that this package no longer explicitly depends on" + elog "virtual/inetd, as it supports modes where an inetd is not needed" + elog "(see bug #506028 for details)." +} diff --git a/app-backup/backintime/Manifest b/app-backup/backintime/Manifest index 2e6cca7c5fa0..0be6bc87e368 100644 --- a/app-backup/backintime/Manifest +++ b/app-backup/backintime/Manifest @@ -1,7 +1,7 @@ AUX backintime-1.2.1-no-compress-docs-examples.patch 6018 BLAKE2B 9ef4f8c5b81677340707e98550ab8e0d4c574a9bfe36fbb9c178f2050ca726ce995927bf2a186363243cc64f4e8be3b99a12b7b2b37ad0d4f6892ae6f730e48d SHA512 6484fdcc4ede6f5c57bfef985a290b9d8a74aecaea43e239a3368cf79aa6797d7fa4842fa331b259afd25084d9c514e643916c39c34d4a8b33bc668c93d9b180 DIST backintime-1.3.2.tar.gz 714459 BLAKE2B cc53bd5391155705016248511e30cdfa7bc25f0a7cb170dfeeffda397e8be1b22f8e335063289d8c192f94c469430655064899ac8059f22f3b7582e3af87d373 SHA512 19f756d03cc7533e02bb5172ae3f8c167206bf5e8d60c0f3af1f647e01297a4eeb7889bbb5b58e46636bc31392ee436249b276ddbfa41697a0538c542fa26cb8 DIST backintime-1.3.3.tar.gz 751422 BLAKE2B 5c6723d1b190c5331b8453d4cf2b14e00a4bb64777d73e3b2a1405be51ebc5418f749fca654032154f1cec2389efcd41e52c571c1f9f1f982bbd0adcb0b7dd59 SHA512 f91157133166869665c8d7475c870cd5418135e17f5e7c8ae5788eb8cd3be39e8ea3d7652aa5945f64d9906b6baed0ed3ee16eb46b81a088210459333efe9372 -EBUILD backintime-1.3.2.ebuild 1650 BLAKE2B 99c648b6116cb7dd1996c89f998c8edd3a675b5fb19fd37cdf83eabb2727d10c576a8c06836218d0a4496e69b28d7ac2f9d51c8c544ae5548a4db18cd945b678 SHA512 8e4bfdbcaf1d247a108f294113d21637e1708087a2969a15931ccc558a1f53a145e111a99e7c64bb9ab49d61b262cffaffa25933ba3d0de7533e539990150b68 -EBUILD backintime-1.3.3.ebuild 2144 BLAKE2B 17ebc5a34880b772ea8646b80c25b508e8afa2b5c4494910f50bc6b4f1dbf2ddb11c2f15f5c30a617d8c8b1d828dd45e5f390cffdc66f15093fef94f508a589c SHA512 40f7dc44e0d6ae4dbef100096ae8d458c29a01c43443e6da289b7ee8a4d4af7bc1c826aeed50b91e691a920a915472d1a2794429ade2aa4e7300058241640d39 -EBUILD backintime-9999.ebuild 2146 BLAKE2B 4cdc60cf1aff6f2a80e349826ac5601e76f7ca7a45001cbd1108d596fb2df57ba6b9d77d3b57e09b694fd276257cbc44e7b85e1d5599a681e467846aba65a43b SHA512 0ecae2dd6c79292443caec07f53938dbde56ea3771af05478bfc08e7a7e7e3dc3d076e452da6bfe97dbc1f73ff559b1fc7b4d7bd60eef251196a013bc7b1d1ba +EBUILD backintime-1.3.2-r1.ebuild 1649 BLAKE2B 83cd3d47ff4f883572a53f1d992af017cf667cf954a2bd61fa9cd28cef119a73914fb5cd95e4c0bf666c3c0ca17e68ab1833a9ee62e088e67843f13341e49596 SHA512 8fa7105e1b463bf7906d1abf4cc01f11e4627feb00863f2a0b014a07f201b47fb0529f44abbe86fc2002602f705c682fd138e3bb73aafb976da1c4ae5b59a723 +EBUILD backintime-1.3.3-r1.ebuild 2143 BLAKE2B 02ed6e417c47f4d9647619e6084f8929aa49180c1ed9c7d93aac901204e94f40af5ec7d1eb5e6fc0fc31cfe108379bf0622d8d4f652b1c093f313ae0d92ad218 SHA512 1d9eba26e5427b8f435b0579d6aed448e0fc41765a5bdfe7e0fe61dede3042ac24c511347ec312becd6fc6e731d74b6084723700ff3f83e03ab1ad0e38f1b3a4 +EBUILD backintime-9999.ebuild 2145 BLAKE2B 5602e13cf464cfa428e6013c538cd7f54999f85883246f2ed5fdfe3af47112c93d01238d8fa249f8e44d9cf0a6c1a1f361e170a4831d2e44bc9e757dfccf7709 SHA512 c4d8b03bc2a2d246174285984d6e93dfe940334f600807c9c20d2fb81e01fc3294043fb367c91544ee7d1bdc38fa15015fbe5ae1b727aa8d23caa55902f1aead MISC metadata.xml 749 BLAKE2B f8741c8434d71df70c6ad9859318c935343315f1da5d98f5635d7b85cf7235018661765da5f76e0b740c1969e3602f5fdf55a19590c42c76f25a65ba97f8420f SHA512 c956b979a350711b7ff5e880b26dd424f25c80284ddc9e79b683e88ce049a479827a4949537c60c09b32ff386280b436b23f5af7bb5e0162ba965121b1640db6 diff --git a/app-backup/backintime/backintime-1.3.2-r1.ebuild b/app-backup/backintime/backintime-1.3.2-r1.ebuild new file mode 100644 index 000000000000..6eb50a6b1a7d --- /dev/null +++ b/app-backup/backintime/backintime-1.3.2-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..10} ) +inherit python-single-r1 xdg + +DESCRIPTION="Backup system inspired by TimeVault and FlyBack" +HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/" +SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples qt5" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + ')" +RDEPEND="${DEPEND} + virtual/openssh + net-misc/rsync[xattr,acl] + qt5? ( dev-python/PyQt5[gui,widgets] )" +BDEPEND="sys-devel/gettext" + +PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" ) + +src_configure() { + pushd common > /dev/null || die + # Not autotools + ./configure --python3 --no-fuse-group || die + popd > /dev/null || die + + if use qt5 ; then + pushd qt > /dev/null || die + ./configure --python3 || die + popd > /dev/null || die + fi +} + +src_compile() { + pushd common > /dev/null || die + emake + popd > /dev/null || die + + if use qt5 ; then + pushd qt > /dev/null || die + emake + popd > /dev/null || die + fi +} + +src_install() { + pushd common > /dev/null || die + emake DESTDIR="${D}" install + popd > /dev/null || die + + if use qt5 ; then + pushd qt > /dev/null || die + emake DESTDIR="${D}" install + popd > /dev/null || die + fi + + einstalldocs + + if use examples ; then + docinto examples + dodoc common/{config-example-local,config-example-ssh} + fi + + python_optimize "${D}" +} diff --git a/app-backup/backintime/backintime-1.3.2.ebuild b/app-backup/backintime/backintime-1.3.2.ebuild deleted file mode 100644 index a35a72e17754..000000000000 --- a/app-backup/backintime/backintime-1.3.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) -inherit python-single-r1 xdg - -DESCRIPTION="Backup system inspired by TimeVault and FlyBack" -HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/" -SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples qt5" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/keyring[${PYTHON_USEDEP}] - ')" -RDEPEND="${DEPEND} - net-misc/openssh - net-misc/rsync[xattr,acl] - qt5? ( dev-python/PyQt5[gui,widgets] )" -BDEPEND="sys-devel/gettext" - -PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" ) - -src_configure() { - pushd common > /dev/null || die - # Not autotools - ./configure --python3 --no-fuse-group || die - popd > /dev/null || die - - if use qt5 ; then - pushd qt > /dev/null || die - ./configure --python3 || die - popd > /dev/null || die - fi -} - -src_compile() { - pushd common > /dev/null || die - emake - popd > /dev/null || die - - if use qt5 ; then - pushd qt > /dev/null || die - emake - popd > /dev/null || die - fi -} - -src_install() { - pushd common > /dev/null || die - emake DESTDIR="${D}" install - popd > /dev/null || die - - if use qt5 ; then - pushd qt > /dev/null || die - emake DESTDIR="${D}" install - popd > /dev/null || die - fi - - einstalldocs - - if use examples ; then - docinto examples - dodoc common/{config-example-local,config-example-ssh} - fi - - python_optimize "${D}" -} diff --git a/app-backup/backintime/backintime-1.3.3-r1.ebuild b/app-backup/backintime/backintime-1.3.3-r1.ebuild new file mode 100644 index 000000000000..4168adaf8d16 --- /dev/null +++ b/app-backup/backintime/backintime-1.3.3-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit python-single-r1 xdg + +DESCRIPTION="Backup system inspired by TimeVault and FlyBack" +HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/bit-team/backintime/" + inherit git-r3 +else + SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="amd64 x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="examples qt5 test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + ') +" +RDEPEND=" + ${DEPEND} + virtual/openssh + net-misc/rsync[xattr,acl] + qt5? ( dev-python/PyQt5[gui,widgets] ) +" +BDEPEND=" + sys-devel/gettext + test? ( + $(python_gen_cond_dep ' + dev-python/pyfakefs[${PYTHON_USEDEP}] + ') + ) +" + +PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" ) + +src_prepare() { + default + + # Looks at host system too much, so too flaky + rm common/test/test_tools.py || die + # Fails with dbus/udev issue (likely sandbox) + rm common/test/test_snapshots.py || die +} + +src_configure() { + pushd common > /dev/null || die + # Not autotools + ./configure --python3 --no-fuse-group || die + popd > /dev/null || die + + if use qt5 ; then + pushd qt > /dev/null || die + ./configure --python3 || die + popd > /dev/null || die + fi +} + +src_compile() { + emake -C common + + if use qt5 ; then + emake -C qt + fi +} + +src_test() { + # pytest should work but it can't find the backintime binary, so + # use the unittest-based runner instead. + # https://github.com/bit-team/backintime/blob/dev/CONTRIBUTING.md#how-to-contribute-to-back-in-time + emake -C common test-v +} + +src_install() { + emake -C common DESTDIR="${D}" install + + if use qt5 ; then + emake -C qt DESTDIR="${D}" install + fi + + einstalldocs + + if use examples ; then + docinto examples + dodoc common/{config-example-local,config-example-ssh} + fi + + python_optimize "${D}" +} diff --git a/app-backup/backintime/backintime-1.3.3.ebuild b/app-backup/backintime/backintime-1.3.3.ebuild deleted file mode 100644 index a70aead66652..000000000000 --- a/app-backup/backintime/backintime-1.3.3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit python-single-r1 xdg - -DESCRIPTION="Backup system inspired by TimeVault and FlyBack" -HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/" - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/bit-team/backintime/" - inherit git-r3 -else - SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="amd64 x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="examples qt5 test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/keyring[${PYTHON_USEDEP}] - ') -" -RDEPEND=" - ${DEPEND} - net-misc/openssh - net-misc/rsync[xattr,acl] - qt5? ( dev-python/PyQt5[gui,widgets] ) -" -BDEPEND=" - sys-devel/gettext - test? ( - $(python_gen_cond_dep ' - dev-python/pyfakefs[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" ) - -src_prepare() { - default - - # Looks at host system too much, so too flaky - rm common/test/test_tools.py || die - # Fails with dbus/udev issue (likely sandbox) - rm common/test/test_snapshots.py || die -} - -src_configure() { - pushd common > /dev/null || die - # Not autotools - ./configure --python3 --no-fuse-group || die - popd > /dev/null || die - - if use qt5 ; then - pushd qt > /dev/null || die - ./configure --python3 || die - popd > /dev/null || die - fi -} - -src_compile() { - emake -C common - - if use qt5 ; then - emake -C qt - fi -} - -src_test() { - # pytest should work but it can't find the backintime binary, so - # use the unittest-based runner instead. - # https://github.com/bit-team/backintime/blob/dev/CONTRIBUTING.md#how-to-contribute-to-back-in-time - emake -C common test-v -} - -src_install() { - emake -C common DESTDIR="${D}" install - - if use qt5 ; then - emake -C qt DESTDIR="${D}" install - fi - - einstalldocs - - if use examples ; then - docinto examples - dodoc common/{config-example-local,config-example-ssh} - fi - - python_optimize "${D}" -} diff --git a/app-backup/backintime/backintime-9999.ebuild b/app-backup/backintime/backintime-9999.ebuild index f5d3483dd04a..70b61fb635db 100644 --- a/app-backup/backintime/backintime-9999.ebuild +++ b/app-backup/backintime/backintime-9999.ebuild @@ -33,7 +33,7 @@ DEPEND=" " RDEPEND=" ${DEPEND} - net-misc/openssh + virtual/openssh net-misc/rsync[xattr,acl] qt5? ( dev-python/PyQt5[gui,widgets] ) " diff --git a/app-backup/btrbk/Manifest b/app-backup/btrbk/Manifest index d9e936bf0e95..e6264ffab95b 100644 --- a/app-backup/btrbk/Manifest +++ b/app-backup/btrbk/Manifest @@ -1,6 +1,6 @@ DIST btrbk-0.31.2.tar.xz 107124 BLAKE2B a05ef8a665d50b0f9637b1bc7026f0ca0f8364377b4165dae09cd27790dc139aaea1096a54719d948adda5050f91580650bf58db70a086cfdd14b73559fad9f3 SHA512 f953fe1a231f7a28c2d98cf124e3d52cc6d0810e6cb1673b90f335e07cd7473d0302ec227361f902c40a36dab5c075c675d2ee0543a23c37cb1e4baaf74efea0 DIST btrbk-0.32.6.tar.xz 111804 BLAKE2B f23e5f60e63bb1a9d5cc2f1339ac3e40a9cae5c0e3f626f1ad0e7396b8f9ebb00bce319835c9c708cdfe3c1cad3ef4e90985cb9c633be7091ffdbde93a10412c SHA512 5a21b3728aded1610ef9106d0460db12b07bbc6d62be199081baba92413b30ba0f7b4a77612d0bbb0910863be85f2c68eab3d02fabf1ea5a7f5fb22aeb1f7a38 -EBUILD btrbk-0.31.2.ebuild 2374 BLAKE2B 6ec6aad2e56131cef37ed6991c0ea1c38e1986fd5138470e318b5efb13407ac38c3dcdea6886e664aa26c66b2366906db487bee4b5acd1c2ad6d8726e5ef7f2c SHA512 2ed3b5eb9b929f7b16a2f0694d4dcd09ec5ecef4a58aa0a94928b056395ab70f540865d132f386877ac866545fc3836d7d753ea41422e0c8cf59c59df87d8507 -EBUILD btrbk-0.32.6.ebuild 2385 BLAKE2B 20d50d8272157c9a1327f8b537025c4cfdf0caaa6d74645add8b9e13723d24f076804e80e4ead607ee9423dc0cc7357ca59c2739cbcbee41899321a163eb3290 SHA512 55ccc3af1d237c9632ffa4406223c6181dd0212908c70e0213f709729eb5101c206a44dabcc133c272c6403c14031a82eb5ffec4a5a187e81500d7eb15a6739a -EBUILD btrbk-9999.ebuild 2385 BLAKE2B 34a17462e9aa80f5a86cedbb3ce25c0524aca74eeaed226f79a27b73eb604ddc4e1baa9472a113bf647871c37c7e7926baf42542f18e96245a573dc8f778b061 SHA512 763c8e25ca107eede4bd509b7c9a2f9f191e0965b4b156ff4286f3a67624b2c34b83b9db64c2e1b93d2e501f89e2eeb9629bb78de9d68da9a43a1f2846debb46 +EBUILD btrbk-0.31.2-r1.ebuild 2373 BLAKE2B 436f7f1a8f695cfefded64acdc549188e2f7cd9c5ae6c4614bc0fa4ff2ce79197cd84fb84b63c043d569715038ac4ea5b235ec554079b277117c132d7f5bb64d SHA512 e7aec900407c889a5080d3b0fc12e516ab612b594069ebc28afef55257076bc0c15a8002869045e12f64c6a3dc0cf2d28cc471f0c5a2b4d1167ce8be01a65608 +EBUILD btrbk-0.32.6-r1.ebuild 2384 BLAKE2B 467aa2a485f6a463aed57e273397aecba3c0ba5cb78213da44427c325387cd6f8a6a4170a3e2b6fe30ebfba2f1630200327b494fbbc404277b715e430922e662 SHA512 8a5984ba9f23f3356b87296499e1d61e12a2c45c65d0e50636789651001a5d078a1549f80466822c51f60365c980aea6636690a7a12fc77d5c9f78ff7ebc02b7 +EBUILD btrbk-9999.ebuild 2384 BLAKE2B 467aa2a485f6a463aed57e273397aecba3c0ba5cb78213da44427c325387cd6f8a6a4170a3e2b6fe30ebfba2f1630200327b494fbbc404277b715e430922e662 SHA512 8a5984ba9f23f3356b87296499e1d61e12a2c45c65d0e50636789651001a5d078a1549f80466822c51f60365c980aea6636690a7a12fc77d5c9f78ff7ebc02b7 MISC metadata.xml 1075 BLAKE2B 9e352a1f9346ebb1cff94393f977dfb0c3714e53380ce2ed3c8eb53375d2ac74c95655556fb604bf538ae63ae00de9ed97cf9a02cadaec97c7117f9a621ca481 SHA512 681a2a38dc3ddba866d46bd9e88bc8549cb1ba297de965a1faecada4ac7b966a3603ce4b647544ba9dabfbbb59e1072cbecf550b580835ae1d1d79efcc3af7e5 diff --git a/app-backup/btrbk/btrbk-0.31.2-r1.ebuild b/app-backup/btrbk/btrbk-0.31.2-r1.ebuild new file mode 100644 index 000000000000..ea8c728c5fd7 --- /dev/null +++ b/app-backup/btrbk/btrbk-0.31.2-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/digint/btrbk.git" + inherit git-r3 + SRC_URI="" +else + SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz" + KEYWORDS="amd64 arm arm64 x86" +fi + +DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" +HOMEPAGE="https://digint.ch/btrbk/" +LICENSE="GPL-3+" +SLOT="0" +IUSE="+mbuffer +doc +lsbtr" + +DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" + +RDEPEND="dev-lang/perl + virtual/openssh + mbuffer? ( >=sys-block/mbuffer-20180505 ) + sys-fs/btrfs-progs" + +src_compile() { + emake clean + use doc && emake -C doc +} +src_install() { + local targets="install-bin install-etc install-share install-systemd" + use doc && targets="${targets} install-man install-doc" + use lsbtr && targets="${targets} install-bin-links" + emake \ + DESTDIR="${D}" \ + DOCDIR="/usr/share/doc/${PF}" \ + SYSTEMDDIR="$(systemd_get_systemunitdir)" \ + ${targets} +} +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-0.26.0" ; then + upgrade_0_26_0_warning="1" + fi + if has_version "<${CATEGORY}/${PN}-0.27.0" ; then + upgrade_0_27_0_warning="1" + fi +} +pkg_postinst() { + if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then + ewarn "If you are using raw targets, make sure to run the" + ewarn "\"raw_suffix2sidecar\" utility in each target directory." + fi + if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then + ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved' + ewarn 'monthly/yearly backups could get deleted when upgrading to' + ewarn 'btrbk-0.27.0.' + ewarn '' + ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs' + ewarn 'or systemd timers calling btrbk.' + ewarn '' + ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and' + ewarn 'check if any snapshots/backups would get deleted. If you want to' + ewarn 'forcibly preserve a snapshot/backup forever, rename it:' + ewarn '' + ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever' + ewarn '' + ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.' + ewarn '(".keep_forever" suffix in the example above).' + ewarn '' + ewarn ' [1] https://github.com/digint/btrbk/issues/217' + ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f' + fi +} diff --git a/app-backup/btrbk/btrbk-0.31.2.ebuild b/app-backup/btrbk/btrbk-0.31.2.ebuild deleted file mode 100644 index 2c8a405a719a..000000000000 --- a/app-backup/btrbk/btrbk-0.31.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/digint/btrbk.git" - inherit git-r3 - SRC_URI="" -else - SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz" - KEYWORDS="amd64 arm arm64 x86" -fi - -DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" -HOMEPAGE="https://digint.ch/btrbk/" -LICENSE="GPL-3+" -SLOT="0" -IUSE="+mbuffer +doc +lsbtr" - -DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" - -RDEPEND="dev-lang/perl - net-misc/openssh - mbuffer? ( >=sys-block/mbuffer-20180505 ) - sys-fs/btrfs-progs" - -src_compile() { - emake clean - use doc && emake -C doc -} -src_install() { - local targets="install-bin install-etc install-share install-systemd" - use doc && targets="${targets} install-man install-doc" - use lsbtr && targets="${targets} install-bin-links" - emake \ - DESTDIR="${D}" \ - DOCDIR="/usr/share/doc/${PF}" \ - SYSTEMDDIR="$(systemd_get_systemunitdir)" \ - ${targets} -} -pkg_preinst() { - if has_version "<${CATEGORY}/${PN}-0.26.0" ; then - upgrade_0_26_0_warning="1" - fi - if has_version "<${CATEGORY}/${PN}-0.27.0" ; then - upgrade_0_27_0_warning="1" - fi -} -pkg_postinst() { - if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then - ewarn "If you are using raw targets, make sure to run the" - ewarn "\"raw_suffix2sidecar\" utility in each target directory." - fi - if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then - ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved' - ewarn 'monthly/yearly backups could get deleted when upgrading to' - ewarn 'btrbk-0.27.0.' - ewarn '' - ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs' - ewarn 'or systemd timers calling btrbk.' - ewarn '' - ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and' - ewarn 'check if any snapshots/backups would get deleted. If you want to' - ewarn 'forcibly preserve a snapshot/backup forever, rename it:' - ewarn '' - ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever' - ewarn '' - ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.' - ewarn '(".keep_forever" suffix in the example above).' - ewarn '' - ewarn ' [1] https://github.com/digint/btrbk/issues/217' - ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f' - fi -} diff --git a/app-backup/btrbk/btrbk-0.32.6-r1.ebuild b/app-backup/btrbk/btrbk-0.32.6-r1.ebuild new file mode 100644 index 000000000000..0fa19175e32b --- /dev/null +++ b/app-backup/btrbk/btrbk-0.32.6-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/digint/btrbk.git" + inherit git-r3 + SRC_URI="" +else + SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" +HOMEPAGE="https://digint.ch/btrbk/" +LICENSE="GPL-3+" +SLOT="0" +IUSE="+mbuffer +doc +lsbtr" + +DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" + +RDEPEND="dev-lang/perl + virtual/openssh + mbuffer? ( >=sys-block/mbuffer-20180505 ) + >=sys-fs/btrfs-progs-4.12" + +src_compile() { + emake clean + use doc && emake -C doc +} +src_install() { + local targets="install-bin install-etc install-share install-systemd" + use doc && targets="${targets} install-man install-doc" + use lsbtr && targets="${targets} install-bin-links" + emake \ + DESTDIR="${D}" \ + DOCDIR="/usr/share/doc/${PF}" \ + SYSTEMDDIR="$(systemd_get_systemunitdir)" \ + ${targets} +} +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-0.26.0" ; then + upgrade_0_26_0_warning="1" + fi + if has_version "<${CATEGORY}/${PN}-0.27.0" ; then + upgrade_0_27_0_warning="1" + fi +} +pkg_postinst() { + if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then + ewarn "If you are using raw targets, make sure to run the" + ewarn "\"raw_suffix2sidecar\" utility in each target directory." + fi + if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then + ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved' + ewarn 'monthly/yearly backups could get deleted when upgrading to' + ewarn 'btrbk-0.27.0.' + ewarn '' + ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs' + ewarn 'or systemd timers calling btrbk.' + ewarn '' + ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and' + ewarn 'check if any snapshots/backups would get deleted. If you want to' + ewarn 'forcibly preserve a snapshot/backup forever, rename it:' + ewarn '' + ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever' + ewarn '' + ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.' + ewarn '(".keep_forever" suffix in the example above).' + ewarn '' + ewarn ' [1] https://github.com/digint/btrbk/issues/217' + ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f' + fi +} diff --git a/app-backup/btrbk/btrbk-0.32.6.ebuild b/app-backup/btrbk/btrbk-0.32.6.ebuild deleted file mode 100644 index 751ed2dd6a2e..000000000000 --- a/app-backup/btrbk/btrbk-0.32.6.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/digint/btrbk.git" - inherit git-r3 - SRC_URI="" -else - SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" -fi - -DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes" -HOMEPAGE="https://digint.ch/btrbk/" -LICENSE="GPL-3+" -SLOT="0" -IUSE="+mbuffer +doc +lsbtr" - -DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" - -RDEPEND="dev-lang/perl - net-misc/openssh - mbuffer? ( >=sys-block/mbuffer-20180505 ) - >=sys-fs/btrfs-progs-4.12" - -src_compile() { - emake clean - use doc && emake -C doc -} -src_install() { - local targets="install-bin install-etc install-share install-systemd" - use doc && targets="${targets} install-man install-doc" - use lsbtr && targets="${targets} install-bin-links" - emake \ - DESTDIR="${D}" \ - DOCDIR="/usr/share/doc/${PF}" \ - SYSTEMDDIR="$(systemd_get_systemunitdir)" \ - ${targets} -} -pkg_preinst() { - if has_version "<${CATEGORY}/${PN}-0.26.0" ; then - upgrade_0_26_0_warning="1" - fi - if has_version "<${CATEGORY}/${PN}-0.27.0" ; then - upgrade_0_27_0_warning="1" - fi -} -pkg_postinst() { - if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then - ewarn "If you are using raw targets, make sure to run the" - ewarn "\"raw_suffix2sidecar\" utility in each target directory." - fi - if [[ "${upgrade_0_27_0_warning}" == "1" ]]; then - ewarn 'Due to a bugfix in the scheduler [1] [2], previously preserved' - ewarn 'monthly/yearly backups could get deleted when upgrading to' - ewarn 'btrbk-0.27.0.' - ewarn '' - ewarn 'Before upgrading to btrbk-0.27.0, make sure to stop all cron jobs' - ewarn 'or systemd timers calling btrbk.' - ewarn '' - ewarn 'After upgrading, run "btrbk prune --dry-run --print-schedule" and' - ewarn 'check if any snapshots/backups would get deleted. If you want to' - ewarn 'forcibly preserve a snapshot/backup forever, rename it:' - ewarn '' - ewarn ' mv mysubvol.YYYYMMDD mysubvol.YYYYMMDD.keep_forever' - ewarn '' - ewarn 'Note that btrbk ignores subvolumes with unknown naming scheme, e.g.' - ewarn '(".keep_forever" suffix in the example above).' - ewarn '' - ewarn ' [1] https://github.com/digint/btrbk/issues/217' - ewarn ' [2] https://github.com/digint/btrbk/commit/719fb5f' - fi -} diff --git a/app-backup/btrbk/btrbk-9999.ebuild b/app-backup/btrbk/btrbk-9999.ebuild index f75978a45363..0fa19175e32b 100644 --- a/app-backup/btrbk/btrbk-9999.ebuild +++ b/app-backup/btrbk/btrbk-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ IUSE="+mbuffer +doc +lsbtr" DEPEND="doc? ( >=dev-ruby/asciidoctor-1.5.7 )" RDEPEND="dev-lang/perl - net-misc/openssh + virtual/openssh mbuffer? ( >=sys-block/mbuffer-20180505 ) >=sys-fs/btrfs-progs-4.12" diff --git a/app-backup/cdbkup/Manifest b/app-backup/cdbkup/Manifest index aa58437de2aa..54b4ad9afa02 100644 --- a/app-backup/cdbkup/Manifest +++ b/app-backup/cdbkup/Manifest @@ -1,3 +1,3 @@ DIST cdbkup-1.0.tar.gz 38252 BLAKE2B f16209fac8a4c64b628caf9770c67e944add326a7aeeec0b76a1018b8441fd7cfd92de1a657eb8efe0eb49f30fb3f0e135f090291d8c07da1fef313a81f4b0ab SHA512 f95a7540704c16a01e65397fb63b5b97011685c62d3c9a9b2e303470fed5a31f909cb700035466e89ccd181401fd3c19d427fa32c40ece1ba77c1dba9322969d -EBUILD cdbkup-1.0-r4.ebuild 695 BLAKE2B d84a64452b4f31fd980981770186c5ae9292a4c23b63322884bff5c449d78908d3107f4f950d22b3f70580c96c11690c4c5f520e149ffcf2a86988ceaab66492 SHA512 59de8b92202f442f23f8265f94f2f3f7a50c77088e7ba0b16c20389ba1bc00736b614b91b4bac09514b7fd7ee55f4bcc7f03bce93f93ad7260c42bd9e012b9bf +EBUILD cdbkup-1.0-r5.ebuild 694 BLAKE2B 3a66d998ce1281bedc164f6085b6a2384cb26ce27269f63755c97bece1f549fa398a25867a87f5a63807b8f8538eda08fb5018fb569d2e6642d01dbe173c6ba2 SHA512 4f6e9429db95822bdf1651b1fd133f130c8f14884f2797638dbd7dd4a9559ba0c0247ded4e0c560be432f312e4204b8d81041b1b7162c23dcfacda9a84e0a695 MISC metadata.xml 393 BLAKE2B 363838e5573842e77880c914e6dd052a45379bcc05bae9cc7e17a2fceb19b730a9d853a2fa50b9da588227c98a94b46740ec1e84e9baa5a65648f02b6f5598f6 SHA512 bab23cbd23e0d5473180d6ec9509de9ac72ead1dc32b0bf486e86cac3575006fe661b8aa39c5230da2a7bd3fa58d803320a65d2d335878e00ca19fb97ce2a4bc diff --git a/app-backup/cdbkup/cdbkup-1.0-r4.ebuild b/app-backup/cdbkup/cdbkup-1.0-r4.ebuild deleted file mode 100644 index c7d7b9066e0e..000000000000 --- a/app-backup/cdbkup/cdbkup-1.0-r4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Performs full/incremental backups of local/remote filesystems onto CD-R(W)s" -HOMEPAGE="http://cdbkup.sourceforge.net/" -SRC_URI="mirror://sourceforge/cdbkup/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -DEPEND=" - app-cdr/cdrtools - net-misc/openssh - sys-apps/util-linux -" -RDEPEND="${DEPEND} - !app-misc/cdcat -" - -src_prepare() { - default - - sed -i \ - -e "s:doc/cdbkup:doc/${PF}:" \ - -e 's/make /$(MAKE) /' \ - Makefile.in || die -} - -src_configure() { - econf --with-snardir=/etc/cdbkup --with-dumpgrp=users -} - -src_install() { - default - dodoc COMPLIANCE -} diff --git a/app-backup/cdbkup/cdbkup-1.0-r5.ebuild b/app-backup/cdbkup/cdbkup-1.0-r5.ebuild new file mode 100644 index 000000000000..fae37cbdd39a --- /dev/null +++ b/app-backup/cdbkup/cdbkup-1.0-r5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Performs full/incremental backups of local/remote filesystems onto CD-R(W)s" +HOMEPAGE="http://cdbkup.sourceforge.net/" +SRC_URI="mirror://sourceforge/cdbkup/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" + +DEPEND=" + app-cdr/cdrtools + virtual/openssh + sys-apps/util-linux +" +RDEPEND="${DEPEND} + !app-misc/cdcat +" + +src_prepare() { + default + + sed -i \ + -e "s:doc/cdbkup:doc/${PF}:" \ + -e 's/make /$(MAKE) /' \ + Makefile.in || die +} + +src_configure() { + econf --with-snardir=/etc/cdbkup --with-dumpgrp=users +} + +src_install() { + default + dodoc COMPLIANCE +} diff --git a/app-backup/duplicity/Manifest b/app-backup/duplicity/Manifest index 2de3802dcd34..6e6b0a715123 100644 --- a/app-backup/duplicity/Manifest +++ b/app-backup/duplicity/Manifest @@ -2,12 +2,15 @@ AUX duplicity-0.8.23-fix-docs-cmd.patch 636 BLAKE2B 082e8c7ebc704550103b42dc04a0 AUX duplicity-1.0.0-fix-docs-cmd.patch 642 BLAKE2B 50a0f501d852989c153f6dd3653ee06391b9ac5dcf00857f25a2dc8387efa33a42a45fabc86932ed431c73539657fc7dcced7a79d5d2b38df0d7de3de6c06cf1 SHA512 34d4c7a031c49ec5f4286f24494e0d51952e2ebbef4ecbad0899ab89d68b925e634d3783baa70e4c7231d2cec67f0cb64d2fcf1205eb51f8d69d19851df9dbfa AUX duplicity-1.0.1-fix-docs-cmd.patch 642 BLAKE2B 02fc2a2efcfbd6cabe6da997efbf02401df0560edc239b949f89357c66735b6a7282c356fd93ce2b1163543e1fb95ab17332a4ac9f0aea16ae5ec92f232c6c8b SHA512 410515e48aa5c64aa72bb6930bedc5542f57265d31c80bca1c95244d2e87bcf74a822308d27263f48726349a8271db6663b14159c6c3f4b10d25869078fdce6b AUX duplicity-1.2.2-fix-docs-cmd.patch 616 BLAKE2B e138d8778896254cbf0daabf5457ff7a4fdc6600d9618eef2ce1cc8eb24d88bb8d8ba69ae691d31f5dfa1937c474dedd67cb2fd0a8f1270617ec64fa3300fc00 SHA512 e94433b2c7e50c8e3a5f1c46653b656ac079cc87501c4dfb8b8c78b5895a666c537bea713e51de299b7f05eeb3c68bc3d224ea570f79a0f425f744b1e52c15af +AUX duplicity-1.2.3-fix-docs-cmd.patch 621 BLAKE2B ca8f2aa4099ffac152cb7844e5f871679fac0a8c28a19f9c445b820b4a40ec95835f70cdbd2db16f22e2f7dacbb961147f85810682744e058525930ef78dd4e6 SHA512 df3da633bd6d2d1ff250a8d51824be13756d59809fb893ddc48fa7449ef80b5f43464bbfaaaba5efb1bbb3782745a2375e321944b86d2e902f617381b088a9d9 DIST duplicity-0.8.23.tar.gz 1385252 BLAKE2B 63042486e6e17d2d93af72f617990c879763d5921e230302f406b4f9e7c57a67284130f9f57849b9ffc8638614b55f0f8abdf6bb20201155b33b72bef952ec9f SHA512 083cf0060a8c7a8472c6ee4ffbb87e85edf0fcdaba95862a9f272cc03d8ab3d18b584a8d256473e6cfab9eed6f993382b846b692a8c0dd46fd3a2d8215e54e45 DIST duplicity-1.0.0.tar.gz 1381405 BLAKE2B 5de886ca767c01097bc4954c2dc5e6c222c7f9a70f03476d3f8b749cd2d2c25a93458f656e9847cdb0a5cba27bc9466fd825f9b28cbdb593e602cec62876eb9a SHA512 27601f1e83fe685b94caf3703bf8001111efcf0e0af371f3c5434354c55bffba9d3dbd9b48b11808557154c61acfa7c19700dd1f45b10c471c570d85f145b7dd DIST duplicity-1.0.1.tar.gz 1928618 BLAKE2B f7ffdd488e42219b66b6174dbb944283d02910f57cae9fcf849e8f5363986664a49ba7e316d6b3efdce89deec7e4c6a65a95bcb365fa23b928244b5e8f29d48b SHA512 dab8341b990b1899de6080f2539681f0a84f1875fabf04ccd68908e8dcdf55cd31f26d1431488b49ac6b048a1e7ff2e0a0afa27f6eccfd6a20f47dd7193b4563 DIST duplicity-1.2.2.tar.gz 1427493 BLAKE2B d30f91054c59695483a60a684ebc11440b1a490dc635fdc856d7e3e75d7c3b8bc3f8680ecec0af435fe3064c292c6ff0db392e6bb33c682e9527561196e842e1 SHA512 5da4addd0742afa93c62c506f49235b396a7d4bb6576bfd5ec223e04936072ef92e874c533f0f7ece3c1460bf017c2e1875d4ed5c08181113e2509dd28b4521b +DIST duplicity-1.2.3.tar.gz 1438570 BLAKE2B 12afa69f537d2207343c1638df1cf69ad3e170b2f1368e5d8b86716ccc67564834798e2076a90f021bae8f1d8574ff50f0615fd873cdcddf1399349974d8d4c2 SHA512 d2a31b4ed2c0a188d6d2ac543d3d4a474b4c10028a3005b26f57bd57e8c7441eb96e361aa9805fedc6aa09e76e86d3d1e99800669dfb7b2510233e2c0aba15de EBUILD duplicity-0.8.23-r1.ebuild 1180 BLAKE2B a77c93b14243edfb2c3534271b865172e481999ab79c40d601ae62438025089652f94344eb75982533d9b4effa9f316c547435eb2c827d56e22ec0623d7d393e SHA512 d8bc9d3ef53a6f2d82ac578a00b24ee83c9a5f4ee74147505997e24578e45beadb6565301d4e6437ba786213cfe78a7af396c190de2661e39281b18b32d2532e EBUILD duplicity-1.0.0-r1.ebuild 1142 BLAKE2B 2b19fa839c951bc14ac2bc6b317d838b0ec14ac14cf1feaafec9c4c60d31afc518b74e8a786754221ebf3682204016e47fcd71ec9b20ba59f48c21c5427fd912 SHA512 fb7507238af208b670c18a218657d6c0d576638f4e4fdb01ab8bfea3dbe6555e7a2603813431b7af9db4403863532d958629be11c6a7c447208b90c81522605e EBUILD duplicity-1.0.1-r1.ebuild 1093 BLAKE2B ad89ffef1f265315f0d17557314d3d864a8220d4891b08e01a1077abadad66076530fc03ef4ba20e12d9c2621368cab486b84035389e6ab64477d3b52613fd60 SHA512 6c0c8a13954b22ebe7b24ff1aee17d505ca4ffcf68e28168456d4b33cddf6d3dd2b729846df878de1bb6410f32cdcb3a3dbd03505f06254bd06b7dd64e30bcee EBUILD duplicity-1.2.2.ebuild 1127 BLAKE2B a7aaaf28b6fef482d6859f9a15e54ba8e215226b5f8bd67284955e107e15b40cb8797589a804c347b083aa4b9e46558742e3133a25b7d6f6a1831fb44fb4cb26 SHA512 a7986e75be1320bf0c9e9bb00d23a9f2888efc16bcc9e4b4e0f00e38f8580a878658281c4baf8aa00dabf37e562055fe99179e879445eaaf67fa92a6de3f60ea +EBUILD duplicity-1.2.3.ebuild 1127 BLAKE2B a7aaaf28b6fef482d6859f9a15e54ba8e215226b5f8bd67284955e107e15b40cb8797589a804c347b083aa4b9e46558742e3133a25b7d6f6a1831fb44fb4cb26 SHA512 a7986e75be1320bf0c9e9bb00d23a9f2888efc16bcc9e4b4e0f00e38f8580a878658281c4baf8aa00dabf37e562055fe99179e879445eaaf67fa92a6de3f60ea MISC metadata.xml 332 BLAKE2B 5b15249048cace670436cf459303e16f181ce288d549184034a8dc7aa114df0da6ff656d40f7509bf69e452a90fe75ec9daf8cd658ab64ce544a5aa75d0e967c SHA512 7cf229d7613bef9ce022904341d1c4b2d5c5daf34aa98f65fe9852b062f8e079b9e7d5d46c0630ca927101c32b5ae29ebbbaba114997839fe8e44005afb20a62 diff --git a/app-backup/duplicity/duplicity-1.2.3.ebuild b/app-backup/duplicity/duplicity-1.2.3.ebuild new file mode 100644 index 000000000000..fc665542a7f1 --- /dev/null +++ b/app-backup/duplicity/duplicity-1.2.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_10 python3_11 ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="Secure backup system using gnupg to encrypt data" +HOMEPAGE="https://duplicity.gitlab.io/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="s3 test" + +CDEPEND=" + net-libs/librsync + app-crypt/gnupg + dev-python/fasteners[${PYTHON_USEDEP}] +" +DEPEND="${CDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + app-arch/par2cmdline + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND} + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + s3? ( dev-python/boto3[${PYTHON_USEDEP}] ) +" + +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${P}-fix-docs-cmd.patch" +) + +python_test() { + esetup.py test +} + +pkg_postinst() { + elog "Duplicity has many optional dependencies to support various backends." + elog "Currently it's up to you to install them as necessary." +} diff --git a/app-backup/duplicity/files/duplicity-1.2.3-fix-docs-cmd.patch b/app-backup/duplicity/files/duplicity-1.2.3-fix-docs-cmd.patch new file mode 100644 index 000000000000..03b090d0545e --- /dev/null +++ b/app-backup/duplicity/files/duplicity-1.2.3-fix-docs-cmd.patch @@ -0,0 +1,20 @@ +--- duplicity-1.2.3/setup.py.orig 2023-05-11 12:33:14.480474449 -0400 ++++ duplicity-1.2.3/setup.py 2023-05-11 12:33:19.204538723 -0400 +@@ -95,17 +95,6 @@ + u'bin/rdiffdir.1' + ] + ), +- (u'share/doc/duplicity-%s' % Version, +- [ +- u'CHANGELOG.md', +- u'CONTRIBUTING.md', +- u'COPYING', +- u'README.md', +- u'README-LOG.md', +- u'README-REPO.md', +- u'README-TESTING.md', +- ], +- ), + ] + + # short circuit fot READTHEDOCS diff --git a/app-backup/hdup/Manifest b/app-backup/hdup/Manifest index 42d03a6a74fd..ebbd7e0fb9f1 100644 --- a/app-backup/hdup/Manifest +++ b/app-backup/hdup/Manifest @@ -1,4 +1,4 @@ AUX hdup-2.0.14-fix-build-system.patch 1237 BLAKE2B 491b4138e237bf90d6fee8165e28c4281a2be9b76d790b8d531f7327b01f7c49ed228b851745a14a22f690e6b51de10348f1ef791c8094187f174129c2da1f19 SHA512 5caaec6fc990249a1198a05d50bdf18af9bb82a66dd9dac763f1414b908a183d7e78fc7bed4c779da6e9afd6a894daf9c04975188848c4d604fd5ff39a2344b2 DIST hdup-2.0.14.tar.bz2 87803 BLAKE2B 28e65596e4a278f3895986ef97f5557b875adb4bab5e22bae96d58caf64526e63fc2207fc920b59c915b35133f2c66d9280dfd44e5c81b01e87842ee1d19e86f SHA512 076876345d58bc6a1b987adc3ea10b1e82652504f52579d62c3f9f97c120fd56f3177deb4fe810b1579ab473061d2ab38b0ab97b83427ec84d5141f7043897f8 -EBUILD hdup-2.0.14.ebuild 966 BLAKE2B eef84b761bdc418e7c1496a7d905033ebb3548c56aab8fb6300f381ea94eb4d63cc4ef02581bac9d2ca907dcc737096ce1a85f53a86641af7816b910af55efdb SHA512 95ef811d17e7d6f9a62124863a6817505f19e55b5d6973500162557f1605376b565d28e3b95edc8f3136d5d8e580de7e982ca6b00df051ed79b98b692a3b2cd9 +EBUILD hdup-2.0.14-r1.ebuild 962 BLAKE2B 46ccc2572b065f583cee2dff3343884109f61a08833b69a9730b8dcbc5488fb2848045dd492316b8200b42c273b29226dd23443394544312832ad2d43e6179fd SHA512 8371e6b222ddfc97c67584782c69be74b5b2de68a685e36f9ff042482815215b049ba0852ded3e2082189d590f4fd894a82ef06941ea3d6aebc4e1881260c808 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/app-backup/hdup/hdup-2.0.14-r1.ebuild b/app-backup/hdup/hdup-2.0.14-r1.ebuild new file mode 100644 index 000000000000..57fb577b246c --- /dev/null +++ b/app-backup/hdup/hdup-2.0.14-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Hdup is backup program using tar, find, gzip/bzip2, mcrypt and ssh" +HOMEPAGE="http://www.miek.nl/projects/hdup2/index.html" +SRC_URI="http://www.miek.nl/projects/${PN}2/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="crypt" + +CDEPEND=" + app-arch/bzip2 + app-arch/gzip + app-arch/tar + >=dev-libs/glib-2.0" +RDEPEND=" + ${CDEPEND} + virtual/openssh + sys-apps/coreutils + sys-apps/findutils + crypt? ( app-crypt/mcrypt )" +DEPEND=" + ${CDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-2.0.14-fix-build-system.patch ) + +src_install() { + HTML_DOCS=( doc/FAQ.html ) + default + dodoc Credits + + insinto /usr/share/${PN} + doins -r contrib examples +} + +pkg_postinst() { + elog "Now edit your /etc/hdup/${PN}.conf to configure your backups." + elog "You can also check included examples and contrib, see /usr/share/${PN}/." +} diff --git a/app-backup/hdup/hdup-2.0.14.ebuild b/app-backup/hdup/hdup-2.0.14.ebuild deleted file mode 100644 index 87d941b00336..000000000000 --- a/app-backup/hdup/hdup-2.0.14.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Hdup is backup program using tar, find, gzip/bzip2, mcrypt and ssh" -HOMEPAGE="http://www.miek.nl/projects/hdup2/index.html" -SRC_URI="http://www.miek.nl/projects/${PN}2/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="crypt" - -CDEPEND=" - app-arch/bzip2 - app-arch/gzip - app-arch/tar - >=dev-libs/glib-2.0" -RDEPEND=" - ${CDEPEND} - net-misc/openssh - sys-apps/coreutils - sys-apps/findutils - crypt? ( app-crypt/mcrypt )" -DEPEND=" - ${CDEPEND} - virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-2.0.14-fix-build-system.patch ) - -src_install() { - HTML_DOCS=( doc/FAQ.html ) - default - dodoc Credits - - insinto /usr/share/${PN} - doins -r contrib examples -} - -pkg_postinst() { - elog "Now edit your /etc/hdup/${PN}.conf to configure your backups." - elog "You can also check included examples and contrib, see /usr/share/${PN}/." -} diff --git a/app-backup/rsnapshot/Manifest b/app-backup/rsnapshot/Manifest index 50b7f7859a1a..4b38dcde7b17 100644 --- a/app-backup/rsnapshot/Manifest +++ b/app-backup/rsnapshot/Manifest @@ -1,5 +1,5 @@ DIST rsnapshot-1.4.4.tar.gz 374269 BLAKE2B 1e4a0c99d12d48cf4dacd3817b621f7e6b0ba32e9d9de87b61252875ae0bf735e8ce2c7d8bb60edb2f7d6345a06b183a2616bf1ac3dd7d1b5d3a3ef22a0ede6f SHA512 da45039457b9f3feb53b823f6ee36e8f7447d0689281d1bc857c6fedd450db2fdf8a98e66ba6e135a86654666888f7744ad9ff0aabbd605e1fc09dd5f1f7b838 DIST rsnapshot-1.4.5.tar.gz 287731 BLAKE2B 2a668aa16991b2b4e611c6204cdcd0e8c9593e5f0af5ea89e787a578e73b6f5987514cd7d0252bb78aea1b157ef85aea947686111ca9e3befdb2a8cef0aa9ecd SHA512 6caa2d7c425d084d0bb393421a0ed1ba78fdd27f7d8cec4810bc4a9f88b3232aeff7e4682282178f7702e2adc7abc8e9201249bf2bcaa28faa16e30aaa62e18a -EBUILD rsnapshot-1.4.4.ebuild 1338 BLAKE2B 6239209405ed60e4aaedc8aed906509580a8b62f90f1d93f1e111598888597a1c78f085f67e42d8012ef21906fe3f3f3b2ca09c655fab9fd0d9e9d89d4076a9e SHA512 7399a1f7339ca86d2b5d05eba55d271803a63e5fc2cfc0df184f6a3a0c3f8b44da15d983a3818334f96af54de30547a32b1e484bc795637af16b127dda32c263 -EBUILD rsnapshot-1.4.5.ebuild 1382 BLAKE2B 5df67c88fcf5d79ad4f15a2b2fa39cd842b17d36fe56edbf16513e93fc9858bd056231fe46c345fd0149eda2df60f268fb60d4104f935e4480ef4e42c1abc1ac SHA512 4a769442fe30ce9d22989c7e7d4e0c3e44aa84c04a10a7a8fd78d57f8bd30c336343e3aa478710c1658f1152d0ff9794d634e2d094e9b4ab5770bb5d4ccc263f +EBUILD rsnapshot-1.4.4-r1.ebuild 1320 BLAKE2B b50519da5627e139795fb68912c67b22118c1d38fdc12ea1f65153857155f68149dbd68295cfd7c409a2dd8b8c9743192bb6364eaaa7ccd1f6fdb2ee9114d9e8 SHA512 e9fb89bbe5700fdf2fa6fd402844d401519a6f507c3a5857aa748a331c8751ff65e62c7873e9e00da6018108712737fc9dc1347b32e89ea5a6a6a878c20e23e1 +EBUILD rsnapshot-1.4.5-r1.ebuild 1367 BLAKE2B 9810ff286a3bcea050f24248b8c389a4d7fb3f43d295f6e2cc55d0ef9f0204df65876bc7cb283398a51b3d88e2a3c87be7e0aa98d0bc145b8439dd30363c64fc SHA512 f5a71ac2851dd170cc06ace2c7c2bbf57bf81ebf5a9176541651b34001794b67416796a288811f46d7f49d89274e4b0cc8908eca6ab1bea1a73991a1d7ea1a17 MISC metadata.xml 483 BLAKE2B 457bb48e031e1c3d193003158de8f503c4815e4f2483d0944262c3c220db12fe6a78aa46b23eb9d3c06f27d5b2cdb6ac0d6e018fdb560fbaf1e09860d1d0c618 SHA512 bedd5c13f9a3d2f476f95b9e47dd07a3888ba72f97a0773497f6d5fcd13ee8b99b825e38bb0f1cff1f0a5f2fb1507d0b7f79e3812636bb9143197c67358539e8 diff --git a/app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild new file mode 100644 index 000000000000..7d9892a4c31b --- /dev/null +++ b/app-backup/rsnapshot/rsnapshot-1.4.4-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A filesystem backup utility based on rsync" +HOMEPAGE="https://www.rsnapshot.org" +SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" + +RDEPEND=" + >=dev-lang/perl-5.8.2 + dev-perl/Lchown + >=sys-apps/util-linux-2.12-r4 + >=sys-apps/coreutils-5.0.91-r4 + virtual/openssh + >=net-misc/rsync-2.6.0" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # remove '/etc/' since we don't place it here, bug #461554 + sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die +} + +src_install() { + docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" + + # Change sysconfdir to install the template file as documentation + # rather than in /etc. + emake install DESTDIR="${D}" \ + sysconfdir="${EPREFIX}/usr/share/doc/${PF}" + + dodoc README.md AUTHORS ChangeLog \ + docs/Upgrading_from_1.1 + + docinto utils + dodoc utils/{README,rsnaptar,*.sh,*.pl} + + docinto utils/rsnapshotdb + dodoc utils/rsnapshotdb/* +} + +pkg_postinst() { + elog "The template configuration file has been installed as" + elog " /usr/share/doc/${PF}/rsnapshot.conf.default" + elog "Copy and edit the the above file as /etc/rsnapshot.conf" +} diff --git a/app-backup/rsnapshot/rsnapshot-1.4.4.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.4.ebuild deleted file mode 100644 index ae093a14dfed..000000000000 --- a/app-backup/rsnapshot/rsnapshot-1.4.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A filesystem backup utility based on rsync" -HOMEPAGE="https://www.rsnapshot.org" -SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" - -RDEPEND=">=dev-lang/perl-5.8.2 - dev-perl/Lchown - >=sys-apps/util-linux-2.12-r4 - >=sys-apps/coreutils-5.0.91-r4 - >=net-misc/openssh-3.7.1_p2-r1 - >=net-misc/rsync-2.6.0" -DEPEND="${RDEPEND}" - -src_prepare() { - default - # remove '/etc/' since we don't place it here, bug #461554 - sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die -} - -src_install() { - docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" - - # Change sysconfdir to install the template file as documentation - # rather than in /etc. - emake install DESTDIR="${D}" \ - sysconfdir="${EPREFIX}/usr/share/doc/${PF}" - - dodoc README.md AUTHORS ChangeLog \ - docs/Upgrading_from_1.1 - - docinto utils - dodoc utils/{README,rsnaptar,*.sh,*.pl} - - docinto utils/rsnapshotdb - dodoc utils/rsnapshotdb/* -} - -pkg_postinst() { - elog "The template configuration file has been installed as" - elog " /usr/share/doc/${PF}/rsnapshot.conf.default" - elog "Copy and edit the the above file as /etc/rsnapshot.conf" -} diff --git a/app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild new file mode 100644 index 000000000000..0603ae32895c --- /dev/null +++ b/app-backup/rsnapshot/rsnapshot-1.4.5-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A filesystem backup utility based on rsync" +HOMEPAGE="https://www.rsnapshot.org" +SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=dev-lang/perl-5.8.2 + dev-perl/Lchown + >=sys-apps/util-linux-2.12-r4 + >=sys-apps/coreutils-5.0.91-r4 + virtual/openssh + >=net-misc/rsync-2.6.0" +DEPEND="${RDEPEND}" + +src_prepare() { + default + # remove '/etc/' since we don't place it here, bug #461554 + sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die +} + +src_test() { + emake test +} + +src_install() { + docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" + + # Change sysconfdir to install the template file as documentation + # rather than in /etc. + emake install DESTDIR="${D}" \ + sysconfdir="${EPREFIX}/usr/share/doc/${PF}" + + dodoc README.md AUTHORS ChangeLog \ + docs/Upgrading_from_1.1 + + docinto utils + dodoc utils/{README,rsnaptar,*.sh,*.pl} + + docinto utils/rsnapshotdb + dodoc utils/rsnapshotdb/* +} + +pkg_postinst() { + elog "The template configuration file has been installed as" + elog " ${EROOT}/usr/share/doc/${PF}/rsnapshot.conf.default" + elog "Copy and edit the the above file as ${EROOT}/etc/rsnapshot.conf" +} diff --git a/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild b/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild deleted file mode 100644 index 01fb77647b26..000000000000 --- a/app-backup/rsnapshot/rsnapshot-1.4.5.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A filesystem backup utility based on rsync" -HOMEPAGE="https://www.rsnapshot.org" -SRC_URI="https://www.rsnapshot.org/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=">=dev-lang/perl-5.8.2 - dev-perl/Lchown - >=sys-apps/util-linux-2.12-r4 - >=sys-apps/coreutils-5.0.91-r4 - >=net-misc/openssh-3.7.1_p2-r1 - >=net-misc/rsync-2.6.0" -DEPEND="${RDEPEND}" - -src_prepare() { - default - # remove '/etc/' since we don't place it here, bug #461554 - sed -i -e 's:/etc/rsnapshot.conf.default:rsnapshot.conf.default:' rsnapshot-program.pl || die -} - -src_test() { - emake test -} - -src_install() { - docompress -x "/usr/share/doc/${PF}/rsnapshot.conf.default" - - # Change sysconfdir to install the template file as documentation - # rather than in /etc. - emake install DESTDIR="${D}" \ - sysconfdir="${EPREFIX}/usr/share/doc/${PF}" - - dodoc README.md AUTHORS ChangeLog \ - docs/Upgrading_from_1.1 - - docinto utils - dodoc utils/{README,rsnaptar,*.sh,*.pl} - - docinto utils/rsnapshotdb - dodoc utils/rsnapshotdb/* -} - -pkg_postinst() { - elog "The template configuration file has been installed as" - elog " ${EROOT}/usr/share/doc/${PF}/rsnapshot.conf.default" - elog "Copy and edit the the above file as ${EROOT}/etc/rsnapshot.conf" -} -- cgit v1.2.3