
1 Overview

  The Poor Man's Compile Farm (PMCF) is a way for people to donate CPU
  cycles to build and test various software tools.  All of this is
  done through WebJob.  If you have webjob-1.7.0 on a UNIX or Windows
  (in the near future) platform compiled with all tools (including DSV
  and SSL support), you can participate.  Currently, the goal is to
  periodically compile FTimes and WebJob code on as many different
  platforms as possible.  If you'd like to help, follow the
  instructions in Section 2.

1.1 Revision

  $Id: README.PMCF,v 1.2 2007/09/09 02:35:03 mavrik Exp $

1.2 Table of Contents

  Section 1 .................... Overview
  Section 1.1 .................. Revision
  Section 1.2 .................. Table of Contents
  Section 2 .................... Instructions

2 Instructions

  If you don't already have WebJob 1.7.0 or higher, download it from
  SourceForge:

    http://sourceforge.net/project/showfiles.php?group_id=40788

  Build and install WebJob as follows (Note: See README.INSTALL for
  help/gotchas):

    tar -zxf webjob-1.7.0.tgz
    cd webjob-1.7.0
    ./configure --with-all-tools
    make
    make install

  Note: WebJob installs in /usr/local/webjob by default.

  Note: You may also be required to upgrade Perl or install some
  modules.  If you have 5.8.X or higher, you should be good except for
  DB_File and MLDBM, which would need to be installed separately.

  Create a dsv directory and put following the certificate in it:

  mkdir /usr/local/webjob/dsv
  sed -n '/^-----BEGIN CERTIFICATE-----$/,/^-----END CERTIFICATE-----$/p;' README.PMCF > /usr/local/webjob/dsv/builder-crt.pem

-----BEGIN CERTIFICATE-----
MIIC2DCCAkGgAwIBAgIJAKE/ptE32DARMA0GCSqGSIb3DQEBBQUAMFIxGzAZBgNV
BAoTElRoZSBXZWJKb2IgUHJvamVjdDEcMBoGA1UECxMTUmVsZWFzZSBFbmdpbmVl
cmluZzEVMBMGA1UEAxMMQnVpbGQgTW9ua2V5MB4XDTA3MDExMjA0MzA1MloXDTEy
MDExMTA0MzA1MlowUjEbMBkGA1UEChMSVGhlIFdlYkpvYiBQcm9qZWN0MRwwGgYD
VQQLExNSZWxlYXNlIEVuZ2luZWVyaW5nMRUwEwYDVQQDEwxCdWlsZCBNb25rZXkw
gZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALj8kEVC1DvU6l5+54mmEXAHjWAl
t2LYwh4tsBWJ4Qp0J5qbi/YGsD4HUJd77iqsBPIFAQ6i6xfXn70/W2kZLQbNv195
bjMnOrMIx+OHBH5uObV723VJlSwSAL1OC1zR5Ehs1lVpPDJtqKbHgTH3CDGgIOC1
qdSnaBHjA5WnrxpJAgMBAAGjgbUwgbIwHQYDVR0OBBYEFIIQNhHGNB2Q1biTuc1T
bZRREEJsMIGCBgNVHSMEezB5gBSCEDYRxjQdkNW4k7nNU22UURBCbKFWpFQwUjEb
MBkGA1UEChMSVGhlIFdlYkpvYiBQcm9qZWN0MRwwGgYDVQQLExNSZWxlYXNlIEVu
Z2luZWVyaW5nMRUwEwYDVQQDEwxCdWlsZCBNb25rZXmCCQChP6bRN9gwETAMBgNV
HRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAB4zYWjJB8uXHdXyc9+h35FOwArW
X6kygLBIcEQNp5NshFSHQ+6ZlNaOhzziFWSv9Vn35VP3h+DLsaFolN/ye2xQCKel
Y4e54P3K7oO0JoOX213y40TPPqoZPCMj8yRf/1h7zy87+HGMEDgEkntMvlsw5AYA
lAtB/vK+mCZYACTB
-----END CERTIFICATE-----

  Download the current builder script.  The username/password required
  to access the site is builder/builder.

    http://webjob.sourceforge.net/cgi-bin/pmcf-builder.cgi/pmcf-builder

  At this point, you should be able to run "Today's Special", which is
  posted here:

    http://webjob.sourceforge.net/cgi-bin/pmcf-builder.cgi

  To build the special, execute the following command (make sure your
  pmcf-builder script is up to date):

    sh pmcf-builder -s -d /usr/local/webjob/dsv -f <special> -T

  If all goes well, you will see no output and a new entry will show
  up here (reports are generated periodically):

    http://webjob.sourceforge.net/cgi-bin/pmcf-builder.cgi

  If things don't go well, look at the env,err,out link to see what
  went wrong.  You can also run pmcf-builder with the '-k' option to
  keep a copy of the build tree on your local system.

