Hi, On Tue, 25 Jan 2000, Philipp Thomas wrote:
* Paul W. Abrahams (abrahams@mbs.valinet.com) [20000125 15:12]:
This is really a very general problem: how to integrate packages from SuSE and from other sources so that updates always work smoothly. I'm looking for a good strategy.
The best way is creating your own rpms. Roughly, these are the steps:
- install the source rpm for a given package. - check if the patches in the package (if any) still apply. - edit the .spec file to match the new Version (filelist, filenames, versions etc.) . - If compiling on your system, change the spec file to use a buildroot, as this will prevent rpm to install into the running system before creating the binary rpm. - If all is as needed, do a 'rpm -ba /path/to/specfile'. This will build both the binary as well as the source RPM.
You now have a binary package you can install and deinstall via rpm and it won't be overwritten unconditionally if you update.
Shameless plug: my Red Book also covers this briefly in the LDAP chapter :) See http://www.suse.de/~grimmer/redbook for a PDF. Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer 90443 Nuernberg, Germany -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/