Hi,

I'm running openpkg release 2.20060622 on a platform ix86-solaris10.

I install apache-1.3.37-20060818 from source package.
In the directory /openpkg/RPM/SRC/apache, I change apache.spec and apache.conf configuration files according to my needs.
Then, I compile the package with command : openpkg rpm -bb ./apache.spec
I install the binary package just made, start apache and all is working well.

Then, I would like to upgrade to the last version of apache : apache-1.3.37-20060920.
So, I execute the command : openpkg build -U apache | sh
This command does the following job :
        - installed the new sources of apache.
        - compile apache with the same "spec"
        - install the new binary package but OVERWRITE without any backup my configuration file /openpkg/etc/apache/apache.conf with the default one.
        - restart apache.

To keep my configuration file, I can make by myself a backup before starting upgrading. But, why the command build doesn't save the configuration file before or keep the runnning one ?

Yann.

Yann Fuselier
Ingénieur systèmes et réseaux
Service informatique local de Nouméa
Délégation aux Systèmes d'Information
IRD/Institut de Recherche pour le Développement
Centre de Nouméa
BP A5 - 98848 Nouméa - Nouvelle Calédonie
Tél: +687 26 07 90 / Fax: +687 26 28 21 (GMT+11)

Reply via email to