Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2018 13:25:13 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Ulrich =?ISO-8859-1?Q?Sp=F6rlein?= <uqs@freebsd.org>, Jung-uk Kim <jkim@freebsd.org>
Cc:        Jan Bramkamp <crest@rlwinm.de>, FreeBSD-current <freebsd-current@freebsd.org>
Subject:   Re: openssl in base should install c_rehash
Message-ID:  <1518121513.32585.101.camel@freebsd.org>
In-Reply-To: <CAJ9axoTxz6OPksv%2BW9t=iXq0kxhJ6E_q6Jutw85sS5voBq5aVg@mail.gmail.com>
References:  <CAJ9axoRDJbbzMuaSCk6hvdy-_CVBMz8Evd_GXwNwsCaJLHu8Bg@mail.gmail.com> <c2aa2350-cc04-365e-acdf-407b0b49c318@rlwinm.de> <277d8257-019b-714b-8014-7c741e427547@FreeBSD.org> <CAJ9axoTxz6OPksv%2BW9t=iXq0kxhJ6E_q6Jutw85sS5voBq5aVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2018-02-08 at 21:15 +0100, Ulrich Spörlein wrote:
> 2018-02-08 21:00 GMT+01:00 Jung-uk Kim <jkim@freebsd.org>:
> 
> > 
> > On 02/08/2018 08:52, Jan Bramkamp wrote:
> > > 
> > > On 08.02.18 14:24, Ulrich Spörlein wrote:
> > > > 
> > > > Hey,
> > > > 
> > > > c_rehash has somehow disappeared from the base system. We still
> > > > install the
> > > > manpage it seems, but the tool itself is missing. Can we have
> > > > that back?
> > > > 
> > > > 
> > > > root@acme:/etc/ssl# locate c_rehash
> > > > ...
> > > > /usr/share/openssl/man/man1/c_rehash.1.gz
> > > > /usr/src/crypto/openssl/doc/apps/c_rehash.pod
> > > > /usr/src/secure/usr.bin/openssl/man/c_rehash.1
> > > > 
> > > > 
> > > > The port seems to install it just fine:
> > > > 
> > > > root@acme:/etc/ssl# grep -r c_rehash /usr/ports/
> > > > /usr/ports/security/openssl/pkg-plist:bin/c_rehash
> > > > /usr/ports/security/openssl/pkg-plist:man/man1/c_rehash.1.gz
> > > > 
> > > > It looks like the merge of OpenSSL 1.0.1c got rid of it (if I'm
> > > > reading the
> > > > history with git pickaxe right).
> > > The LibreSSL port lacks a c_rehash script as well. Putting
> > > c_rehash back
> > > into base wouldn't solve the problem because it requires Perl 5.
> > Correct.  I just removed the manual page to not confuse users.
> > 
> > https://svnweb.freebsd.org/changeset/base/329024
> > 
> > Thanks for letting me know!
> > 
> > Jung-uk Kim
> > 
> > 
> I would rather that c_rehash is brought back. I can install perl just
> fine
> (or have it anyway installed), that's not the case with openssl from
> ports,
> as that will mess up many things.
> 
> Guess I'll download my own version ... :(
> 
> Uli


Maybe we should just replace ours in base with a non-perl version,
something like this one?

https://opensource.apple.com/source/OpenSSL/OpenSSL-5/openssl/tools/c_rehash.in.auto.html

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1518121513.32585.101.camel>