From owner-freebsd-arch Fri Jul 12 20:18: 5 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A69137B400 for ; Fri, 12 Jul 2002 20:18:03 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2C7D43E67 for ; Fri, 12 Jul 2002 20:18:02 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0343.cvx22-bradley.dialup.earthlink.net ([209.179.199.88] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17TDPw-0002E8-00; Fri, 12 Jul 2002 20:17:57 -0700 Message-ID: <3D2F9BB8.6C2F0D34@mindspring.com> Date: Fri, 12 Jul 2002 20:17:12 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mark Valentine Cc: jos@catnook.com, arch@freebsd.org Subject: Re: Package system flaws? References: <200207130235.g6D2ZhLq024901@dotar.thuvia.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mark Valentine wrote: > tlambert2@mindspring.com (Terry Lambert) > > Jos Backus wrote: > > > Also, fyi, see the ``Delegations'' section on > > > > > > http://cr.yp.to/slashpackage/names.html > > > > He is cheating. He is serializing name space allocations through > > an individual person, in order to avoid collisions. > > Um, you didn't read down to the ``Delegations'' section... I read it. It is not enforced. There is an escape mechanism through human serialization, and, given his organization, you would have to be insane not to take advantage of it. The problem is still one of back references for modules that attempt to add functionality to existing software at runtime, rather than at compile time, and compile time presence notification without explicit modification of the packages being notified (e.g. autoconf "finding" packages on the developers machine at compile time that are not explicitly listed as dependencies for run-time). Finding and using e.g. OpenSSL at runtime is OK; requiring it at runtime when it was optional at compile time, when it happened to be present, is not. The Perl and Java people resolve this by having packages register themselves into the hierarchy. Admittedly, they have an advantage, in that they have a module registration standard mechinism for "class factories" for specific implementation clases for abstract base classes... but that was kind of the point. 8-). You don't *have* to be an interpreter to do this, but it's very easy if you are. In a shell script, the same thing can be accomplished with "ls" and a "test -x" (ugly, but workable). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message