From owner-freebsd-ports@FreeBSD.ORG Tue Aug 7 17:51:04 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4702D16A41B for ; Tue, 7 Aug 2007 17:51:04 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 0929B13C4D3 for ; Tue, 7 Aug 2007 17:51:03 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1404265wxd for ; Tue, 07 Aug 2007 10:51:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=A9EnnfMOgMl9Z8/PLwpjrp7QZ8oOw1yrYQl/4lO7DAv+JkrCE8KT/17mQSzCkbuxHjgf9CBE0f8qm836Xa4k6jAlE3Mu1FyNw8bwgQuX8dFH1sLoEr7l5QkBdRzZNwJy1XR43hacT4qrXBPoLp4Epca95XYAs6XSHnlEiszKo4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=LSFy7NheDkmg3RE+zQy7vOboLli5P8gfsSKgxsW+8ioVVNk5SZ0oDJaSvHwJ72RYAjoRtp9tpJfSxBMIlrOmZIwKXTJ1DOkqVWuuakBHb0jH4IAgvvuSJYuzs8G23AsQqJHtU6zInUnZLoS18XfnFXsmDKfNMlaWU3W5rHwj+UA= Received: by 10.90.79.6 with SMTP id c6mr6340330agb.1186509062525; Tue, 07 Aug 2007 10:51:02 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.137.21]) by mx.google.com with ESMTPS id n26sm8917697ele.2007.08.07.10.50.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2007 10:50:57 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 3B16211420; Tue, 7 Aug 2007 21:49:48 +0400 (GST) Date: Tue, 7 Aug 2007 21:49:29 +0400 (GST) X-X-Sender: rakhesh@obelix.home.rakhesh.com To: Scot Hetzel In-Reply-To: <790a9fff0708070656j77bc1f82l6c267df10e65cdfc@mail.gmail.com> Message-ID: <20070807214414.I88034@obelix.home.rakhesh.com> References: <20070807160649.Y22638@obelix.home.rakhesh.com> <790a9fff0708070656j77bc1f82l6c267df10e65cdfc@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: freebsd-ports@freebsd.org Subject: Re: Building Pine with PASSFILE option X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 17:51:04 -0000 > 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