app-backup/duplicati-bin: Fix path to bash
All checks were successful
continuous-integration/drone the build was successful

Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Manuel Friedli 2018-12-04 00:43:19 +01:00
parent cb6435e511
commit 5004146f93
4 changed files with 49 additions and 4 deletions

View file

@ -1,3 +1,8 @@
03 Dec 2018; Manuel Friedli <manuel@fritteli.ch>
+files/001-duplicati-bin-2.0.4.5_beta20181128-bash-path.patch,
duplicati-bin-2.0.4.5_beta20181128.ebuild:
app-backup/duplicati-bin: Fix path to bash
*duplicati-bin-2.0.4.5_beta20181128 (03 Dec 2018)
03 Dec 2018; Manuel Friedli <manuel@fritteli.ch>

View file

@ -1,8 +1,9 @@
AUX 001-duplicati-bin-2.0.4.5_beta20181128-bash-path.patch 1046 BLAKE2B da4e78ccaa255b53043d28f582b715b92dbf5c2e31b06776d874fcd924fae8c3e4fbef3d0ab5135719e6a80677f1f59050acc73c13121a070d32e9665dcfb052 SHA512 fdf21ee4f7247d6a6a1ad086ecd4ed5829c940c97fb5d0deba512612727743f11329cae29c45ee19711022ed402e5933ea8068d13eb04cdc65aa495a9115cdb4
DIST duplicati-bin-2.0.2.1_beta20170801.rpm 7447686 BLAKE2B b3053638de7390ee35162a6cb184c323c908b7e9b1f3ee7f8556c93e10836740245c6b667c6ca8ea2674c2ca3303859992acded80a6db98750f8425f8b5d9e4d SHA512 372603b8e48111e430403421ac8c611932534e5343564abf4c9ebf297b002de83d771cda4544c59a78d6faf3b794882265a75c669f19f17f2c6fb91fa64e16b5
DIST duplicati-bin-2.0.3.3_beta20180402.rpm 7721946 BLAKE2B f69418f750fe7ad0011043db2e6a7463d9be8ea099837cc3d16e144eb626fed90a22cec4fb3767796cdde13583943106f528c1c27883a2f2a56ff62c45312ab9 SHA512 79cb885700246aeffb3167f06500073c153a470dfe62938ef3f5a3dd608de4882f8b437bf34541500a68b24cb64938da224cdb6f3205ab53fe2a5b9a90367201
DIST duplicati-bin-2.0.4.5_beta20181128.rpm 7973320 BLAKE2B 01488719d6e5b18a5b3a3b76499b52d63038cb818b3629989edd7b354b9b86927328eab978d3ab7cd7fe284b4cf720bb2f311c85709819a5eff33b7e44ed94e9 SHA512 63c6a66895844238f5b2b3b045f9efdb91308c26c57a50905ab3180bfa3e304467b29dfd2d03a6142b852f228740e25787978a30950f01c8ce738e0ed4510fa5
EBUILD duplicati-bin-2.0.2.1_beta20170801-r1.ebuild 810 BLAKE2B b6d87ebe3dfc774cc96c68f8aab6252a555e12a53ab397810e8f5220b9839a2619f177f76949a6035e1e12997f8d5a59287ff452612661d89f461c72a0ac534a SHA512 63d09f04a6929601455df4c2d09ee016d06f9bac14ec348613d96e3102e6caa507b2d63d8eb8cff95acff861221e338cec4c0ed3ab79d11a3c616556cf3d1a3f
EBUILD duplicati-bin-2.0.3.3_beta20180402.ebuild 810 BLAKE2B 5236fca39a06fd731d880228553390a22d1c8542404e0b3ca66f87399d1a996127a412d630964a6f27278a4be53c8350ade260d56c98755451d110d2853035be SHA512 6219b17de7b683961e1db84f9f050518d8170b30c84ef6bf71d350ce2f479c333ff981d074597088acd935fd299c433693eb57c8597e34b9f41c1c4e5402cf96
EBUILD duplicati-bin-2.0.4.5_beta20181128.ebuild 868 BLAKE2B 70292a041361f617730953621812a497d3b0565ca6b5b8fa0e9370bc4d19dc5d03fb6485907bd5da69bed6d092ae194d044964897df62b2e5c5bc9ed95fe419d SHA512 1344a1b2a8031fb646ad8bb2722864f277dbe31236aee7bc179f9efbd1dc3a1bda04bee20a05f9b2cf1363dd1792256ff478ec921a572564ced5a4b745951b96
MISC ChangeLog 1358 BLAKE2B 6327552f45590fd54d0da291873ecef3e7c414389308e77aa7cd065e53a5c729b6840c632aecd6fe986da50ef0835df104a708a30f0d84a4f4a2e7e7f840f294 SHA512 36c8c10fec7be96cb1c64ce15a06fdd9982f46638446e5bcb571fde4dd74953132a6380685d6485e0e4d2d04d2f8b58f9684c945c667450f04ff1019cb794f69
EBUILD duplicati-bin-2.0.4.5_beta20181128.ebuild 972 BLAKE2B d9665244672579ca14ccaef9c811012d9c4d08bc2129fc2ae2a8b9fd34c3d2a719a1c3cb38b050077ed4a3c6ddb8ff82d34c948230a0db25f75458ef8504cfe4 SHA512 c2848374c351871bdc566d1827e727dc7131c9965a40f30a589f0a2bfa548b81fd11fda42f7eb824a16443ef45f907c0f852b36253e5fb0c568db9b86c01732e
MISC ChangeLog 1565 BLAKE2B 0711f44122c81ad72b43dad7ed1542abf50f91956ad1d9a48501e35763c54e0f4d2608259e17357bea259c644bf80b48204b06828f116d6f005141cf64356a81 SHA512 1264afae475526c99b440927ec11e947e4bfa70f2516d998c9bd20e3b390d70960cdee925cee14da7ee071956db543ec37e596ba64b1aa9c2d800a6ea43a4908
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2

View file

@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI="7"
inherit eutils rpm
@ -28,9 +28,18 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}/001-${P}-bash-path.patch"
)
RDEPEND=""
src_install() {
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}