Install Guide
- Dependencies
- subversion
- GNU core utilities (sysutils/coreutils on FreeBSD)
- bash
- sudo
- wget
- Get the source
svn co https://svn.timesinks.net/confman/branches/confman-1.9 confman
- Create ./configure
autoreconf -i
- 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
- Some sensible options for FreeBSD:
- Run gmake.
gmake
- Install the files. Make sure that you have appropriate permissions to do so. Normally you need to do this step as root.
gmake install
- 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.
- 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.
- Have confman configure your repository:
confadmin setup
