From owner-freebsd-ports@freebsd.org Wed Jan 17 18:09:04 2018 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 6FF53E7E813 for ; Wed, 17 Jan 2018 18:09:04 +0000 (UTC) (envelope-from martin@waschbuesch.de) Received: from relay02.waschbuesch.it (relay02.waschbuesch.it [IPv6:2a00:cba0:100::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.waschbuesch.it", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 318F47AB96 for ; Wed, 17 Jan 2018 18:09:04 +0000 (UTC) (envelope-from martin@waschbuesch.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=waschbuesch.de; s=dkim; h=To:Date:Message-Id:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=E3I3ic+A7aBrPmtLRff2lSnTFVUrA+fgefckls2kuoE=; b=lkhxXpXjrzmtOAf2Ii/Qg45aj2 mF4yy7hOHTd+AfT27k0Q3xh9HNxFCW9efWGZ1ZRszIvxi/Rb/VKfeETZvu7v+haU3Rb+p50JQPSjs g1CSBdQ4aV4rFiq7CTm22U0368agrYH5ct0j84Bis1D3nTJdOonK/9HHxajqYoqzan+4=; Received: by relay02.waschbuesch.it with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim) (envelope-from ) id 1ebs8y-000KgG-83 for freebsd-ports@freebsd.org; Wed, 17 Jan 2018 18:09:00 +0000 From: =?utf-8?Q?Martin_Waschb=C3=BCsch?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Help with versioning scheme Message-Id: Date: Wed, 17 Jan 2018 19:08:59 +0100 To: freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 18:09:04 -0000 Hi there, I am preparing a patch for a port (archivers/libz4) that I am = maintaining. The versioning scheme upstream originally used was for instance: rXXX e.g. r123 When they changed to=20 vX.Y.Z e.g. v1.8.1 I had to up PORTEPOCH in order not to get wrong warnings about new = versions available. Now, they added a fourth digit to that. vV.X.Y.Z e.g. v1.8.1.2 So far so good. Now, the last digit is equivalent to our port revisions. = E.g. the version of the library as declared in the source is still = 1.8.1. How do I adapt the Makefile that the correct tarball will be downloaded = from git (which contains v1.8.1.2) but either ignore the fourth digit or = use it to represent the port revision? Also, would you consider it impolite to (humbly) ask upstream to = (carefully) choose a versioning scheme and stick with it (longterm)? ;-) Best, Martin=