portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

Portmaster ignores overlays

Open michael-o opened this issue 3 years ago • 4 comments

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.

michael-o avatar Jun 28 '21 19:06 michael-o

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.

stesser avatar Jul 09 '21 18:07 stesser

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 avatar Jul 11 '21 14:07 michael-o

@stesser Do you plan to push you code upstream?

michael-o avatar Jul 06 '22 13:07 michael-o

Gentle ping...

michael-o avatar Feb 27 '24 16:02 michael-o