From owner-freebsd-hackers@freebsd.org Sun Nov 26 18:10:00 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5620DED0F5; Sun, 26 Nov 2017 18:10:00 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D72D72767; Sun, 26 Nov 2017 18:10:00 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id J1NKe1pxnzNiNJ1NMeIehd; Sun, 26 Nov 2017 11:09:58 -0700 X-Authority-Analysis: v=2.2 cv=I+4VfJog c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=kj9zAlcOel0A:10 a=sC3jslCIGhcA:10 a=H0GPC0OhAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=aepW6LWHjBFo4IbMzaoA:9 a=CjuIK1q_8ugA:10 a=KczGKrPSgCPlefTG41c3:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id B0703161; Sun, 26 Nov 2017 10:09:54 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id vAQI9sfh088613; Sun, 26 Nov 2017 10:09:54 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id vAQI9sAT088610; Sun, 26 Nov 2017 10:09:54 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201711261809.vAQI9sAT088610@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Eugene Grosbein cc: Cy Schubert , "Julian H. Stacey" , "freebsd-hackers@freebsd.org" , "freebsd-arch@freebsd.org" Subject: Re: The future of fortune(6) In-Reply-To: Message from Eugene Grosbein of "Mon, 27 Nov 2017 00:44:35 +0700." <5A1AFD83.8000503@grosbein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Nov 2017 10:09:53 -0800 X-CMAE-Envelope: MS4wfE8Wt+8YVvZ4TGiGNMrLxMQS+ibZySKLDnQ8UrdCba+dH/AmH/LiE9ioNPXyyEKEvXKtFAF47j160C3f1JyH5G30cbwpa6YAKBq0zmyGAEVrUTNRsjMk ZHh+jEIVbnQAn15KQnXShPlz+lz4o+iGzDplxRVc7DGtIeKv231ueMChNU0va9UfLhEDnUs7IiffltXbTO6XpYprmPipySyfdjyiLD2e/88LXbSFCIyzsDco cU5Nj86VCY7YBPh8+v/kvujKGMzx69u8ux2Xp9q99wo= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2017 18:10:00 -0000 In message <5A1AFD83.8000503@grosbein.net>, Eugene Grosbein writes: > 26.11.2017 22:59, Cy Schubert wrote: > > > Fortune in base is totally indefensible and for that matter even in ports > > it is. It absolutely has to go. I fully support Benno's effort. > > Please don't mix fortune(6) C code with contents of src/usr.bin/fortune/datfi > les. > > The code src/usr.bin/fortune/{fortune|strfile} is valuable and independend of > exact datfiles > and there is no reason to remove it from the base as we have no alternatives > for the task whey solve. Putting my Canadian hat on instead of being my frustrated self today: I think the way forward is to replace fortune in base with a shell script to conditionally execute ${LOCALBASE}/bin/fortune and if not found advises the user to ask their sysadmin to install a fortune port/package. I have a revision in to do the removal and plan on creating a series of ports based on bsdgames. However I'm totally willing to let someone else take the lead on this. I think this is acceptable. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.