Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2018 17:47:32 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        bsd-lists@BSDforge.com, FreeBSD-current <freebsd-current@freebsd.org>
Subject:   Re: openssl in base should install c_rehash
Message-ID:  <9306ff93-e606-c958-655b-1e12ddf9c579@FreeBSD.org>
In-Reply-To: <2647c9a31e203a8891637aaa89462afe@udns.ultimatedns.net>
References:  <2647c9a31e203a8891637aaa89462afe@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--FKvY31DcefibxzhQF6nwYtB3zTWpBETHz
Content-Type: multipart/mixed; boundary="0IKo2E7Tn8ERHPhwKLHkxCkWuhOvZwzNg";
 protected-headers="v1"
From: Jung-uk Kim <jkim@FreeBSD.org>
To: bsd-lists@BSDforge.com, FreeBSD-current <freebsd-current@freebsd.org>
Message-ID: <9306ff93-e606-c958-655b-1e12ddf9c579@FreeBSD.org>
Subject: Re: openssl in base should install c_rehash
References: <2647c9a31e203a8891637aaa89462afe@udns.ultimatedns.net>
In-Reply-To: <2647c9a31e203a8891637aaa89462afe@udns.ultimatedns.net>

--0IKo2E7Tn8ERHPhwKLHkxCkWuhOvZwzNg
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 02/08/2018 17:31, Chris H wrote:
> On Thu, 08 Feb 2018 13:25:13 -0700 "Ian Lepore" <ian@freebsd.org> said
>> On Thu, 2018-02-08 at 21:15 +0100, Ulrich Sp=C3=B6rlein 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=C3=B6rlein 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.=C2=A0=C2=A0I 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
> Excellent link, Ian. Thanks!
> Couldn't this be in $base? I'd like to vote yes. :-)

=46rom OpenSSL 1.1.0, openssl(1) added "rehash" command.

https://www.openssl.org/docs/man1.1.0/apps/rehash.html

I don't think we need yet another implementation in the base.

Jung-uk Kim


--0IKo2E7Tn8ERHPhwKLHkxCkWuhOvZwzNg--

--FKvY31DcefibxzhQF6nwYtB3zTWpBETHz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlp804QACgkQfJ+WJvzb
8UYHcQf+Jbi9Dl9aTCdV+MIq0+AdVbeDSujNp3oqRZPL1KIlaEzi7kz5QXHbb2Ue
Rksro0+lxJRoHW0HznE2PwcyY78Ljse+cz++kmfDpGfPgU5ROzZSkgs1FZPwdQt+
1+UKH03lSEI68JSNo52yzlzkpuSAVV4m34IannRTlynLvFm+JawPLJHflhEolQrN
8n0/hBUoooQJ/zc0hHKJrHLhgz5UHBFLdHZ+UU9EpkhUZVFaYZNwS/zjYsUQTa82
0W9DD3hNULVrDth3zVytFdPoxakEKiT0t6xQDOO3O3ZBx9iPkq3LMzdoYa1mbAHK
d/L1nvdZw8x6j9qLeMk1KeVpeUi0tg==
=0OIs
-----END PGP SIGNATURE-----

--FKvY31DcefibxzhQF6nwYtB3zTWpBETHz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9306ff93-e606-c958-655b-1e12ddf9c579>