Problem is that variables are not honoured when set/unset when they should be:
# make showconfig
===> The following configuration options are available for cyrus-sasl-gssapi-2.1.26_3:
====> Kerberos support: you have to select exactly one of them
BASE=on: Use Heimdal in base
HEIMDAL=off: Use Heimdal from ports
MIT=off: Use MIT Kerberos V5
===> Use 'make config' to modify these settings
However these are set in make.conf as demonstrated
cd /usr/ports/security/cyrus-sasl2-gssapi && make -Vsecurity_cyrus-sasl-gssapi_UNSET -Vsecurity_cyrus-sasl-gssapi_SET showconfig
That is BASE is UNSET and HEIMDAL is SET, because I want to use the heimdal port.
It seems working well here with following lines in my make.conf:
It seems you set security_cyrus-sasl-gssapi_(UN)?SET. Since the PKGORIGIN of cyrus-sasl2-gssapi is security/cyrus-sasl2-gssapi, you need to set security_cyrus-sasl-gssapi_(UN)?SET.
Oops, typo. You need to set security_cyrus-sasl2-gssapi_(UN)?SET.
(In reply to Hajimu UMEMOTO from comment #2)
True, but we use automated scripts to manage the port options settings. As such the "problem" is:
# make -V PKGBASE
Please NOTE that it doesn't have cyrus-sasl2-gssapi which
make -V UNIQUENAME
used to produce, and which
make -V PKGBASE
# cd /usr/ports/security/cyrus-sasl2
# make -V PKGBASE
# make -V UNIQUENAME
Something is definately broken or changed and not in /usr/ports/UPDATING for cyrus-sasl. I examined other ports that contained numbers and they function as expected, one example:
# cd /usr/ports/net/isc-dhcp43-server && make -V PKGBASE
(In reply to Phil from comment #3)
The "fix" for cyrus-sasl2-gssapi
--- Makefile.broken 2015-09-12 19:11:11.000000000 +1000
+++ Makefile 2015-09-12 19:11:11.000000000 +1000
@@ -6,7 +6,7 @@
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-sasl/ \
Similarly for security/cyrus-sasl2
A commit references this bug:
Date: Thu Oct 1 15:58:09 UTC 2015
New revision: 398328
Sync package name with origin.
I think there is no such rule to be in sync package name with origin.
However, it is better to sync them. So, I've just commit the changes.
Thank you for the suggestion.