Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils In directory vz-cvs-3.sog:/tmp/cvs-serv3737
Modified Files: backupbouncer.info Added Files: backupbouncer.patch Log Message: Fix resource forks for 10.7, works on 10.6, too. Index: backupbouncer.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/backupbouncer.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- backupbouncer.info 25 Aug 2010 13:58:34 -0000 1.1 +++ backupbouncer.info 16 Aug 2011 08:07:18 -0000 1.2 @@ -1,6 +1,6 @@ Package: backupbouncer Version: 0.2.0 -Revision: 1 +Revision: 10 Description: Test-suite for backup software License: BSD Maintainer: Remi Mommsen <remigius.momm...@cern.ch> @@ -14,6 +14,7 @@ << DocFiles: LICENSE.txt README.SNOW_LEOPARD.txt README.txt +BuildDepends: fink (>= 0.24.12) Depends: xcode Source: http://github.com/n8gray/Backup-Bouncer/tarball/release-%v @@ -21,7 +22,10 @@ SourceRename: %n-%v.tar.gz SourceDirectory: n8gray-Backup-Bouncer-506a35c +PatchFile: %n.patch +PatchFile-MD5: a5c42f7f243d22e4c288827546ab34cc PatchScript: << + %{default_script} /usr/bin/sed -i'.bak' -e 's:`dirname $0`:%p/share/%n:' bbouncer << --- NEW FILE: backupbouncer.patch --- diff -Naur bb.orig/tests.d/30-resource-forks.test bb.new/tests.d/30-resource-forks.test --- bb.orig/tests.d/30-resource-forks.test 2009-09-16 03:26:42.000000000 +0200 +++ bb.new/tests.d/30-resource-forks.test 2011-08-16 09:58:52.000000000 +0200 @@ -8,18 +8,18 @@ cd $1 set -e echo "testing 1 2 3" > some-file - echo "Hello world" > some-file/rsrc + echo "Hello world" > some-file/..namedfork/rsrc echo "Apple's rsync had issues with resource forks + hardlinks" > hl-rfork1 ln hl-rfork1 hl-rfork2 - echo "Let's see what happens..." > hl-rfork1/rsrc + echo "Let's see what happens..." > hl-rfork1/..namedfork/rsrc } compare () { set -e # We only test regular files. Should we test others? if [ -f "$1" ]; then - cmp "$1/rsrc" "$2/rsrc" + cmp "$1/..namedfork/rsrc" "$2/..namedfork/rsrc" else true fi @@ -36,7 +36,7 @@ test -e ./some-file \ && grep -q '^testing 1 2 3$' ./some-file \ - && grep -q '^Hello world$' ./some-file/rsrc + && grep -q '^Hello world$' ./some-file/..namedfork/rsrc x1=$? subtest "on files" $x1 diff -Naur bb.orig/tests.d/99-combo-tests.test bb.new/tests.d/99-combo-tests.test --- bb.orig/tests.d/99-combo-tests.test 2009-09-16 03:26:42.000000000 +0200 +++ bb.new/tests.d/99-combo-tests.test 2011-08-16 09:59:43.000000000 +0200 @@ -9,7 +9,7 @@ set -e touch xattr-with-rfork - echo "I love pancakes so much" > xattr-with-rfork/rsrc + echo "I love pancakes so much" > xattr-with-rfork/..namedfork/rsrc xattr-util w fairy.tale \ "My friend Goldilocks, she does things she shouldn't do" \ xattr-with-rfork ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs