Merge branch '113-prune-old-duplicati-versions' into 'master'

Resolve "Prune old duplicati versions"

Closes #113

See merge request !189
This commit is contained in:
Manuel Friedli 2017-08-18 22:20:22 +02:00
commit 768f993f4e
9 changed files with 13 additions and 226 deletions

View file

@ -1,3 +1,8 @@
18 Aug 2017; Manuel Friedli <manuel@fritteli.ch>
-duplicati-bin-2.0.1.61.20170530.ebuild,
-duplicati-bin-2.0.2.1_beta20170801.ebuild:
app-backup/duplicati-bin: Purge old versions.
*duplicati-bin-2.0.2.1_beta20170801-r1 (14 Aug 2017)
14 Aug 2017; Manuel Friedli <manuel@fritteli.ch>

View file

@ -1,7 +1,4 @@
DIST duplicati-bin-2.0.1.61.20170530.rpm 7313950 SHA256 e6b577240efa066530436ff834d470af4e71ec0c30c86d8501c889f05c3af39a SHA512 dcbc62a5343c732713a136fb03030a274aaa4b7a53101754fdb987462b06fe77b4fe96432a39ace9f3bee1713082cc768ed586d1c001c1686f6ff6f584bec1dc WHIRLPOOL 8f6db4a9def548bdb8cdf05ac49715237443232ee99f131e59a854eb74aae6d2894016720b607b4319ddd1c9ca4b2623d42f2bed90b1309e5ae0f0b8d55e5c57
DIST duplicati-bin-2.0.2.1_beta20170801.rpm 7447686 SHA256 572a8a341a0783ed952a02ed9307f709d06e0f2004e13f626eb00ae3c554cb84 SHA512 372603b8e48111e430403421ac8c611932534e5343564abf4c9ebf297b002de83d771cda4544c59a78d6faf3b794882265a75c669f19f17f2c6fb91fa64e16b5 WHIRLPOOL aecbe49812f57551943d86916ee4d7d60e478e2ebb2bd738f1a9088e924de423d22b5d0a3b8334edd2870a3903a0c16f89f7341f41df78477ca222c9e4a30ff2
EBUILD duplicati-bin-2.0.1.61.20170530.ebuild 796 SHA256 86726fee7c044eaa3059679c966566f0a06c1df75701c8cb9eb1e4f0e43435a2 SHA512 5e1e38933e9403779efde65bf7c27c2a7e2a03003ac138873ac9dda6ae61f88b232fb1a24336104a960d6921249a0ed45d4bd3edc909860d2816dc3da46f0209 WHIRLPOOL e1770336b3fda3b572c39757d7270d11259a54a7ad6b381b2dcc243ed8072648836e8a37cc8fe6f44b41ca7f1e538d5c2bd6439210d720d6581b19dd247feac7
EBUILD duplicati-bin-2.0.2.1_beta20170801-r1.ebuild 817 SHA256 f0782a18d5b9c00ad8082c2d624a31590474789a7beb9152251d32dc4ddf794a SHA512 11b4f0697d33a8e1d74e78f34aa17bdfd7213440d049414021e249a90e0e354c5d84cd8a8a5d0b65167905bceeba9309699f72ce745ac07301ef4ec473cfe58f WHIRLPOOL b6e60cf82e95609c63449d4df76c036e0a18bfc993d071e9a3616a01cdb9e7a411e13b0252536f8074bcab2f2e6f14a4ab64fdbe34902e6d476b95c9ccf68e4f
EBUILD duplicati-bin-2.0.2.1_beta20170801.ebuild 787 SHA256 2c8bbac18c5b2dce054b0ffe9ff4ec82f27593c768b17e8547defa0dd5c06935 SHA512 f2b9b24a16efead7913ce69e49f8f5fff81332270f345aca0ed27ddcc47bc612765e165107064d5e3f5967756077664b02ca99fc642025e4d979f0b6f1e907ac WHIRLPOOL e9cde5bd91ae361cb6b1944710f12ef9368a424ec3098fc9de1b355632d5c08fdf444dd895e24841bf905344178ccab4ebd40eedfb53b06d6ecf799b124dc769
MISC ChangeLog 730 SHA256 fc374e51986f9ac5cadcc21a8257fbdc36f8fa53feae3ed039ecb1d7e8c6e7ed SHA512 846566f4e48406f52a7d245ed199b016eb21ad9006d89ebcc3da5e23e4b8f44c2262af19cad71b253a87044c486bfb29301659e8c3d59a6bf343e33152f82260 WHIRLPOOL 9edbbe42c07c6420e7711e0ccb1d0826ccdb18681501a9d7efd6faf50cc1ea4af73564971acb7c1e05b9539b076cec4ce23d1e5a6aa518e67f76e0364226445e
MISC ChangeLog 920 SHA256 1ce948495ec1a91c5fbf6b010e6024fd1c0c6078cb57b942a690df1fe5929bb5 SHA512 7b04aa90d55f36f0cf46ccca6f9733c5c9603ad0dc7afa2af72e2f43cc20a6595bb9d89a8c6b87d34ba03f94bd422edd58da60e787af6177d75e5f62994982d3 WHIRLPOOL aa0aa635667ecb7d16803c57be6cc613989e6c88b35a08f9877ee2449230633fbbb6e565900f80895764916818f9f43b4632c8b75f44425764b21ead1196689a
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1

