Solved Strange behavior for me after deleting and regenerating the ports tree

Strange behavior for me
Deleting the ports tree : rm -rf /usr/ports
Regenerating the ports tree : portsnap fetch && portsnap extract
Testing a port : make config.

The configuration of the port don't reset to default, and my old config stay there.

configs in /var/db/ports shows my built ports list

Any advice or clarification with this case. Thank you and all the best.
 
Has nothing to with ZFS or your ports tree. Config options are stored in /var/db/ports/.

Code:
     PORT_DBDIR        Directory where the results of configuring OPTIONS are
                       stored.  Defaults to /var/db/ports.  Each port where
                       OPTIONS have been configured will have a uniquely named
                       sub-directory, containing a single file options.
See ports(7).

The configuration of the port don't reset to default,
Code:
     rmconfig             Remove OPTIONS config for this port.

     rmconfig-recursive   Remove OPTIONS config for this port and all its
                          dependencies.
Again, ports(7).
 
Has nothing to with ZFS or your ports tree. Config options are stored in /var/db/ports/.

Code:
     PORT_DBDIR        Directory where the results of configuring OPTIONS are
                       stored.  Defaults to /var/db/ports.  Each port where
                       OPTIONS have been configured will have a uniquely named
                       sub-directory, containing a single file options.
See ports(7).


Code:
     rmconfig             Remove OPTIONS config for this port.

     rmconfig-recursive   Remove OPTIONS config for this port and all its
                          dependencies.
Again, ports(7).
Do I will have a broken dependency ?, even if I build a port X with options depending on port Y, and after that rebuild the port Y.

So do you suggest to delete /var/db/ports, and keeping trace for the options set apart.

And after every rebuild I execute "portmaster --check-depends" to verify the consistence of the dependencies
 
So I am safe, and my config options are kept unchanged, after every recreation or updating the ports tree.

Thanks SirDice for your help and time helping newbies like me. ?
 
Back
Top