app-backup/duplicati-bin: Add ebuild for latest beta version. #24

Merged
manuel merged 1 commit from duplicati-latest-beta into master 2019-08-05 00:13:55 +02:00
4 changed files with 86 additions and 1 deletions
Showing only changes of commit 8c1bb84c2b - Show all commits

View file

@ -1,3 +1,10 @@
*duplicati-bin-2.0.4.23_beta20190714 (04 Aug 2019)
04 Aug 2019; Manuel Friedli <manuel@fritteli.ch>
+duplicati-bin-2.0.4.23_beta20190714.ebuild,
+files/001-duplicati-bin-2.0.4.23_beta20190714-bash-path.patch:
app-backup/duplicati-bin: Add ebuild for latest beta version.
18 Mar 2019; Manuel Friedli <manuel@fritteli.ch> 18 Mar 2019; Manuel Friedli <manuel@fritteli.ch>
-duplicati-bin-2.0.2.1_beta20170801-r1.ebuild, -duplicati-bin-2.0.2.1_beta20170801-r1.ebuild,
-duplicati-bin-2.0.3.3_beta20180402.ebuild: -duplicati-bin-2.0.3.3_beta20180402.ebuild:

View file

@ -1,5 +1,8 @@
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.4.5_beta20181128-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.4.5_beta20181128.rpm 7973320 BLAKE2B 01488719d6e5b18a5b3a3b76499b52d63038cb818b3629989edd7b354b9b86927328eab978d3ab7cd7fe284b4cf720bb2f311c85709819a5eff33b7e44ed94e9 SHA512 63c6a66895844238f5b2b3b045f9efdb91308c26c57a50905ab3180bfa3e304467b29dfd2d03a6142b852f228740e25787978a30950f01c8ce738e0ed4510fa5
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.4.5_beta20181128.ebuild 972 BLAKE2B d9665244672579ca14ccaef9c811012d9c4d08bc2129fc2ae2a8b9fd34c3d2a719a1c3cb38b050077ed4a3c6ddb8ff82d34c948230a0db25f75458ef8504cfe4 SHA512 c2848374c351871bdc566d1827e727dc7131c9965a40f30a589f0a2bfa548b81fd11fda42f7eb824a16443ef45f907c0f852b36253e5fb0c568db9b86c01732e
MISC ChangeLog 1760 BLAKE2B 85001c1d2dfb8a472ef1bdc243d15153e42c891796daea079822cdc49fe1a33beb194e589052a5171ef345175bf02f00af7531d8badf741d31cf3675da29650f SHA512 844b9ccf915f9587506089f605fc163c0c4dad9479de5166105efbe8bc66515264f6f3dc1e3ac05ae618e164d8ff5838a918eff6f29f1a27af9f13a7292cc4f7 MISC ChangeLog 2041 BLAKE2B c2b667670072cd94f583275766eefd6e88339a296cd146da0658fb80913d1756ea957685b05ab8ab186f03c0e5f01474639221deb93eb90b0e461699a1eb7a4a SHA512 47a2605818a9b3cb6b530dc2d812e4ed5ed687f25205e1d73fb3f2e0dc7d510b1373d1149093640b532e3ef1ee6a0cc5321ce5b6f4849e6bf77ee9422156fe17
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2

View file

@ -0,0 +1,45 @@
# 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.4.23"
MY_BUILDTYPE="beta"
MY_BUILDDATE="2019-07-14"
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"
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}