Add ebuild for the latest beta version of duplicati-bin. #40

Manually merged
manuel merged 1 commit from feature/duplicati into master 2020-01-22 23:44:46 +01:00
3 changed files with 79 additions and 0 deletions
Showing only changes of commit 706011bcb2 - Show all commits

View file

@ -1,8 +1,11 @@
AUX 001-duplicati-bin-2.0.4.23_beta20190714-bash-path.patch 1046 BLAKE2B da4e78ccaa255b53043d28f582b715b92dbf5c2e31b06776d874fcd924fae8c3e4fbef3d0ab5135719e6a80677f1f59050acc73c13121a070d32e9665dcfb052 SHA512 fdf21ee4f7247d6a6a1ad086ecd4ed5829c940c97fb5d0deba512612727743f11329cae29c45ee19711022ed402e5933ea8068d13eb04cdc65aa495a9115cdb4
AUX 001-duplicati-bin-2.0.4.5_beta20181128-bash-path.patch 1046 BLAKE2B da4e78ccaa255b53043d28f582b715b92dbf5c2e31b06776d874fcd924fae8c3e4fbef3d0ab5135719e6a80677f1f59050acc73c13121a070d32e9665dcfb052 SHA512 fdf21ee4f7247d6a6a1ad086ecd4ed5829c940c97fb5d0deba512612727743f11329cae29c45ee19711022ed402e5933ea8068d13eb04cdc65aa495a9115cdb4
AUX 001-duplicati-bin-2.0.5.1_beta20200118-bash-path.patch 1046 BLAKE2B da4e78ccaa255b53043d28f582b715b92dbf5c2e31b06776d874fcd924fae8c3e4fbef3d0ab5135719e6a80677f1f59050acc73c13121a070d32e9665dcfb052 SHA512 fdf21ee4f7247d6a6a1ad086ecd4ed5829c940c97fb5d0deba512612727743f11329cae29c45ee19711022ed402e5933ea8068d13eb04cdc65aa495a9115cdb4
DIST duplicati-bin-2.0.4.23_beta20190714.rpm 7974532 BLAKE2B 78017ea91881f20e5347ec83aeff209aa3bf40c8a3b296500a199d4aebd7193571257fe38c6b761dee4dad927b79d7ba21ba0f41e0640aeea0e293c8ec17b2c0 SHA512 74403be0fb00424bced100f39aeca447c72b7cb49a73bfd5204502ca9c5f7cf1a47e0536259a279e6f12b354af822a68cfa96a665e5f121f4d79f76d6fdd5c08
DIST duplicati-bin-2.0.4.5_beta20181128.rpm 7973320 BLAKE2B 01488719d6e5b18a5b3a3b76499b52d63038cb818b3629989edd7b354b9b86927328eab978d3ab7cd7fe284b4cf720bb2f311c85709819a5eff33b7e44ed94e9 SHA512 63c6a66895844238f5b2b3b045f9efdb91308c26c57a50905ab3180bfa3e304467b29dfd2d03a6142b852f228740e25787978a30950f01c8ce738e0ed4510fa5
DIST duplicati-bin-2.0.5.1_beta20200118.rpm 10123304 BLAKE2B ce759bd6658d3bb6d35fecc8c71cfeeee4d63f3a4106ec6441b3153cdd9201e30978e89be60c7f80802c658c710e18b95a32865d2568b9b1b0d44e7f5eafa0e8 SHA512 d57b6bb07e9a6e30e0823e2b962978a0933fe2208288729a5636ff7ced1703c9744bb3a1e10c81c369aa441ac786d3442abaf34d955f89e63ae606926b8cdc21
EBUILD duplicati-bin-2.0.4.23_beta20190714.ebuild 973 BLAKE2B c4326c856a23b7b7a6c786b7f8fb2b3224909015c90526f9c4375afccd4551cd114b990625dcda694eac93cd00eb8a92bcb2d9970d751ad4c0cfe754d1549896 SHA512 15ef88f63c18a6b7bab2965d275257dfaa382286383befbc81b4ec94a9680f25fd4045267314da92dff5fc1fb777ddc71fb22ade08b529d95d887a9d68c2c847
EBUILD duplicati-bin-2.0.4.5_beta20181128.ebuild 972 BLAKE2B d9665244672579ca14ccaef9c811012d9c4d08bc2129fc2ae2a8b9fd34c3d2a719a1c3cb38b050077ed4a3c6ddb8ff82d34c948230a0db25f75458ef8504cfe4 SHA512 c2848374c351871bdc566d1827e727dc7131c9965a40f30a589f0a2bfa548b81fd11fda42f7eb824a16443ef45f907c0f852b36253e5fb0c568db9b86c01732e
EBUILD duplicati-bin-2.0.5.1_beta20200118.ebuild 991 BLAKE2B 5c1a99fb158cfe5892c73bea34576824b5efab4fd8ff5677c6104e14a2b9b19b2268ccd1d9084d151386a7877fd01e2d35dd5f9e757c04f06b4f545b8f3639ab SHA512 f78a4abd28b96578e11e49901d0deddd4029a065c3147ccc7176e1d1ae9f45515fc7418337d75b99fa96b4b27e0ea17ce9d206cadb942e3bb74545fe08c427e6
MISC ChangeLog 2041 BLAKE2B c2b667670072cd94f583275766eefd6e88339a296cd146da0658fb80913d1756ea957685b05ab8ab186f03c0e5f01474639221deb93eb90b0e461699a1eb7a4a SHA512 47a2605818a9b3cb6b530dc2d812e4ed5ed687f25205e1d73fb3f2e0dc7d510b1373d1149093640b532e3ef1ee6a0cc5321ce5b6f4849e6bf77ee9422156fe17
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2