View file

@ -1,35 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils rpm
MY_PN="duplicati"
MY_PV="2.0.1.61"
MY_BUILDTYPE="experimental"
MY_BUILDDATE="2017-05-30"
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"
S="${WORKDIR}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
src_install() {
cp -R "${S}/usr/" "${D}/" || die "install failed"
}

View file

@ -1,35 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils rpm
MY_PN="duplicati"
MY_PV="2.0.2.1"
MY_BUILDTYPE="beta"
MY_BUILDDATE="2017-08-01"
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"
S="${WORKDIR}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
src_install() {
cp -R "${S}/usr/" "${D}/" || die "install failed"
}

View file

@ -1,3 +1,9 @@
18 Aug 2017; Manuel Friedli <manuel@fritteli.ch>
-duplicati-2.0.1.11.20160408.ebuild, -duplicati-2.0.1.30.20161103.ebuild,
-files/duplicati-2.0.1.11.20160408-fix-Makefile.patch:
app-backup/duplicati: Purge duplicati-2.* versions, as they depend on non-
existent packages.
05 Sep 2016; Manuel Friedli <manuel@fritteli.ch> duplicati-1.3.4.ebuild,
duplicati-2.0.1.11.20160408.ebuild,
files/duplicati-1.3.4-remove-unsigned-backends.patch:

View file

