freebsd / portmaster

FreeBSD port management script without external databases or languages
77 stars 40 forks source link

Portmaster ignores overlays #65

Open michael-o opened 3 years ago

michael-o commented 3 years ago

I have the following:

# grep OVERLAYS /etc/make.conf
OVERLAYS+=/usr/ports-overlays/ldadw-custom

with the overlay tree:

root@deblndw011x:/usr/ports-overlays/ldadw-custom
# tree -d
.
└── security
    ├── nss-siemens-cacerts-java
    │   └── files
    └── siemens-cacerts
        └── files

trying to install via portmaster:

root@deblndw011x:/usr/ports-overlays/ldadw-custom
# portmaster security/siemens-cacerts

        ===>>> No /usr/ports/security/siemens-cacerts exists, and no information
        ===>>> about security/siemens-cacerts can be found in /usr/ports/MOVED

make: chdir /usr/ports/security/siemens-cacerts: No such file or directory
===>>> No valid installed port, or port directory given
===>>> Try portmaster --help

It seems like portmaster completely ignores ports overlays.

stesser commented 2 years ago

OVERLAYS support is a new feature in the ports system and adding support for it in this version of portmaster is not planned.

You are free to submit patches, but due to the structure of portmaster it will probably need a lot of changes in different parts of the script, and I just do not have the spare time to implement and test support for OVERLAYS.

I'm working on a portmaster rewrite and that will provide OVERLAYS support, but it is still at least a few months away from a first beta release.

michael-o commented 2 years ago

OVERLAYS support is a new feature in the ports system and adding support for it in this version of portmaster is not planned.

You are free to submit patches, but due to the structure of portmaster it will probably need a lot of changes in different parts of the script, and I just do not have the spare time to implement and test support for OVERLAYS.

I already thought so that portmaster cannot easily be changed for this.

I'm working on a portmaster rewrite and that will provide OVERLAYS support, but it is still at least a few months away from a first beta release.

I have checked you your forked and you haven't touched it quite for a while. Should I give it a try? I'd be nice if this could appear as a devel port in the FreeBSD ports tree for testing. I'd be happy to give you feedback.

michael-o commented 1 year ago

@stesser Do you plan to push you code upstream?

michael-o commented 4 months ago

Gentle ping...