summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-03-03 18:16:13 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-03-03 18:16:13 +0000
commitac1058a389fd6335fd532cfa52ccd40d2609812c (patch)
tree54c77c4b30c6a7e9572d7293b676de6ffea827e1 /app-backup/sarab
parentadded ~ppc (diff)
downloadgentoo-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')
-rw-r--r--app-backup/sarab/ChangeLog9
-rw-r--r--app-backup/sarab/Manifest35
-rw-r--r--app-backup/sarab/files/0.2.2-refname-calculation-gentoo.patch11
-rw-r--r--app-backup/sarab/files/digest-sarab-0.2.2-r23
-rw-r--r--app-backup/sarab/sarab-0.2.2-r2.ebuild37
5 files changed, 84 insertions, 11 deletions
diff --git a/app-backup/sarab/ChangeLog b/app-backup/sarab/ChangeLog
index 7e383e838804..1f7d047ab311 100644
--- a/app-backup/sarab/ChangeLog
+++ b/app-backup/sarab/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-backup/sarab
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/sarab/ChangeLog,v 1.4 2006/01/06 16:47:43 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/sarab/ChangeLog,v 1.5 2006/03/03 18:16:13 mkennedy Exp $
+
+*sarab-0.2.2-r2 (03 Mar 2006)
+
+ 03 Mar 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/0.2.2-refname-calculation-gentoo.patch, +sarab-0.2.2-r2.ebuild:
+ Reference name calculation patch to support filenames with leading periods;
+ Resolves Bug #124565.
*sarab-0.2.2-r1 (06 Jan 2006)
diff --git a/app-backup/sarab/Manifest b/app-backup/sarab/Manifest
index 8a057aa6575f..f44c917af1c7 100644
--- a/app-backup/sarab/Manifest
+++ b/app-backup/sarab/Manifest
@@ -1,18 +1,33 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 efe26bbb6795fc0c14b3fbdedb4a7932 ChangeLog 1181
+RMD160 b9b90f6f75390b4ecd126cb24e97a4f8be6adb42 ChangeLog 1181
+SHA256 e4cbf833f6159697b4321e9c09165fab3a407556bfbac5af6a50dba57a0ca2fe ChangeLog 1181
MD5 1158ff2c096755fee64285dc78eac006 files/0.2.2-better-defaults-gentoo.patch 1274
+RMD160 f38fbe0cdbe864a5bfbdb10a8d90f09502269a43 files/0.2.2-better-defaults-gentoo.patch 1274
+SHA256 03dd5e8d5c20950d88fa94ade72199116af16ee8e6d768aa86264b0ca39c444d files/0.2.2-better-defaults-gentoo.patch 1274
MD5 bf4d8827efddcb3c272a36cdd553d431 files/0.2.2-fix-rotation-gentoo.patch 538
+RMD160 b6e8ae90f380ad4df10c35b775ab2d4784d33ae9 files/0.2.2-fix-rotation-gentoo.patch 538
+SHA256 48312ad7f0fe08adeb552e29d4b0afbf0111c3cab9cd052f31848f623d535144 files/0.2.2-fix-rotation-gentoo.patch 538
+MD5 87324cd840e8cdd8d3cc80a389f8047c files/0.2.2-refname-calculation-gentoo.patch 890
+RMD160 b9e6bf46e19768eb4452a8d3ef8954b45577d95d files/0.2.2-refname-calculation-gentoo.patch 890
+SHA256 f20a797638ba155010441e3edadda0d77753bd8137e1346ac9436d9571207815 files/0.2.2-refname-calculation-gentoo.patch 890
MD5 d0fa024057272bd7aad055ecc9ee5299 files/0.2.2-test-with-encryption-gentoo.patch 2978
+RMD160 819d7bb06b0e1015da5c95e629399f85fab85976 files/0.2.2-test-with-encryption-gentoo.patch 2978
+SHA256 3a5d3249f73677df5ec7198ebf5a9e3da44c5cc39fb797a919c8242546d6adb4 files/0.2.2-test-with-encryption-gentoo.patch 2978
MD5 259987143010b10eb68843ff1da743df files/README.Gentoo 720
+RMD160 74f0c7261d2ad8384a58c61c9b67fbd2b9870c59 files/README.Gentoo 720
+SHA256 8d19900ce8442bb9ccd7345430efb59792bb7a32591ae7f5fce01e35cd009f2c files/README.Gentoo 720
MD5 19b06302a278f9fdc3dab8e1faabd189 files/digest-sarab-0.2.2-r1 62
+RMD160 f814f300e45eb834fbc5035c18f7f514f7a4cd6d files/digest-sarab-0.2.2-r1 62
+SHA256 dcfc7d623f99525ea176707d235c00603849d5fc371cfed3912a747823978ff9 files/digest-sarab-0.2.2-r1 62
+MD5 2eb13a617628fdae9e74d1770f4ac96c files/digest-sarab-0.2.2-r2 232
+RMD160 10d20f9be705db95d5040402af9bba4130a40d0c files/digest-sarab-0.2.2-r2 232
+SHA256 c2fe2cc3c0ac262738d4c62a62f2ed5a748074dc157be8168bc57f599eaf6865 files/digest-sarab-0.2.2-r2 232
MD5 fac42ad5e6199d546ff4f3683fdd4da1 metadata.xml 478
+RMD160 7a275305f9d35b2d04cd5cb54ded33ec3ea41bb3 metadata.xml 478
+SHA256 b8ca0cfb4d46562ee5aa403266014a09bdcbf48d838f9e59a6aeeec03a8442db metadata.xml 478
MD5 766275176442e96358c142d124247c92 sarab-0.2.2-r1.ebuild 999
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDvp87yiNZaEAZA+ARAikNAJ4/bz60cWLUoHUbClJVhNQ+YKWamgCcDw6h
-l7Wu45rP+OAIh6GYyqzJvTM=
-=3cmT
------END PGP SIGNATURE-----
+RMD160 7ef947dff44514987e89ae40f6ff2cef2935b5a0 sarab-0.2.2-r1.ebuild 999
+SHA256 2a655532f2462bf93181bfe380def660ea84e9880beeded24848b5f1443e3faa sarab-0.2.2-r1.ebuild 999
+MD5 8fddaf48f707bd16abaf4038e1f8003e sarab-0.2.2-r2.ebuild 1065
+RMD160 dd148cb44269b8926976023520f920731f87ad62 sarab-0.2.2-r2.ebuild 1065
+SHA256 3ad3d160cae0ae483a373708fc3f4448259eda446453ec4d762b6a935f105308 sarab-0.2.2-r2.ebuild 1065
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
diff --git a/app-backup/sarab/sarab-0.2.2-r2.ebuild b/app-backup/sarab/sarab-0.2.2-r2.ebuild
new file mode 100644
index 000000000000..0a56c4aee0f5
--- /dev/null
+++ b/app-backup/sarab/sarab-0.2.2-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/sarab/sarab-0.2.2-r2.ebuild,v 1.1 2006/03/03 18:16:13 mkennedy Exp $
+
+inherit eutils
+
+DESCRIPTION="SaraB is a powerful and automated backup scheduling system based on DAR."
+HOMEPAGE="http://sarab.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sarab/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-backup/dar
+ mail-client/mailx"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-test-with-encryption-gentoo.patch || die
+ epatch ${FILESDIR}/${PV}-better-defaults-gentoo.patch || die
+ epatch ${FILESDIR}/${PV}-fix-rotation-gentoo.patch || die
+ epatch ${FILESDIR}/${PV}-refname-calculation-gentoo.patch || die
+}
+
+src_install() {
+ dobin sarab.sh
+ insinto /etc/sarab
+ doins -r etc/*
+ # sarab.conf could contain passphrase information
+ fperms 600 /etc/sarab/sarab.conf
+ dodoc CHANGELOG FAQ INSTALL LICENSE README
+ dodoc ${FILESDIR}/README.Gentoo
+}