Harri Haataja wrote:
>
> I don't know if there is a "redhat manual" somewhere but I might like to
> see it if there is. It's much easier to use mechanisms in place than to
> try to sew things together with your own scripts.
Use SuSE :-)
They have a 500+ pages manual that comes hardcopy, as well as online on
CD. You don't need "your own scripts" (well, most of the time), it all
fits very well together.
And here is a distribution-independent solution: Why not use the source
rpms of AMANDA, the ones that your own distribution uses? Then you could
see, in the dif file, all the parameters they used to compile AMANDA and
make changes and/or additions. You generally proceed as follows (paths
valid for SuSE):
0) Install the source rpm of AMANDA. Check the dif file (e.g.
/usr/src/packages/SOURCES/amanda-2.4.1p1.dif) and make the aproppriate
changes there (regarding the AMANDA user and that sort of things). Since
this is in diff format, when you add a line (e.g. when you want an extra
library to be linked and you declare it on an extra line in the dif
file), you will have to adjust the numbers:
@@ -0,0 +1,57 @@
^^
(You don't need this if you don't add extra lines)
1) rpm -bp /usr/src/packages/SPECS/amanda.spec
2) patch, if necessary (the samba2-20000418.diff patch is against
samba-2.06, while samba2.diff is against samba-2.05):
cd /usr/src/packages/BUILD
patch -p0 < /home/chris/amanda/samba2-20000418.diff
With 2.4.2, you probably don't need this (and the next) step.
3) check for reject files...
4) configure and compile (don't forget the --short-circuit option!):
rpm -bc --short-circuit /usr/src/packages/SPECS/amanda.spec
5) install:
rpm -bi --short-circuit /usr/src/packages/SPECS/amanda.spec
This is a little cumbersome method, but it gives you some control over
what your distribution did and what not (see step 0).
--
Regards
Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net