OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael van Elst
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 11-Jun-2003 10:24:55
Branch: HEAD Handle: 2003061109245302
Added files:
openpkg-src/ccrypt ccrypt.patch
Modified files:
openpkg-src/ccrypt ccrypt.spec
openpkg-web news.txt
Log:
fix C code for ANSI compiler
Summary:
Revision Changes Path
1.1 +86 -0 openpkg-src/ccrypt/ccrypt.patch
1.12 +3 -1 openpkg-src/ccrypt/ccrypt.spec
1.4815 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ccrypt/ccrypt.patch
============================================================================
$ cvs diff -u -r0 -r1.1 ccrypt.patch
--- /dev/null 2003-06-11 10:24:55.000000000 +0200
+++ ccrypt.patch 2003-06-11 10:24:55.000000000 +0200
@@ -0,0 +1,86 @@
+--- src/main.c.dist 2003-06-11 10:19:48.000000000 +0200
++++ src/main.c 2003-06-11 10:22:47.000000000 +0200
+@@ -34,45 +34,45 @@
+ /* print usage information */
+
+ void usage(FILE *fout) {
+- fprintf(fout, "\
+-"NAME" "VERSION". Secure encryption and decryption of files and streams.
++ fprintf(fout,
++""NAME" "VERSION". Secure encryption and decryption of files and streams.\n"
+
+-Usage: "NAME" [mode] [options] [file...]
+- "NAMEENCRYPT" [options] [file...]
+- "NAMEDECRYPT" [options] [file...]
+- "NAMECAT" [options] file...
+-
+-Modes:
+- -e, --encrypt encrypt
+- -d, --decrypt decrypt
+- -c, --cat cat; decrypt files to stdout
+- -x, --keychange change key
+- -u, --unixcrypt decrypt old unix crypt files
+-
+-Options:
+- -h, --help print this help message and exit
+- -V, --version print version info and exit
+- -L, --license print license info and exit
+- -v, --verbose print progress information to stderr
+- -q, --quiet run quietly; suppress warnings
+- -f, --force overwrite existing files without asking
+- -m, --mismatch allow decryption with non-matching key
+- -E, --envvar var read keyword from environment variable (unsafe)
+- -K, --key key give keyword on command line (unsafe)
+- -k, --keyfile file read keyword(s) as first line(s) from file
+- -P, --prompt prompt use this prompt instead of default
+- -S, --suffix .suf use suffix .suf instead of default "SUF"
+- -s, --strictsuffix refuse to encrypt files which already have suffix
+- -F, --envvar2 var as -E for second keyword (for keychange mode)
+- -H, --key2 key as -H for second keyword (for keychange mode)
+- -Q, --prompt2 prompt as -P for second keyword (for keychange mode)
+- -t, --timid prompt twice for destructive encryption keys
+- -r, --recursive recurse through directories
+- -R, --rec-symlinks follow symbolic links as subdirectories
+- -l, --symlinks dereference symbolic links
+- -T, --tmpfiles use temporary files instead of overwriting (unsafe)
+- -- end of options, filenames follow
+-");
++"Usage: "NAME" [mode] [options] [file...]\n"
++" "NAMEENCRYPT" [options] [file...]\n"
++" "NAMEDECRYPT" [options] [file...]\n"
++" "NAMECAT" [options] file...\n"
++
++"Modes:\n"
++" -e, --encrypt encrypt\n"
++" -d, --decrypt decrypt\n"
++" -c, --cat cat; decrypt files to stdout\n"
++" -x, --keychange change key\n"
++" -u, --unixcrypt decrypt old unix crypt files\n"
++"\n"
++"Options:\n"
++" -h, --help print this help message and exit\n"
++" -V, --version print version info and exit\n"
++" -L, --license print license info and exit\n"
++" -v, --verbose print progress information to stderr\n"
++" -q, --quiet run quietly; suppress warnings\n"
++" -f, --force overwrite existing files without asking\n"
++" -m, --mismatch allow decryption with non-matching key\n"
++" -E, --envvar var read keyword from environment variable (unsafe)\n"
++" -K, --key key give keyword on command line (unsafe)\n"
++" -k, --keyfile file read keyword(s) as first line(s) from file\n"
++" -P, --prompt prompt use this prompt instead of default\n"
++" -S, --suffix .suf use suffix .suf instead of default "SUF"\n"
++" -s, --strictsuffix refuse to encrypt files which already have suffix\n"
++" -F, --envvar2 var as -E for second keyword (for keychange mode)\n"
++" -H, --key2 key as -H for second keyword (for keychange mode)\n"
++" -Q, --prompt2 prompt as -P for second keyword (for keychange mode)\n"
++" -t, --timid prompt twice for destructive encryption keys\n"
++" -r, --recursive recurse through directories\n"
++" -R, --rec-symlinks follow symbolic links as subdirectories\n"
++" -l, --symlinks dereference symbolic links\n"
++" -T, --tmpfiles use temporary files instead of overwriting (unsafe)\n"
++" -- end of options, filenames follow\n"
++);
+ }
+
+ /* print version and copyright information */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/ccrypt/ccrypt.spec
============================================================================
$ cvs diff -u -r1.11 -r1.12 ccrypt.spec
--- openpkg-src/ccrypt/ccrypt.spec 30 Mar 2003 16:40:06 -0000 1.11
+++ openpkg-src/ccrypt/ccrypt.spec 11 Jun 2003 08:24:55 -0000 1.12
@@ -33,10 +33,11 @@
Group: Converter
License: GPL
Version: 1.4
-Release: 20030330
+Release: 20030611
# list of sources
Source0:
http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/ccrypt-%{version}.tar.gz
+Patch0: ccrypt.patch
# build information
Prefix: %{l_prefix}
@@ -56,6 +57,7 @@
%prep
%setup -q
+ %patch0 -p0
%build
CC="%{l_cc}" \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.4814 -r1.4815 news.txt
--- openpkg-web/news.txt 11 Jun 2003 07:30:18 -0000 1.4814
+++ openpkg-web/news.txt 11 Jun 2003 08:24:53 -0000 1.4815
@@ -1,3 +1,4 @@
+11-Jun-2003: Upgraded package: P<ccrypt-1.4-20030611>
11-Jun-2003: Upgraded package: P<ragel-1.5.0-20030611>
11-Jun-2003: Upgraded package: P<perl-ssl-20030611-20030611>
11-Jun-2003: Upgraded package: P<texinfo-4.6-20030611>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]