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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   07-Jun-2009 09:51:31
  Branch: HEAD                             Handle: 2009060708513000

  Added files:
    openpkg-src/ccrypt      ccrypt.patch
  Modified files:
    openpkg-src/ccrypt      ccrypt.spec

  Log:
    upgrading package: ccrypt 1.7 -> 1.8

  Summary:
    Revision    Changes     Path
    1.3         +29 -0      openpkg-src/ccrypt/ccrypt.patch
    1.30        +4  -2      openpkg-src/ccrypt/ccrypt.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ccrypt/ccrypt.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.3 ccrypt.patch
  --- /dev/null 2009-06-07 09:51:29 +0200
  +++ ccrypt.patch      2009-06-07 09:51:31 +0200
  @@ -0,0 +1,29 @@
  +Index: src/main.c
  +--- src/main.c.orig  2009-06-05 16:58:59 +0200
  ++++ src/main.c       2009-06-07 09:46:03 +0200
  +@@ -520,8 +520,10 @@
  +   }
  + 
  +   /* reset stdin/stdout to binary mode under Windows */
  ++#if 0
  +   setmode(0,O_BINARY);
  +   setmode(1,O_BINARY);
  ++#endif
  + 
  +   /* if --keyref given, check encryption keys against named file */
  +   if (cmd.keyref && (cmd.mode == ENCRYPT || cmd.mode == KEYCHANGE)) {
  +Index: src/platform.h
  +--- src/platform.h.orig      2009-06-05 16:39:49 +0200
  ++++ src/platform.h   2009-06-07 09:46:32 +0200
  +@@ -78,9 +78,11 @@
  + 
  + #else /* on a POSIX system, map these to no-ops */
  + 
  ++#if 0
  + static inline void setmode(int fd, int mode) {
  +   return;
  + }
  ++#endif
  + #ifndef O_BINARY
  + #define O_BINARY 0
  + #endif /* O_BINARY */
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ccrypt/ccrypt.spec
  ============================================================================
  $ cvs diff -u -r1.29 -r1.30 ccrypt.spec
  --- openpkg-src/ccrypt/ccrypt.spec    18 Apr 2009 13:09:12 -0000      1.29
  +++ openpkg-src/ccrypt/ccrypt.spec    7 Jun 2009 07:51:30 -0000       1.30
  @@ -31,11 +31,12 @@
   Class:        PLUS
   Group:        Cryptography
   License:      GPL
  -Version:      1.7
  -Release:      20080101
  +Version:      1.8
  +Release:      20090607
   
   #   list of sources
   Source0:      
http://www.mathstat.dal.ca/~selinger/ccrypt/download/ccrypt-%{version}.tar.gz
  +Patch0:       ccrypt.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -62,6 +63,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to