OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   22-Sep-2008 08:55:51
  Branch: HEAD                             Handle: 2008092207555100

  Modified files:
    openpkg-src/csync       csync.patch csync.spec

  Log:
    upgrading package: csync 0.41.92 -> 0.41.93

  Summary:
    Revision    Changes     Path
    1.2         +19 -18     openpkg-src/csync/csync.patch
    1.2         +2  -2      openpkg-src/csync/csync.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/csync/csync.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 csync.patch
  --- openpkg-src/csync/csync.patch     21 Sep 2008 17:41:53 -0000      1.1
  +++ openpkg-src/csync/csync.patch     22 Sep 2008 06:55:51 -0000      1.2
  @@ -1,6 +1,6 @@
   Index: client/CMakeLists.txt
  ---- client/CMakeLists.txt.orig       2008-06-16 14:20:06 +0200
  -+++ client/CMakeLists.txt    2008-09-21 19:40:13 +0200
  +--- client/CMakeLists.txt.orig       2008-06-25 14:51:27 +0200
  ++++ client/CMakeLists.txt    2008-09-22 08:51:40 +0200
   @@ -19,6 +19,7 @@
    set(CLIENT_LINK_LIBRARIES
      ${CLIENT_EXECUTABLE}
  @@ -10,8 +10,8 @@
    
    set(client_SRCS
   Index: cmake/Modules/DefineCompilerFlags.cmake
  ---- cmake/Modules/DefineCompilerFlags.cmake.orig     2008-06-16 14:20:06 
+0200
  -+++ cmake/Modules/DefineCompilerFlags.cmake  2008-09-21 19:40:13 +0200
  +--- cmake/Modules/DefineCompilerFlags.cmake.orig     2008-06-25 14:51:27 
+0200
  ++++ cmake/Modules/DefineCompilerFlags.cmake  2008-09-22 08:51:40 +0200
   @@ -31,15 +31,9 @@
        )
      endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
  @@ -30,8 +30,8 @@
      check_c_compiler_flag("-D_FORTIFY_SOURCE=2" WITH_FORTIFY_SOURCE)
      if (WITH_FORTIFY_SOURCE)
   Index: cmake/Modules/FindDlfcn.cmake
  ---- cmake/Modules/FindDlfcn.cmake.orig       2008-06-16 14:20:06 +0200
  -+++ cmake/Modules/FindDlfcn.cmake    2008-09-21 19:40:13 +0200
  +--- cmake/Modules/FindDlfcn.cmake.orig       2008-06-25 14:51:27 +0200
  ++++ cmake/Modules/FindDlfcn.cmake    2008-09-22 08:51:40 +0200
   @@ -53,9 +53,9 @@
        )
      endif (DL_FOUND)
  @@ -45,8 +45,8 @@
      if (DLFCN_FOUND)
        if (NOT Dlfcn_FIND_QUIETLY)
   Index: cmake/Modules/FindRT.cmake
  ---- cmake/Modules/FindRT.cmake.orig  2008-06-16 14:20:06 +0200
  -+++ cmake/Modules/FindRT.cmake       2008-09-21 19:40:13 +0200
  +--- cmake/Modules/FindRT.cmake.orig  2008-06-25 14:51:27 +0200
  ++++ cmake/Modules/FindRT.cmake       2008-09-22 08:51:40 +0200
   @@ -53,9 +53,9 @@
        )
      endif (RT_FOUND)
  @@ -60,23 +60,24 @@
      if (RT_FOUND)
        if (NOT RT_FIND_QUIETLY)
   Index: src/csync_propagate.c
  ---- src/csync_propagate.c.orig       2008-06-16 14:20:06 +0200
  -+++ src/csync_propagate.c    2008-09-21 19:40:13 +0200
  -@@ -100,7 +100,11 @@
  - 
  +--- src/csync_propagate.c.orig       2008-06-25 14:51:27 +0200
  ++++ src/csync_propagate.c    2008-09-22 08:52:33 +0200
  +@@ -102,10 +102,12 @@
      /* Open the source file */
      ctx->replica = srep;
  +   flags = O_RDONLY|O_NOFOLLOW;
   +#if defined(O_NOATIME)
  -   sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW|O_NOATIME, 0);
  -+#else
  -+  sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW, 0);
  +   /* O_NOATIME can only be set by the owner of the file or the superuser */
  +   if (st->uid == getuid() || geteuid() == 0) {
  +     flags |= O_NOATIME;
  +   }
   +#endif
  +   sfp = csync_vio_open(ctx, suri, O_RDONLY|O_NOFOLLOW, 0);
      if (sfp == NULL) {
        if (errno == ENOMEM) {
  -       rc = -1;
   Index: src/std/c_file.c
  ---- src/std/c_file.c.orig    2008-06-16 14:20:06 +0200
  -+++ src/std/c_file.c 2008-09-21 19:40:13 +0200
  +--- src/std/c_file.c.orig    2008-06-25 14:51:27 +0200
  ++++ src/std/c_file.c 2008-09-22 08:51:40 +0200
   @@ -93,14 +93,22 @@
          /* done */
          break;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/csync/csync.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 csync.spec
  --- openpkg-src/csync/csync.spec      21 Sep 2008 17:41:53 -0000      1.1
  +++ openpkg-src/csync/csync.spec      22 Sep 2008 06:55:51 -0000      1.2
  @@ -31,8 +31,8 @@
   Class:        EVAL
   Group:        Filesystem
   License:      GPL
  -Version:      0.41.92
  -Release:      20080921
  +Version:      0.41.93
  +Release:      20080922
   
   #   list of sources
   Source0:      http://www.csync.org/files/csync-%{version}.tar.gz
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to