Changeset 9a1c6a74


Ignore:
Timestamp:
06/17/2012 10:46:50 AM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3a35e94
Parents:
23b0f4fc
Message:

Run make-cert.pl with perl to avoid a Bad Interpreter error message if
/usr/bin/perl does not exist

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10336 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/cacerts.xml

    r23b0f4fc r9a1c6a74  
    9999my $incert = 0;
    100100
    101 while ( &lt;IN&gt; ) 
     101while ( &lt;IN&gt; )
    102102{
    103     if ( /^CKA_VALUE MULTILINE_OCTAL/ ) 
     103    if ( /^CKA_VALUE MULTILINE_OCTAL/ )
    104104    {
    105105        $incert = 1;
    106106        open( OUT, "|openssl x509 -text -inform DER -fingerprint" )
    107107            || die "could not pipe to openssl x509";
    108     } 
    109    
    110     elsif ( /^END/ &amp;&amp; $incert ) 
     108    }
     109
     110    elsif ( /^END/ &amp;&amp; $incert )
    111111    {
    112112        close( OUT );
    113113        $incert = 0;
    114114        print "\n\n";
    115     } 
    116    
    117     elsif ($incert) 
     115    }
     116
     117    elsif ($incert)
    118118    {
    119119        my @bs = split( /\\/ );
    120         foreach my $b (@bs) 
     120        foreach my $b (@bs)
    121121        {
    122122            chomp $b;
     
    167167TRUSTATTRIBUTES="CKA_TRUST_SERVER_AUTH"
    168168BUNDLE="BLFS-ca-bundle-${VERSION}.crt"
    169 CONVERTSCRIPT="make-cert.pl"
     169CONVERTSCRIPT="/bin/make-cert.pl"
    170170SSLDIR="/etc/ssl"
    171171
     
    203203    # Throw a meaningful error and remove the file
    204204    cp "${tempfile}" tempfile.cer
    205     "${CONVERTSCRIPT}" > tempfile.crt
     205    perl ${CONVERTSCRIPT} > tempfile.crt
    206206    keyhash=$(openssl x509 -noout -in tempfile.crt -hash)
    207207    echo "Certificate ${keyhash} is not trusted!  Removing..."
     
    214214
    215215  cp "${tempfile}" tempfile.cer
    216   "${CONVERTSCRIPT}" > tempfile.crt
     216  perl ${CONVERTSCRIPT} > tempfile.crt
    217217  keyhash=$(openssl x509 -noout -in tempfile.crt -hash)
    218218  mv tempfile.crt "certs/${keyhash}.pem"
     
    362362        <term><command>make-cert.pl</command></term>
    363363        <listitem>
    364           <para>is a utility <application>perl</application> script that 
     364          <para>is a utility <application>perl</application> script that
    365365          converts a single binary certificate (.der format) into .pem format.</para>
    366366          <indexterm zone="cacerts make-cert">
     
    373373        <term><command>remove-expired-certs.sh</command></term>
    374374        <listitem>
    375           <para>is a utility <application>perl</application> script that 
     375          <para>is a utility <application>perl</application> script that
    376376          removes expired certificates from a directory.  The default
    377377          directory is <filename class='directory'>/etc/ssl/certs</filename>.</para>
  • xsoft/office/libreoffice.xml

    r23b0f4fc r9a1c6a74  
    1414]>
    1515
    16 <sect1 id="libreoffice" xreflabel="libreoffice-&libreoffice-version;">
     16<sect1 id="libreoffice" xreflabel="libreoffice-&libreoffice-version;.2">
    1717  <?dbhtml filename="libreoffice.html"?>
    1818
     
    268268
    269269    <para>
    270       <option>--disable-odk</option>: This option disables installing the 
     270      <option>--disable-odk</option>: This option disables installing the
    271271      office development kit. Remove this option if you want to develop a
    272272      <application>Libre Office</application> based application.
     
    274274
    275275    <para>
    276       <option>--with-system- ...</option>: These options prevent 
    277       <application>Libre Office</application> trying to compile its own 
     276      <option>--with-system- ...</option>: These options prevent
     277      <application>Libre Office</application> trying to compile its own
    278278      versions of these dependencies. If you've not installed
    279279      some of the dependencies, remove the corresponding option.
     
    282282    <para>
    283283      <option>--with-num-cpus=$(getconf _NPROCESSORS_ONLN)</option>: This option
    284       tells <application>Libre Office</application> to use all your CPUs to compile 
     284      tells <application>Libre Office</application> to use all your CPUs to compile
    285285      in parallel and speed up the build.
    286286    </para>
     
    340340      <command>gtk-update-icon-cache /usr/share/icons/hicolor</command>: This
    341341      command rebuilds
    342       <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> to include 
     342      <filename>/usr/share/icons/hicolor/icon-theme.cache</filename> to include
    343343      the new icons.
    344344    </para>
Note: See TracChangeset for help on using the changeset viewer.