Update to ocsync-0.60.2.

This commit is contained in:
ajacoutot 2012-11-27 06:37:31 +00:00
parent db9771eaa0
commit 0ce0b9d433
3 changed files with 4 additions and 16 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2012/10/30 17:26:59 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2012/11/27 06:37:31 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= bidirectional directories synchronizer (owncloud version)
DISTNAME= ocsync-0.60.1
DISTNAME= ocsync-0.60.2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net

View File

@ -1,2 +1,2 @@
SHA256 (ocsync-0.60.1.tar.bz2) = jvPs1xcDD6sr8aW5TZFF3nVUVDNL+XvQkpzsGZetgtY=
SIZE (ocsync-0.60.1.tar.bz2) = 2101539
SHA256 (ocsync-0.60.2.tar.bz2) = OtErzwrzuC2Y94Yxlo3vWQa+FT7au7rbZnZ4WtlFB44=
SIZE (ocsync-0.60.2.tar.bz2) = 2102141

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_csync_propagate_c,v 1.1.1.1 2012/10/16 09:41:44 ajacoutot Exp $
--- src/csync_propagate.c.orig Fri Oct 5 13:54:22 2012
+++ src/csync_propagate.c Tue Oct 16 11:36:51 2012
@@ -156,7 +156,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_sta
ctx->replica = srep;
flags = O_RDONLY|O_NOFOLLOW;
/* O_NOATIME can only be set by the owner of the file or the superuser */
-#ifndef __APPLE__
+#if !defined (__APPLE__) && !defined (__OpenBSD__)
if (st->uid == ctx->pwd.uid || ctx->pwd.euid == 0) {
flags |= O_NOATIME;
}