Index: trunk/tools/ts-specs/README |
— | — | @@ -0,0 +1,40 @@ |
| 2 | + Toolserver pkgbuild spec file repository |
| 3 | + ======================================== |
| 4 | + |
| 5 | +Welcome to ts-specs. This repository holds a number of spec files used to |
| 6 | +build Solaris packages for the Wikimedia Toolserver. (While some of the specs |
| 7 | +might build on Linux using rpmbuild, this hasn't been tested.) |
| 8 | + |
| 9 | +All these specs install in /opt/ts, with the following exceptions: |
| 10 | + |
| 11 | + * MySQL installs in /opt/TSmysql |
| 12 | + * PHP installs in /opt/php |
| 13 | + * GNU coreutils and GNU findutils install in /opt/gnu |
| 14 | + * OpenLDAP installs in /opt/TSopenldap |
| 15 | + * Exim installs in /opt/exim |
| 16 | + |
| 17 | +To build a package, use pkgtool: |
| 18 | + |
| 19 | + $ pkgtool -v build --download TSscreen.spec |
| 20 | + |
| 21 | +This will automatically install the package after building it. To build |
| 22 | +without installing, use "build-only" instead of "build". |
| 23 | + |
| 24 | +All packages which contain libraries build both 32-bit and 64-bit versions of |
| 25 | +the library. The 64-bit versions are installed in /opt/ts/lib/amd64. If the |
| 26 | +package provides a 'foo-config' script, it will be installed in |
| 27 | +/opt/ts/bin/amd64. If the package provides a pkgconfig pc, it will be |
| 28 | +installed in /opt/ts/lib/amd64/pkgconfig. Set your $PATH and/or |
| 29 | +$PKG_CONFIG_PATH appropriately to use these 64-bit libraries. |
| 30 | + |
| 31 | +Some packages include 64-bit binaries. These will install the 64-bit binary in |
| 32 | +/opt/ts/bin/amd64. In most cases, this binary will be automatically invoked on |
| 33 | +64-bit systems using isaexec; there is no need to set your $PATH manually. |
| 34 | + |
| 35 | +(Substitute 'sparcv9' for 'amd64' on SPARC systems.) |
| 36 | + |
| 37 | +Some packages include configuration files. These are installed in |
| 38 | +/etc/opt/<package>/. If a default configuration file is provided, it will have |
| 39 | +an extension of '.default' or similar. |
| 40 | + |
| 41 | +Report any problems to <river@loreley.flyingparchment.org.uk>. |