app-backup/duplicati: added ebuild for experimental version 2.0.1.11 of app-backup/duplicati

Package-Manager: portage-2.2.28
This commit is contained in:
Manuel Friedli 2016-07-13 00:46:47 +02:00
parent 02fee7c133
commit 29acac2869
4 changed files with 121 additions and 2 deletions

View file

@ -1,3 +1,10 @@
*duplicati-2.0.1.11.20160408 (12 Jul 2016)
12 Jul 2016; Manuel Friedli <manuel@fritteli.ch>
+duplicati-2.0.1.11.20160408.ebuild,
+files/duplicati-2.0.1.11.20160408-fix-Makefile.patch:
app-backup/duplicati: added ebuild for experimental version 2.0.1.11 of app-
backup/duplicati
07 Jun 2016; Manuel Friedli <manuel@fritteli.ch> +ChangeLog: 07 Jun 2016; Manuel Friedli <manuel@fritteli.ch> +ChangeLog:
Added ChangeLog Added ChangeLog

View file

@ -1,7 +1,10 @@
AUX duplicati-1.3.4-filenames-casesensitive.patch 3852 SHA256 2b21530fad665c56377041b2cd4403303e552d3396c27c720eef730c2ccce35a SHA512 b8a5b0993c484d358bcd0bd5619bce4bf991afadc2b4c393a0272900fbb5bc9112bf1a12ea92385538558b587ec3369ef0fce168d1ed04183f14c00582e88523 WHIRLPOOL 74d18427ce64d608b31d172cfcd3c95538cb971635f98b6cc67cc4df282cb0856f9864e23a6d1c12ff8237627241fb1a1e413f329f20722e70e6b20835c00495 AUX duplicati-1.3.4-filenames-casesensitive.patch 3852 SHA256 2b21530fad665c56377041b2cd4403303e552d3396c27c720eef730c2ccce35a SHA512 b8a5b0993c484d358bcd0bd5619bce4bf991afadc2b4c393a0272900fbb5bc9112bf1a12ea92385538558b587ec3369ef0fce168d1ed04183f14c00582e88523 WHIRLPOOL 74d18427ce64d608b31d172cfcd3c95538cb971635f98b6cc67cc4df282cb0856f9864e23a6d1c12ff8237627241fb1a1e413f329f20722e70e6b20835c00495
AUX duplicati-1.3.4-patch-Makefile.patch 2311 SHA256 4ad674ebae52262422ed91a32ed214260179e17cdd44c51c24d493fb4f26fc04 SHA512 399a3e733c3fa688e653a7e1c4000d56a464d3b38f75283ba856ae74c8c6f9c977cbd5f7e61feb8e04f00459e6bbbebbdecf224195532627f4f99ee527ef1b28 WHIRLPOOL 3cf84ea2bc4d98f532d3e97d7dc98c10d58f07f6e25ffb05e775a7bdcc692eb983af83ef07b71a894cabff964a877f1b1fd7b93af90a9f5a33cf6067f22c1683 AUX duplicati-1.3.4-patch-Makefile.patch 2311 SHA256 4ad674ebae52262422ed91a32ed214260179e17cdd44c51c24d493fb4f26fc04 SHA512 399a3e733c3fa688e653a7e1c4000d56a464d3b38f75283ba856ae74c8c6f9c977cbd5f7e61feb8e04f00459e6bbbebbdecf224195532627f4f99ee527ef1b28 WHIRLPOOL 3cf84ea2bc4d98f532d3e97d7dc98c10d58f07f6e25ffb05e775a7bdcc692eb983af83ef07b71a894cabff964a877f1b1fd7b93af90a9f5a33cf6067f22c1683
AUX duplicati-1.3.4-remove-unsigned-backends.patch 1899 SHA256 cc962d1b4243d7f8a6f18f541eb9d6a503add0d95b67e384f1a611b875a7e973 SHA512 960e45e8f8bd0a59bbd1b9adb9f60758957916158b7e6609e5c3a7fdae4b120842ee14a8ae3152ca00999798c9c1e3bb953fcff4dc4e8d748d8942cb669c1090 WHIRLPOOL 9bb46c12dd8bf4298a59cba25616a05624f6eab2027ddbc43be1bf9cd617795d7fdcc2303e3e18f114d6daa2698560856dd3a00c4b11d243d8fd2a8cf7078cf5 AUX duplicati-1.3.4-remove-unsigned-backends.patch 1899 SHA256 cc962d1b4243d7f8a6f18f541eb9d6a503add0d95b67e384f1a611b875a7e973 SHA512 960e45e8f8bd0a59bbd1b9adb9f60758957916158b7e6609e5c3a7fdae4b120842ee14a8ae3152ca00999798c9c1e3bb953fcff4dc4e8d748d8942cb669c1090 WHIRLPOOL 9bb46c12dd8bf4298a59cba25616a05624f6eab2027ddbc43be1bf9cd617795d7fdcc2303e3e18f114d6daa2698560856dd3a00c4b11d243d8fd2a8cf7078cf5
AUX duplicati-2.0.1.11.20160408-fix-Makefile.patch 2878 SHA256 db4bf71fb7786a59bbcb6127b66661139bb31df7b84f687ac992b81417408570 SHA512 ccf534a46549786e79fd7f546f0857ecf8fffb6e8a8f47fb28ff4dff84b8a0db09bb6a03855af96f15b3dd1d1f0a8280a439d4b888a95b111de4a9c84085e8f2 WHIRLPOOL b1c3f21238c29bdc72c8eae741ef8fcc0b1a93ee7a1848cab997e76561bc6ae32c1cfc53791ebc4f36566fe87a8e46838fef7c409ab6f378d2e1b5eadba37743
DIST duplicati-1.3.4.tar.gz 11840281 SHA256 abae8876b536d4f1e63b07297ea0b26ad9a2026e46593be661d45f95d2348581 SHA512 e92c178715df0d6d5794720988ccb4342aaf9d6e92813316b7c9214364d7735eaeb178d2dc413a91acc3e7e7a1a4ba1821e8ef7989897a55add66f63adcbc7a5 WHIRLPOOL 3d1d70e44f662adb7e24324bc82bbfd1c9b8e6596136ffd69dec78cd60ecee908b604110e52ddc79104e071db97efc27bb30d45f78464043d11d1259b3672b6b DIST duplicati-1.3.4.tar.gz 11840281 SHA256 abae8876b536d4f1e63b07297ea0b26ad9a2026e46593be661d45f95d2348581 SHA512 e92c178715df0d6d5794720988ccb4342aaf9d6e92813316b7c9214364d7735eaeb178d2dc413a91acc3e7e7a1a4ba1821e8ef7989897a55add66f63adcbc7a5 WHIRLPOOL 3d1d70e44f662adb7e24324bc82bbfd1c9b8e6596136ffd69dec78cd60ecee908b604110e52ddc79104e071db97efc27bb30d45f78464043d11d1259b3672b6b
DIST duplicati-2.0.1.11.20160408.tar.gz 17628969 SHA256 d5eb53ebee297ffee82a9b7fc921de10454a432ecb7910de19f271eb8750ba36 SHA512 0fdf1454f2b83eff551b801e4087d505de1247883c35e46a9d73f11371e6724ac0b3e42518bbfc8dcb64f24e13b6ace9d5b398e48f7c76e09d5467ca419b74cd WHIRLPOOL c2826eb67f4296d3d6326f6265076af00128d36841b092128872296a9bdcbcfc466d57b0ae5c8adf8a52c9ab7a3653e5016ace4868608c8672c38e7dbec0943d
EBUILD duplicati-1.3.4.ebuild 842 SHA256 0cbfd36674993d05c9b77009b4dc8d0ce70bc0e11ee822d41f303c18c6a5b839 SHA512 324bb5ee20ba2bee9708073945866fd411c1ee19299cb51b2bcbc27c3039aa2fe503a146a9708dc9d950cb7475d0858e3cd5084c08589663e1f4c6bdfa9678ca WHIRLPOOL 3e267834472843371a15004b19033e81639e68ee986a86aaaeb8dbf3eb92b622ceb6413dd8074097a4c154786eda97e626709c3a66ac39e67616e14323199fda EBUILD duplicati-1.3.4.ebuild 842 SHA256 0cbfd36674993d05c9b77009b4dc8d0ce70bc0e11ee822d41f303c18c6a5b839 SHA512 324bb5ee20ba2bee9708073945866fd411c1ee19299cb51b2bcbc27c3039aa2fe503a146a9708dc9d950cb7475d0858e3cd5084c08589663e1f4c6bdfa9678ca WHIRLPOOL 3e267834472843371a15004b19033e81639e68ee986a86aaaeb8dbf3eb92b622ceb6413dd8074097a4c154786eda97e626709c3a66ac39e67616e14323199fda
MISC ChangeLog 82 SHA256 12ed3543adc88564630b15553233b47b2bf04f4acc8f97eeb5c5befa2c16c75b SHA512 bf31a0cd9c7f4c2b560ef6cd2174e927933d1004c8fab2089e1d0d8c8d76f26f449f9babd33b72176038868259296cd4dda9db0b9cb175274e98fff888290703 WHIRLPOOL f7606de1e805cc293c25b9538e2fd7433ed4cd076bf7e047d7583e4e3886de1a365fe6b1e75bbcbd80f8d4da4a74ec3259d9914462a80ac75e9537dca5c9e52f EBUILD duplicati-2.0.1.11.20160408.ebuild 917 SHA256 c9944e077d53fec84a0ff589ce4e4661cb212c0d2d1e90e8bb8e39af1b72070c SHA512 1f20818558a53acb5c05d333b9b3cdaa033b1eee9a4cbf63f90b74978217d9f922a6894b3b7b3c475b0b2c065cfd0bd611d6c615f91065c33d7950ba41796024 WHIRLPOOL 21c82e0c4b068a0d11d19d5995c1ae27143e1ea8874bb82df56c281b4a0dc608964003aafb9867597a8f3a878fb3b64f7dcf9c45b47adbb74e9e6b81c8b40565
MISC ChangeLog 371 SHA256 d4c5add3854617e434102040cd8569e4a088e8a740b29f1e8943db4d905d1704 SHA512 f554ac0a2d2253f9a2c1428eee2fd17ad6969cf80341c18dca6fecc4b69d05e76f81e8fe33a70793d17b8be9d9cd8698b0fc856548f82668fa5a9949d02a42d2 WHIRLPOOL ef09e3dca25ef062c3bdc64d2d0b94058005d1a1e5c9dcb19d4850e1f0b28ccb33abb477b9e22385c8e574016a59faef400887e179e14e7b127886a8e903f6bb
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1 MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1

