From owner-freebsd-ports@FreeBSD.ORG Sat May 15 17:00:03 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F31E916A4CE for ; Sat, 15 May 2004 17:00:02 -0700 (PDT) Received: from fillmore.dyndns.org (port-212-202-49-130.reverse.qsc.de [212.202.49.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1946943D2D for ; Sat, 15 May 2004 16:59:58 -0700 (PDT) (envelope-from eikemeier@fillmore-labs.com) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.34; FreeBSD) id 1BP94M-000EXs-0v; Sun, 16 May 2004 01:59:57 +0200 Message-ID: <40A6AEF8.8050003@fillmore-labs.com> Date: Sun, 16 May 2004 01:59:52 +0200 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Kris Kennaway References: <200405150313.i4F3DagV071595@8ball.rtp.freebsd.org> <40A612A1.3020801@fillmore-labs.com> <20040515223352.GA30459@xor.obsecurity.org> In-Reply-To: <20040515223352.GA30459@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: ports@FreeBSD.org Subject: Re: Ports with duplicate LATEST_LINKS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2004 00:00:03 -0000 Kris Kennaway wrote: > On Sat, May 15, 2004 at 02:52:49PM +0200, Oliver Eikemeier wrote: > >>Kris Kennaway wrote: >> >>>Dear port maintainers, >>> >>>The following list includes ports maintained by you that have duplicate >>>LATEST_LINK values. They should either be modified to use a unique >>>LATEST_LINK or suppressed using NO_LATEST_LINK, to avoid overwriting >>>each other in the packages/Latest directory. If your ports conflict with >>>ports maintained by another person, please coordinate your efforts with >>>them. >> >>Kris, please don't suggest using NO_LATEST_LINK. Just recommend to set >>LATEST_LINK to a unique value, so that pkg_add -r ${LATEST_LINK} works. >>Most port committers don't use packages, so this feature is not widely >>understood. > > OTOH, pkg_add -r ${SOMEBIZARRENAMETHATNOONEWILLEVERGUESS} is unproductive :) Most often, ${PKGNAMEPREFIX}${.CURDIR:T} is a reasonable default (except for the perl ports, where the directory name already contains p5-), which is easily guessable. This won't help with security/hydra and www/hydra, but now I have to look up the version number on the web site and do pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/alpha/packages-5-current/www/hydra-0.1.4_1.tbz or pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/www/hydra-0.1.4_1.tbz instead of simply doing pkg_add -r www_hydra no matter what the version number of hydra is nor which os version on which platform I'm running. Besides, they'll get a unique UNIQUENAME for free. We could display the latest link names on the web listing, and it's better to have to look them up once than figuring out all the details every time. -Oliver