Install Guide

  1. Dependencies
    • subversion
    • GNU core utilities (sysutils/coreutils on FreeBSD)
    • bash
    • sudo
    • wget
  2. Get the source
    svn co https://svn.timesinks.net/confman/branches/confman-1.9 confman
    
  3. Create ./configure
    autoreconf -i
    
  4. Run the configure script.
    • Some sensible options for FreeBSD:
      ./configure --localstatedir=/var --mandir=/usr/local/man
      
    • Some sensible options for Linux:
      ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
      
  5. Run gmake.
    gmake
    
  6. Install the files. Make sure that you have appropriate permissions to do so. Normally you need to do this step as root.
    gmake install
    
  7. Create a subversion repository. You may already have one that you wish to use; make sure confman starts with an empty folder and set REPO_PATH to that folder. Otherwise:
    svnadmin create /somewhere/repo/confman
    
    You'll want to set the permissions so that your confman users can read and write the repository as themselves.
  1. Configure your installation
    [ -f /usr/local/etc/confman.conf ] || sudo cp /usr/local/etc/confman.conf.sample /usr/local/etc/confman.conf
    vi /usr/local/etc/confman.conf
    
    • The conf file might live in a different place on your system.
    • Define REPO_PROTOCOL, REPO_HOSTNAME, and REPO_PATH.
  2. Have confman configure your repository:
    confadmin setup