mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-backup/pdumpfs: drop 1.3-r2
Closes: https://bugs.gentoo.org/819687 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
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"
|
||||
@@ -1,12 +0,0 @@
|
||||
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
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit epatch
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user