From 248521b2589964ca72bde63cdf6e0ec2dcac4629 Mon Sep 17 00:00:00 2001 From: Martin Holzer Date: Sun, 25 Jan 2004 11:51:46 +0000 Subject: cleanup --- net-misc/rdiff-backup/Manifest | 5 -- .../rdiff-backup/files/digest-rdiff-backup-0.12.4 | 1 - .../files/digest-rdiff-backup-0.12.5-r1 | 1 - .../rdiff-backup-0.12.5-unreadable-files.patch | 59 ---------------------- net-misc/rdiff-backup/rdiff-backup-0.12.4.ebuild | 23 --------- .../rdiff-backup/rdiff-backup-0.12.5-r1.ebuild | 29 ----------- 6 files changed, 118 deletions(-) delete mode 100644 net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.4 delete mode 100644 net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.5-r1 delete mode 100644 net-misc/rdiff-backup/files/rdiff-backup-0.12.5-unreadable-files.patch delete mode 100644 net-misc/rdiff-backup/rdiff-backup-0.12.4.ebuild delete mode 100644 net-misc/rdiff-backup/rdiff-backup-0.12.5-r1.ebuild (limited to 'net-misc') diff --git a/net-misc/rdiff-backup/Manifest b/net-misc/rdiff-backup/Manifest index 531535d998b1..eec3d0865656 100644 --- a/net-misc/rdiff-backup/Manifest +++ b/net-misc/rdiff-backup/Manifest @@ -1,11 +1,6 @@ MD5 5ab5af5165e28c864ff61528fdefed72 ChangeLog 3238 -MD5 93ede2436ee04061288c25724d5fe33a rdiff-backup-0.12.4.ebuild 634 -MD5 c9b6ea39290d197fe19fc5383592a9d7 rdiff-backup-0.12.5-r1.ebuild 726 MD5 bbd8219703e2f21fea9f33a91dfcbeb1 rdiff-backup-0.12.6.ebuild 634 MD5 ec538ce2c97b120495ddc179382c87de rdiff-backup-0.8.0.ebuild 689 -MD5 745271513eaea32c0ad5f166045c60b0 files/digest-rdiff-backup-0.12.4 71 -MD5 0d23592917cdd7fb4d50825cb439edb8 files/digest-rdiff-backup-0.12.5-r1 71 MD5 50fc2d46905cdf8e7e7c1c2cf3fbcd34 files/digest-rdiff-backup-0.12.6 71 MD5 27a4b1877434caf96bb409b5f6a1f511 files/digest-rdiff-backup-0.8.0 69 -MD5 a0c053a2fa65fedb84233d5813876ee7 files/rdiff-backup-0.12.5-unreadable-files.patch 2520 MD5 5c6ac6488726f62288dc006e078d7507 files/rpath.patch 692 diff --git a/net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.4 b/net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.4 deleted file mode 100644 index 146989613e49..000000000000 --- a/net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 279d144819e411c2c69133949a938e10 rdiff-backup-0.12.4.tar.gz 121848 diff --git a/net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.5-r1 b/net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.5-r1 deleted file mode 100644 index b8ea29370e9e..000000000000 --- a/net-misc/rdiff-backup/files/digest-rdiff-backup-0.12.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 6be2336c82743b422b9b25323011e497 rdiff-backup-0.12.5.tar.gz 123205 diff --git a/net-misc/rdiff-backup/files/rdiff-backup-0.12.5-unreadable-files.patch b/net-misc/rdiff-backup/files/rdiff-backup-0.12.5-unreadable-files.patch deleted file mode 100644 index 3c5103c349f2..000000000000 --- a/net-misc/rdiff-backup/files/rdiff-backup-0.12.5-unreadable-files.patch +++ /dev/null @@ -1,59 +0,0 @@ -=================================================================== -RCS file: /cvsroot/rdiff-backup/rdiff-backup/rdiff_backup/regress.py,v -retrieving revision 1.6.2.4 -retrieving revision 1.6.2.5 -diff -u -r1.6.2.4 -r1.6.2.5 ---- rdiff-backup/rdiff-backup/rdiff_backup/regress.py 2003/09/28 04:34:39 1.6.2.4 -+++ rdiff-backup/rdiff-backup/rdiff_backup/regress.py 2003/09/28 17:52:55 1.6.2.5 -@@ -114,27 +114,23 @@ - def iterate_raw_rfs(mirror_rp, inc_rp): - """Iterate all RegressFile objects in mirror/inc directory - -- Also changes permissions of unreadable files to allow access and -- then changes them back later. -+ Also changes permissions of unreadable files. We don't have to -+ change them back later because regress will do that for us. - - """ - root_rf = RegressFile(mirror_rp, inc_rp, restore.get_inclist(inc_rp)) - def helper(rf): - mirror_rp = rf.mirror_rp -- if (Globals.process_uid != 0 and -- ((mirror_rp.isreg() and not mirror_rp.readable()) or -- (mirror_rp.isdir() and not mirror_rp.hasfullperms()))): -- unreadable, old_perms = 1, mirror_rp.getperms() -- if mirror_rp.isreg(): mirror_rp.chmod(0400 | old_perms) -- else: mirror_rp.chmod(0700 | old_perms) -- else: unreadable = 0 -+ if Globals.process_uid != 0: -+ if mirror_rp.isreg() and not mirror_rp.readable(): -+ mirror_rp.chmod(0400 | mirror_rp.getperms()) -+ elif mirror_rp.isdir() and not mirror_rp.hasfullperms(): -+ mirror_rp.chmod(0700 | mirror_rp.getperms()) - yield rf -- if unreadable and mirror_rp.isreg(): mirror_rp.chmod(old_perms) - if rf.mirror_rp.isdir() or rf.inc_rp.isdir(): - for sub_rf in rf.yield_sub_rfs(): - for sub_sub_rf in helper(sub_rf): - yield sub_sub_rf -- if unreadable and mirror_rp.isdir(): mirror_rp.chmod(old_perms) - return helper(root_rf) - - def yield_metadata(): -@@ -249,14 +245,14 @@ - if rf.mirror_rp.isreg(): - tf = TempFile.new(rf.mirror_rp) - tf.write_from_fileobj(rf.get_restore_fp()) -- rpath.copy_attribs(rf.metadata_rorp, tf) - tf.fsync_with_dir() # make sure tf fully written before move -+ rpath.copy_attribs(rf.metadata_rorp, tf) - rpath.rename(tf, rf.mirror_rp) # move is atomic - else: - if rf.mirror_rp.lstat(): rf.mirror_rp.delete() - rf.mirror_rp.write_from_fileobj(rf.get_restore_fp()) - rpath.copy_attribs(rf.metadata_rorp, rf.mirror_rp) -- rf.mirror_rp.fsync_with_dir() # require move before inc delete -+ rf.mirror_rp.get_parent_rp().fsync() # require move before inc delete - - def start_process(self, index, rf): - """Start processing directory""" diff --git a/net-misc/rdiff-backup/rdiff-backup-0.12.4.ebuild b/net-misc/rdiff-backup/rdiff-backup-0.12.4.ebuild deleted file mode 100644 index 806ccff7866b..000000000000 --- a/net-misc/rdiff-backup/rdiff-backup-0.12.4.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rdiff-backup/rdiff-backup-0.12.4.ebuild,v 1.3 2003/10/16 20:43:54 mholzer Exp $ - -inherit distutils - -S=${WORKDIR}/${P} -DESCRIPTION="Remote incremental file backup utility, similar to rsync but more reliable" -SRC_URI="http://rdiff-backup.stanford.edu/${P}.tar.gz" -HOMEPAGE="http://rdiff-backup.stanford.edu" -LICENSE="GPL-2" -KEYWORDS="x86 ~sparc" -SLOT="0" - -RDEPEND=">=net-libs/librsync-0.9.6" - -src_compile() { - distutils_src_compile -} - -src_install() { - distutils_src_install -} diff --git a/net-misc/rdiff-backup/rdiff-backup-0.12.5-r1.ebuild b/net-misc/rdiff-backup/rdiff-backup-0.12.5-r1.ebuild deleted file mode 100644 index bd9e494e1c94..000000000000 --- a/net-misc/rdiff-backup/rdiff-backup-0.12.5-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rdiff-backup/rdiff-backup-0.12.5-r1.ebuild,v 1.2 2003/10/16 20:43:54 mholzer Exp $ - -inherit distutils - -S=${WORKDIR}/${P} -DESCRIPTION="Remote incremental file backup utility, similar to rsync but more reliable" -SRC_URI="http://rdiff-backup.stanford.edu/${P}.tar.gz" -HOMEPAGE="http://rdiff-backup.stanford.edu" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc" -SLOT="0" - -RDEPEND=">=net-libs/librsync-0.9.6" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-unreadable-files.patch -} - -src_compile() { - distutils_src_compile -} - -src_install() { - distutils_src_install -} -- cgit v1.2.3-65-gdbad