Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2009 19:03:01 +0000
From:      Chris Rees <utisoft@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Force use of 'gpg2'
Message-ID:  <b79ecaef0902031103w43558a1ej5b2c22c7550f64d9@mail.gmail.com>
In-Reply-To: <20090203122406.1732b3f0@scorpio>
References:  <20090203122406.1732b3f0@scorpio>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
2009/2/3 Jerry <gesbbb@yahoo.com>:
> I have both 'gpg' and 'gpg2' installed. I only want/need the 'gpg2'
> version. I created a link that that forces the use of 'gpg2'
> irregardless of which version is called. The problem is that
> occasionally, when updating the ports, the link is over written and
> 'gpg' is reinstalled.
>
> I don't believe I need this older version for anything. As far as I can
> tell, any port that needs 'gpg' will work fine with 'gpg2'. Is there
> anything I can put in the /etc/make.conf' file that will force the
> use/install of 'gpg2' only? Something like:
>
>        WITH_GPG2=yes or WANT_GPG_VER=2
>
> Or something like that. Is that possible? I cannot find any
> documentation regarding this.
>
> --
> Jerry
> gesbbb@yahoo.com
>
> Savage's Law of Expediency: You want it bad, you'll get it bad.
>


Try putting the link in somewhere that gets searched before
/usr/local/bin, like /bin or (better) /usr/bin. Then try rehash &&
which gpg

Chris
-- 
R< $&h ! > $- ! $+	$@ $2 < @ $1 .UUCP. > (sendmail.cf)



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?b79ecaef0902031103w43558a1ej5b2c22c7550f64d9>