[CVS] OpenPKG: openpkg-src/csp/ csp.patch csp.spec
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-Apr-2006 08:38:37 Branch: HEAD Handle: 2006042207383700 Modified files: openpkg-src/csp csp.patch csp.spec Log: upgrading package: csp 0.32 - 0.33 Summary: RevisionChanges Path 1.10+5 -16 openpkg-src/csp/csp.patch 1.11+2 -2 openpkg-src/csp/csp.spec patch -p0 '@@ .' Index: openpkg-src/csp/csp.patch $ cvs diff -u -r1.9 -r1.10 csp.patch --- openpkg-src/csp/csp.patch 1 Dec 2005 19:18:47 - 1.9 +++ openpkg-src/csp/csp.patch 22 Apr 2006 06:38:37 - 1.10 @@ -1,17 +1,6 @@ -Index: CSP.pm CSP.pm.orig 2005-09-22 18:02:58 +0200 -+++ CSP.pm 2005-12-01 20:17:55 +0100 -@@ -151,7 +151,6 @@ - my $expr = $1; - - $expr =~ s/%{([A-Za-z0-9_\.]+)}/\$vars-{$1}/g; --warn EXPR: \.$expr.\\n; - my $result = eval $expr; - $self-die($@) if $@; - $ctx-push($result); Index: ca/etc/extensions.conf ca/etc/extensions.conf.orig 2005-09-22 18:12:05 +0200 -+++ ca/etc/extensions.conf 2005-12-01 20:17:41 +0100 +--- ca/etc/extensions.conf.orig 2006-04-21 09:15:26 +0200 ca/etc/extensions.conf 2006-04-22 08:35:39 +0200 @@ -75,11 +75,10 @@ [certpolicy] @@ -26,8 +15,8 @@ +explicitText= Limited Liability, see http://ca.example.com/CP; Index: csp csp.orig 2005-06-02 18:40:20 +0200 -+++ csp 2005-12-01 20:17:41 +0100 +--- csp.orig 2006-04-21 09:18:10 +0200 csp 2006-04-22 08:35:39 +0200 @@ -1,9 +1,14 @@ -#!/usr/bin/perl [EMAIL PROTECTED]@/bin/perl @@ -45,7 +34,7 @@ sub list_csp { -@@ -175,6 +180,9 @@ +@@ -176,6 +181,9 @@ my $home = $ENV{CSPHOME} || 'ca'; @@ . patch -p0 '@@ .' Index: openpkg-src/csp/csp.spec $ cvs diff -u -r1.10 -r1.11 csp.spec --- openpkg-src/csp/csp.spec 1 Jan 2006 13:12:47 - 1.10 +++ openpkg-src/csp/csp.spec 22 Apr 2006 06:38:37 - 1.11 @@ -32,8 +32,8 @@ Class:PLUS Group:Cryptography License: GPL -Version: 0.32 -Release: 20051201 +Version: 0.33 +Release: 20060422 # list of sources Source0: ftp://ftp.it.su.se/pub/users/leifj/CSP-%{version}.tar.gz @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org
[CVS] OpenPKG: openpkg-src/csp/ csp.patch csp.spec
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: 08-Jul-2005 17:27:11 Branch: HEAD Handle: 2005070816271100 Modified files: openpkg-src/csp csp.patch csp.spec Log: fix POD syntax Summary: RevisionChanges Path 1.5 +48 -2 openpkg-src/csp/csp.patch 1.5 +1 -1 openpkg-src/csp/csp.spec patch -p0 '@@ .' Index: openpkg-src/csp/csp.patch $ cvs diff -u -r1.4 -r1.5 csp.patch --- openpkg-src/csp/csp.patch 7 May 2005 09:13:13 - 1.4 +++ openpkg-src/csp/csp.patch 8 Jul 2005 15:27:11 - 1.5 @@ -1,6 +1,52 @@ +Index: CSP.pm +--- CSP.pm.orig 2002-09-24 20:33:20 +0200 CSP.pm 2005-07-08 17:26:20 +0200 +@@ -1523,12 +1523,12 @@ + CSP is designed to easily handle multiple distinct Certificate Authorities. + Hence the name which stands for Certificate Service Provider. + +-= item o ++=item o + + CSP can be used to produce a web site (certificate repository, CRLs etc etc) + without the need for cgi-scripts. + +-= item o ++=item o + + CSP tries to be as PKIX-compliant as OpenSSL allows. + +@@ -1551,22 +1551,22 @@ + writer or some other means for making backups of the certificate directory. + Day to day operations include the following tasks. + +-= over 4 ++=over 4 + +-= item 1 ++=item 1 + + Issuing certificates based on pkcs10 or out-of-band (non pkcs10) requests. + +-= item 2 ++=item 2 + + Backing up the csp main directory (see below) to read-only medium. + +-= item 3 ++=item 3 + + Producing the public web site and exporting it (typically using floppy or + zip-drive) to your web server. + +-= back ++=back + + =head1 CONFIGURATION + Index: ca/etc/extensions.conf --- ca/etc/extensions.conf.orig 2001-05-28 13:04:20 +0200 -+++ ca/etc/extensions.conf 2005-05-07 09:35:30 +0200 ca/etc/extensions.conf 2005-07-08 17:25:42 +0200 @@ -67,11 +67,10 @@ [certpolicy] @@ -16,7 +62,7 @@ Index: csp --- csp.orig 2001-05-28 13:32:14 +0200 -+++ csp 2005-05-07 09:36:47 +0200 csp 2005-07-08 17:25:42 +0200 @@ -1,9 +1,14 @@ -#!/usr/bin/perl [EMAIL PROTECTED]@/bin/perl @@ . patch -p0 '@@ .' Index: openpkg-src/csp/csp.spec $ cvs diff -u -r1.4 -r1.5 csp.spec --- openpkg-src/csp/csp.spec 15 Jun 2005 15:13:27 - 1.4 +++ openpkg-src/csp/csp.spec 8 Jul 2005 15:27:11 - 1.5 @@ -33,7 +33,7 @@ Group:Cryptography License: GPL Version: 0.26 -Release: 20050615 +Release: 20050708 # list of sources Source0: ftp://ftp.it.su.se/pub/users/leifj/CSP-%{version}.tar.gz @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org
[CVS] OpenPKG: openpkg-src/csp/ csp.patch csp.spec
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: 07-May-2005 11:13:13 Branch: HEAD Handle: 2005050710131300 Modified files: openpkg-src/csp csp.patch csp.spec Log: be even more smart and detect if the CSPHOME is the CWD Summary: RevisionChanges Path 1.4 +12 -7 openpkg-src/csp/csp.patch 1.3 +1 -1 openpkg-src/csp/csp.spec patch -p0 '@@ .' Index: openpkg-src/csp/csp.patch $ cvs diff -u -r1.3 -r1.4 csp.patch --- openpkg-src/csp/csp.patch 6 May 2005 19:54:11 - 1.3 +++ openpkg-src/csp/csp.patch 7 May 2005 09:13:13 - 1.4 @@ -1,6 +1,6 @@ Index: ca/etc/extensions.conf --- ca/etc/extensions.conf.orig 2001-05-28 13:04:20 +0200 -+++ ca/etc/extensions.conf 2005-05-02 19:42:39 +0200 ca/etc/extensions.conf 2005-05-07 09:35:30 +0200 @@ -67,11 +67,10 @@ [certpolicy] @@ -16,20 +16,25 @@ Index: csp --- csp.orig 2001-05-28 13:32:14 +0200 -+++ csp 2005-05-02 19:41:28 +0200 -@@ -1,6 +1,9 @@ csp 2005-05-07 09:36:47 +0200 +@@ -1,9 +1,14 @@ -#!/usr/bin/perl [EMAIL PROTECTED]@/bin/perl -use lib './blib/lib'; -+$ENV{OPENSSL} = '@l_prefix@/bin/openssl' if (not defined($ENV{OPENSSL})); -+$ENV{CSPHOME} = '@l_prefix@/var/csp/ca' if (not defined($ENV{CSPHOME})); -+ +use lib '@l_prefix@/libexec/csp'; use CSP; use Getopt::Long; -@@ -120,6 +123,9 @@ ++use Cwd; ++ ++$ENV{CSPHOME} = getcwd() if (not defined($ENV{CSPHOME}) and -d ./csp); ++$ENV{CSPHOME} = '@l_prefix@/var/csp/ca' if (not defined($ENV{CSPHOME})); ++$ENV{OPENSSL} = '@l_prefix@/bin/openssl' if (not defined($ENV{OPENSSL})); + + sub list_csp + { +@@ -120,6 +125,9 @@ my $home = $ENV{CSPHOME} || 'ca'; @@ . patch -p0 '@@ .' Index: openpkg-src/csp/csp.spec $ cvs diff -u -r1.2 -r1.3 csp.spec --- openpkg-src/csp/csp.spec 6 May 2005 19:54:11 - 1.2 +++ openpkg-src/csp/csp.spec 7 May 2005 09:13:13 - 1.3 @@ -33,7 +33,7 @@ Group:Cryptography License: GPL Version: 0.26 -Release: 20050506 +Release: 20050507 # list of sources Source0: ftp://ftp.it.su.se/pub/users/leifj/CSP-%{version}.tar.gz @@ . __ The OpenPKG Projectwww.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org
[CVS] OpenPKG: openpkg-src/csp/ csp.patch csp.spec
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: 02-May-2005 19:37:19 Branch: HEAD Handle: 2005050218371800 Added files: openpkg-src/csp csp.patch csp.spec Log: new package: csp 0.26 (Certificate Service Provider) Summary: RevisionChanges Path 1.1 +71 -0 openpkg-src/csp/csp.patch 1.1 +99 -0 openpkg-src/csp/csp.spec patch -p0 '@@ .' Index: openpkg-src/csp/csp.patch $ cvs diff -u -r0 -r1.1 csp.patch --- /dev/null 2005-05-02 19:34:26 +0200 +++ csp.patch 2005-05-02 19:37:18 +0200 @@ -0,0 +1,71 @@ +Index: CSP.pm +--- CSP.pm.orig 2002-09-24 20:33:20 +0200 CSP.pm 2005-05-02 18:58:32 +0200 +@@ -1523,12 +1523,12 @@ + CSP is designed to easily handle multiple distinct Certificate Authorities. + Hence the name which stands for Certificate Service Provider. + +-= item o ++=item o + + CSP can be used to produce a web site (certificate repository, CRLs etc etc) + without the need for cgi-scripts. + +-= item o ++=item o + + CSP tries to be as PKIX-compliant as OpenSSL allows. + +@@ -1551,22 +1551,22 @@ + writer or some other means for making backups of the certificate directory. + Day to day operations include the following tasks. + +-= over 4 ++=over 4 + +-= item 1 ++=item 1 + + Issuing certificates based on pkcs10 or out-of-band (non pkcs10) requests. + +-= item 2 ++=item 2 + + Backing up the csp main directory (see below) to read-only medium. + +-= item 3 ++=item 3 + + Producing the public web site and exporting it (typically using floppy or + zip-drive) to your web server. + +-= back ++=back + + =head1 CONFIGURATION + +Index: csp +--- csp.orig 2001-05-28 13:32:14 +0200 csp 2005-05-02 19:18:12 +0200 +@@ -1,6 +1,9 @@ +-#!/usr/bin/perl [EMAIL PROTECTED]@/bin/perl + +-use lib './blib/lib'; ++$ENV{OPENSSL} = '@l_prefix@/bin/openssl' if (not defined($ENV{OPENSSL})); ++$ENV{CSPHOME} = '@l_prefix@/var/csp/ca' if (not defined($ENV{CSPHOME})); ++ ++use lib '@l_prefix@/libexec/csp'; + + use CSP; + use Getopt::Long; +@@ -120,6 +123,9 @@ + + my $home = $ENV{CSPHOME} || 'ca'; + ++die Panic: Cannot write to \$CSPHOME \$home\ ++ unless -w $home; ++ + mkdir $home/csp,00755 unless -d $home/csp; + + $name eq '--list' and @@ . patch -p0 '@@ .' Index: openpkg-src/csp/csp.spec $ cvs diff -u -r0 -r1.1 csp.spec --- /dev/null 2005-05-02 19:34:26 +0200 +++ csp.spec 2005-05-02 19:37:19 +0200 @@ -0,0 +1,99 @@ +## +## csp.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2000-2005 OpenPKG Foundation e.V. http://openpkg.net/ +## Copyright (c) 2000-2005 Ralf S. Engelschall http://engelschall.com/ +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: csp +Summary: Certificate Service Provider +URL: http://devel.it.su.se/projects/CSP/ +Vendor: Leif Johansson +Packager: OpenPKG +Distribution: OpenPKG +Class:EVAL +Group:Cryptography +License: GPL +Version: 0.26 +Release: 20050502 + +# list of sources +Source0: ftp://ftp.it.su.se/pub/users/leifj/CSP-%{version}.tar.gz +Source1: http://devel.it.su.se/projects/CSP/cspguide.pdf +Patch0: csp.patch + +# build information