Re: Framework question....
On 2016-07-13 14:05, Matthieu Volat wrote: On Tue, 12 Jul 2016 20:45:55 -0500 Larry Rosenmanwrote: Ports Folks, I have a port (mail/dovecot2-pigeonhole) that I apparently need to pick up the mail/dovecot2 gssapi option, but do NOT want to make the user set it via the normal options dialog. I.E. if dovecot2 has gssapi_heimdal set, I want to know that. Does the framework give me a way to get the OTHER ports option? Last time I had to face such a problem (~1 year ago?), it did not... You may end up doing something using a subshell command such as : DOVECOT2_GSSAPI=${:!grep GSSAPI ${PORT_DBDIR}/mail_dovecot2/options|grep _SET|cut -d= -f2!} Until somebody proposes something better... yeah, I got that impression. see my patch on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211025 which just adds the gssapi options and tells the user to make sure they are the same for dovecot2{,-pigeonhole} -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: l...@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Framework question....
On Tue, 12 Jul 2016 20:45:55 -0500 Larry Rosenmanwrote: > Ports Folks, > I have a port (mail/dovecot2-pigeonhole) that I apparently need to > pick up > the mail/dovecot2 gssapi option, but do NOT want to make the user set it > via the normal > options dialog. I.E. if dovecot2 has gssapi_heimdal set, I want to know > that. > > Does the framework give me a way to get the OTHER ports option? Last time I had to face such a problem (~1 year ago?), it did not... You may end up doing something using a subshell command such as : DOVECOT2_GSSAPI=${:!grep GSSAPI ${PORT_DBDIR}/mail_dovecot2/options|grep _SET|cut -d= -f2!} Until somebody proposes something better... > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: l...@lerctr.org > US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" -- Matthieu Volat pgpdpR0KfwMg6.pgp Description: OpenPGP digital signature
Framework question....
Ports Folks, I have a port (mail/dovecot2-pigeonhole) that I apparently need to pick up the mail/dovecot2 gssapi option, but do NOT want to make the user set it via the normal options dialog. I.E. if dovecot2 has gssapi_heimdal set, I want to know that. Does the framework give me a way to get the OTHER ports option? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: l...@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"