From owner-freebsd-ports Thu Sep 28 12: 5:59 2000 Delivered-To: freebsd-ports@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 323CA37B423; Thu, 28 Sep 2000 12:05:49 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id MAA89794; Thu, 28 Sep 2000 12:05:48 -0700 (PDT) (envelope-from obrien) Date: Thu, 28 Sep 2000 12:05:48 -0700 From: "David O'Brien" To: Kris Kennaway Cc: ports@FreeBSD.org Subject: Re: Guidelines for new port version variables Message-ID: <20000928120548.A89733@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from kris@FreeBSD.org on Sun, Sep 17, 2000 at 02:25:14AM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Sep 17, 2000 at 02:25:14AM -0700, Kris Kennaway wrote: > Packages names are constructed according to the following system: > > ${PORTNAME}-${PORTVERSION}[_${PORTREVISION}][,${PORTEPOCH}] > > 1) PORTREVISION > > The PORTREVISION variable is a monotonically increasing value which is > reset to 0 with every increase of PORTVERSION (i.e. every time a new > official vendor release is made), and appended to the package name if > non-zero. PORTREVISION is increased each time a change is made to the > FreeBSD port which significantly affects the content or stucture of > the derived package. Why isn't it explicitly set to "0" or "1" at the start? IMO we should have a consistent package name. This would require _${PORTREVISION}. Otherwise there can be problems with inconsiently named dirs in /var/db/pkg > Examples of when PORTREVISION should be bumped: > > * Addition of patches to correct security vulnerabilities, > bugs, or to add new functionality to the FreeBSD port. > > * Changes to the port makefile to enable or disable > compile-time options in the package. Both of these imply to me that any port with patches/ should start off as "_1". -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message