diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2006-03-03 18:16:13 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2006-03-03 18:16:13 +0000 |
commit | ac1058a389fd6335fd532cfa52ccd40d2609812c (patch) | |
tree | 54c77c4b30c6a7e9572d7293b676de6ffea827e1 /app-backup/sarab/files | |
parent | added ~ppc (diff) | |
download | gentoo-2-ac1058a389fd6335fd532cfa52ccd40d2609812c.tar.gz gentoo-2-ac1058a389fd6335fd532cfa52ccd40d2609812c.tar.bz2 gentoo-2-ac1058a389fd6335fd532cfa52ccd40d2609812c.zip |
Reference name calculation patch to support filenames with leading periods; Resolves Bug #124565.
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'app-backup/sarab/files')
-rw-r--r-- | app-backup/sarab/files/0.2.2-refname-calculation-gentoo.patch | 11 | ||||
-rw-r--r-- | app-backup/sarab/files/digest-sarab-0.2.2-r2 | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app-backup/sarab/files/0.2.2-refname-calculation-gentoo.patch b/app-backup/sarab/files/0.2.2-refname-calculation-gentoo.patch new file mode 100644 index 000000000000..583ba0484195 --- /dev/null +++ b/app-backup/sarab/files/0.2.2-refname-calculation-gentoo.patch @@ -0,0 +1,11 @@ +--- sarab.orig/sarab.sh 2004-09-08 23:06:16.000000000 -0500 ++++ sarab/sarab.sh 2006-03-01 15:00:31.000000000 -0600 +@@ -176,7 +176,7 @@ + REFERENCE_ARCHIVE=$(echo $CURRENT_LINE | cut -f 2 -d" ") + # Test to see if the reference archive actually exists + if [ -d "$DESTINATION/$REFERENCE_ARCHIVE/" ]; then # The reference archive exists +- REFERENCE_BASENAME="--ref $(/bin/ls $DESTINATION/$REFERENCE_ARCHIVE/*.dar | head -n 1 | cut -f 1 -d".")" ++ REFERENCE_BASENAME="--ref $(/bin/ls $DESTINATION/$REFERENCE_ARCHIVE/*.dar | head -n 1 | sed -re 's,\.[0-9]+\.dar,,g')" + # Record information about the reference archive to include in the current archive + echo "The reference archive for this backup was:" > $DESTINATION/$WORK_DIR/reference_archive.txt + echo "$(ls -ltr $DESTINATION/$REFERENCE_ARCHIVE/*.dar)" >> $DESTINATION/$WORK_DIR/reference_archive.txt diff --git a/app-backup/sarab/files/digest-sarab-0.2.2-r2 b/app-backup/sarab/files/digest-sarab-0.2.2-r2 new file mode 100644 index 000000000000..d3f292a471ff --- /dev/null +++ b/app-backup/sarab/files/digest-sarab-0.2.2-r2 @@ -0,0 +1,3 @@ +MD5 9ecafc5ed6730bb778851e219ef17d4a sarab-0.2.2.tar.gz 22428 +RMD160 b32a4f73ff98b57f3e486f728889d903809389ea sarab-0.2.2.tar.gz 22428 +SHA256 fdcc8db921fb513d7bbd7217238addcea36b4112bef02f5b3df4ee775e9e39c5 sarab-0.2.2.tar.gz 22428 |