From owner-svn-doc-head@freebsd.org Tue Jun 20 11:29:59 2017 Return-Path: Delivered-To: svn-doc-head@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 8B8F1D962BB; Tue, 20 Jun 2017 11:29:59 +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 mx1.freebsd.org (Postfix) with ESMTPS id 637957E044; Tue, 20 Jun 2017 11:29:59 +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 v5KBTwQk095382; Tue, 20 Jun 2017 11:29:58 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5KBTwc0095381; Tue, 20 Jun 2017 11:29:58 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201706201129.v5KBTwc0095381@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 20 Jun 2017 11:29:58 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50386 - head/en_US.ISO8859-1/books/porters-handbook/quick-porting X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 11:29:59 -0000 Author: mat Date: Tue Jun 20 11:29:58 2017 New Revision: 50386 URL: https://svnweb.freebsd.org/changeset/doc/50386 Log: Turn the diff/shar creation into examples. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml Tue Jun 20 11:29:55 2017 (r50385) +++ head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml Tue Jun 20 11:29:58 2017 (r50386) @@ -357,21 +357,45 @@ lib/X11/oneko/mouse.xpm now. - Next, build the &man.shar.1; file. Assuming the port is - called oneko, cd to the - directory above where the oneko directory - is located, and then type: - shar `find oneko` > oneko.shar + Next, either create a &man.patch.1;, or a &man.shar.1; file. + Assuming the port is called oneko and is in + the games category. - A diff created from a Subversion - checkout of the ports tree is also acceptable. Add all the - files with svn add. cd to - the base of the ports tree so full paths to the changed files - are included in the diff, then generate the diff with - svn diff. For example, svn diff - games/oneko > oneko.diff. + + Creating a <filename>.diff</filename> for a New + Port - Submit oneko.shar or + Add all the files with svn add. + cd to the base of the ports tree so full + paths to the changed files are included in the diff, then + generate the diff with svn diff. For + example: + + &prompt.user; svn add . +&prompt.user; cd ../.. +&prompt.user; svn diff games/oneko > oneko.diff + + + To make it easier for committers to apply the patch on + their working copy of the ports tree, please generate the + .diff from the base of your ports + tree. + + + + + Creating a <filename>.shar</filename> for a New + Port + + cd to the directory above where the + port directory is located, and use shar to + create the archive: + + &prompt.user; cd .. +&prompt.user; shar `find oneko` > oneko.shar + + + Submit one of oneko.shar or oneko.diff with the bug submission form. Use product Ports &