Date: Thu, 8 Feb 2018 15:37:46 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: =?UTF-8?Q?Ulrich_Sp=c3=b6rlein?= <uqs@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: <c9f947c3-1590-eeb1-b540-1e2c6b8eca65@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
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W29JvWUCEFahBCJMJyoRnBktHcevo9FKD Content-Type: multipart/mixed; boundary="HTA3SRaR8yNVemDPKL9P0wKuyKUUaGBWx"; protected-headers="v1" From: Jung-uk Kim <jkim@FreeBSD.org> To: =?UTF-8?Q?Ulrich_Sp=c3=b6rlein?= <uqs@freebsd.org> Cc: Jan Bramkamp <crest@rlwinm.de>, FreeBSD-current <freebsd-current@freebsd.org> Message-ID: <c9f947c3-1590-eeb1-b540-1e2c6b8eca65@FreeBSD.org> Subject: Re: openssl in base should install c_rehash References: <CAJ9axoRDJbbzMuaSCk6hvdy-_CVBMz8Evd_GXwNwsCaJLHu8Bg@mail.gmail.com> <c2aa2350-cc04-365e-acdf-407b0b49c318@rlwinm.de> <277d8257-019b-714b-8014-7c741e427547@FreeBSD.org> <CAJ9axoTxz6OPksv+W9t=iXq0kxhJ6E_q6Jutw85sS5voBq5aVg@mail.gmail.com> In-Reply-To: <CAJ9axoTxz6OPksv+W9t=iXq0kxhJ6E_q6Jutw85sS5voBq5aVg@mail.gmail.com> --HTA3SRaR8yNVemDPKL9P0wKuyKUUaGBWx Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 02/08/2018 15:15, Ulrich Sp=C3=B6rlein wrote: >=20 > 2018-02-08 21:00 GMT+01:00 Jung-uk Kim <jkim@freebsd.org > <mailto:jkim@freebsd.org>>: >=20 > 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 th= at 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_reha= sh back > > into base wouldn't solve the problem because it requires Perl 5. >=20 > Correct.=C2=A0 I just removed the manual page to not confuse users.= >=20 > https://svnweb.freebsd.org/changeset/base/329024 > <https://svnweb.freebsd.org/changeset/base/329024> >=20 > Thanks for letting me know! >=20 > Jung-uk Kim >=20 >=20 > 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. Although c_rehash was available from src/crypto/openssl/tools, we have never installed it in the base, AFAIK. Actually, it does not use proper perl binary (i.e., /usr/bin/perl vs. /usr/local/bin/perl) and certs directory (i.e., /usr/local/ssl/certs vs. /etc/ssl/certs). https://svnweb.freebsd.org/base/vendor-crypto/openssl/dist-0.9.8/tools/c_= rehash?revision=3D247942&view=3Dco Jung-uk Kim > Guess I'll download my own version ... :( --HTA3SRaR8yNVemDPKL9P0wKuyKUUaGBWx-- --W29JvWUCEFahBCJMJyoRnBktHcevo9FKD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlp8tRoACgkQfJ+WJvzb 8UaLRwf/dGEnBycnFf6QzWhWZaCVcyhXpabWarbmv7GtMyXjiFieiyQflcGc8Gvc bnk+8+9y/SfrBgMysxvrHhUg1029lL/2fntyKA1p4EqAYs/mW8EUSePQD7rDUlga RCkcw2zL+ikwmm+AtiwKV4dmU/ZwImL9CRL0vLykO07DX3XoP0I+5MwtzqaRN3re eFggr9t2lVwd9b1Il9ARA3W9pdTG0vUUxU47fJIZZ4DMW41hChmOsDlVDtMtsw8d ds0qvbSjUm9tiooI5/Vw/Esc4C00ENuNgAdE8uIyI5+SjJkQopIIYKEbVvu5FycH r/hMpqJLAhD78kbxBquj1DrZgNyxhw== =F6in -----END PGP SIGNATURE----- --W29JvWUCEFahBCJMJyoRnBktHcevo9FKD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9f947c3-1590-eeb1-b540-1e2c6b8eca65>