~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to apps/CA.pl.in

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515160058-pn9osix02x46r0iy
Tags: 0.9.8b-2
* Don't call gcc with -mcpu on i386, we already use -march, so no need for
  -mtune either.
* Always make all directories when building something:
  - The engines directory didn't get build for the static directory, so
    where missing in libcrypo.a
  - The apps directory didn't always get build, so we didn't have an openssl
    and a small part of the regression tests failed.
* Make the package fail to build if the regression tests fail.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
                mkdir "${CATOP}/private", $DIRMODE;
96
96
                open OUT, ">${CATOP}/index.txt";
97
97
                close OUT;
 
98
                open OUT, ">${CATOP}/crlnumber";
 
99
                print OUT "01\n";
 
100
                close OUT;
98
101
            }
99
102
            if ( ! -f "${CATOP}/private/$CAKEY" ) {
100
103
                print "CA certificate filename (or enter to create)\n";
114
117
                    system ("$CA -create_serial " .
115
118
                        "-out ${CATOP}/$CACERT $CADAYS -batch " . 
116
119
                        "-keyfile ${CATOP}/private/$CAKEY -selfsign " .
 
120
                        "-extensions v3_ca " .
117
121
                        "-infiles ${CATOP}/$CAREQ ");
118
122
                    $RET=$?;
119
123
                }