mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
rsync: bump version.
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
diff -up rsync-3.1.0/configure.ac.orig rsync-3.1.0/configure.ac
|
||||
--- rsync-3.1.0/configure.ac.orig 2013-09-28 14:55:54.062914560 -0600
|
||||
+++ rsync-3.1.0/configure.ac 2013-10-24 14:27:24.333709312 -0600
|
||||
@@ -455,6 +455,9 @@ if test x"$ac_cv_func_connect" = x"no";
|
||||
fi
|
||||
|
||||
AC_SEARCH_LIBS(inet_ntop, resolv)
|
||||
+AC_SEARCH_LIBS(socket, network)
|
||||
+AC_SEARCH_LIBS(getpass, bsd)
|
||||
+AC_SEARCH_LIBS(getxattr, gnu)
|
||||
|
||||
# For OS X, Solaris, HP-UX, etc.: figure out if -liconv is needed. We'll
|
||||
# accept either iconv_open or libiconv_open, since some include files map
|
||||
@@ -1079,6 +1082,12 @@ else
|
||||
AC_DEFINE(SUPPORT_XATTRS, 1)
|
||||
AC_DEFINE(NO_SYMLINK_XATTRS, 1, [True if symlinks do not support xattrs])
|
||||
;;
|
||||
+ *haiku*)
|
||||
+ AC_MSG_RESULT(Using Linux xattrs)
|
||||
+ AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs])
|
||||
+ AC_DEFINE(SUPPORT_XATTRS, 1)
|
||||
+ AC_DEFINE(NO_DEVICE_XATTRS, 1, [True if device files do not support xattrs])
|
||||
+ ;;
|
||||
*)
|
||||
if test x"$enable_xattr_support" = x"yes"; then
|
||||
AC_MSG_ERROR(Failed to find extended attribute support)
|
||||
diff -up rsync-3.1.0/rsync.h.orig rsync-3.1.0/rsync.h
|
||||
--- rsync-3.1.0/rsync.h.orig 2013-09-28 14:55:54.002359296 -0600
|
||||
+++ rsync-3.1.0/rsync.h 2013-10-24 14:27:08.025165824 -0600
|
||||
@@ -442,7 +442,9 @@ enum delret {
|
||||
#ifdef MAKEDEV_TAKES_3_ARGS
|
||||
#define MAKEDEV(devmajor,devminor) makedev(0,devmajor,devminor)
|
||||
#else
|
||||
-#define MAKEDEV(devmajor,devminor) makedev(devmajor,devminor)
|
||||
+#define MAKEDEV(devmajor,devminor) ((dev_t)0)
|
||||
+#define major(dev) (0)
|
||||
+#define minor(dev) (0)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COMPAT_H
|
||||
diff -up rsync-3.1.0/testsuite/hands.test.orig rsync-3.1.0/testsuite/hands.test
|
||||
--- rsync-3.1.0/testsuite/hands.test.orig 2008-07-20 23:28:19.066584576 -0600
|
||||
+++ rsync-3.1.0/testsuite/hands.test 2013-10-24 14:27:08.049283072 -0600
|
||||
@@ -15,7 +15,7 @@ DEBUG_OPTS="--debug=all0,deltasum0"
|
||||
|
||||
runtest "basic operation" 'checkit "$RSYNC -av \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"'
|
||||
|
||||
-ln "$fromdir/filelist" "$fromdir/dir"
|
||||
+cp -p "$fromdir/filelist" "$fromdir/dir"
|
||||
runtest "hard links" 'checkit "$RSYNC -avH $DEBUG_OPTS \"$fromdir/\" \"$todir\"" "$fromdir/" "$todir"'
|
||||
|
||||
rm "$todir/text"
|
||||
diff -up rsync-3.1.0/testsuite/relative.test.orig rsync-3.1.0/testsuite/relative.test
|
||||
--- rsync-3.1.0/testsuite/relative.test.orig 2007-09-22 20:18:57.001310720 -0600
|
||||
+++ rsync-3.1.0/testsuite/relative.test 2013-10-24 14:27:08.052690944 -0600
|
||||
@@ -31,8 +31,8 @@ $RSYNC -ai --include=/down/ --exclude='/
|
||||
sleep 1
|
||||
runtest "basic relative" 'checkit "$RSYNC -avR ./$deepstr \"$todir\"" "$chkdir" "$todir"'
|
||||
|
||||
-ln $deepstr/filelist $deepstr/dir
|
||||
-ln ../chk/$deepstr/filelist ../chk/$deepstr/dir
|
||||
+cp -p $deepstr/filelist $deepstr/dir
|
||||
+cp -p ../chk/$deepstr/filelist ../chk/$deepstr/dir
|
||||
runtest "hard links" 'checkit "$RSYNC -avHR ./$deepstr/ \"$todir\"" "$chkdir" "$todir"'
|
||||
|
||||
cp "$deepdir/text" "$todir/$deepstr/ThisShouldGo"
|
||||
@@ -1,63 +0,0 @@
|
||||
SUMMARY="A utility for fast incremental file transfer"
|
||||
DESCRIPTION="rsync is a file transfer program for Unix systems. rsync uses the \
|
||||
'rsync algorithm' which provides a very fast method for bringing remote files \
|
||||
into sync. It does this by sending just the differences in the files across \
|
||||
the link, without requiring that both sets of files are present at one of the \
|
||||
ends of the link beforehand."
|
||||
HOMEPAGE="http://rsync.samba.org/"
|
||||
COPYRIGHT="1996-2013 by Andrew Tridgell, Wayne Davison, and others"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://rsync.samba.org/ftp/rsync/src/rsync-3.1.0.tar.gz"
|
||||
CHECKSUM_SHA256="81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e"
|
||||
PATCHES="rsync-3.1.0.patch"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
rsync = $portVersion compat >= 3
|
||||
cmd:rsync = $portVersion compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:find
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
autoconf
|
||||
runConfigure ./configure \
|
||||
--enable-xattr-support \
|
||||
--disable-iconv \
|
||||
--disable-iconv-open \
|
||||
--disable-locale \
|
||||
--disable-debug \
|
||||
--with-included-zlib=no
|
||||
|
||||
make reconfigure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
SUMMARY="A utility for fast incremental file transfer"
|
||||
DESCRIPTION="rsync is a file transfer program for Unix systems. rsync uses the \
|
||||
'rsync algorithm' which provides a very fast method for bringing remote files \
|
||||
into sync. It does this by sending just the differences in the files across \
|
||||
the link, without requiring that both sets of files are present at one of the \
|
||||
ends of the link beforehand."
|
||||
HOMEPAGE="http://rsync.samba.org/"
|
||||
COPYRIGHT="1996-2013 by Andrew Tridgell, Wayne Davison, and others"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://rsync.samba.org/ftp/rsync/src/rsync-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621"
|
||||
PATCHES="rsync-3.1.0.patch"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
rsync = $portVersion compat >= 3
|
||||
cmd:rsync = $portVersion compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libz
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libz
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:find
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
autoconf
|
||||
runConfigure ./configure \
|
||||
--enable-xattr-support \
|
||||
--disable-iconv \
|
||||
--disable-iconv-open \
|
||||
--disable-locale \
|
||||
--disable-debug \
|
||||
--with-included-zlib=no
|
||||
|
||||
make reconfigure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
@@ -7,9 +7,9 @@ ends of the link beforehand."
|
||||
HOMEPAGE="http://rsync.samba.org/"
|
||||
COPYRIGHT="1996-2013 by Andrew Tridgell, Wayne Davison, and others"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://rsync.samba.org/ftp/rsync/src/rsync-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2"
|
||||
CHECKSUM_SHA256="55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0"
|
||||
PATCHES="rsync-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
Reference in New Issue
Block a user