From owner-freebsd-current@freebsd.org Thu Feb 8 20:26:24 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3605F01A4A for ; Thu, 8 Feb 2018 20:26:24 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 617097BAA9 for ; Thu, 8 Feb 2018 20:26:24 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 251777ee-0d0e-11e8-bb8e-b35b57339d60 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 251777ee-0d0e-11e8-bb8e-b35b57339d60; Thu, 08 Feb 2018 20:25:04 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w18KPDnh024904; Thu, 8 Feb 2018 13:25:13 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1518121513.32585.101.camel@freebsd.org> Subject: Re: openssl in base should install c_rehash From: Ian Lepore To: Ulrich =?ISO-8859-1?Q?Sp=F6rlein?= , Jung-uk Kim Cc: Jan Bramkamp , FreeBSD-current Date: Thu, 08 Feb 2018 13:25:13 -0700 In-Reply-To: References: <277d8257-019b-714b-8014-7c741e427547@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2018 20:26:25 -0000 On Thu, 2018-02-08 at 21:15 +0100, Ulrich Spörlein wrote: > 2018-02-08 21:00 GMT+01:00 Jung-uk Kim : > > > > > 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