View file

@ -0,0 +1,46 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils rpm
MY_PN="duplicati"
MY_PV="2.0.5.1"
MY_BUILDTYPE="beta"
MY_BUILDDATE="2020-01-18"
MY_BASE_PV="${MY_PV}-${MY_PV}_${MY_BUILDTYPE}"
MY_PV_1="v${MY_BASE_PV}_${MY_BUILDDATE}"
MY_PV_2="${MY_PN}-${MY_BASE_PV}_${MY_BUILDDATE//-/}"
DESCRIPTION="A backup client that securely stores encrypted, incremental, compressed backups."
HOMEPAGE="http://www.duplicati.com/"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${MY_PV_1}/${MY_PV_2}.noarch.rpm -> ${P}.rpm"
RDEPEND="!app-backup/duplicati
>=dev-lang/mono-5"
DEPEND="dev-dotnet/gtk-sharp"
S="${WORKDIR}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}/001-${P}-bash-path.patch"
)
RDEPEND=""
src_prepare() {
eapply ${PATCHES}
eapply_user
mv "${S}/usr/share/doc/duplicati" "${S}/usr/share/doc/${P}"
}
src_install() {
cp -R "${S}/usr/" "${D}/" || die "install failed"
}

View file

@ -0,0 +1,30 @@
diff --git a/usr/bin/duplicati b/usr/bin/duplicati
index ca57686..f408fec 100755
--- a/usr/bin/duplicati
+++ b/usr/bin/duplicati
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}
diff --git a/usr/bin/duplicati-cli b/usr/bin/duplicati-cli
index 4bea938..3fea689 100755
--- a/usr/bin/duplicati-cli
+++ b/usr/bin/duplicati-cli
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}
diff --git a/usr/bin/duplicati-server b/usr/bin/duplicati-server
index 62d6808..31c3550 100755
--- a/usr/bin/duplicati-server
+++ b/usr/bin/duplicati-server
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/usr/bin/env bash
INSTALLDIR=/usr/lib/duplicati
export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export MONO_PATH=$MONO_PATH:${INSTALLDIR}