Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/pdumpfs/files/, app-backup/pdumpfs/
Date: Sat, 30 Oct 2021 18:04:40
Message-Id: 1635617057.6ec94f16878058cf1d197f2ecd22a221ffe1e94c.jsmolic@gentoo
1 commit: 6ec94f16878058cf1d197f2ecd22a221ffe1e94c
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 18:04:17 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 30 18:04:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec94f16
7
8 app-backup/pdumpfs: drop 1.3-r2
9
10 Closes: https://bugs.gentoo.org/819687
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 app-backup/pdumpfs/files/pdumpfs-in.patch | 40 ------------------------
14 app-backup/pdumpfs/files/pdumpfs-test.patch | 12 --------
15 app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild | 47 -----------------------------
16 3 files changed, 99 deletions(-)
17
18 diff --git a/app-backup/pdumpfs/files/pdumpfs-in.patch b/app-backup/pdumpfs/files/pdumpfs-in.patch
19 deleted file mode 100644
20 index cddfb995918..00000000000
21 --- a/app-backup/pdumpfs/files/pdumpfs-in.patch
22 +++ /dev/null
23 @@ -1,40 +0,0 @@
24 -patch by proxy maintainer, P. Healy, April 2015
25 -# Bug 509960
26 ---- pdumpfs.in_orig 2004-12-21 02:43:12.000000000 +0000
27 -+++ pdumpfs.in 2015-04-01 10:58:22.671131947 +0100
28 -@@ -48,7 +48,7 @@
29 - #
30 -
31 - require 'find'
32 --require 'ftools'
33 -+require 'fileutils'
34 - require 'getoptlong'
35 - require 'date'
36 -
37 -@@ -868,7 +868,7 @@
38 - today = File.join(dest, datedir(start_time), base)
39 -
40 - File.umask(0077)
41 -- File.mkpath(today) unless @dry_run
42 -+ FileUtils.mkpath(today) unless @dry_run
43 - if latest
44 - update_snapshot(src, latest, today)
45 - else
46 -@@ -1018,7 +1018,7 @@
47 -
48 - case type
49 - when "directory"
50 -- File.mkpath(today)
51 -+ FileUtils.mkpath(today)
52 - when "unchanged"
53 - File.force_link(latest, today)
54 - when "updated"
55 -@@ -1089,7 +1089,7 @@
56 -
57 - case type
58 - when "directory"
59 -- File.mkpath(t)
60 -+ FileUtils.mkpath(t)
61 - when "new_file"
62 - copy(s, t)
63 - when "symlink"
64
65 diff --git a/app-backup/pdumpfs/files/pdumpfs-test.patch b/app-backup/pdumpfs/files/pdumpfs-test.patch
66 deleted file mode 100644
67 index e81e8b0f2d8..00000000000
68 --- a/app-backup/pdumpfs/files/pdumpfs-test.patch
69 +++ /dev/null
70 @@ -1,12 +0,0 @@
71 -patch by proxy maintainer, P. Healy, April 2015
72 -# Bug 509960
73 ---- tests/pdumpfs-test_orig 2004-08-10 07:54:28.000000000 +0100
74 -+++ tests/pdumpfs-test 2015-04-01 11:24:35.948633870 +0100
75 -@@ -17,6 +17,7 @@
76 -
77 - ../pdumpfs src dest > tmp.log || exit 1
78 - diff -r src dest/$today/src || exit 1
79 -+mkdir -p dest/$yesterday && rmdir dest/$yesterday
80 - mv dest/$today dest/$yesterday
81 -
82 - echo update > src/foo
83
84 diff --git a/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild b/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild
85 deleted file mode 100644
86 index 224e6c596e4..00000000000
87 --- a/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild
88 +++ /dev/null
89 @@ -1,47 +0,0 @@
90 -# Copyright 1999-2021 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=5
94 -
95 -inherit epatch
96 -
97 -DESCRIPTION="A daily backup system similar to Plan9's dumpfs"
98 -HOMEPAGE="http://0xcc.net/pdumpfs/"
99 -SRC_URI="http://0xcc.net/pdumpfs/${P}.tar.gz"
100 -
101 -LICENSE="GPL-2"
102 -SLOT="0"
103 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
104 -IUSE="l10n_ja"
105 -
106 -DEPEND=">=dev-lang/ruby-2.0.0_p598"
107 -
108 -src_prepare() {
109 - # Bug #509960
110 - epatch "${FILESDIR}/${PN}-in.patch" \
111 - "${FILESDIR}/${PN}-test.patch"
112 -}
113 -
114 -src_compile() {
115 - emake pdumpfs
116 -}
117 -
118 -src_test() {
119 - # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 and #163473.
120 - export RUBYOPT="${GENTOO_RUBYOPT}"
121 - emake check
122 -}
123 -
124 -src_install() {
125 - dobin pdumpfs
126 -
127 - doman man/man8/pdumpfs.8
128 - dohtml -r doc/*
129 -
130 - if use l10n_ja; then
131 - insinto /usr/share/man/ja/man8
132 - doins man/ja/man8/pdumpfs.8
133 - fi
134 -
135 - dodoc ChangeLog README
136 -}