Date: Mon, 16 Jan 2017 18:46:23 +0100 From: Stefan Bethke <stb@lassitu.de> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Ports options in make.conf vs. GSSIAPI Message-ID: <B45BF76D-8A2B-449F-8662-B0159862D237@lassitu.de> In-Reply-To: <65E129D8-F68C-43D6-944B-F5E18396E78C@lassitu.de> References: <E7D08169-A157-4C7C-B2F2-EAA524D0E8E9@lassitu.de> <65E129D8-F68C-43D6-944B-F5E18396E78C@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> Am 13.01.2017 um 14:12 schrieb Stefan Bethke <stb@lassitu.de>: >=20 >=20 >> Am 13.01.2017 um 13:30 schrieb Stefan Bethke <stb@lassitu.de>: >>=20 >> For example, with dns/bind99, without options for that port in = make.conf, I can run make showconfig and other build commands without = issue. As soon as I add either of these: >> #OPTIONS_UNSET+=3D GSSAPI_BASE >> #OPTIONS_SET+=3D GSSAPI_MIT >> dns_bind99_UNSET+=3D GSSAPI_BASE >> dns_bind99_SET+=3D GSSAPI_MIT >>=20 >> running make showconfig produces: >> # make showconfig >> =3D=3D=3D=3D> You must select one and only one option from the GSSAPI = single >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /freebsd/checkout/ports/dns/bind99 >=20 > I swear I=E2=80=99ve looked at this for I don=E2=80=99t know how long, = but it=E2=80=99s really trivial: >=20 > Some ports have GSSAPI_BASE as their OPTIONS_DEFAULTS, some have = GSSAPI_NONE. >=20 > $ find . -name Makefile | xargs grep 'OPTIONS_DEFAULT=3D.*GSSAPI_' | = sort > ./databases/mariadb101-server/Makefile:OPTIONS_DEFAULT=3D = GSSAPI_BASE > ./dns/bind9-devel/Makefile:OPTIONS_DEFAULT=3D SSL THREADS SIGCHASE IDN = GSSAPI_NONE JSON > ./dns/bind910/Makefile:OPTIONS_DEFAULT=3D SSL THREADS SIGCHASE IDN = GSSAPI_NONE JSON \ > ./dns/bind911/Makefile:OPTIONS_DEFAULT=3D SSL THREADS SIGCHASE IDN = GSSAPI_NONE JSON > ./dns/bind99/Makefile:OPTIONS_DEFAULT=3D SSL THREADS SIGCHASE IDN = GSSAPI_NONE RRL DLZ_FILESYSTEM \ > ./mail/dovecot2-pigeonhole/Makefile:OPTIONS_DEFAULT=3DMANAGESIEVE = GSSAPI_NONE > ./mail/dovecot2/Makefile:OPTIONS_DEFAULT=3DKQUEUE GSSAPI_NONE > ./mail/fetchmail/Makefile:OPTIONS_DEFAULT=3D GSSAPI_BASE > ./net-mgmt/adcli/Makefile:OPTIONS_DEFAULT=3D GSSAPI_BASE > ./security/cyrus-sasl2-gssapi/Makefile:OPTIONS_DEFAULT=3D = GSSAPI_BASE > ./security/p5-Authen-Krb5-Simple/Makefile:OPTIONS_DEFAULT=3D = GSSAPI_BASE > ./security/p5-Authen-Krb5/Makefile:OPTIONS_DEFAULT=3D GSSAPI_BASE > ./security/p5-GSSAPI/Makefile:OPTIONS_DEFAULT=3D GSSAPI_BASE > ./security/p5-Heimdal-Kadm5/Makefile:OPTIONS_DEFAULT=3D = GSSAPI_BASE > ./security/py-kerberos/Makefile:OPTIONS_DEFAULT=3D GSSAPI_BASE > ./sysutils/msktutil/Makefile:OPTIONS_DEFAULT=3DGSSAPI_BASE > ./www/mod_auth_kerb2/Makefile:OPTIONS_DEFAULT=3D GSSAPI_BASE >=20 > In order to have only a single GSSAPI option selected, OPTIONS_UNSET = must include both: > OPTIONS_UNSET+=3D GSSAPI_BASE GSSAPI_NONE Here=E2=80=99s a small improvement to bsd.port.mk to print out all the = active options for OPTION_SINGLEs and OPTION_RADIOs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216150 Stefan --=20 Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B45BF76D-8A2B-449F-8662-B0159862D237>