From e87b61beaeb8503135900dec5f63b53b2a97af63 Mon Sep 17 00:00:00 2001 From: "Tom Hendrikx (whyscream)" Date: Wed, 27 Jan 2010 21:31:10 +0000 Subject: app-backup/rdup: version bump svn path=/sunrise/; revision=9917 --- .../rdup/files/rdup-1.1.0-fix-gnupg-tests.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 app-backup/rdup/files/rdup-1.1.0-fix-gnupg-tests.patch (limited to 'app-backup/rdup/files/rdup-1.1.0-fix-gnupg-tests.patch') diff --git a/app-backup/rdup/files/rdup-1.1.0-fix-gnupg-tests.patch b/app-backup/rdup/files/rdup-1.1.0-fix-gnupg-tests.patch new file mode 100644 index 000000000..7399997ce --- /dev/null +++ b/app-backup/rdup/files/rdup-1.1.0-fix-gnupg-tests.patch @@ -0,0 +1,39 @@ +From: Miek Gieben +Date: Wed, 27 Jan 2010 17:15:05 +0000 (+0100) +Subject: exit when no .gnupg is found +X-Git-Url: http://www.miek.nl/cgi-bin/gitweb.cgi?p=rdup.git;a=commitdiff_plain;h=4868641f45c800cd7372bb669cbe004dd70377ee;hp=7d7bed8ccbc40b63debf6f7e3a61237ddde422ad + +exit when no .gnupg is found +--- + +diff --git a/testsuite/rdup/rdup.simple.helper b/testsuite/rdup/rdup.simple.helper +index eaafc02..7c61192 100755 +--- a/testsuite/rdup/rdup.simple.helper ++++ b/testsuite/rdup/rdup.simple.helper +@@ -9,6 +9,10 @@ if ! which gpg 2>/dev/null 1>&2; then + exit 0 + fi + ++if [ ! -d ~/.gnupg ]; then ++ exit 0 ++fi ++ + # test rdup-simple with mcrypt and path enryption + rm -f ~/.rdup/list.$(uname -n).tmp + rm -f ~/.rdup/timestamp.$(uname -n).tmp +diff --git a/testsuite/rdup/rdup.simple3.helper b/testsuite/rdup/rdup.simple3.helper +index 79beaea..8e6c76d 100755 +--- a/testsuite/rdup/rdup.simple3.helper ++++ b/testsuite/rdup/rdup.simple3.helper +@@ -9,6 +9,10 @@ if ! which gpg 2>/dev/null 1>&2; then + exit 0 + fi + ++if [ ! -d ~/.gnupg ]; then ++ exit 0 ++fi ++ + # test rdup-simple with mcrypt and path enryption + rm -f ~/.rdup/list.$(uname -n).tmp + rm -f ~/.rdup/timestamp.$(uname -n).tmp + -- cgit v1.2.3-65-gdbad