diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-backup/restic |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/restic')
-rw-r--r-- | app-backup/restic/Manifest | 7 | ||||
-rw-r--r-- | app-backup/restic/metadata.xml | 15 | ||||
-rw-r--r-- | app-backup/restic/restic-0.6.1.ebuild | 45 | ||||
-rw-r--r-- | app-backup/restic/restic-0.7.1.ebuild | 45 | ||||
-rw-r--r-- | app-backup/restic/restic-0.7.3.ebuild | 62 |
5 files changed, 174 insertions, 0 deletions
diff --git a/app-backup/restic/Manifest b/app-backup/restic/Manifest new file mode 100644 index 000000000000..1fd6cd40072f --- /dev/null +++ b/app-backup/restic/Manifest @@ -0,0 +1,7 @@ +DIST restic-0.6.1.tar.gz 25231223 SHA256 7cd709c592a5978723673397d7d13c37c0977e20c43db253d0c274b53a55654a SHA512 8c899ca8b6e3dfa399fe5c4306f72a1bcfa869dd667d27f3f88efa26aaa1000959bf91b515911b2ef7b2d4c5bb3e2ed4f202c87add7766d2147b7d40f0757a9a WHIRLPOOL 39225876fd6ce9e4ddac765688238ab5ea430272aacc6e96d54c359de939d2e69cdc45a5571cb63777c258a74b5a9bfbd6114d2463004b242b009856d87b6e2e +DIST restic-0.7.1.tar.gz 25438170 SHA256 81efde662c34225b5705f3d72daa1f6278455c2b8f786224d7a1ecca0b14efca SHA512 3b887149c801fe81f9bf65e0ae4a17ba97f66c0133f45b3f5526d79d580f072e0e5fd89cd78a5018992dc42e6dafb9385139f4336fe6f06d57d8abe7a9e323b1 WHIRLPOOL bbdeafadd7b329147b7ea30b13d806d20de76e8efcc1ace4eea74420aa39f6d7a8f5eb186169d2a053988d07d44063ca71c54287aa07c4cd4cdc906a07b80dc7 +DIST restic-0.7.3.tar.gz 37062625 SHA256 6d795a5f052b3a8cb8e7571629da14f00e92035b7174eb20e32fd1440f68aaff SHA512 2d44b4fc363c7f6389c1f06469cf30ebeff4d6ade0bd4fcae1d7d9def3922936b45043b04f4072284b773df2c6487c58db6aea41c7de5c8184ca33ca3c44d44a WHIRLPOOL dde430e4d718928b01da0f1558fd8a7bf65a0d9e3a4a620cc7557e6afd4760a8dc6c1a9d7c744649cb817b99fb22ee2e2f893d5fd49fa961d5ab6b8bb02941b0 +EBUILD restic-0.6.1.ebuild 1078 SHA256 fbf4569989a192faa3f3f050f0a610dd358b6b77f5540f157cf1b42fbc9a6928 SHA512 4eaec8118534b3f5b9c97860ac0bae066712e6ce196594ccd90bcc92979e39166bb41d40cde54513ca30409935b31ee20eb71040f95da230632329bc73ee8fe2 WHIRLPOOL b5014804b4eec0c7b6f62d27545cca7c5c50bd565e66ae939f3d36ad37775a354d1ea8c8b1539949414c1e55957d66d1e04ba0362a4c76e59bbc6b601730321c +EBUILD restic-0.7.1.ebuild 1073 SHA256 0b082e0f0e5c1de3d1fcba6848833e361347f1dee2497e6c670ba204ce9a5722 SHA512 08f73d1e267f90a9eda7e16ad883d38dd05ed21e1f2fdcb02c5cb7fb66cc5f9d7f7a6caef756d41e6b562df882572a96ceb077e8050e7407d42862bec3bbf989 WHIRLPOOL c4094ae266505536b744733db7de420256b6782b4f08a9ee492ed7fd543526c0e980d2f63fb5b8225ecd0e19aa153f71ddc16e3b3d9a5d09c1c46767a591f228 +EBUILD restic-0.7.3.ebuild 1276 SHA256 64f0bf271cfca8e1cab982059c2bcf7e157c1d6920d6fd0c50830bf6eb4d9fd0 SHA512 d7bfd4df6620cba9400e6b6c484864a0a5fae4953744cef7e1979f234a3c7d40a53e8750a572d414c98090f99734bc8243aac6353493c845b710190915f52cfe WHIRLPOOL b1e6925506f14ee4d498fe9627922101434568373db9aae0320d1910618e47403af11dcab450e34b5e605d553ac54e1c080e0bf477641f9a0224f18a4ff94a5d +MISC metadata.xml 444 SHA256 664313cb01b0dc4e6bbe464c977a6b9ad167b75fd4623b680fe83b4c0d9276c4 SHA512 8dbd7df10769ff8d0271588be8c97402d5917a4c0dbafa5daad2090245ee4b022193a6c271f71c342540d7599b029998c91c10364eae7d55de0275276342c0f4 WHIRLPOOL 2719b3876d2a4fad1a609ee45efe354f9e9343edbb20b4de494a14a63a97b73162b28e47b4b2347144bb8183b3a00adb86145a5403245a090bf65d1c229abb91 diff --git a/app-backup/restic/metadata.xml b/app-backup/restic/metadata.xml new file mode 100644 index 000000000000..d013f0a0c06a --- /dev/null +++ b/app-backup/restic/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">restic/restic</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-backup/restic/restic-0.6.1.ebuild b/app-backup/restic/restic-0.6.1.ebuild new file mode 100644 index 000000000000..ed91b94db276 --- /dev/null +++ b/app-backup/restic/restic-0.6.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="restic is a backup program that is fast, efficient and secure" +HOMEPAGE="https://restic.github.io/" +SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DOCS=( README.rst CONTRIBUTING.md doc/design.rst doc/faq.rst doc/index.rst doc/manual.rst + doc/rest_backend.rst doc/development.rst doc/talks.rst doc/tutorial_aws_s3.rst doc/installation.rst ) + +DEPEND="dev-lang/go + test? ( sys-fs/fuse:0 )" + +RDEPEND="sys-fs/fuse:0" + +src_compile() { + local mygoargs=( + -v + -work + -x + -tags release + -ldflags "-w -X main.version=${PV}" + -asmflags "-trimpath=${S}/vendor -trimpath=${S}" + -gcflags "-trimpath=${S}/vendor -trimpath=${S}" + -o "${S}"/restic cmds/restic + ) + + GOPATH="${S}:${S}/vendor" go build "${mygoargs[@]}" || die +} + +src_test() { + GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die +} + +src_install() { + dobin restic + einstalldocs +} diff --git a/app-backup/restic/restic-0.7.1.ebuild b/app-backup/restic/restic-0.7.1.ebuild new file mode 100644 index 000000000000..e3a29977d90f --- /dev/null +++ b/app-backup/restic/restic-0.7.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A backup program that is fast, efficient and secure" +HOMEPAGE="https://restic.github.io/" +SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +DOCS=( README.rst CONTRIBUTING.md doc/design.rst doc/faq.rst doc/index.rst doc/manual.rst + doc/rest_backend.rst doc/development.rst doc/talks.rst doc/tutorial_aws_s3.rst doc/installation.rst ) + +DEPEND="dev-lang/go + test? ( sys-fs/fuse:0 )" + +RDEPEND="sys-fs/fuse:0" + +src_compile() { + local mygoargs=( + -v + -work + -x + -tags release + -ldflags "-w -X main.version=${PV}" + -asmflags "-trimpath=${S}/vendor -trimpath=${S}" + -gcflags "-trimpath=${S}/vendor -trimpath=${S}" + -o "${S}"/restic cmds/restic + ) + + GOPATH="${S}:${S}/vendor" go build "${mygoargs[@]}" || die +} + +src_test() { + GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die +} + +src_install() { + dobin restic + einstalldocs +} diff --git a/app-backup/restic/restic-0.7.3.ebuild b/app-backup/restic/restic-0.7.3.ebuild new file mode 100644 index 000000000000..8d2fe07c31c1 --- /dev/null +++ b/app-backup/restic/restic-0.7.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-vcs-snapshot + +DESCRIPTION="A backup program that is fast, efficient and secure" +HOMEPAGE="https://restic.github.io/" +SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz" +EGO_PN="github.com/restic/restic" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +DOCS=( + README.rst CONTRIBUTING.md doc/design.rst + doc/faq.rst doc/index.rst doc/manual.rst + doc/rest_backend.rst doc/development.rst + doc/talks.rst doc/tutorial_aws_s3.rst doc/installation.rst +) + +DEPEND=" + dev-lang/go + test? ( sys-fs/fuse:0 )" + +RDEPEND="sys-fs/fuse:0" + +S="${WORKDIR}/${P}/src/${EGO_PN}" + +src_compile() { + local mygoargs=( + -v + -work + -x + -tags release + -ldflags "-s -w -X main.version=${PV}" + -asmflags "-trimpath=${S}" + -gcflags "-trimpath=${S}" + -o restic ${EGO_PN}/cmd/restic + ) + + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ + go build "${mygoargs[@]}" || die +} + +src_test() { + GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ + go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die +} + +src_install() { + dobin restic + einstalldocs + + local i + for i in doc/man/*; do + doman "$i" + done +} |