Creation of a diff of a new port

Jason Helfman jgh at helfman.org
Tue Aug 6 23:07:20 UTC 2019


---- On Tue, 06 Aug 2019 14:05:49 -0700 Kralj Karlo <karlo at klarinet.osamsb.hr> wrote ----


I am trying to create a diff of a new port in order that I may submit the port. 
I believe to have followed the directions from the Porter's Handbook, but 
the result is not as I had expected. 
 
 $ portsnap fetch 
 (I didn't save the output.) 
 $ portsnap extract 
 (I didn't save the output.) 
 $ svn checkout https://svn.FreeBSD.org/ports/head /usr/ports 
 ... (lots of output omitted) 
 A /usr/ports/Keywords/shell.ucl 
 A /usr/ports/Keywords/fc.ucl 
 A /usr/ports/Keywords/desktop-file-utils.ucl 
 U   /usr/ports 
 Checked out revision 508034. 
 $ cp -r my-keynav-port /usr/ports/x11/keynav 
 $ svn add /usr/ports/x11/keynav/ 
 svn: E155013: Can't add '/usr/ports/x11/keynav' to a parent directory scheduled for deletion 
 $ uname -a 
 FreeBSD t5600 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64 
 
Also, I have tried running "svn diff" on ports that I did not change. 
I expected no output in such cases and was surprised to see output. 
 
 $ svn diff | head 
 Index: Makefile 
 =================================================================== 
 --- Makefile    (revision 508034) 
 +++ Makefile    (nonexistent) 
 @@ -1,102 +0,0 @@ 
 -# Created by: Scott Blachowicz <mailto:scott+ports at sabami.seaslug.org> 
 -# $FreeBSD$ 
 - 
 -PORTNAME=      nmh 
 -PORTVERSION=   1.7.1 
 
What must I do in order add the new directory? 
 
I pray that you have faith in my best sentiments. 
Kralj Karlo 
 




Please refer to https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html



Example 3.2



This should help in submitting.



-jgh


More information about the freebsd-ports mailing list