Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portmaster --check-port-dbdir doesn't understand new OPTIONS_FILE locations #23

Closed
alienzoo opened this issue Jul 1, 2013 · 1 comment

Comments

@alienzoo
Copy link

alienzoo commented Jul 1, 2013

Since late June the default location for new options files has changed from a simple /var/db/portname/options to /var/db/category_portname/options. When looking for obsolete port options directories portmaster doesn't understand that the new directories correspond to installed ports and offers to delete them e.g.

    ===>>> archivers_gtar does not seem to be installed
    ===>>> Delete /var/db/ports/archivers_gtar? y/n [n]
    ===>>> audio_alsa-plugins does not seem to be installed
    ===>>> Delete /var/db/ports/audio_alsa-plugins? y/n [n] 

...

make -V OPTIONS_NAME
in a port dir shows the name of the dir under /var/db/ports under which to store options. I guess portmaster will have to evaluate this for every installed port to know what are valid directories. (Note: old ports which had a directory before this framework came in still seem to stored under the port name. Not sure what happens if both dirs exist).

There may be effects beyond --check-port-dbdir :(

@bdrewery
Copy link
Member

Fixed in 3.17.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants