From owner-freebsd-ports@freebsd.org Mon Apr 11 10:57:40 2016 Return-Path: Delivered-To: freebsd-ports@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 0FF12B0C9BA for ; Mon, 11 Apr 2016 10:57:40 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id F08351977 for ; Mon, 11 Apr 2016 10:57:39 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id EFDE5B0C9B9; Mon, 11 Apr 2016 10:57:39 +0000 (UTC) Delivered-To: ports@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 EF870B0C9B8 for ; Mon, 11 Apr 2016 10:57:39 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 B87D01976 for ; Mon, 11 Apr 2016 10:57:39 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2974F28431; Mon, 11 Apr 2016 12:57:31 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id BC49F28429; Mon, 11 Apr 2016 12:57:29 +0200 (CEST) Message-ID: <570B8319.5080408@quip.cz> Date: Mon, 11 Apr 2016 12:57:29 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Roger Marquis CC: ports@freebsd.org Subject: Re: Deriving base port/package names References: <51300.1460083670@server1.tristatelogic.com> <5707b24b.9143620a.1a679.ffffbb00SMTPIN_ADDED_MISSING@mx.google.com> <20160408144957.26ad363f@gumby.homeunix.com> <20160408144722.DF8B828431@elsa.codelab.cz> In-Reply-To: <20160408144722.DF8B828431@elsa.codelab.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 10:57:40 -0000 Roger Marquis wrote on 04/08/2016 16:47: [...] > Some of us see this as a weakness in the standard. That plus the lack > of documentation where you'd expect to find it violates the principles > of least surprise and KIS. There is one more place where naming is really strange - rc scripts. These scripts have usually the same filename as PROVIDE value and name="" value. But there is ugly exception in /etc/rc.d/bgfsck: filename: bgfsck name: background-fsck rcvar: background_fsck It causes problems with eval in rc.subr. I already tried to discuss it 6 years ago but it seems nobody cares. https://lists.freebsd.org/pipermail/freebsd-rc/2010-January/001814.html Note - in the original message the second example is from rc.d/sshd not rc.d/bgfsck Miroslav Lachman