Date: Tue, 7 Aug 2007 21:49:29 +0400 (GST) From: Rakhesh Sasidharan <rakhesh@rakhesh.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Building Pine with PASSFILE option Message-ID: <20070807214414.I88034@obelix.home.rakhesh.com> In-Reply-To: <790a9fff0708070656j77bc1f82l6c267df10e65cdfc@mail.gmail.com> References: <20070807160649.Y22638@obelix.home.rakhesh.com> <790a9fff0708070656j77bc1f82l6c267df10e65cdfc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> You would then need to add a warning when this option is enabled, as > according to > doc/tech-notes.txt this option is dangerous: > > PASSFILE > _WARNING!_ Turning this on is very dangerous and should > probably not be done, except on single user systems! For > : I'm stuck here! I went through the Pine Makefile coz I recollect it giving me a warning about Pine not recommended by the FreeBSD Security Officer. And I also went through the Porter's Handbook (very briefly). From these two I learnt about the "pkg-install" file and so I tried putting in something there to popup as a warning after the first warning. /usr/bin/dialog --msgbox "_WARNING!_ Turning the PASSFILE option on is very dangerous and should probably not be done, except on single user systems!" 7 70 But thing is -- how do I make this warning appear *only* if the PASSFILE option is chosen? From what I can see, the "WITH_PASSFILE" variable is not visible to the "pkg-install" file and so I can't use that to wrap the dialog around an if ... fi block. Any ideas? Thanks, Rakhesh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070807214414.I88034>