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/pdumpfs |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-backup/pdumpfs')
-rw-r--r-- | app-backup/pdumpfs/Manifest | 7 | ||||
-rw-r--r-- | app-backup/pdumpfs/files/pdumpfs-in.patch | 40 | ||||
-rw-r--r-- | app-backup/pdumpfs/files/pdumpfs-test.patch | 12 | ||||
-rw-r--r-- | app-backup/pdumpfs/metadata.xml | 19 | ||||
-rw-r--r-- | app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild | 47 |
5 files changed, 125 insertions, 0 deletions
diff --git a/app-backup/pdumpfs/Manifest b/app-backup/pdumpfs/Manifest new file mode 100644 index 000000000000..1b92a16146a2 --- /dev/null +++ b/app-backup/pdumpfs/Manifest @@ -0,0 +1,7 @@ +AUX pdumpfs-in.patch 977 SHA256 159ed9d693852cc8007d93b96c86c53cbda23f0f3426c0adbfc8477d3a851f1a SHA512 3d45d5ecbf2e3af71ae80de28c8cedc46b5ea2f7d0e9f6ea58c4154e477db8375f21587ebc4cade04b353e5a0552620790a0f8ea13d9f8151b4236e8e2489ee9 WHIRLPOOL 91cfcc2f98b7a6f7607692d03e831701d1a67aa3c458ce9063f082d249d56f3be8ca1825add9f059f2eb79f8e345a3b5f90fb3a2c4b2cdfdc69f0740d82bac4e +AUX pdumpfs-test.patch 392 SHA256 dd3ec955498f09a7e11ea1f115d8e0011d4034dac9fea6faf6b4329d55dc3c0b SHA512 b7647f51acb30cfc86e80cf5eb5e6d7fa84c6b3ba3c1e6246468baca7835bd08a6d3f3e70dbb55a2c6ef0ffe67b4d10dd78b5a4673ff636c8da74e64f7b827fa WHIRLPOOL 748e477bee525d6e49f2822ed69bc70cf8f5bd643235c555f93b92fb3ecb89aa55ac8a39486443b4923c03e9480d05a869f67af6b19003536bff412f872235c2 +DIST pdumpfs-1.3.tar.gz 68210 SHA256 5f50158517f263370d59f6c794a1d45e947bb8c17be23e18a8f293ee13557377 SHA512 1299676982f1981aa55f0601f361ec24ac119067f5ecbbeebcf9f41ccd69df2f18a07ae5a6e77f30ca7606ee49ecfa516d6066a07c1edbb4d4796f34f02508c3 WHIRLPOOL 255ac184759f29b416315f47d4d9ffd5b6c84e6ee28192ce47601937dc05fd48db5f59e30e6d4f4c4c789e4bef0c4ee81dff76cf60bbe338560af42ae1278bf4 +EBUILD pdumpfs-1.3-r2.ebuild 886 SHA256 104c32ca12a44976ace99cab098722672e77977ebb187a0beddaf0e0bd986610 SHA512 dccd98ec4b5524c5a960ec5d38d4669f0e15346e0bb65bb3e14fde696b43f45cbbe1882fbda5922edd241a8f7b0c49161f362c2e6435ecec9fc6fffe127ee52d WHIRLPOOL 7c05bc969a87e10e4f54d1e6819f8b7372e9f4d95ca5d302a93c742dc84f19287880340ebedaabc5f48618dffd019948506e45e3c2fbd79edd7fa86f200efcef +MISC ChangeLog 2932 SHA256 d1ea09d921ce71b0d95042298fd2a818ff37bc5a814b75bd27932c4633e5b634 SHA512 2ce153e405d297506ecb1053ba2a3674cadda31fda8ce827c88a11764c1e56224dd526178cc6862e074555725038a9e248680dff5393d9f352ccc7054ff00cc3 WHIRLPOOL b921671827838224f06edc5a22aeadd4e7d498e03ea9e1159f503b697c2f7dbab6b78f978b52ff55c39c4f44e0960985fa3b74176ab027d70ae887841f6ef4a2 +MISC ChangeLog-2015 3668 SHA256 0b52aadedf850df229c530fcc6d472362efa52b8dacae1d53db0eb184e9021cd SHA512 cc519298915c6cab6380d231e62cfd61731751d901376ef679c273165a95654c4c624da883197b205945f1f2a42b4296e2998443c6ed1e3e99e7c3a254ca8fa4 WHIRLPOOL eab0c1757905346ff32d6bec529abab60bf4cd076483fb47780ef77ee4dfc9a52f9ac4bc046c5694502141fd6b596b665e46067280e7cba05dde10612180b4f0 +MISC metadata.xml 735 SHA256 2b181e8eb97b2bf9d08e27070070dabe4044fea5eadc0f421f7323797f59d1a9 SHA512 7f472db06b11954125d74f2e94509928478e49277b8d7e658068b85717d9eb5eaf498ea4516b55e266371ddcdbdac8d7b5f5a5ad202f7eea5bc3cb412f694603 WHIRLPOOL e5a5ebc8a618a013726b1ac845116c6e77c85eb6510baf078130f7fea95a641ebea08be376bfa6bc5957208313fe08a6c2ebb93c21420910837b24529d7b4fa6 diff --git a/app-backup/pdumpfs/files/pdumpfs-in.patch b/app-backup/pdumpfs/files/pdumpfs-in.patch new file mode 100644 index 000000000000..cddfb995918a --- /dev/null +++ b/app-backup/pdumpfs/files/pdumpfs-in.patch @@ -0,0 +1,40 @@ +patch by proxy maintainer, P. Healy, April 2015 +# Bug 509960 +--- pdumpfs.in_orig 2004-12-21 02:43:12.000000000 +0000 ++++ pdumpfs.in 2015-04-01 10:58:22.671131947 +0100 +@@ -48,7 +48,7 @@ + # + + require 'find' +-require 'ftools' ++require 'fileutils' + require 'getoptlong' + require 'date' + +@@ -868,7 +868,7 @@ + today = File.join(dest, datedir(start_time), base) + + File.umask(0077) +- File.mkpath(today) unless @dry_run ++ FileUtils.mkpath(today) unless @dry_run + if latest + update_snapshot(src, latest, today) + else +@@ -1018,7 +1018,7 @@ + + case type + when "directory" +- File.mkpath(today) ++ FileUtils.mkpath(today) + when "unchanged" + File.force_link(latest, today) + when "updated" +@@ -1089,7 +1089,7 @@ + + case type + when "directory" +- File.mkpath(t) ++ FileUtils.mkpath(t) + when "new_file" + copy(s, t) + when "symlink" diff --git a/app-backup/pdumpfs/files/pdumpfs-test.patch b/app-backup/pdumpfs/files/pdumpfs-test.patch new file mode 100644 index 000000000000..e81e8b0f2d8a --- /dev/null +++ b/app-backup/pdumpfs/files/pdumpfs-test.patch @@ -0,0 +1,12 @@ +patch by proxy maintainer, P. Healy, April 2015 +# Bug 509960 +--- tests/pdumpfs-test_orig 2004-08-10 07:54:28.000000000 +0100 ++++ tests/pdumpfs-test 2015-04-01 11:24:35.948633870 +0100 +@@ -17,6 +17,7 @@ + + ../pdumpfs src dest > tmp.log || exit 1 + diff -r src dest/$today/src || exit 1 ++mkdir -p dest/$yesterday && rmdir dest/$yesterday + mv dest/$today dest/$yesterday + + echo update > src/foo diff --git a/app-backup/pdumpfs/metadata.xml b/app-backup/pdumpfs/metadata.xml new file mode 100644 index 000000000000..e81c497b6c1c --- /dev/null +++ b/app-backup/pdumpfs/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lmiphay@gmail.com</email> + <name>Paul Healy</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +<longdescription> +pdumpfs is a simple daily backup system similar to Plan9's dumpfs which +preserves every daily snapshot. pdumpfs is written in Ruby. You can access +the past snapshots at any time for retrieving a certain day's file. Let's +backup your home directory with pdumpfs! +</longdescription> +</pkgmetadata> diff --git a/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild b/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild new file mode 100644 index 000000000000..527828394d33 --- /dev/null +++ b/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A daily backup system similar to Plan9's dumpfs" +HOMEPAGE="http://0xcc.net/pdumpfs/" +SRC_URI="http://0xcc.net/pdumpfs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="l10n_ja" + +DEPEND=">=dev-lang/ruby-2.0.0_p598" + +src_prepare() { + # Bug #509960 + epatch "${FILESDIR}/${PN}-in.patch" \ + "${FILESDIR}/${PN}-test.patch" +} + +src_compile() { + emake pdumpfs +} + +src_test() { + # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 and #163473. + export RUBYOPT="${GENTOO_RUBYOPT}" + emake check +} + +src_install() { + dobin pdumpfs + + doman man/man8/pdumpfs.8 + dohtml -r doc/* + + if use l10n_ja; then + insinto /usr/share/man/ja/man8 + doins man/ja/man8/pdumpfs.8 + fi + + dodoc ChangeLog README +} |