View file

@ -0,0 +1,49 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils mono-env
MY_PV="2.0.1.11-2.0.1.11_experimental_2016-04-08"
DESCRIPTION="A backup client that securely stores encrypted, incremental, compressed backups."
HOMEPAGE="http://www.duplicati.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64"
CDEPEND="dev-dotnet/atk-sharp
dev-dotnet/gdk-sharp
dev-dotnet/glib-sharp
dev-dotnet/gtk-sharp"
DEPEND="${CDEPEND}
>=dev-lang/mono-4.4.0.40"
RDEPEND=""
PATCHES=(
"${FILESDIR}/${P}-fix-Makefile.patch"
)
MY_MAKE_DIR="${S}/Installer/Makefile"
src_prepare() {
for p in "${PATCHES[@]}" ; do
epatch "${p}"
done
}
src_compile() {
cd "${MY_MAKE_DIR}"
emake build
}
src_install() {
cd "${MY_MAKE_DIR}"
emake package
}

View file

@ -0,0 +1,60 @@
diff --git a/Installer/Makefile/Makefile b/Installer/Makefile/Makefile
index ecbb9af..09c7feb 100644
--- a/Installer/Makefile/Makefile
+++ b/Installer/Makefile/Makefile
@@ -2,7 +2,7 @@ BUILD_TOOL=xbuild
BUILD_ARGS=/property:Platform=Any\ CPU /property:Configuration=Release
OUTPUT_ARGS=/property:OutputPath=bin/Release
SOURCE_DIR=../../.
-PACKAGE_DIR=./pkg
+PACKAGE_DIR=${D}
PKG_TARGET=$(PACKAGE_DIR)/usr/lib/duplicati
LOCALIZATION_TOOL=mono $(SOURCE_DIR)/Duplicati/Localization/bin/Release/LocalizationTool.exe
@@ -13,10 +13,6 @@ build:
$(BUILD_TOOL) $(BUILD_ARGS) "$(SOURCE_DIR)/BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln"
package: build
- if [ -e "$(PACKAGE_DIR)" ]; then \
- rm -rf "$(PACKAGE_DIR)"; \
- fi
- mkdir "$(PACKAGE_DIR)"
mkdir "$(PACKAGE_DIR)/usr"
mkdir "$(PACKAGE_DIR)/usr/lib"
mkdir "$(PACKAGE_DIR)/usr/bin"
@@ -35,12 +31,12 @@ package: build
rm -rf "$(PKG_TARGET)/AlphaVSS.Common.dll"
cp -R "$(SOURCE_DIR)/Duplicati/Server/webroot" "$(PACKAGE_DIR)/usr/lib/duplicati/"
- cp "$(SOURCE_DIR)/Installer/debian help/duplicati-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati"
- cp "$(SOURCE_DIR)/Installer/debian help/duplicati-commandline-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-cli"
- cp "$(SOURCE_DIR)/Installer/debian help/duplicati-server-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-server"
- cp "$(SOURCE_DIR)/Installer/debian help/duplicati.desktop" "$(PACKAGE_DIR)/usr/share/applications/"
- cp "$(SOURCE_DIR)/Installer/debian help/duplicati.xpm" "$(PACKAGE_DIR)/usr/share/pixmaps/"
- cp "$(SOURCE_DIR)/Installer/debian help/duplicati.png" "$(PACKAGE_DIR)/usr/share/pixmaps/"
+ cp "$(SOURCE_DIR)/Installer/debian/duplicati-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati"
+ cp "$(SOURCE_DIR)/Installer/debian/duplicati-commandline-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-cli"
+ cp "$(SOURCE_DIR)/Installer/debian/duplicati-server-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-server"
+ cp "$(SOURCE_DIR)/Installer/debian/duplicati.desktop" "$(PACKAGE_DIR)/usr/share/applications/"
+ cp "$(SOURCE_DIR)/Installer/debian/duplicati.xpm" "$(PACKAGE_DIR)/usr/share/pixmaps/"
+ cp "$(SOURCE_DIR)/Installer/debian/duplicati.png" "$(PACKAGE_DIR)/usr/share/pixmaps/"
# If we edit files, we sometimes get backup files included
find "$(PACKAGE_DIR)" -type f -name \*\~ -exec rm -rf '{}' \;
@@ -58,16 +54,6 @@ package: build
chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati"
chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati-cli"
-
- if [ -e "duplicati.tar" ]; then \
- rm -rf "duplicati.tar"; \
- fi
- if [ -e "duplicati.tar.gz" ]; then \
- rm -rf "duplicati.tar.gz"; \
- fi
-
- tar -C "$(PACKAGE_DIR)" -cf "duplicati.tar" .
- gzip --best "duplicati.tar"
clean:
(find "$(SOURCE_DIR)" -type d -name bin -exec rm -rf "{}" \; &> /dev/null) || echo "bin cleaned"