Quellcode durchsuchen

upgrading package: ccrypt 1.8 -> 1.9

Ralf S. Engelschall vor 16 Jahren
Ursprung
Commit
33b8c7a8de
2 geänderte Dateien mit 2 neuen und 33 gelöschten Zeilen
  1. 0 29
      ccrypt/ccrypt.patch
  2. 2 4
      ccrypt/ccrypt.spec

+ 0 - 29
ccrypt/ccrypt.patch

@@ -1,29 +0,0 @@
-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 */

+ 2 - 4
ccrypt/ccrypt.spec

@@ -31,12 +31,11 @@ Distribution: OpenPKG Community
 Class:        PLUS
 Group:        Cryptography
 License:      GPL
-Version:      1.8
-Release:      20090607
+Version:      1.9
+Release:      20090829
 
 #   list of sources
 Source0:      http://www.mathstat.dal.ca/~selinger/ccrypt/download/ccrypt-%{version}.tar.gz
-Patch0:       ccrypt.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -63,7 +62,6 @@ AutoReqProv:  no
 
 %prep
     %setup -q
-    %patch -p0
 
 %build
     CC="%{l_cc}" \