From owner-freebsd-ports@freebsd.org Thu Mar 16 01:42:26 2017 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 20B15D0C2B7 for ; Thu, 16 Mar 2017 01:42:26 +0000 (UTC) (envelope-from dbaio@bsd.com.br) Received: from mail-qk0-x242.google.com (mail-qk0-x242.google.com [IPv6:2607:f8b0:400d:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D76DE1F44 for ; Thu, 16 Mar 2017 01:42:25 +0000 (UTC) (envelope-from dbaio@bsd.com.br) Received: by mail-qk0-x242.google.com with SMTP id v127so4265393qkb.1 for ; Wed, 15 Mar 2017 18:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XUSGreVx3coUWNP/lSXo6ZVaPl7ZrPkbTHF3tMC+lq0=; b=LgalJW+J/fHq+yoHqX65brxa20PVQ2J8HMZrUMijkIYvuPoA886Wh63Z+CdVME3iuF YZboOML6mjxCT1SK84A7CeXXTreJWUBK66Ijf9VUO+mNi1mshPYBxUHdxA8No8rGp0Rr wkNW1KkiROTGJWAe+ewO6w14jM5W1KdRTppB4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XUSGreVx3coUWNP/lSXo6ZVaPl7ZrPkbTHF3tMC+lq0=; b=ZDOCjEP7RfwDlWR+GelAZn+Wbl+58VE/J9UFcKsmKi7bUsM1J/TNNJSuDIdPWYnS01 8N/m7/DYk945putCV4pIQsHP7MOS47/b9wgn2NRyii3sWNMJafhRVwuSFDbstX4NHo8P 2kPMcjq3Pp7Ujsa6leluSyHh6iA4EX52ZTY0ZMaeO/MNDsyIt7Cgx2qxQiAgnDqpyV+T E0NLC2p9gYrTMVMZRzXBQCvTa2NOC9uJJIpC3L0Rg5KJV0xUCUlqFKGErHQk8Pnn1Hsp SARwALsMgu1DyUU1b657l0NsOX3Osps5EU5cbMY7omND5ClAD7NdeZk8XpTjmZK4qw3l 4QyA== X-Gm-Message-State: AFeK/H0LXu1ljBMuguVsllFY/Ezl+PGYjeNP3ZD+2QREQrDiS9a6vcmPAs+JXcFPSCZpjQ== X-Received: by 10.55.72.87 with SMTP id v84mr998290qka.21.1489628544305; Wed, 15 Mar 2017 18:42:24 -0700 (PDT) Received: from dx240.localdomain ([2804:d55:ce4:4e00:ea2a:eaff:fed2:a5a0]) by smtp.gmail.com with ESMTPSA id e84sm2577017qkb.49.2017.03.15.18.42.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Mar 2017 18:42:23 -0700 (PDT) Date: Wed, 15 Mar 2017 22:53:46 -0300 From: "Danilo G. Baio (dbaio)" To: Kurt Jaeger Cc: Jochen Neumeister , "freebsd-ports@freebsd.org" Subject: Re: rename a port Message-ID: <20170316015346.erbwpjglbl3wn64j@dx240.localdomain> References: <442f40bd-cff2-22b0-449c-1aa701e99878@bsdproject.de> <20170314101824.GA64587@home.opsec.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6xbpoiwkkobm52c2" Content-Disposition: inline In-Reply-To: <20170314101824.GA64587@home.opsec.eu> User-Agent: NeoMutt/20170225 (1.8.0) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 01:42:26 -0000 --6xbpoiwkkobm52c2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 14, 2017 at 11:18:24AM +0100, Kurt Jaeger wrote: > Hi! >=20 > > I would like to rename a port. How is the best way? > >=20 > > Svn cp /port/oldname / port/newname >=20 > svn mv old new >=20 > should work. >=20 > Please provide an entry for /usr/ports/MOVED, too. >=20 > > And then a diff with /port/oldname /port/newname? >=20 > Yes. Hi. I am afraid it won't work perfectly with just that. =46rom the porters handbook we have this: "If files have been added, copied, moved, or removed, include the svn(1) ad= d, copy, move, and remove commands that were used. svn move or svn copy must be run before the patch can be applied. svn add or svn remove must be run after the patch is applied." https://www.freebsd.org/doc/en/books/porters-handbook/port-upgrading.html When using `svn diff` and executing `svn copy` before applying the patch, it works fine, but it doesn't work correctly with patches that include `svn mo= ve`,=20 unless you generate it with `svn diff --no-diff-deleted`. I had this problem a while ago. Regards. -- Danilo G. Baio (dbaio) --6xbpoiwkkobm52c2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAljJ8CQACgkQmpN7LfMu iNcCfQ//SBwTcgDUbM6FzqI+r5kZOVex3tIJoONWw3yyhMjFh+gLPE+Y3XnhIBKs 5ID+bIcPZAfX+0Q9wK+CsRfdS+9sBwh1P5kay623sPvOP/7NyZJl0NoRFbCWUBfm ArRUnRbcZL8HG9Jx442TC/kfVGEehho3nMNTTQP5jghmKr5X+SbVYAA/jdOuTYjI AEmt/441ZqUdIdWaMLSQt+Nxkf83QqGUVG8/HCoHss9RB1jSzcucvqlTRdO3UjVA 9JN4sVGPGtrn6XhmgJWho4VrpDwBWvdB2Tp1vEqlAUmcIULFHwPRLMQpkKus8FJz MdPWVRwPxasZ7EOOytCaY1dzmyWgZ7CSfWAUAcuzZZDdJIqjDXW5QTT9ifl+7LlN pNStyg5HzOq2y8UXbRGt/woUv8LX0EhXuJs+pIfSl+9CjStEmp826ffw8gTpw2cM l0+JpJeis57SRkT+iwQ89QmvIM0N6Ny8tRuqC/0FZ+Bk0Agbb/nAzeNVtBQQDk+J tJZvC36Oa8nww0JTCTeIFsn67X0fxgItOkLYpnuDk36tncZAplcaVuJOlT/7a5Ks PilDMpN2AaawAdSe1Ma/HZNSoZVKiFJhNBpxBn0QNzhUjjKRhlntOxxJUKcO5aZl A6CtrqTi/TXGXUeyvdhAWaPYCSUKMiUimCiGG99pp9Of+vzfW2g= =JcUw -----END PGP SIGNATURE----- --6xbpoiwkkobm52c2--