summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-16 08:42:42 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-16 08:42:42 +0100
commit70f0371ab19ca921288bc5fd9262f746afb2bdb6 (patch)
tree73b366a214c4c97736cede6010f44c63d6f2b661 /base
parent3991823309439e339648dab4ca3da1fb3967165d (diff)
downloadnutyx-extra-70f0371ab19ca921288bc5fd9262f746afb2bdb6.tar.gz
nutyx-extra-70f0371ab19ca921288bc5fd9262f746afb2bdb6.tar.bz2
nutyx-extra-70f0371ab19ca921288bc5fd9262f746afb2bdb6.tar.xz
nutyx-extra-70f0371ab19ca921288bc5fd9262f746afb2bdb6.zip
rsync, maj 3.07-1, ajout du filtre
Diffstat (limited to 'base')
-rw-r--r--base/rsync/.md5sum.i6862
-rwxr-xr-xbase/rsync/Pkgfile9
-rw-r--r--base/rsync/rsync.driver2
3 files changed, 10 insertions, 3 deletions
diff --git a/base/rsync/.md5sum.i686 b/base/rsync/.md5sum.i686
index ab6a867dd..581d9308c 100644
--- a/base/rsync/.md5sum.i686
+++ b/base/rsync/.md5sum.i686
@@ -1,2 +1,2 @@
b53525900817cf1ba7ad3a516ab5bfe9 rsync-3.0.7.tar.gz
-f1c011016983c8237533efd336594ecf rsync.driver
+c607264a85b42c902a0ee88cfad61dd6 rsync.driver
diff --git a/base/rsync/Pkgfile b/base/rsync/Pkgfile
index a670d60cb..918797059 100755
--- a/base/rsync/Pkgfile
+++ b/base/rsync/Pkgfile
@@ -6,7 +6,7 @@
name=rsync
version=3.0.7
-release=1
+release=2
source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz\
rsync.driver)
@@ -19,5 +19,12 @@ build() {
make
make DESTDIR=$PKG install
install -d $PKG/etc/ports/drivers
+ case `uname -m` in
+ i?86)
+ sed -i "s/ARCH/x86_64/g" $SRC/rsync.driver;;
+ x86_64)
+ sed -i "s/ARCH/i686/g" $SRC/rsync.driver;;
+ esac
+
install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync
}
diff --git a/base/rsync/rsync.driver b/base/rsync/rsync.driver
index 21fd54c45..ecd087d65 100644
--- a/base/rsync/rsync.driver
+++ b/base/rsync/rsync.driver
@@ -78,7 +78,7 @@ error("Running rsync failed") unless $? == 0;
print "Updating collection " . basename($destination) . "\n";
# now really run rsync
-open(PIPE, 'rsync -crz --log-format "%o %n" rsync://' . $host . "/$collection $destination|") or error("Couldn't open pipe to rsync");
+open(PIPE, 'rsync -crz --exclude=.footprint.ARCH --exclude=.md5sum.ARCH --log-format "%o %n" rsync://' . $host . "/$collection $destination|") or error("Couldn't open pipe to rsync");
while (<PIPE>)
{
chomp;