Creation of a diff of a new port

Theron theron.tarigo at gmail.com
Tue Aug 6 23:54:45 UTC 2019


On 2019-08-06 14:05, Kralj Karlo 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.
Nothing weird happened between
>    $ 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
and
>    $ 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 <scott+ports at sabami.seaslug.org>
>    -# $FreeBSD$
>    -
>    -PORTNAME=      nmh
>    -PORTVERSION=   1.7.1
Does /usr/ports/mail/nmh/Makefile actually exist and svn is just 
confused, or did something eat your checkout?
> What must I do in order add the new directory?
Check that SVN checkout is not damaged in some way.



More information about the freebsd-ports mailing list