From owner-svn-doc-all@freebsd.org Fri Mar 2 09:03:48 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C79AFF31ECA; Fri, 2 Mar 2018 09:03:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DCA5761A2; Fri, 2 Mar 2018 09:03:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E8F415768; Fri, 2 Mar 2018 09:03:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2293mLt058930; Fri, 2 Mar 2018 09:03:48 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2293mP5058929; Fri, 2 Mar 2018 09:03:48 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201803020903.w2293mP5058929@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 2 Mar 2018 09:03:48 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51452 - head/en_US.ISO8859-1/books/porters-handbook/makefiles X-SVN-Group: doc-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/makefiles X-SVN-Commit-Revision: 51452 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2018 09:03:49 -0000 Author: mat Date: Fri Mar 2 09:03:47 2018 New Revision: 51452 URL: https://svnweb.freebsd.org/changeset/doc/51452 Log: Replaces occurrences of 0.0.yyyymmdd by dyyyymmdd. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Tue Feb 27 17:54:32 2018 (r51451) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Mar 2 09:03:47 2018 (r51452) @@ -743,13 +743,14 @@ PORTEPOCH= 1 looking at the version string. In particular, make sure version number components are always delimited by a period, and if the date is part of the string, use the - 0.0.yyyy.mm.dd + dyyyy.mm.dd format, not dd.mm.yyyy or the non-Y2K compliant yy.mm.dd - format. It is important to prefix the version with - 0.0. in case a release with an actual + format. It is important to prefix the version with a + letter, here d (for date), in case a + release with an actual version number is made, which would be numerically less than yyyy. @@ -935,8 +936,18 @@ PORTEPOCH= 1 piewm example above). Otherwise, ask the original author or use the date string the source file was released on - (0.0.yyyy.mm.dd) + (dyyyy.mm.dd, + or + dyyyymmdd) as the version. + + + Use any letter. Here, d here stands + for date, if the source is a Git + repository, g followed by the commit date + is commonly used, using s for snapshot is + also common. +