Index of /distribution/tests/fetch-crl3

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]fetch-crl-3.0.18-0.rc2016090901.noarch.rpm2016-09-09 17:38 48K 
[   ]fetch-crl-3.0.18-rc2016090901.tar.gz2016-09-09 17:38 46K 
[DIR]repodata/2016-10-05 08:50 -  


fetch-crl3 version 3.0.18 RC2016090901
--------------------------------------

This release adds a "postexec" script option to fetch-crl, which can
be used in two ways (both at the same time):

A global config option (in the general section):

# ---------------------------------------------------------------------------
# To run a script after the completion of every fetch-crl run, set this
# path to point to an executable. The named program will be invoked
# with the following arguments
#   "v1" "global" <infodir-path> <cadir-path> <output-path>
# - return code of the program will influence return status of fetch-crl
# - this must be a program path - no arguments are allowed here. Use wrapping
#   in a script if you must pass your own arguments as well
#
# postexec = <path>

and a per-trust-anchor option, which will run for each successfully
installed CRL for each trust anchor - potentially all in parallel:

# ---------------------------------------------------------------------------
# To run a script after the successful completion of each CRL retrieval set
# path to point to an executable. The named program will be invoked
# with the following arguments
#   "v1" "ta" <ta-alias> <infofilename> <cadir-path> <output-path>
# - return code of the program will influence return status of fetch-crl
# - program may run IN PARALLEL, so should be written to permit concurrent
#   execution
# - this must be a program path - no arguments are allowed here. Use wrapping
#   in a script if you must pass your own arguments as well
#
# postexec = <path>
#


The first two arguments allow for future changes in the API (the three
dynamic arguments are there only if the first argument is "v1"), and it 
allows the same script ot be used both globally and per-trustanchor since
you can identify how you're invoked by looking at ARGV[2] ("global" or "ta")

Enjoy.