3 | | trac is in ports now, so simply install the package shipped with the OS |
4 | | as of OpenBSD 4.0: |
5 | | |
6 | | {{{ |
7 | | $ export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/ |
8 | | $ sudo pkg_add trac |
| 3 | trac is in ports now, which helps but in 4.1 and 4.2 require the installation of all X Server base packages. trac's build in ports is dependent up on expat. expat is distributed through a commendation of X Server packages. |
| 4 | |
| 5 | If you did not install those packages, download them from your favorite repository and extract them at the root level while preserving permissions. The X Server base packages are: xbase4n.tgz, xetc4n.tgz, xshare4n.tgz, xfont4n.tgz, and xserv4n.tgz. Where n is the minor version number. You should be able to build trac without installing the xfont package. When installing, do not forget to preserve file permissions. These are not package files installably via add_pkg. Use the following commands to install the X Server base packages: |
| 6 | |
| 7 | {{{ |
| 8 | $ cd / |
| 9 | $ tar xzvphf <package> |
| 10 | }}} |
| 11 | |
| 12 | Once the base system is put together, simply build the package within ports: |
| 13 | |
| 14 | {{{ |
| 15 | $ cd /usr/ports/www/trac |
| 16 | $ make install |