@ -1,12 +1,7 @@
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-remove-unsigned-backends.patch 1899 SHA256 a44b1dfa348fce376dbb535cb834205e406c54fd620e77ed400585579a307187 SHA512 b71e8be950ced6024b9138ec50995055933f1517b29db19d50053f86493ad3e8060768f47447b8b32f73846711b0e84ff910df3fcb23d4b0c0ec880eb9da443f WHIRLPOOL bf704dfc09b9ed3c17c9356a7ecbebf367de05188286113616f948c385baecea3322381edc21004618643d64095fd895dc829631d621763ed26e51b4275c347d
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-2.0.1.11.20160408.tar.gz 17628969 SHA256 d5eb53ebee297ffee82a9b7fc921de10454a432ecb7910de19f271eb8750ba36 SHA512 0fdf1454f2b83eff551b801e4087d505de1247883c35e46a9d73f11371e6724ac0b3e42518bbfc8dcb64f24e13b6ace9d5b398e48f7c76e09d5467ca419b74cd WHIRLPOOL c2826eb67f4296d3d6326f6265076af00128d36841b092128872296a9bdcbcfc466d57b0ae5c8adf8a52c9ab7a3653e5016ace4868608c8672c38e7dbec0943d
DIST duplicati-2.0.1.30.20161103.tar.gz 17344701 SHA256 a9a6362a984b7b619a6f2387bafda5998d8decf9833d4ba26dc236128c88dcee SHA512 e3aaece63d24f4a2559d2bcb38446667a2eea7035cbb845ea17bd15a5f978ee350752d3ace0f2049afa99d7215ba7283154b37b15ce182ad6c4420c62fd8c2a0 WHIRLPOOL ca5629d799dcbbbcb5588252d3fb641bf55a04c0c7f53c895709b82f97d770fb56e388ed615aa529251b2dcae8c4de5ab6a0e5585488763befc61555236240d9
EBUILD duplicati-1.3.4.ebuild 770 SHA256 1bf215640b48bf3dc917362c8102cd398faa6da4e056e344764569f8384bbf81 SHA512 d9cfc44bf459f3587abcf82c09e7ecafdd5c3bd1a060939ad2bf41ecf3a5d7ba2a5b33fb9f37c739758798599bc8c401e96f31be6f8aca64aece2a3008de4b11 WHIRLPOOL d0065cc16e75051b5abdee00ff03f24d226df376db29db6ab8e2cd5fae00255b907000250a5c5e6f1435e0b673f5c783557f5d031a9ecc4868ba77b71601ed03
EBUILD duplicati-2.0.1.11.20160408.ebuild 839 SHA256 5cc189d3f4b11bb8db277e14887217538b759dd5ebf7f0f8c39cb475d5c7c0ce SHA512 9bf5c8e9363986bce65bdbe5765357659b4f85a4e35b8e92696ccad34822eca09797117b8d979259eb1cc0e52e5d8d16f8375e6e088003cd180906b9a76b8282 WHIRLPOOL 8f17f73a30094f46db3f6649b94c10c715bb831d5fcd73d5928d786c25bbba26099c10f96e44e52104fa47daf78538e1b80e55dc35a21e340452d95202482968
EBUILD duplicati-2.0.1.30.20161103.ebuild 839 SHA256 d123bac3d2a9981ac2c2e9a4b89fe166b0563bbc86e29daf064e3a1b4f3fe511 SHA512 8a5d047966937a768d47a8fdb3dea6a60719f40da719107d4497e4cd930aca49f142a7ea6d16547706f9afda66c85834f32c2f793fca37a43cf82c7ecfe62034 WHIRLPOOL d0ea53f8cf32205f9a762ccc34c8371dedc338d6aa4c0386a77e395970a77d76e0fd921fd4057ac970a221deab23913b6223fbc47d32f52b8c22c954e97b5ce0
MISC ChangeLog 947 SHA256 28191775e0472104078b4947b67aad4658e997a9f57a46aced98346e3ab9a0ed SHA512 1688775d506cb513aa5213426ecad4939d1a48c5db28e69a5e4d3c6b992b025dd2b26c66a28d42f134ea6564fff3b134ed78bd083cb9ffe679836e7b1543ca0a WHIRLPOOL 6e04d515f27628b61b5f89ed20f4196c42bcdcf7552d284fe912ac1d1160581796d07061293389f26d9d9beffcbbdffc74241b31387d07d7837abc1a2bbcfe86
MISC ChangeLog 1231 SHA256 3af21175f31b048d9193394123a241058b5d061ea496755f2e5b5dd122372be6 SHA512 212ee1d20adbf1b3893e8b9d36dc306af736daf815e9ceac146a3412092b50eb0c0df075f57bb9aa2539176be7d10685add497b9efe76cd750beec981feb8561 WHIRLPOOL b7af9b7c226aa56ebaaf92e8efb7de2bfa0d37b4ea45543ad056577d36e19f1673950b297c53386750f9ba1764cd4720102bc127b3fa4eb9538c56deda53c442
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1

View file

@ -1,43 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
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=""
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_compile() {
cd "${MY_MAKE_DIR}"
emake build
}
src_install() {
cd "${MY_MAKE_DIR}"
emake package
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils mono-env
MY_PV="2.0.1.30-2.0.1.30_experimental_2016-11-03"
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=""
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_compile() {
cd "${MY_MAKE_DIR}"
emake build
}
src_install() {
cd "${MY_MAKE_DIR}"
emake package
}

View file

@ -1,60 +0,0 @@
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"