From owner-freebsd-ports Tue Aug 15 9:45:26 2000 Delivered-To: freebsd-ports@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 08FB437BD1E for ; Tue, 15 Aug 2000 09:45:24 -0700 (PDT) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net. [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id MAA64180 for ; Tue, 15 Aug 2000 12:45:22 -0400 (EDT) (envelope-from jim@thehousleys.net) Message-ID: <399973A2.F3756F18@thehousleys.net> Date: Tue, 15 Aug 2000 12:45:22 -0400 From: James Housley Organization: The Housleys dot Net X-Mailer: Mozilla 4.73 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Indicating patch levels Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Linux rpm have a "patch level" indicator in the filename. I am not pushing for the same here. But my RTEMS ports are also hosted at www.oarcorp.com (keepers of RTEMS). They have asked several times if it is possible to include a patch level in the package name. I have come up with some code that adds the patch level ONLY upon request. .if defined(OARCORP) PATCHLEVEL= 2 .if defined(PKG_NOCOMPRESS) PKG_SUFX?= -${PATCHLEVEL}.tar .else PKG_SUFX?= -${PATCHLEVEL}.tgz .endif .endif I add this to my Makefiles. Currently I am working on the newest versions of these ports. Will this code cause it to be shot down? Is there a need for other ports to have similar capabilities? Jim -- If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's windows. -- Luiz de Barros To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message