Stay on opensearch 2.17.1

Is it possible to stay on textproc/opensearch version 2.17.1, without adding -x to portmaster?

I have tried to add the following in /etc/make.conf with no luck:

Code:
DEFAULT_VERSIONS+=opensearch=2.17.1

It still wants to upgrade:

Code:
===>>> The following actions will be taken if you choose to proceed:
        Upgrade opensearch-2.17.1_1 to opensearch-3.0.0
        Install java/openjdk21
        Install devel/autoconf
        Install devel/autoconf-switch
        Install devel/m4
        Install print/texinfo
        Install converters/p5-Text-Unidecode
        Install devel/gmake
        Install devel/p5-Locale-libintl
        Install misc/help2man
        Install devel/p5-Locale-gettext
        Install textproc/p5-Unicode-EastAsianWidth
        Install java/openjdk20
        Install java/openjdk19
        Install java/openjdk18
        Install textproc/gsed
 
Maybe you can use PKG lock command, so that PKG wouldn't upgrade it ever until you unlock it back. I also don't think that default versions thing is made for that problem cuz it's just a port. Not like a ports framework macro like linux, which have both c7 and rl9 versions. CentOS 7 and rhel 9.
 
Quarterly branch still has 2.71.1, in latest it has been updated to 3.0.0.
I think they do build their own packages theirself and not using official binary repositories. I'd like to hear from OP if im wrong. I never used something like portmaster but the output they gave looks like it's portmaster. Thanks for the hint!

EDIT: Dang, the first post of OP already talks about portmaster. 😅
 
I have tried to add the following in /etc/make.conf with no luck:

DEFAULT_VERSIONS+=opensearch=2.17.1
That's not how the DEFAULT_VERSIONS variable works. Only a small number of specific default versions are defined in /usr/ports/Mk/bsd.default-versions.mk, opensearch is not one of them.


Is it possible to stay on textproc/opensearch version 2.17.1, without adding -x to portmaster?

portmaster(8) has a switch to ignore specific ports with an +IGNOREME file, perhaps that's what you are looking for.
Code:
FILES
    ...
    /var/db/pkg/*/+IGNOREME
           If this file exists for a port that is already installed, several
           things will happen:

           1. The port will be ignored for all purposes.
               This includes dependency updates even if there is no directory
               for the port in /usr/ports and there is no entry for it in
               /usr/ports/MOVED.  If the -v option is used, the fact that the
               port is being ignored will be mentioned.

           2. If using the
               -L option, and a new version exists, the existence of the
               +IGNOREME file will be mentioned.

           3. If you do a regular update of the port, or if the
               -a option is being used you will be asked if you want to update
               the port anyway.
 
Maybe +IGNOREME is not a good solution after all.
Code:
ports/textproc/opensearch %  make run-depends-list
/usr/ports/shells/bash
/usr/ports/devel/jna
/usr/ports/java/openjdk21
Those dependencies are required by other ports as well.

Rich (BB code):
          1. The port will be ignored for all purposes.
               This includes dependency updates even if there is no directory
If that means dependencies won't be updated, this would break things at some point for other ports. I guess a test run should provide some answers.

Why is it important to stay on textproc/opensearch version 2.17.1 anyway?
 
Back
Top