tree: 59246c12632bdae73ef295134fb3f346bdbe3801 [path history] [tgz]
  1. .gitignore
  3. ant-tasks/
  4. config.sample
  5. config.secret.sample
  7. sign
  8. sign-lib.shs
  10. tests/


sign: entry point. Take a jar or a zip, an output dir, and a directive about how to queue the process (mail, nomail, now) It builds a queue line (see below for the format) If “now”, netcat to SIGN_SERVER_HOSTNAME:SIGN_SERVER_PORT, otherwise write the line to QUEUE cronjob and xinetd service

  • if started from xinetd, read stdin for the queueline, and process it
  • if started from cron, copy the QUEUE to a new queue (filename + PPID of the current run), it iterates on all lines on this new queue file and process them

processing a queue line is about spliting the parameter, and calling the jar processor on it. The jar processor will itself call a sign script.

Java version synchronization is done through the usage of jar_processor_signer_javaX symlinks, and all path are configured in “config” file.

Format of the Queue file


queueoption= mail|nomail|now skiprepack=empty or skiprepack java_version=java[0-9]+